/*
		MIT License http://www.opensource.org/licenses/mit-license.php
		Author Tobias Koppers @sokra
	*/

/*
	 	signalReady( callback );
	 	signalReady( "transportName" );
	 	signalReady( "transportName", callback );
	 	signalReady( "transportName", targetInstance, callback ); <-- this is NEW
	 	signalReady( { transportNameA: targetsForA, transportNameB: targetsForB, transportC: true }, callback);
	 */

/*
	     * Local polyfil of Object.create
	     */

/*
	MIT License http://www.opensource.org/licenses/mit-license.php
	Author Tobias Koppers @sokra
*/

/*

  var zeros = [];
  var groupSizes = [];
  var groupBases = [];

  var s = '';
  var i = -1;
  while (++i < BN.wordSize) {
    zeros[i] = s;
    s += '0';
  }
  groupSizes[0] = 0;
  groupSizes[1] = 0;
  groupBases[0] = 0;
  groupBases[1] = 0;
  var base = 2 - 1;
  while (++base < 36 + 1) {
    var groupSize = 0;
    var groupBase = 1;
    while (groupBase < (1 << BN.wordSize) / base) {
      groupBase *= base;
      groupSize += 1;
    }
    groupSizes[base] = groupSize;
    groupBases[base] = groupBase;
  }

  */

/*
                     * Check if the current character to escape has a name entity we should
                     * replace it with while grabbing the hex value of the character.
                     */

/*
                     * Per OWASP recommendations, we'll use hex entities for any other
                     * characters where a named entity does not exist.
                     */

/*
                     * The following replaces characters undefined in HTML with the
                     * hex entity for the Unicode replacement character.
                     */

/*
                     * While HTML supports far more named entities, the lowest common denominator
                     * has become HTML5's XML Serialisation which is restricted to the those named
                     * entities that XML supports. Using HTML entities would result in this error:
                     *     XML Parsing Error: undefined entity
                     */

/*
            @todo check if tag exist here
            this.availableTagsStore.each(function(tag){
                if(tag.data.name == tagName) {
                    tagToAttach = tag;
                }
            }, this);*/

/*
         * Optimizes the node when capture is used for a large block of text.
         *
         * {% set foo %}foo{% endset %} is compiled to $context['foo'] = new Twig_Markup("foo");
         */

/*
       * Store a reference to this element so:
       * a) We aren't looking it up all the time
       * b) The last element is reported incorrectly when using a loadmask
       */

/*
       * We need to use createDelegate here, because when using buffer, the delayed task is added
       * as a property to the function. When the listener is removed, the task is deleted from the function.
       * Since onEditorEvent is shared on the prototype, if we have multiple html editors, the first time one of the editors
       * is destroyed, it causes the fn to be deleted from the prototype, which causes errors. Essentially, we're just anonymizing the function.
       */

/*
     * @private Internal animation call
     */

/*
     * Don't move this behaviour to BasicForm because it can be used
     * on it's own.
     */

/*
     * Neat little hack. Strips out all the non-digit characters from the default
     * value and compares it to the character code of the first character in the string
     * because it can cause encoding issues when posted to the server.
     */

/*
     * Notes:
     * g = {Number} calculation group (0 or 1. only group 1 contributes to date calculations.)
     * c = {String} calculation method (required for group 1. null for group 0. {0} = currentGroup - position in regex result array)
     * s = {String} regex pattern. all matches are stored in results[], and are accessible by the calculation mapped to 'c'
     */

/*
     * Queueing now stored outside of the element due to closure issues
     */

/*
     * Returns true if the container should buffer a layout.
     * This is true only if the container has previously been laid out
     * and has a parent container that is pending a layout.
     */

/*
     * This cache is used to hold special js objects, the document and window, that don't have an id. We need to keep
     * a reference to them so we can look them up at a later point.
     */

/*
     * Use a light flyweight here since we are using so many callbacks and are always assured a DOM element
     */

/*
    In stacked mode, i.e: east panel stacks below center
    the target is auto heighted and statically positioned
    To adjust for the uncollapsed west panel, the left margin of the center stacked
    has to be set instead of absolute positions as the position static (default)
     */

/*
    c: function() { // ISO-8601 -- UTC format
        return [
          "this.getUTCFullYear()", "'-'",
          "String.leftPad(this.getUTCMonth() + 1, 2, '0')", "'-'",
          "String.leftPad(this.getUTCDate(), 2, '0')",
          "'T'",
          "String.leftPad(this.getUTCHours(), 2, '0')", "':'",
          "String.leftPad(this.getUTCMinutes(), 2, '0')", "':'",
          "String.leftPad(this.getUTCSeconds(), 2, '0')",
          "'Z'"
        ].join(" + ");
    },
    */

/*
    getActive : function(){
        return front;
    },
    */

/*
    grid.getSelectionModel().on('selectionchange', function(sm) {
        if (this.updateOnSelectionChange) {
            this.onDetailsUpdate(sm);
        }
    }, this);
    */

/*
    hideAll : function(){
        for(var id in list){
            if(list[id] && typeof list[id] != "function" && list[id].isVisible()){
                list[id].hide();
            }
        }
    },
    */

/*
    jsakalos suggestion
    http://extjs.com/forum/showthread.php?p=121850#post121850 */

/*
    publish( envelope [, callback ] );
    publish( topic, data [, callback ] );
*/

/*
    sendToBack : function(win){
        win = this.get(win);
        win._lastAccess = -(new Date().getTime());
        orderWindows();
        return win;
    },
    */

/*
    this.action_reloadConfig = new Ext.Action({
        text: this.app.i18n._('Reload config'),
        handler: function() {
            Tine.Setup.registry.get(this.registryKey).on('replace', this.config2form, this, [Tine.Setup.registry.get(this.registryKey)]);
            Tine.Tinebase.tineInit.initRegistry();
        },
        iconCls: 'x-tbar-loading',
        scope: this
    });
    */

/*
    var Dom = YAHOO.util.Dom, 
    Event = YAHOO.util.Event;
         var crop = new YAHOO.widget.ImageCropper('yui_img');
    */

/*
   * @cfg {String} Default Time in the form HH:MM, if null current time is used
   */

/*
   * Destroys this layout. This is a template method that is empty by default, but should be implemented
   * by subclasses that require explicit destruction to purge event handlers or remove DOM nodes.
   * @protected
   */

/*
   * IE has issues when setting percentage based widths to 100%. Default to 99.
   */

/*
   * Privatize config options which, if used, would interfere with the
   * correct operation of the Viewport as the sole manager of the
   * layout of the document body.
   */

/*
   * Protected method that will not generally be called directly. It
   * is called when the editor creates its toolbar. Override this method if you need to
   * add custom toolbar buttons.
   * @param {HtmlEditor} editor
   */

/*
   * This is a protected property used when concatenating tab ids to the TabPanel id for internal uniqueness.
   * It does not generally need to be changed, but can be if external code also uses an id scheme that can
   * potentially clash with this one.
   */

/*
   * is called when a trigger event is fired
   */

/*
   * private
   */

/*
  * Called after the component is resized, this method is empty by default but can be implemented by any
  * subclass that needs to perform custom logic after a resize occurs.
  * @param {Number} adjWidth The box-adjusted width that was set
  * @param {Number} adjHeight The box-adjusted height that was set
  * @param {Number} rawWidth The width that was originally specified
  * @param {Number} rawHeight The height that was originally specified
  */

/*
  * Portions of this file are based on pieces of Yahoo User Interface Library
  * Copyright (c) 2007, Yahoo! Inc. All rights reserved.
  * YUI licensed under the BSD License:
  * http://developer.yahoo.net/yui/license.txt
  */

/*
  // These test cases allowing for missing delimiters are not currently supported
    str_getcsv('"row2""cell1",row2cell2,row2cell3', null, null, '"');
    ['row2"cell1', 'row2cell2', 'row2cell3']
     str_getcsv('row1cell1,"row1,cell2",row1cell3', null, null, '"');
    ['row1cell1', 'row1,cell2', 'row1cell3']
     str_getcsv('"row2""cell1",row2cell2,"row2""""cell3"');
    ['row2"cell1', 'row2cell2', 'row2""cell3']
     str_getcsv('row1cell1,"row1,cell2","row1"",""cell3"', null, null, '"');
    ['row1cell1', 'row1,cell2', 'row1","cell3'];
     Should also test newlines within
  */

/*
  // private
  var sortWindows = function(d1, d2){
      return (!d1._lastAccess || d1._lastAccess < d2._lastAccess) ? -1 : 1;
  };
   // private
  var orderWindows = function(){
      var a = accessList, len = a.length;
      if(len > 0){
          a.sort(sortWindows);
          var seed = a[0].manager.zseed;
          for(var i = 0; i < len; i++){
              var win = a[i];
              if(win && !win.hidden){
                  win.setZIndex(seed + (i*10));
              }
          }
      }
      activateLast();
  };
   // private
  var setActiveWin = function(win){
      if(win != front){
          if(front){
              front.setActive(false);
          }
          front = win;
          if(win){
              win.setActive(true);
          }
      }
  };
   // private
  var activateLast = function(){
      for(var i = accessList.length-1; i >=0; --i) {
          if(!accessList[i].hidden){
              setActiveWin(accessList[i]);
              return;
          }
      }
      // none to activate
      setActiveWin(null);
  };
  */

/*
  <h2>Layout Classes</h2>
  <pre><code>
  {level: 0, name: 'oneColumn', width: 400},
  {level: 1, name: 'small', width: 600},
  {level: 2, name: 'medium', width: 1000},
  {level: 3, name: 'big', width: 1800},
  {level: 4, name: 'large', width: Infinity},
  </code></pre>
  <h2>Responsive Behavior:</h2>
      <li>west collapsed if collapsible, if not west between in north and center
         (if not specified differently in render order)</li>
      <li>east below center (if not specified differently in render order)</li>
   <h3>< oneColumn class 0:</h3>
      <li>as is.</li>
   <h3>< small class 1: </h3>
      <li>make west uncollapse</li>
      <li>east below center still</li>
   <h3>< medium class 2:</h3>
      <li>default</li>
   <h3>< big class 3:</h3>
   <h3>< large class 4:</h3>
   */

/*
  MIT License http://www.opensource.org/licenses/mit-license.php
  Author Tobias Koppers @sokra
*/

/*
  Setting enableResponsive to true enables default responsive layouting of the regions of the Layout.
   The value is propagated to all of the children, if in children the property is not explicitly set
   NOTE: this value must not be changed during runtime. Doing so can lead to rendering issues.
   */

/*
  This is just a junk drawer, containing anything used across multiple classes.
  Because Luxon is small(ish), this should stay small and we won't worry about splitting
  it up into, say, parsingUtil.js and basicUtil.js and so on. But they are divided up by feature area.
*/

/*
  if (!Ext.ux.file.Upload.isHtml5ChunkedUpload()) {
      var fileName = value;
      if (typeof value == 'object') {
          fileName = value.name;
      } 
  
      if(record.get('status') == 'uploading') {
          metadata.css += ' x-tinebase-uploadrow';
      }
      
      return Ext.util.Format.htmlEncode(fileName);
  }
  */

/*
  startDrag: function(x, y) {
  },
   onDrag: function(e) {
  },
   onDragEnter: function(e, id) {
  },
   onDragOver: function(e, id) {
  },
   onDragOut: function(e, id) {
  },
   onDragDrop: function(e, id) {
  },
   endDrag: function(e) {
  }
   */

/*
 *  The following functions define the column width of an ISO 10646
 *  character as follows:
 *  - The null character (U+0000) has a column width of 0.
 *  - Other C0/C1 control characters and DEL will lead to a return value
 *    of -1.
 *  - Non-spacing and enclosing combining characters (general category
 *    code Mn or Me in the
 *    Unicode database) have a column width of 0.
 *  - SOFT HYPHEN (U+00AD) has a column width of 1.
 *  - Other format characters (general category code Cf in the Unicode
 *    database) and ZERO WIDTH
 *    SPACE (U+200B) have a column width of 0.
 *  - Hangul Jamo medial vowels and final consonants (U+1160-U+11FF)
 *    have a column width of 0.
 *  - Spacing characters in the East Asian Wide (W) or East Asian
 *    Full-width (F) category as
 *    defined in Unicode Technical Report #11 have a column width of 2.
 *  - All remaining characters (including all printable ISO 8859-1 and
 *    WGL4 characters, Unicode control characters, etc.) have a column
 *    width of 1.
 *  This implementation assumes that characters are encoded in ISO 10646.
*/

/*
 * @author Pontifex
 * @version 1.0
 *
 * @class Ext.ux.Wizard
 */

/*
 * @property types
 * @type Object
 * @member Ext.grid.Column
 * @static
 * <p>An object containing predefined Column classes keyed by a mnemonic code which may be referenced
 * by the {@link Ext.grid.ColumnModel#xtype xtype} config option of ColumnModel.</p>
 * <p>This contains the following properties</p><div class="mdesc-details"><ul>
 * <li>gridcolumn : <b>{@link Ext.grid.Column Column constructor}</b></li>
 * <li>booleancolumn : <b>{@link Ext.grid.BooleanColumn BooleanColumn constructor}</b></li>
 * <li>numbercolumn : <b>{@link Ext.grid.NumberColumn NumberColumn constructor}</b></li>
 * <li>datecolumn : <b>{@link Ext.grid.DateColumn DateColumn constructor}</b></li>
 * <li>templatecolumn : <b>{@link Ext.grid.TemplateColumn TemplateColumn constructor}</b></li>
 * </ul></div>
 */

/*
 * A JavaScript implementation of the Secure Hash Algorithm, SHA-0, as defined
 * in FIPS PUB 180-1
 * This source code is derived from sha1.js of the same repository.
 * The difference between SHA-0 and SHA-1 is just a bitwise rotate left
 * operation was added.
 */

/*
 * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
 * in FIPS PUB 180-1
 * Version 2.1a Copyright Paul Johnston 2000 - 2002.
 * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
 * Distributed under the BSD License
 * See http://pajhome.org.uk/crypt/md5 for details.
 */

/*
 * Copyright 2009-2011 Mozilla Foundation and contributors
 * Licensed under the New BSD license. See LICENSE.txt or:
 * http://opensource.org/licenses/BSD-3-Clause
 */

/*
 * Copyright 2011 Mozilla Foundation and contributors
 * Licensed under the New BSD license. See LICENSE or:
 * http://opensource.org/licenses/BSD-3-Clause
 *
 * Based on the Base 64 VLQ implementation in Closure Compiler:
 * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java
 *
 * Copyright 2011 The Closure Compiler Authors. All rights reserved.
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are
 * met:
 *
 *  * Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *  * Redistributions in binary form must reproduce the above
 *    copyright notice, this list of conditions and the following
 *    disclaimer in the documentation and/or other materials provided
 *    with the distribution.
 *  * Neither the name of Google Inc. nor the names of its
 *    contributors may be used to endorse or promote products derived
 *    from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

/*
 * Copyright 2011 Mozilla Foundation and contributors
 * Licensed under the New BSD license. See LICENSE or:
 * http://opensource.org/licenses/BSD-3-Clause
 */

/*
 * Copyright 2014 Mozilla Foundation and contributors
 * Licensed under the New BSD license. See LICENSE or:
 * http://opensource.org/licenses/BSD-3-Clause
 */

/*
 * Ext JS Library 2.1
 * Copyright(c) 2006-2008, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://extjs.com/license
 */

/*
 * Ext JS Library 2.2
 * Copyright(c) 2006-2008, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://extjs.com/license
 */

/*
 * Ext JS Library 3.0.0
 * Copyright(c) 2006-2009 Ext JS, LLC
 * licensing@extjs.com
 * http://www.extjs.com/license
 */

/*
 * Get a copy of the given UTF-8 string truncated to a max *binary* size.
 * Avoid truncating in the middle of an UTF-8 char.
 * If truncated, the returned string will have a trailing "...",
 * still respecting the max binary size.
 *
 * Note : desired binary size must be at last 3.
 * Note : the returned string size may be smaller than desired size due to UTF-8 wide chars.
 *
 * @param [String] string
 * @param [Number] binaryMaxSize - the max size we should enforce
 * @param [function()] truncateCallback - if provided, function to be called when a truncating occur.
 *                   Useful for ex. displaying a warning.
 */

/*
 * Get a copy of the givenstring truncated to a max length.
 * If truncated, the returned string will have a trailing "...",
 * still respecting the max length.
 *
 * Note : desired length must be at last 3.
 *
 * @param [String] string
 * @param [Number] maxLength - the max length we should enforce
 * @param [function()] truncateCallback - if provided, function to be called when a truncating occur.
 *                   Useful for ex. displaying a warning.
 */

/*
 * Includes code from:
 *
 * base64-arraybuffer
 * https://github.com/niklasvh/base64-arraybuffer
 *
 * Copyright (c) 2012 Niklas von Hertzen
 * Licensed under the MIT license.
 */

/*
 * Most of the date-formatting functions below are the excellent work of Baron Schwartz.
 * (see http://www.xaprb.com/blog/2005/12/12/javascript-closures-for-runtime-efficiency/)
 * They generate precompiled functions from format patterns instead of parsing and
 * processing each pattern every time a date is formatted. These functions are available
 * on every Date object.
 */

/*
 * Need to make sure that buffer isn't trying to write out of bounds.
 */

/*
 * On the given object, apply truncateToBinarySize to all members
 * for whom a binary max size is provided.
 * Useful to quickly truncate a model.
 * @see truncateToBinarySize
 *
 * @param [Object]
 * @param [Object] maxSizes - a hash {<member name>: <max binary size>}
 * @param [function(field, actualSize, maxSize)] truncateCallback
 *                   if provided, function to be called when a truncating occur.
 */

/*
 * These classes are derivatives of the similarly named classes in the YUI Library.
 * The original license:
 * Copyright (c) 2006, Yahoo! Inc. All rights reserved.
 * Code licensed under the BSD License:
 * http://developer.yahoo.net/yui/license.txt
 */

/*
 * This file handles parsing for well-specified formats. Here's how it works:
 * Two things go into parsing: a regex to match with and an extractor to take apart the groups in the match.
 * An extractor is just a function that takes a regex match array and returns a { year: ..., month: ... } object
 * parse() does the work of executing the regex and applying the extractor. It takes multiple regex/extractor pairs to try in sequence.
 * Extractors can take a "cursor" representing the offset in the match to look at. This makes it easy to combine extractors.
 * combineExtractors() does the work of combining them, keeping track of the cursor through multiple extractions.
 * Some extractions are super dumb and simpleParse and fromStrings help DRY them.
 */

/*
 * This is code is also distributed under MIT license for use
 * with jQuery and prototype JavaScript libraries.
 */

/*
 * Tine 2.0
 *
 * @license      New BSD License
 * @author       loeppky - based on the work done by MaximGB in Ext.ux.UploadDialog (http://extjs.com/forum/showthread.php?t=21558)
 * @author       Michael Spahn <m.spahn@metaways.de>
 * @copyright    Copyright (c) 2018 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @license      http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author       Michael Spahn <m.spahn@metaways.de>
 * @copyright    Copyright (c) 2017 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Ching En Cheng <c.cheng@metaways.de>
 * @copyright   Copyright (c) 2021 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Ching En Cheng <c.cheng@metaways.de>
 * @copyright   Copyright (c) 2022 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Ching-En, Cheng <c.cheng@metaways.de>
 * @copyright   Copyright (c) 2020 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2008 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2017 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2019 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2015 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2016 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2016-2017 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2017 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2017 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2018 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2018-2021 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2019 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2021 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2022 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2024 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2026 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.cweiss@metaways.de>
 * @copyright   Copyright (c) 2017 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2011 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2015 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2017 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2017 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2018 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2018 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2019 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2019 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2020 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2021 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2022 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Jan Evers <j.evers@metaways.de>
 * @copyright   Copyright (c) 2023 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Michael Spahn <m.spahn@metaways.de>
 * @copyright   Copyright (c) 2017 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Michael Spahn <m.spahn@metaways.de>
 * @copyright   Copyright (c) 2017 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009-2010 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2010 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2010-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 * @version     $Id
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2017 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Sohan Deshar <sdeshar@metaways.de>
 * @copyright   Copyright (c) 2024 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Sohan Deshar <sdeshar@metaways.de>
 * @copyright   Copyright (c) 2024 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Sohan Deshar<s.deshar@metaways.de>
 * @copyright   Copyright (c) 2024 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Stefanie Stamer <s.stamer@metaways.de>
 * @copyright   Copyright (c) 2021 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @package     Calendar
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2026 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @package     Ext
 * @subpackage  ux
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2008 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @package     Offertory
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Michael Spahn <m.spahn@metaways.de>
 * @copyright   Copyright (c) 2017 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @package     Tine
 * @subpackage  Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2010 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @package     Tine
 * @subpackage  Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2024 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @package     Tine
 * @subpackage  Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2017 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @package     Tine
 * @subpackage  Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2021 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @copyright   Copyright (c) 2012-2018 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @copyright   Copyright (c) 2013 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <alex@stintzing.net>
 * @copyright   Copyright (c) 2009-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <alex@stintzing.net>
 * @copyright   Copyright (c) 2009-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2018 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.cweiss@metaways.de>
 * @copyright   Copyright (c) 2016 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2020-2021 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 *
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Michael Spahn <m.spahn@metaways.de>
 * @copyright   Copyright (c) 2014 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 *
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2013 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 * TODO maybe we should generalize parts of this and have a common parent for this and Tine.widgets.relation.GenericPickerGridPanel
 * TODO add more columns
 * TODO allow to edit description
 */

/*
 * Tine 2.0
 *
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2016 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     MIT, BSD, and GPL
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2009-2010 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     New BSD License
 * @author      www.steinarmyhre.com
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @copyright   Copyright (c) 2007-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @copyright   Copyright (c) 2007-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @copyright   Copyright (c) 2012-2013 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @copyright   Copyright (c) 2013 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @copyright   Copyright (c) 2013 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @copyright   Copyright (c) 2014 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @copyright   Copyright (c) 2014 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Ching En Cheng <c.cheng@metaways.de> 
 * @copyright   Copyright (c) 2007-2022 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2008 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 * TODO         this is only used in the phone dial dialog, do we need that?
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2008 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 * TODO make initial color work again in Ext.menu.ColorMenu
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2008 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2008 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2010 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2010 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 * TODO         add year to 'inweek' filter?
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 * TODO         use new filter syntax in onBeforeQuery when TagFilter is refactored and extends Tinebase_Model_Filter_FilterGroup 
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2013 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2013 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2015 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2017 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2020 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2024 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2009 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2009 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2009-2010 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2009-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2010 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * TODO         extend Tine.widgets.grid.PickerFilter
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2010 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2010-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2011-2014 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2012-2025 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2016 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Michael Spahn <m.spahn@metaways.de>
 * @copyright   Copyright (c) 2014 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @author      Michael Spahn <m.spahn@metaways.de
 * @copyright   Copyright (c) 2007-2014 Metaways Infosystems GmbH (http://www.metaways.de)
 **/

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2007-2010 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009-2010 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2007-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2010-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2010-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * TODO         this is only used by the Felamimail flag filter atm, we should try to replace this / generalize it
 *              @see Tine.widgets.grid.PickerFilter
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2010-2021 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * TODO         container filter should extend this
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2011 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2011-2015 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2013-2015 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2014 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2015 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2022 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Thomas Wadewitz <t.wadewitz@metaways.de>
 * @copyright   Copyright (c) 2007-2008 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 * @todo        switch lock and trigger icons (because only the trigger icon has a round upper right corner)
 */

/*
 * Tine 2.0
 * 
 * @license http://www.gnu.org/licenses/agpl.html AGPL Version 3 
 * @author Alexander Stintzing <alex@stintzing.net>
 * @copyright Copyright (c) 2007-2009
 * Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * TODO use new filter syntax in onBeforeQuery when TagFilter is refactored and
 * extends Tinebase_Model_Filter_FilterGroup
 */

/*
 * Tine 2.0
 * 
 * @license http://www.gnu.org/licenses/agpl.html AGPL Version 3 @author
 * @author Alexander Stintzing <a.stintzing@metaways.de> 
 * @copyright Copyright (c) 2009-2012
 * Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @license http://www.gnu.org/licenses/agpl.html AGPL Version 3 @author
 * Cornelius Weiss <c.weiss@metaways.de> @copyright Copyright (c) 2009-2011
 * Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @package     Admin
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2010 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Ext
 * @subpackage  ux
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @copyright   Copyright (c) 2013 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Ext
 * @subpackage  ux
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2008 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Ext
 * @subpackage  ux
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Ext
 * @subpackage  ux
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2026 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Ext
 * @subpackage  ux
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2013 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Ext
 * @subpackage  ux
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2026 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Ext
 * @subpackage  ux
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Stefanie Stamer <s.stamer@metaways.de>
 * @copyright   Copyright (c) 2007-2017 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Tine
 * @subpackage  Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2008 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Tine
 * @subpackage  Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2025 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @copyright   Copyright (c) 2009-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @copyright   Copyright (c) 2012 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @copyright   Copyright (c) 2012-2017 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @copyright   Copyright (c) 2013 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <alex@stintzing.net>
 * @copyright   Copyright (c) 2009-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <alex@stintzing.net>
 * @copyright   Copyright (c) 2009-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2010 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Stefanie Stamer <s.stamer@metaways.de>
 * @copyright   Copyright (c) 2007-2021 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Tinebase
 * @subpackage  data
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2008 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Tinebase
 * @subpackage  widgets
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     Tinebase
 * @subpackage  widgets
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 * @todo        create generic app tree panel?
 * @todo        add button: set default value(s)
 */

/*
 * Tine 2.0
 * 
 * @package     Tinebase
 * @subpackage  widgets
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 * @todo        add filter toolbar
 * @todo        use proxy store?
 */

/*
 * Tine 2.0
 * 
 * @package     Tinebase
 * @subpackage  widgets
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 * TODO         add pref description to input fields
 */

/*
 * Tine 2.0
 * 
 * @package     Tinebase
 * @subpackage  widgets
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * @package     form
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/*
 * Tine 2.0
 * 
 * plugins: [new FieldMaximizePlugin({
 *       maxPanelConfig: {
 *           title: this.app.i18n._('Job Title'),
 *           padding: 5
 *       }
 *   })],
 * 
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Stefanie Stamer <s.stamer@metaways.de>
 * @copyright   Copyright (c) 2022 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Tine 2.0
 * 
 * translations for js prototypes
 * 
 * @package     Tine
 * @subpackage  Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2010 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
 * Utilities for truncating text fields to fit into some Oracle tables.
 * Truncate must be done binary-wise on an UTF-8 string.
 * Ex. a 4000 chars UTF-8 french string may takes ~4200 bytes (depending on content)
 *
 * Note : even if default, we explicitely specify «utf8» since it's a requirement.
 */

/*
 * backport from Extjs 4.x  Ext.layout.container.Accordion
 */

/*
 * borrowed from https://github.com/annexare/toURI/blob/master/lib/toURI.js
 * @license MIT
 *
 * NOTE: this is just an ultraslim transliterate implementation for practical purpuses in client
 *       if you need mor exact transliteration do it on server side!
 */

/*
 * browser.js: Browser specific functionality for director.
 *
 * (C) 2011, Charlie Robbins, Paolo Fragomeni, & the Contributors.
 * MIT LICENSE
 *
 */

/*
 * tine Groupware
 * 
 * @license     https://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009-2026 Metaways Infosystems GmbH (https://www.metaways.de)
 *
 * 
 * TODO         play sound / vibrate?
 */

/*
 * tine-groupware
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2026 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*
export const apply = Ext.apply;
export const applyIf = Ext.applyIf;
export const id = Ext.id;
export const extend = Ext.extend;
export const override = Ext.override;
export const namespace = Ext.namespace;
export const urlEncode = Ext.urlEncode;
export const urlDecode = Ext.urlDecode;
export const urlAppend = Ext.urlAppend;
export const toArray = Ext.toArray;
export const isIterable = Ext.isIterable;
export const each = Ext.each;
export const iterate = Ext.iterate;
// export const getDom = Ext.getDom;
// export const getBody = Ext.getBody;
// export const removeNode = Ext.removeNode;
export const isEmpty = Ext.isEmpty;
export const isArray = Ext.isArray;
export const isDate = Ext.isDate;
export const isObject = Ext.isObject;
export const isPrimitive = Ext.isPrimitive;
export const isFunction = Ext.isFunction;
export const isNumber = Ext.isNumber;
export const isString = Ext.isString;
export const isBoolean = Ext.isBoolean;
export const isElement = Ext.isElement;
export const isDefined = Ext.isDefined;
export const escapeRe = Ext.escapeRe;
export const ns = Ext.ns;
*/

/* 
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2008 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/* 
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/* 
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2013 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/* 
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2009 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/* 
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2009-2010 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/* 
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2011 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/* 
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Michael Spahn <m.spahn@metaways.de>
 * @copyright   Copyright (c) 2012 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/* 
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Michael Spahn <m.spahn@metaways.de>
 * @copyright   Copyright (c) 2017 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/*        this.availableTagsStore = new Ext.data.JsonStore({
                id: 'id',
                root: 'results',
                totalProperty: 'totalCount',
                fields: Tine.Tinebase.Model.Tag,
                baseParams: {
                    method: 'Tinebase.searchTags',
                    filter: {
                        application: this.app.appName,
                        grant: 'use'
                    },
                    paging : {}
                }
            });*/

/*   */

/* ! */

/* " */

/* "__proto__".length */

/* # */

/* #__PURE__ */

/* % */

/* & */

/* ' */

/* '$' */

/* '_' */

/* 'o' */

/* 'p' */

/* 'r' */

/* 't' */

/* ( */

/* ) */

/* * */

/* + */

/* , */

/* - */

/* -*- Mode: js; js-indent-level: 2; -*- */

/* -------------------- UI Events and Handlers ------------------------------ */

/* -------------------------------- UI Specific ----------------------------- */

/* --------------------------------- Model Events and Handlers --------------------------------*/

/* ----------------------------------- Core Specific -------------------------------------------*/

/* -1 -1 */

/* -1 0 */

/* -1 1 */

/* . */

/* .ArraySet */

/* .BaseTransition */

/* .BaseTransitionPropsValidators */

/* .BootstrapVueNext */

/* .DecoderBuffer */

/* .EffectScope */

/* .EncoderBuffer */

/* .Fragment */

/* .HTMLProxy */

/* .HTMLProxy.addProxyDocument */

/* .HTMLProxy.addProxyPromisesCollection */

/* .HTMLProxy.removeProxyDocument */

/* .HTMLProxy.removeProxyPromisesCollection */

/* .MappingList */

/* .PersonaContainer */

/* .Personas.ERROR_SEVERE */

/* .Personas.INFO */

/* .Personas.QUESTION_INPUT */

/* .Personas.WARNING */

/* .ReactiveEffect */

/* .Reporter */

/* .SourceMapGenerator */

/* .Static */

/* .StringDecoder */

/* .Teleport */

/* .TwingExtensionIntl */

/* .callWithAsyncErrorHandling */

/* .codes */

/* .codes.ERR_INVALID_OPT_VALUE */

/* .codes.ERR_STREAM_PREMATURE_CLOSE */

/* .computed */

/* .contrastColors.darkBg */

/* .contrastColors.darkMode */

/* .contrastColors.findBackground */

/* .createBlock */

/* .createCommentVNode */

/* .createElementBlock */

/* .createElementVNode */

/* .createHydrationRenderer */

/* .createRenderer */

/* .createSlots */

/* .createTextVNode */

/* .createVNode */

/* .customRef */

/* .defineComponent */

/* .effectScope */

/* .getCurrentInstance */

/* .getCurrentScope */

/* .getLayoutClass */

/* .getLayoutClassByMode */

/* .getLayoutClassByWidth */

/* .getTransitionRawChildren */

/* .guardReactiveProps */

/* .identity */

/* .inject */

/* .isClient */

/* .isIOS */

/* .isObject */

/* .isProxy */

/* .isReactive */

/* .isRef */

/* .isShallow */

/* .isVue2 */

/* .isVue3 */

/* .markRaw */

/* .mergeProps */

/* .nextTick */

/* .noop */

/* .notNullish */

/* .onActivated */

/* .onBeforeUnmount */

/* .onMounted */

/* .onScopeDispose */

/* .onUnmounted */

/* .onUpdated */

/* .openBlock */

/* .pauseTracking */

/* .provide */

/* .proxyRefs */

/* .quickSort */

/* .reactive */

/* .readonly */

/* .ref */

/* .renderList */

/* .renderSlot */

/* .resetTracking */

/* .resolveComponent */

/* .resolveDynamicComponent */

/* .resolveTransitionHooks */

/* .setTransitionHooks */

/* .shallowReactive */

/* .shallowReadonly */

/* .shallowRef */

/* .toHandlers */

/* .toRaw */

/* .toRef */

/* .toValue */

/* .track */

/* .trigger */

/* .tryOnMounted */

/* .tryOnScopeDispose */

/* .unref */

/* .useAttrs */

/* .useDebounceFn */

/* .useSlots */

/* .useThrottleFn */

/* .useTransitionState */

/* .version */

/* .watch */

/* .watchEffect */

/* .watchPostEffect */

/* .withCtx */

/* .withDirectives */

/* / */

/* // private internal config
   * {Boolean} deferHeight
   * True to defer height calculations to an external component, false to allow this component to set its own
   * height (defaults to false).
   */

/* // protected
   * Called after the component is moved, this method is empty by default but can be implemented by any
   * subclass that needs to perform custom logic after a move occurs.
   * @param {Number} x The new x position
   * @param {Number} y The new y position
   */

/* // protected
   * Called after the component is resized, this method is empty by default but can be implemented by any
   * subclass that needs to perform custom logic after a resize occurs.
   * @param {Number} adjWidth The box-adjusted width that was set
   * @param {Number} adjHeight The box-adjusted height that was set
   * @param {Number} rawWidth The width that was originally specified
   * @param {Number} rawHeight The height that was originally specified
   */

/* // protected
   * Function to be implemented by Component subclasses to be part of standard component initialization flow (it is empty by default).
   * <pre><code>
  // Traditional constructor:
  Ext.Foo = function(config){
  // call superclass constructor:
  Ext.Foo.superclass.constructor.call(this, config);
   this.addEvents({
      // add events
  });
  };
  Ext.extend(Ext.Foo, Ext.Bar, {
  // class body
  }
  // initComponent replaces the constructor:
  Ext.Foo = Ext.extend(Ext.Bar, {
  initComponent : function(){
      // call superclass initComponent
      Ext.Container.superclass.initComponent.call(this);
       this.addEvents({
          // add events
      });
  }
  }
  </code></pre>
   */

/* 0 */

/* 0 -1 */

/* 0 0 */

/* 0 1 */

/* 0 = Original Function,
             1 = Event Manager Wrapped Function,
             2 = Scope,
             3 = Adapter Wrapped Function,
             4 = Buffered Task
          */

/* 0 = Original Function,
           1 = Event Manager Wrapped Function,
           2 = Scope,
           3 = Adapter Wrapped Function,
           4 = Buffered Task
        */

/* 0 = Original Function,
       1 = Event Manager Wrapped Function,
       2 = Scope,
       3 = Adapter Wrapped Function,
       4 = Buffered Task
    */

/* 1 */

/* 1 -1 */

/* 1 0 */

/* 10 */

/* 2 */

/* 2 toolbars */

/* 3 */

/* 4 */

/* 4 records */

/* 5 */

/* 6 */

/* 7 */

/* 8 */

/* 9 */

/* : */

/* ; */

/* < */

/* </replacement> */

/* = */

/* > */

/* ? */

/* @ */

/* @__PURE__ */

/* @private */

/* A */

/* APPLE CMD */

/* APP_INIT */

/* APP_UNMOUNT */

/* BACKSPACE */

/* BFormGroup */

/* BInputGroup */

/* BPopover */

/* BootstrapVueNext */

/* Built-in method references for those with the same name as other `lodash` methods. */

/* Built-in method references that are verified to be native. */

/* CLASS */

/* CLASS, PROPS */

/* CLASS, PROPS, HYDRATE_EVENTS */

/* COLLECTION */

/* COMMENT */

/* COMMON */

/* COMPONENT_ADDED */

/* COMPONENT_EMIT */

/* COMPONENT_REMOVED */

/* COMPONENT_UPDATED */

/* CONTEXT */

/* CTRL+ENTER */

/* Calculate affine transform (src -> dst)
     * Resulting matrix can be used to transform coordinate
     * from `sourceProjection` to destination pixels.
     *
     * To optimize number of context calls and increase numerical stability,
     * we also do the following operations:
     * trans(-topLeftExtentCorner), scale(1 / targetResolution), scale(1, -1)
     * here before solving the linear system so [ui, vi] are pixel coordinates.
     *
     * Src points: xi, yi
     * Dst points: ui, vi
     * Affine coefficients: aij
     *
     * | x0 y0 1  0  0 0 |   |a00|   |u0|
     * | x1 y1 1  0  0 0 |   |a01|   |u1|
     * | x2 y2 1  0  0 0 | x |a02| = |u2|
     * |  0  0 0 x0 y0 1 |   |a10|   |v0|
     * |  0  0 0 x1 y1 1 |   |a11|   |v1|
     * |  0  0 0 x2 y2 1 |   |a12|   |v2|
     */

/* DATA */

/* DELETE */

/* DYNAMIC */

/* DateTime */

/* DateTime.fromISO */

/* DateTime.fromJSDate */

/* DateTime.fromMillis */

/* DateTime.fromRFC2822 */

/* DateTime.fromSQL */

/* DateTime.invalid */

/* DateTime.local */

/* Duration */

/* ELEMENT */

/* ENTER */

/* End */

/* FIXME handle error */

/* FORWARDED */

/* Fragment */

/* HOISTED */

/* HYDRATE_EVENTS */

/* IE/Opera. */

/* INVALID */

/* KEYED_FRAGMENT */

/* Mozilla case. */

/* NEED_PATCH */

/* NOTE: Ext.Direct and the automatically creaeted DirectFn's don't support optional params, cause 
         * callback and scope are expected on fixed positions!
         
        var value = typeof t.data[i] !== 'function' ? t.data[i] : undefined;
        
        if (value === undefined && ! param.optional) {
            value = param['default'];
        }
        
        if (value !== undefined) {
            data[param['name']] = value;
        }
        */

/* NOTE: in ExtJS records always are part of a store. The store is
           the only instance which triggers read/write actions.
           
           In our edit dialoges in contrast we work with single (store-less) 
           records and the handlers itselve trigger the read/write actions.
           This might change in future, but as long as we do so, we also need
           the reader/writer here.
   */

/* Node.js helper references. */

/* Note that the listener for `pointercancel is set up on
         * `pointerEventHandler_` and not `documentPointerEventHandler_` like
         * the `pointerup` and `pointermove` listeners.
         *
         * The reason for this is the following: `TouchSource.vacuumTouches_()`
         * issues `pointercancel` events, when there was no `touchend` for a
         * `touchstart`. Now, let's say a first `touchstart` is registered on
         * `pointerEventHandler_`. The `documentPointerEventHandler_` is set up.
         * But `documentPointerEventHandler_` doesn't know about the first
         * `touchstart`. If there is no `touchend` for the `touchstart`, we can
         * only receive a `touchcancel` from `pointerEventHandler_`, because it is
         * only registered there.
         */

/* OTHER */

/* PROPS */

/* PROPS, DYNAMIC_SLOTS */

/* Really strange problem in IE6/7, when disabled, have to explicitly
       * repaint each of the nodes to get them to display correctly, simply
       * calling repaint on the main element doesn't appear to be enough.
       */

/* Return size, in bytes, of the given UTF-8 string.

 * @param [String] string
 * @return [Number] size of the string in bytes
 */

/* SETUP */

/* STABLE */

/* STYLE, PROPS */

/* Settings.defaultZoneName */

/* Start */

/* TEXT */

/* TEXT, CLASS */

/* TEXT, PROPS */

/* TODO check if we need this in IE
    // hack to get percentage editor working
    var cell = Ext.get(grid.getView().getCell(row,1));
    var dom = cell.child('div:last');
    while (cell.first()) {
        cell = cell.first();
        cell.on('click', function(e){
            e.stopPropagation();
            grid.fireEvent('celldblclick', grid, row, 1, e);
        });
    }
    */

/* This monitorResize flag will be renamed soon as to avoid confusion
    * with the Container version which hooks onWindowResize to doLayout
    *
    * monitorResize flag in this context attaches the resize event between
    * a container and it's layout
    */

/* Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Martin Jatho <m.jatho@metaways.de>
 * @copyright   Copyright (c) 2011 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/* Tine Menu */

/* We don't support dynamic inclusion of po files any longer!
if (typeof ActiveXObject != 'undefined' && typeof XMLHttpRequest == 'undefined') {
  XMLHttpRequest = function () { try { return new ActiveXObject("Msxml2.XMLHTTP");
  } catch (e) { return new ActiveXObject("Microsoft.XMLHTTP"); } };
}
*/

/* Workaround for how IE measures autoWidth elements.  It prefers bottom-up measurements
    whereas other browser prefer top-down.  We will hide all target child elements before we measure and
    put them back to get an accurate measurement.
  */

/* Z */

/* [ */

/* ["default"] */

/* ["default"].create */

/* ["default"].genericFields */

/* ["default"].locals */

/* ["default"].modlogFields */

/* ["default"].modlogFields.concat */

/* ["default"].setFromJson */

/* ["default"].warn */

/* \ */

/* \f */

/* \n */

/* \r */

/* \t */

/* \u00A0 */

/* \uFEFF */

/* ] */

/* ^ */

/* _ */

/* ` */

/* a */

/* add extra padding */

/* allowEmpty */

/* any task type */

/* asset import */

/* backward compability */

/* begin config */

/* binding */

/* calculate desired width by measuring proxy and then remove it */

/* cancelled */

/* computed */

/* config */

/* createBlock */

/* createCommentVNode */

/* createElementBlock */

/* createElementVNode */

/* createFocusTrap */

/* createTextVNode */

/* createVNode */

/* cruide hack lets save it as comment, maybe we need it some time ;-)
      var opts = {}
      for (var i=0; i<this.store.events.beforeload.listeners.length; i++) {
          if (this.store.events.beforeload.listeners[i].scope.xtype == 'filterplugin') {
              this.store.events.beforeload.listeners[i].fireFn.call(this.store.events.beforeload.listeners[i].scope, this.store, opts);
          }
      }
      //console.log(opts.params.filter);
      return opts.params.filter;
      */

/* default */

/* default.locals */

/* default.prototype.assertState.call */

/* detached */

/* do not include inferred name to avoid breaking existing code */

/* do not throw in dev if user provided error component */

/* do nothing */

/* end config */

/* eslint complexity: [2, 18], max-statements: [2, 33] */

/* eslint no-invalid-this: 1 */

/* eslint no-self-compare: 0 */

/* eslint-disable */

/* eslint-disable camelcase */

/* eslint-disable no-proto */

/* eslint-disable no-useless-call */

/* eslint-disable node/no-deprecated-api */

/* eslint-disable prettier/prettier */

/* eslint-disable vue/no-mutating-props */

/* eslint-disable-next-line no-new */

/* eslint-enable prettier/prettier */

/* export default binding */

/* force newline */

/* generic client driven resolve attempt
    var byType = _.groupBy(me.recordClass.getModelConfiguration().fields, 'type'),
        recordsByType = _.groupBy(_.get(byType, 'record', []), function(f) {
            return _.get(f, 'config.appName', '') + '.' + _.get(f, 'config.modelName', '')
        }),
        idMap = {};
     _.assign(byType, recordsByType);
     _.each(['user', 'Addressbook.Contact'], function(type) {
        _.each(byType[type], function(field) {
            idMap[type] = _.uniq(_.concat(_.get(idMap, type, []), _.compact(_.map(data, field.key))));
        });
    });
     // resolve all user and Addressbook.contact -> argh, there is no user API
    */

/* global BlobBuilder,MSBlobBuilder,MozBlobBuilder,WebKitBlobBuilder */

/* global Ext,Tine,i18n,postal */

/* global Tine,i18n */

/* global Tine.Tinebase.Model.ImportExportDefinition */

/* global i18n */

/* global indexedDB,webkitIndexedDB,mozIndexedDB,OIndexedDB,msIndexedDB */

/* globals document: false */

/* greater-than sign */

/* harmony default export */

/* harmony export */

/* harmony import */

/* hydrating */

/* iPadOS pre v13 */

/* id = */

/* import() */

/* import() | ActiveSync/js/ActiveSync */

/* import() | Addressbook/js/Addressbook */

/* import() | Admin/js/Admin */

/* import() | Bookmarks/js/Bookmarks */

/* import() | Calendar/js/Calendar */

/* import() | CoreData/js/CoreData */

/* import() | Courses/js/Courses */

/* import() | CrewScheduling/js/CrewScheduling */

/* import() | Crm/js/Crm */

/* import() | EFile/js/EFile */

/* import() | EventManager/js/EventManager */

/* import() | ExampleApplication/js/ExampleApplication */

/* import() | Felamimail/js/Felamimail */

/* import() | Filemanager/js/Filemanager */

/* import() | GDPR/js/GDPR */

/* import() | HumanResources/js/HumanResources */

/* import() | Inventory/js/Inventory */

/* import() | MatrixSynapseIntegrator/js/MatrixSynapseIntegrator */

/* import() | OnlyOfficeIntegrator/js/OnlyOfficeIntegrator */

/* import() | Projects/js/Projects */

/* import() | Purchasing/js/Purchasing */

/* import() | SSO/js/SSO */

/* import() | SSO/js/logout */

/* import() | SaasInstance/js/SaasInstance */

/* import() | Sales/js/Sales */

/* import() | Setup/js/Setup */

/* import() | SimpleFAQ/js/SimpleFAQ */

/* import() | Tasks/js/Tasks */

/* import() | Timetracker/js/Timetracker */

/* import() | Tinebase/js/ColorPickerApp */

/* import() | Tinebase/js/DownloadFileLocationTypePlugin */

/* import() | Tinebase/js/MultiOptionsDialog */

/* import() | Tinebase/js/Tinebase */

/* import() | Tinebase/js/UploadFileLocationTypePlugin */

/* import() | Tinebase/js/UploadQueue */

/* import() | Tinebase/js/VueAlert */

/* import() | Tinebase/js/VueMessageBox */

/* import() | Tinebase/js/ace */

/* import() | Tinebase/js/dompurify */

/* import() | Tinebase/js/email-addresses */

/* import() | Tinebase/js/marked */

/* import() | Tinebase/js/qrcode */

/* import() | Tinebase/js/rfc4648 */

/* import() | Tinebase/js/vPasswordChangeDialog */

/* import() | Tinebase/js/vPasswordDialog */

/* import() | UserManual/js/UserManual */

/* inBrackets */

/* inMemberExp */

/* inParens */

/* inString */

/* inject */

/* internal */

/* isAbsent */

/* isBlock */

/* isBlock: prevent a block from tracking itself */

/* isComponent */

/* isVNode */

/* istanbul ignore else */

/* istanbul ignore file */

/* istanbul ignore if  */

/* istanbul ignore if should be unreachable if parseAST and parseText are right */

/* istanbul ignore next  */

/* istanbul ignore next */

/* jshint ignore:end */

/* jshint ignore:start */

/* jshint maxdepth : false */

/* k = 0 */

/* k = 1 */

/* k = 10 */

/* k = 11 */

/* k = 12 */

/* k = 13 */

/* k = 14 */

/* k = 15 */

/* k = 16 */

/* k = 17 */

/* k = 18 */

/* k = 2 */

/* k = 3 */

/* k = 4 */

/* k = 5 */

/* k = 6 */

/* k = 7 */

/* k = 8 */

/* k = 9 */

/* legacy: obj, showHidden, depth, colors*/

/* markRaw */

/* mergeRef: true */

/* module decorator */

/* needed for isFormField cycle */

/* nextTick */

/* onBeforeMount */

/* onBeforeUnmount */

/* onClickOutside */

/* onMounted */

/* onUnmounted */

/* onUpdated */

/* openBlock */

/* override this */

/* pkg: Buttons (pkgs/pkg-buttons.js)*/

/* pkg: Component Foundation (pkgs/cmp-foundation.js)*/

/* pkg: Data - GroupingStore (pkgs/data-grouping.js)*/

/* pkg: Data - Json (pkgs/data-json.js)*/

/* pkg: Data - XML (pkgs/data-xml.js)*/

/* pkg: Data Foundation (pkgs/data-foundation.js)*/

/* pkg: Data and ListViews (pkgs/data-list-views.js)*/

/* pkg: Direct (pkgs/direct.js)*/

/* pkg: Drag Drop (pkgs/ext-dd.js)*/

/* pkg: Ext All CSS No theme (resources/css/ext-all-notheme.css)*/

/* pkg: Ext Base (adapter/ext/ext-base.js)*/

/* pkg: Ext Blue Theme (resources/css/xtheme-blue.css)*/

/* pkg: Ext Foundation (pkgs/ext-foundation.js)*/

/* pkg: Forms (pkgs/pkg-forms.js)*/

/* pkg: Grid - GroupingView (pkgs/pkg-grid-grouping.js)*/

/* pkg: Grid - Property Grid (pkgs/pkg-grid-property.js)*/

/* pkg: Grid Editor (pkgs/pkg-grid-editor.js)*/

/* pkg: Grid Foundation (pkgs/pkg-grid-foundation.js)*/

/* pkg: History (pkgs/pkg-history.js)*/

/* pkg: Menu (pkgs/pkg-menu.js)*/

/* pkg: Resizable (pkgs/resizable.js)*/

/* pkg: State (pkgs/state.js)*/

/* pkg: TabPanel (pkgs/pkg-tabs.js)*/

/* pkg: Tinebase FAT Client (css/Tinebase-FAT.css)*/

/* pkg: Tinebase FAT Client (js/Tinebase-FAT.js)*/

/* pkg: Toolbars (pkgs/pkg-toolbars.js)*/

/* pkg: Tooltips (pkgs/pkg-tips.js)*/

/* pkg: Trees (pkgs/pkg-tree.js)*/

/* pkg: Window (pkgs/window.js)*/

/* popScopeId */

/* precisely this is a cross-record */

/* prepend */

/* preserve uniq name */

/* private
   * set current design mode. To enable, mode can be true or 'on', off otherwise
   */

/* private */

/* private*/

/* provide */

/* provided dependency */

/* pushScopeId */

/* reexport */

/* reexport safe */

/* ref */

/* renderList */

/* renderSlot */

/* require.ensure | Tinebase/js/hammerjs */

/* require.ensure | Tinebase/js/html2canvas */

/* require.ensure | Tinebase/js/linkify */

/* resolveComponent */

/* resolveDynamicComponent */

/* shallow */

/* shouldCast */

/* shouldCastTrue */

/* string */

/* supportedTypes.indexOf */

/* test - uncomment to run
if (! window.lodash) {
    window.lodash = _;
}

Ext.onReady(function() {
    var testWin = new Ext.Window({
        width: 640,
        height: 480,
        layout: 'fit',
        title: 'ux.itemregistry test',
        items: [{
            xtype: 'tabpanel',
            activeTab: 0,
            border: false,
            defaults: {border: false},
            itemId: 'testWin',
            plugins: ['ux.itemregistry'],
            items: [{
                title: 'basepanel',
                html: 'basepanel'
            }, {
                title: 'no pos',
                html: 'no pos'
            }, {
                title: 'pos 50',
                html: 'pos 50',
                registerdItemPos: 50
            }]
        }]
    });
    testWin.show();

    Ext.ux.ItemRegistry.registerItem(testWin.items.get(0), {
        xtype: 'panel',
        title: 'key-cmp',
        html: 'register item in an existing component'
    }, 80);
});

itemRegTestPanel20 = Ext.extend(Ext.Panel, {
    title: 'add panel pos 20',
    html: 'add panel pos 20',

    initComponent: function() {
        // example how to hook in owner
        this.on('added', function(me, owner, pos) {
            owner.on('tabchange', function() {
                console.log('tabchange');
            })
        }),

        itemRegTestPanel20.superclass.initComponent.call(this);
    }
});
Ext.ux.ItemRegistry.registerItem('testWin', itemRegTestPanel20, 20);

itemRegTestPanel60 = {
    xtype: 'panel',
    title: 'add panel pos 60',
    items: [{items: [{html: 'add panel pos 60'}]}]
};
Ext.ux.ItemRegistry.registerItem('testWin', itemRegTestPanel60, 60);
Ext.ux.ItemRegistry.registerItem(itemRegTestPanel60, {html: 'registered in component config'}, 20);
Ext.ux.ItemRegistry.registerItem('testWin', {html: 'registered with path position '}, '4/0/20');
*/

/* treat default function as factory */

/* unref */

/* unused harmony exports BAccordion, BAccordionItem, BAlert, BAvatar, BAvatarGroup, BBadge, BBreadcrumb, BBreadcrumbItem, BButton, BButtonGroup, BButtonToolbar, BCard, BCardBody, BCardFooter, BCardGroup, BCardHeader, BCardImg, BCardSubtitle, BCardText, BCardTitle, BCarousel, BCarouselSlide, BCloseButton, BCol, BCollapse, BContainer, BDropdown, BDropdownDivider, BDropdownForm, BDropdownGroup, BDropdownHeader, BDropdownItem, BDropdownItemButton, BDropdownText, BForm, BFormCheckbox, BFormCheckboxGroup, BFormFloatingLabel, BFormInput, BFormInvalidFeedback, BFormRadio, BFormRadioGroup, BFormRow, BFormSelect, BFormSelectOption, BFormSelectOptionGroup, BFormSpinButton, BFormTag, BFormTags, BFormText, BFormTextarea, BFormValidFeedback, BImg, BInputGroupAddon, BInputGroupAppend, BInputGroupPrepend, BInputGroupText, BLink, BListGroup, BListGroupItem, BModal, BNav, BNavForm, BNavItem, BNavItemDropdown, BNavText, BNavbar, BNavbarBrand, BNavbarNav, BNavbarToggle, BOffcanvas, BOverlay, BPagination, BPlaceholder, BPlaceholderButton, BPlaceholderCard, BPlaceholderTable, BPlaceholderWrapper, BProgress, BProgressBar, BRow, BSpinner, BTab, BTable, BTableSimple, BTabs, BTbody, BTd, BTfoot, BTh, BThead, BToast, BToastContainer, BToastPlugin, BToaster, BTooltip, BTr, BTransition, BvCarouselEvent, BvEvent, BvTriggerableEvent, Components, Composables, Directives, Types, Utils, createBreadcrumb, useBreadcrumb, useColorMode, useToast, vBColorMode, vBModal, vBPopover, vBToggle, vBTooltip */

/* unused harmony exports DefaultMagicKeysAliasMap, StorageSerializers, TransitionPresets, asyncComputed, breakpointsAntDesign, breakpointsBootstrapV5, breakpointsMasterCss, breakpointsPrimeFlex, breakpointsQuasar, breakpointsSematic, breakpointsTailwind, breakpointsVuetify, breakpointsVuetifyV2, breakpointsVuetifyV3, cloneFnJSON, computedAsync, computedInject, createFetch, createReusableTemplate, createTemplatePromise, createUnrefFn, customStorageEventName, defaultDocument, defaultLocation, defaultNavigator, defaultWindow, executeTransition, formatTimeAgo, getSSRHandler, mapGamepadToXbox360Controller, onKeyDown, onKeyPressed, onKeyStroke, onKeyUp, onLongPress, onStartTyping, setSSRHandler, templateRef, unrefElement, useActiveElement, useAnimate, useAsyncQueue, useAsyncState, useBase64, useBattery, useBluetooth, useBreakpoints, useBroadcastChannel, useBrowserLocation, useCached, useClipboard, useClipboardItems, useCloned, useColorMode, useConfirmDialog, useCssVar, useCurrentElement, useCycleList, useDark, useDebouncedRefHistory, useDeviceMotion, useDeviceOrientation, useDevicePixelRatio, useDevicesList, useDisplayMedia, useDocumentVisibility, useDraggable, useDropZone, useElementByPoint, useElementHover, useElementVisibility, useEventBus, useEventListener, useEventSource, useEyeDropper, useFavicon, useFetch, useFileDialog, useFileSystemAccess, useFocus, useFocusWithin, useFps, useFullscreen, useGamepad, useGeolocation, useIdle, useImage, useInfiniteScroll, useIntersectionObserver, useKeyModifier, useLocalStorage, useMagicKeys, useManualRefHistory, useMediaControls, useMediaQuery, useMemoize, useMemory, useMounted, useMouse, useMouseInElement, useMousePressed, useMutationObserver, useNavigatorLanguage, useNetwork, useNow, useObjectUrl, useOffsetPagination, useOnline, usePageLeave, useParallax, useParentElement, usePerformanceObserver, usePermission, usePointer, usePointerLock, usePointerSwipe, usePreferredColorScheme, usePreferredContrast, usePreferredDark, usePreferredLanguages, usePreferredReducedMotion, usePrevious, useRafFn, useRefHistory, useResizeObserver, useScreenOrientation, useScreenSafeArea, useScriptTag, useScrollLock, useSessionStorage, useShare, useSorted, useSpeechRecognition, useSpeechSynthesis, useStepper, useStorage, useStorageAsync, useStyleTag, useSupported, useSwipe, useTemplateRefsList, useTextDirection, useTextSelection, useTextareaAutosize, useThrottledRefHistory, useTimeAgo, useTimeoutPoll, useTimestamp, useTitle, useTransition, useUrlSearchParams, useUserMedia, useVModel, useVModels, useVibrate, useVirtualList, useWakeLock, useWebNotification, useWebSocket, useWebWorker, useWebWorkerFn, useWindowFocus, useWindowScroll */

/* unused harmony exports ITERATE_KEY, deferredComputed, enableTracking */

/* unused harmony exports assert, autoResetRef, bypassFilter, camelize, clamp, computedEager, computedWithControl, containsProp, controlledComputed, controlledRef, createEventHook, createFilterWrapper, createGlobalState, createInjectionState, createReactiveFn, createSharedComposable, createSingletonPromise, debounceFilter, debouncedRef, debouncedWatch, directiveHooks, eagerComputed, extendRef, formatDate, get, getLifeCycleTarget, hasOwn, hyphenate, ignorableWatch, increaseWithUnit, injectLocal, invoke, isDef, isDefined, isWorker, makeDestructurable, normalizeDate, now, objectEntries, objectOmit, objectPick, pausableFilter, pausableWatch, promiseTimeout, provideLocal, rand, reactify, reactifyObject, reactiveComputed, reactiveOmit, reactivePick, refAutoReset, refDebounced, refDefault, refThrottled, refWithControl, resolveRef, resolveUnref, set, syncRef, syncRefs, throttleFilter, throttledRef, throttledWatch, timestamp, toReactive, toRef, toRefs, tryOnBeforeMount, tryOnBeforeUnmount, tryOnUnmounted, until, useArrayDifference, useArrayEvery, useArrayFilter, useArrayFind, useArrayFindIndex, useArrayFindLast, useArrayIncludes, useArrayJoin, useArrayMap, useArrayReduce, useArraySome, useArrayUnique, useCounter, useDateFormat, useDebounce, useInterval, useIntervalFn, useLastChanged, useThrottle, useTimeout, useTimeoutFn, useToNumber, useToString, useToggle, watchArray, watchAtMost, watchDebounced, watchDeep, watchIgnorable, watchImmediate, watchOnce, watchPausable, watchThrottled, watchTriggerable, watchWithFilter, whenever */

/* unused harmony exports set, del, Vue2, install */

/* unused reexport */

/* useElementBounding */

/* useElementSize */

/* useScroll */

/* useWindowSize */

/* uses an integer rather than bool so there's no issues with
         * needing to clear timeouts if another touch event occurred
         * within the 500ms. Cannot mouseup between touchstart and
         * touchend, nor in the 500ms after touchend. */

/* v */

/* watch */

/* watchEffect */

/* we know it doesn't need it */

/* withCtx */

/* without newline */

/* z */

/* { */

/* { [string]: (args?: Object) => any } */

/* | */

/* || directInit (some legacy models)*/

/* } */

/*!
    localForage -- Offline Storage, Improved
    Version 1.10.0
    https://localforage.github.io/localForage
    (c) 2013-2017 Mozilla, Apache License 2.0
*/

/*!
 *  * postal.federation - A base plugin for federating instances of postal.js across various boundaries.
 *  * Author: Jim Cowart (http://ifandelse.com)
 *  * Version: v0.5.5
 *  * Url: http://github.com/postaljs/postal.federation
 *  * License(s): (MIT OR GPL-2.0)
 */

/*!
 *  * postal.xwindow - postal.js/postal.federation plugin for federating instances of postal.js across unrelated window boundaries.
 *  * Author: Cornelius Weiß (http://www.metaways.de)
 *  * Version: v0.0.8
 *  * Url: http://github.com/tine20/postal.xwindow
 *  * License(s): (MIT OR GPL-2.0)
 */

/*!
 * Ext JS Library 3.1.1
 * Copyright(c) 2006-2010 Ext JS, LLC
 * licensing@extjs.com
 * http://www.extjs.com/license
 */

/*!
 * Ext JS Library 3.2.1
 * Copyright(c) 2006-2010 Ext JS, Inc.
 * licensing@extjs.com
 * http://www.extjs.com/license
 */

/*!
 * Ext JS Library 3.3.0
 * Copyright(c) 2006-2010 Ext JS, Inc.
 * licensing@extjs.com
 * http://www.extjs.com/license
 */

/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */

/*!
 * Waves v0.7.6
 * http://fian.my.id/Waves
 *
 * Copyright 2014-2018 Alfiana E. Sibuea and other contributors
 * Released under the MIT license
 * https://github.com/fians/Waves/blob/master/LICENSE
 */

/*!
 * fill-range <https://github.com/jonschlinkert/fill-range>
 *
 * Copyright (c) 2014-present, Jon Schlinkert.
 * Licensed under the MIT License.
 */

/*!
 * is-number <https://github.com/jonschlinkert/is-number>
 *
 * Copyright (c) 2014-2018, Jon Schlinkert.
 * Released under the MIT License.
 */

/*!
 * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
 *
 * Copyright (c) 2014-2017, Jon Schlinkert.
 * Released under the MIT License.
 */

/*!
 * isobject <https://github.com/jonschlinkert/isobject>
 *
 * Copyright (c) 2014-2017, Jon Schlinkert.
 * Released under the MIT License.
 */

/*!
 * to-regex-range <https://github.com/micromatch/to-regex-range>
 *
 * Copyright (c) 2015-present, Jon Schlinkert.
 * Released under the MIT License.
 */

/*!
* focus-trap 7.5.4
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/

/*!
* tabbable 6.2.0
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/

/*! https://mths.be/esrever v0.2.0 by @mathias */

/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */

/*#__PURE__*/

/**
	             * Copies properties into this object.
	             *
	             * @param {Object} properties The properties to mix in.
	             *
	             * @example
	             *
	             *     MyType.mixIn({
	             *         field: 'value'
	             *     });
	             */

/**
	             * Creates a copy of this object.
	             *
	             * @return {Object} The clone.
	             *
	             * @example
	             *
	             *     var clone = instance.clone();
	             */

/**
	             * Creates a new object that inherits from this object.
	             *
	             * @param {Object} overrides Properties to copy into the new object.
	             *
	             * @return {Object} The new object.
	             *
	             * @static
	             *
	             * @example
	             *
	             *     var MyType = CryptoJS.lib.Base.extend({
	             *         field: 'value',
	             *
	             *         method: function () {
	             *         }
	             *     });
	             */

/**
	             * Extends this object and runs the init method.
	             * Arguments to create() will be passed to init().
	             *
	             * @return {Object} The new object.
	             *
	             * @static
	             *
	             * @example
	             *
	             *     var instance = MyType.create();
	             */

/**
	             * Initializes a newly created object.
	             * Override this method to add some logic when your objects are created.
	             *
	             * @example
	             *
	             *     var MyType = CryptoJS.lib.Base.extend({
	             *         init: function () {
	             *             // ...
	             *         }
	             *     });
	             */

/**
	         * Adds new data to this block algorithm's buffer.
	         *
	         * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.
	         *
	         * @example
	         *
	         *     bufferedBlockAlgorithm._append('data');
	         *     bufferedBlockAlgorithm._append(wordArray);
	         */

/**
	         * Concatenates a word array to this word array.
	         *
	         * @param {WordArray} wordArray The word array to append.
	         *
	         * @return {WordArray} This word array.
	         *
	         * @example
	         *
	         *     wordArray1.concat(wordArray2);
	         */

/**
	         * Configuration options.
	         */

/**
	         * Converts a Latin1 string to a word array.
	         *
	         * @param {string} latin1Str The Latin1 string.
	         *
	         * @return {WordArray} The word array.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
	         */

/**
	         * Converts a UTF-8 string to a word array.
	         *
	         * @param {string} utf8Str The UTF-8 string.
	         *
	         * @return {WordArray} The word array.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
	         */

/**
	         * Converts a hex string to a word array.
	         *
	         * @param {string} hexStr The hex string.
	         *
	         * @return {WordArray} The word array.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var wordArray = CryptoJS.enc.Hex.parse(hexString);
	         */

/**
	         * Converts a word array to a Latin1 string.
	         *
	         * @param {WordArray} wordArray The word array.
	         *
	         * @return {string} The Latin1 string.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
	         */

/**
	         * Converts a word array to a UTF-8 string.
	         *
	         * @param {WordArray} wordArray The word array.
	         *
	         * @return {string} The UTF-8 string.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
	         */

/**
	         * Converts a word array to a hex string.
	         *
	         * @param {WordArray} wordArray The word array.
	         *
	         * @return {string} The hex string.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var hexString = CryptoJS.enc.Hex.stringify(wordArray);
	         */

/**
	         * Converts this word array to a string.
	         *
	         * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex
	         *
	         * @return {string} The stringified word array.
	         *
	         * @example
	         *
	         *     var string = wordArray + '';
	         *     var string = wordArray.toString();
	         *     var string = wordArray.toString(CryptoJS.enc.Utf8);
	         */

/**
	         * Creates a copy of this object.
	         *
	         * @return {Object} The clone.
	         *
	         * @example
	         *
	         *     var clone = bufferedBlockAlgorithm.clone();
	         */

/**
	         * Creates a copy of this word array.
	         *
	         * @return {WordArray} The clone.
	         *
	         * @example
	         *
	         *     var clone = wordArray.clone();
	         */

/**
	         * Creates a shortcut function to a hasher's object interface.
	         *
	         * @param {Hasher} hasher The hasher to create a helper for.
	         *
	         * @return {Function} The shortcut function.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
	         */

/**
	         * Creates a shortcut function to the HMAC's object interface.
	         *
	         * @param {Hasher} hasher The hasher to use in this HMAC helper.
	         *
	         * @return {Function} The shortcut function.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
	         */

/**
	         * Creates a word array filled with random bytes.
	         *
	         * @param {number} nBytes The number of random bytes to generate.
	         *
	         * @return {WordArray} The random word array.
	         *
	         * @static
	         *
	         * @example
	         *
	         *     var wordArray = CryptoJS.lib.WordArray.random(16);
	         */

/**
	         * Finalizes the hash computation.
	         * Note that the finalize operation is effectively a destructive, read-once operation.
	         *
	         * @param {WordArray|string} messageUpdate (Optional) A final message update.
	         *
	         * @return {WordArray} The hash.
	         *
	         * @example
	         *
	         *     var hash = hasher.finalize();
	         *     var hash = hasher.finalize('message');
	         *     var hash = hasher.finalize(wordArray);
	         */

/**
	         * Initializes a newly created hasher.
	         *
	         * @param {Object} cfg (Optional) The configuration options to use for this hash computation.
	         *
	         * @example
	         *
	         *     var hasher = CryptoJS.algo.SHA256.create();
	         */

/**
	         * Initializes a newly created word array.
	         *
	         * @param {Array} words (Optional) An array of 32-bit words.
	         * @param {number} sigBytes (Optional) The number of significant bytes in the words.
	         *
	         * @example
	         *
	         *     var wordArray = CryptoJS.lib.WordArray.create();
	         *     var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
	         *     var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
	         */

/**
	         * Processes available data blocks.
	         *
	         * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.
	         *
	         * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.
	         *
	         * @return {WordArray} The processed data.
	         *
	         * @example
	         *
	         *     var processedData = bufferedBlockAlgorithm._process();
	         *     var processedData = bufferedBlockAlgorithm._process(!!'flush');
	         */

/**
	         * Removes insignificant bits.
	         *
	         * @example
	         *
	         *     wordArray.clamp();
	         */

/**
	         * Resets this block algorithm's data buffer to its initial state.
	         *
	         * @example
	         *
	         *     bufferedBlockAlgorithm.reset();
	         */

/**
	         * Resets this hasher to its initial state.
	         *
	         * @example
	         *
	         *     hasher.reset();
	         */

/**
	         * Updates this hasher with a message.
	         *
	         * @param {WordArray|string} messageUpdate The message to append.
	         *
	         * @return {Hasher} This hasher.
	         *
	         * @example
	         *
	         *     hasher.update('message');
	         *     hasher.update(wordArray);
	         */

/**
	     * CryptoJS namespace.
	     */

/**
	     * SHA-256 hash algorithm.
	     */

/**
	     * Shortcut function to the HMAC's object interface.
	     *
	     * @param {WordArray|string} message The message to hash.
	     * @param {WordArray|string} key The secret key.
	     *
	     * @return {WordArray} The HMAC.
	     *
	     * @static
	     *
	     * @example
	     *
	     *     var hmac = CryptoJS.HmacSHA256(message, key);
	     */

/**
	     * Shortcut function to the hasher's object interface.
	     *
	     * @param {WordArray|string} message The message to hash.
	     *
	     * @return {WordArray} The hash.
	     *
	     * @static
	     *
	     * @example
	     *
	     *     var hash = CryptoJS.SHA256('message');
	     *     var hash = CryptoJS.SHA256(wordArray);
	     */

/**
                     * A few characters have short escape sequences in JSON and JavaScript.
                     * Escape sequences supported only by JavaScript, not JSON, are ommitted.
                     * \" is also supported but omitted, because the resulting string is not HTML safe.
                     */

/**
                     * This function is adapted from code coming from Zend Framework.
                     *
                     * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                     * @license   http://framework.zend.com/license/new-bsd New BSD License
                     */

/**
         * @param {{extent: import("../extent.js").Extent}} object Object.
         * @return {boolean} Contains.
         */

/**
         * @todo check acl!
         */

/**
         * @type Ext.Container
         * @property refOwner
         * The ancestor Container into which the {@link #ref} reference was inserted if this Component
         * is a child of a Container, and has been configured with a <code>ref</code>.
         */

/**
         * @type {TwingNodeText}
         */

/**
         * A reference to the `lodash` function.
         *
         * @memberOf _.templateSettings.imports
         * @type {Function}
         */

/**
         * A reference to the style property
         * @property css
         */

/**
         * An empty function by default, but provided so that you can perform a custom action
         * after a valid drag drop has occurred by providing an implementation.
         * @param {Ext.dd.DragDrop} target The drop target
         * @param {Event} e The event object
         * @param {String} id The id of the dropped element
         * @method afterDragDrop
         */

/**
         * An empty function by default, but provided so that you can perform a custom action
         * after the dragged item is dragged out of the target without dropping.
         * @param {Ext.dd.DragDrop} target The drop target
         * @param {Event} e The event object
         * @param {String} id The id of the dragged element
         * @method afterDragOut
         */

/**
         * An empty function by default, but provided so that you can perform a custom action
         * when the dragged item enters the drop target by providing an implementation.
         * @param {Ext.dd.DragDrop} target The drop target
         * @param {Event} e The event object
         * @param {String} id The id of the dragged element
         * @method afterDragEnter
         */

/**
         * An empty function by default, but provided so that you can perform a custom action
         * while the dragged item is over the drop target by providing an implementation.
         * @param {Ext.dd.DragDrop} target The drop target
         * @param {Event} e The event object
         * @param {String} id The id of the dragged element
         * @method afterDragOver
         */

/**
         * English ordinal suffix for the day of the month, 2 characters
         */

/**
         * Finds the __tabbable__ node that follows the given node in the specified direction,
         *  in this container, if any.
         * @param {HTMLElement} node
         * @param {boolean} [forward] True if going in forward tab order; false if going
         *  in reverse.
         * @returns {HTMLElement|undefined} The next tabbable node, if any.
         */

/**
         * Gets the current X position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
         * @return {Number} The X position of the element
         */

/**
         * The element
         * @property el
         */

/**
         * The element id
         * @property id
         */

/**
        * <p>Performs an asynchronous form post, updating this element with the response. If the form has the attribute
        * enctype="<a href="http://www.faqs.org/rfcs/rfc2388.html">multipart/form-data</a>", it assumes it's a file upload.
        * Uses this.sslBlankUrl for SSL file uploads to prevent IE security warning.</p>
        * <p>File uploads are not performed using normal "Ajax" techniques, that is they are <b>not</b>
        * performed using XMLHttpRequests. Instead the form is submitted in the standard manner with the
        * DOM <code>&lt;form></code> element temporarily modified to have its
        * <a href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target">target</a> set to refer
        * to a dynamically generated, hidden <code>&lt;iframe></code> which is inserted into the document
        * but removed after the return data has been gathered.</p>
        * <p>Be aware that file upload packets, sent with the content type <a href="http://www.faqs.org/rfcs/rfc2388.html">multipart/form-data</a>
        * and some server technologies (notably JEE) may require some custom processing in order to
        * retrieve parameter names and parameter values from the packet content.</p>
        * @param {String/HTMLElement} form The form Id or form element
        * @param {String} url (optional) The url to pass the form to. If omitted the action attribute on the form will be used.
        * @param {Boolean} reset (optional) Whether to try to reset the form after the update
        * @param {Function} callback (optional) Callback when transaction is complete. The following
        * parameters are passed:<ul>
        * <li><b>el</b> : Ext.Element<p class="sub-desc">The Element being updated.</p></li>
        * <li><b>success</b> : Boolean<p class="sub-desc">True for success, false for failure.</p></li>
        * <li><b>response</b> : XMLHttpRequest<p class="sub-desc">The XMLHttpRequest which processed the update.</p></li></ul>
        */

/**
        * @cfg {String/Ext.XTemplate} tpl <p>The template string, or {@link Ext.XTemplate} instance to
        * use to display each item in the dropdown list. The dropdown list is displayed in a
        * DataView. See {@link #view}.</p>
        * <p>The default template string is:</p><pre><code>
          '&lt;tpl for=".">&lt;div class="x-combo-list-item">{' + this.displayField + '}&lt;/div>&lt;/tpl>'
        * </code></pre>
        * <p>Override the default value to create custom UI layouts for items in the list.
        * For example:</p><pre><code>
          '&lt;tpl for=".">&lt;div ext:qtip="{state}. {nick}" class="x-combo-list-item">{state}&lt;/div>&lt;/tpl>'
        * </code></pre>
        * <p>The template <b>must</b> contain one or more substitution parameters using field
        * names from the Combo's</b> {@link #store Store}. In the example above an
        * <pre>ext:qtip</pre> attribute is added to display other fields from the Store.</p>
        * <p>To preserve the default visual look of list items, add the CSS class name
        * <pre>x-combo-list-item</pre> to the template's container element.</p>
        * <p>Also see {@link #itemSelector} for additional details.</p>
        */

/**
        * Checks whether the element is currently visible using both visibility and display properties.
        * @param {Boolean} deep (optional) True to walk the dom and see if parent elements are hidden (defaults to false)
        * @return {Boolean} True if the element is currently visible, else false
        */

/**
        * Convenience method for setVisibilityMode(Element.DISPLAY)
        * @param {String} display (optional) What to set display to when visible
        * @return {Ext.Element} this
        */

/**
        * Creates a new Ext.Template from the DOM object spec.
        * @param {Object} o The DOM object spec (and children)
        * @return {Ext.Template} The new template
        */

/**
        * Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element
        * @param {Mixed/Object/Array} el The id, element to insert or a DomHelper config to create and insert *or* an array of any of those.
        * @param {String} where (optional) 'before' or 'after' defaults to before
        * @param {Boolean} returnDom (optional) True to return the raw DOM element instead of Ext.Element
        * @return {Ext.Element} The inserted Element. If an array is passed, the last inserted element is returned.
        */

/**
        * Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)
        * @param {String} selector The simple selector to test
        * @param {Number/Mixed} maxDepth (optional) The max depth to search as a number or element (defaults to 50 || document.body)
        * @param {Boolean} returnEl (optional) True to return a Ext.Element object instead of DOM node
        * @return {HTMLElement} The matching DOM node (or null if no match was found)
        */

/**
        * Performs an <b>asynchronous</b> request, updating this element with the response.
        * If params are specified it uses POST, otherwise it uses GET.<br><br>
        * <b>Note:</b> Due to the asynchronous nature of remote server requests, the Element
        * will not have been fully updated when the function returns. To post-process the returned
        * data, use the callback option, or an <b><code>update</code></b> event handler.
        * @param {Object} options A config object containing any of the following options:<ul>
        * <li>url : <b>String/Function</b><p class="sub-desc">The URL to request or a function which
        * <i>returns</i> the URL (defaults to the value of {@link Ext.Ajax#url} if not specified).</p></li>
        * <li>method : <b>String</b><p class="sub-desc">The HTTP method to
        * use. Defaults to POST if the <code>params</code> argument is present, otherwise GET.</p></li>
        * <li>params : <b>String/Object/Function</b><p class="sub-desc">The
        * parameters to pass to the server (defaults to none). These may be specified as a url-encoded
        * string, or as an object containing properties which represent parameters,
        * or as a function, which returns such an object.</p></li>
        * <li>scripts : <b>Boolean</b><p class="sub-desc">If <code>true</code>
        * any &lt;script&gt; tags embedded in the response text will be extracted
        * and executed (defaults to {@link Ext.Updater.defaults#loadScripts}). If this option is specified,
        * the callback will be called <i>after</i> the execution of the scripts.</p></li>
        * <li>callback : <b>Function</b><p class="sub-desc">A function to
        * be called when the response from the server arrives. The following
        * parameters are passed:<ul>
        * <li><b>el</b> : Ext.Element<p class="sub-desc">The Element being updated.</p></li>
        * <li><b>success</b> : Boolean<p class="sub-desc">True for success, false for failure.</p></li>
        * <li><b>response</b> : XMLHttpRequest<p class="sub-desc">The XMLHttpRequest which processed the update.</p></li>
        * <li><b>options</b> : Object<p class="sub-desc">The config object passed to the update call.</p></li></ul>
        * </p></li>
        * <li>scope : <b>Object</b><p class="sub-desc">The scope in which
        * to execute the callback (The callback's <code>this</code> reference.) If the
        * <code>params</code> argument is a function, this scope is used for that function also.</p></li>
        * <li>discardUrl : <b>Boolean</b><p class="sub-desc">By default, the URL of this request becomes
        * the default URL for this Updater object, and will be subsequently used in {@link #refresh}
        * calls.  To bypass this behavior, pass <code>discardUrl:true</code> (defaults to false).</p></li>
        * <li>timeout : <b>Number</b><p class="sub-desc">The number of seconds to wait for a response before
        * timing out (defaults to {@link Ext.Updater.defaults#timeout}).</p></li>
        * <li>text : <b>String</b><p class="sub-desc">The text to use as the innerHTML of the
        * {@link Ext.Updater.defaults#indicatorText} div (defaults to 'Loading...').  To replace the entire div, not
        * just the text, override {@link Ext.Updater.defaults#indicatorText} directly.</p></li>
        * <li>nocache : <b>Boolean</b><p class="sub-desc">Only needed for GET
        * requests, this option causes an extra, auto-generated parameter to be appended to the request
        * to defeat caching (defaults to {@link Ext.Updater.defaults#disableCaching}).</p></li></ul>
        * <p>
        * For example:
    <pre><code>
    um.update({
       url: "your-url.php",
       params: {param1: "foo", param2: "bar"}, // or a URL encoded string
       callback: yourFunction,
       scope: yourObject, //(optional scope)
       discardUrl: true,
       nocache: true,
       text: "Loading...",
       timeout: 60,
       scripts: false // Save time by avoiding RegExp execution.
    });
    </code></pre>
        */

/**
        * Puts a mask over this element to disable user interaction. Requires core.css.
        * This method can only be applied to elements which accept child nodes.
        * @param {String} msg (optional) A message to display in the mask
        * @param {String} msgCls (optional) A css class to apply to the msg element
        * @return {Element} The mask element
        */

/**
        * Sets the content renderer for this Updater. See {@link Ext.Updater.BasicRenderer#render} for more details.
        * @param {Object} renderer The object implementing the render() method
        */

/**
       * <p>The value that the Field had at the time it was last focused. This is the value that is passed
       * to the {@link #change} event which is fired if the value has been changed when the Field is blurred.</p>
       * <p><b>This will be undefined until the Field has been visited.</b> Compare {@link #originalValue}.</p>
       * @type mixed
       * @property startValue
       */

/**
       * @cfg {Object} selModel Any subclass of AbstractSelectionModel that will provide the selection model for
       * the grid (defaults to {@link Ext.grid.CellSelectionModel} if not specified).
       */

/**
       * @event beforechange
       * Fires just before the active page is changed.
       * Return false to prevent the active page from being changed.
       * @param {Ext.PagingToolbar} this
       * @param {Object} params An object hash of the parameters which the PagingToolbar will send when
       * loading the required page. This will contain:<ul>
       * <li><code>start</code> : Number <div class="sub-desc">The starting row number for the next page of records to
       * be retrieved from the server</div></li>
       * <li><code>limit</code> : Number <div class="sub-desc">The number of records to be retrieved from the server</div></li>
       * </ul>
       * <p>(note: the names of the <b>start</b> and <b>limit</b> properties are determined
       * by the store's {@link Ext.data.Store#paramNames paramNames} property.)</p>
       * <p>Parameters may be added as required in the event handler.</p>
       */

/**
       * @event beforeupdate
       * Fired before an update is made, return false from your handler and the update is cancelled.
       * @param {Ext.Element} el
       * @param {String/Object/Function} url
       * @param {String/Object} params
       */

/**
       * @event change
       * Fires after the active page has been changed.
       * @param {Ext.PagingToolbar} this
       * @param {Object} pageData An object that has these properties:<ul>
       * <li><code>total</code> : Number <div class="sub-desc">The total number of records in the dataset as
       * returned by the server</div></li>
       * <li><code>activePage</code> : Number <div class="sub-desc">The current page number</div></li>
       * <li><code>pages</code> : Number <div class="sub-desc">The total number of pages (calculated from
       * the total number of records in the dataset as returned by the server and the current {@link #pageSize})</div></li>
       * </ul>
       */

/**
       * @event change
       * Fires when navigation back or forwards within the local page's history occurs.
       * @param {String} token An identifier associated with the page state at that point in its history.
       */

/**
       * @event failure
       * Fired on update failure.
       * @param {Ext.Element} el
       * @param {Object} oResponseObject The response Object
       */

/**
       * @event overflowchange
       * Fires after the overflow state has changed.
       * @param {Object} c The Container
       * @param {Boolean} lastOverflow overflow state
       */

/**
       * @event ready
       * Fires when the Ext.History singleton has been initialized and is ready for use.
       * @param {Ext.History} The Ext.History singleton.
       */

/**
       * @event update
       * Fired after successful update is made.
       * @param {Ext.Element} el
       * @param {Object} oResponseObject The response Object
       */

/**
       * @param {Array<import("./Feature.js").default>} features The loaded features.
       * @param {import("./proj/Projection.js").default} dataProjection Data
       * projection.
       */

/**
       * @param {Array} element Element.
       * @return {number} Priority.
       */

/**
       * @param {Array} element Element.
       * @return {string} Key.
       */

/**
       * @param {VectorSourceEvent<Geometry>} evt The vector source event
       */

/**
       * @param {import("../../Feature.js").default} feature Feature.
       */

/**
       * @param {import("../../source/Tile.js").default} tileSource Tile source.
       * @param {import("../../Map.js").default} map Map.
       * @param {import("../../Map.js").FrameState} frameState Frame state.
       */

/**
       * @param {import("../Collection.js").CollectionEvent<import("../Feature.js").default<Geometry>>} evt The collection event
       */

/**
       * @param {import("../Feature.js").default<Geometry>} feature Feature.
       * @return {T|undefined} The return value from the last call to the callback.
       */

/**
       * @param {import("../Feature.js").default<Geometry>} feature Feature.
       */

/**
       * @param {import("./Collection.js").CollectionEvent<import("./Overlay.js").default>} event CollectionEvent.
       */

/**
       * @param {import("./Collection.js").CollectionEvent<import("./control/Control.js").default>} event CollectionEvent
       */

/**
       * @param {import("./Collection.js").CollectionEvent<import("./control/Control.js").default>} event CollectionEvent.
       */

/**
       * @param {import("./Collection.js").CollectionEvent<import("./interaction/Interaction.js").default>} event CollectionEvent.
       */

/**
       * @param {import("./control/Control.js").default} control Control.
       */

/**
       * @param {import("./interaction/Interaction.js").default} interaction Interaction.
       */

/**
       * @param {number} resolution Resolution.
       * @return {number} Value.
       */

/**
       * @param {number} value Value.
       * @return {number} Resolution.
       */

/**
       * @param {number} zoom Zoom level.
       * @param {import("../TileRange.js").default} tileRange Tile range.
       * @return {boolean} The tile range is fully loaded.
       */

/**
       * @private
       * @type {HTMLElement}
       */

/**
       * @type {Array<Style>}
       */

/**
       * A cache of DOM elements
       * @property elementCache
       * @private
       * @static
       */

/**
       * A {@link Ext.util.MixedCollection MixedCollection} containing the defined {@link Ext.data.Field Field}s
       * for the {@link Ext.data.Record Records} stored in this Store. Read-only.
       * @property fields
       * @type Ext.util.MixedCollection
       */

/**
       * All drag and drop can be disabled.
       * @property locked
       * @private
       * @static
       */

/**
       * An empty function by default, but provided so that you can perform a custom action
       * after a valid drop has occurred by providing an implementation.
       * @param {Object} target The target DD 
       * @param {Event} e The event object
       * @param {String} id The id of the dropped element
       * @method afterInvalidDrop
       */

/**
       * An empty function by default, but provided so that you can perform a custom action
       * after an invalid drop has occurred by providing an implementation.
       * @param {Event} e The event object
       * @param {String} id The id of the dropped element
       * @method afterInvalidDrop
       */

/**
       * Array of element ids defined as drag handles.  Used to determine
       * if the element that generated the mousedown event is actually the
       * handle and not the html element itself.
       * @property handleIds
       * @type {string: string}
       * @private
       * @static
       */

/**
       * Blank page URL to use with SSL file uploads (defaults to {@link Ext.Updater.defaults#sslBlankUrl}).
       * @property sslBlankUrl
       * @type String
       */

/**
       * Cached url to use for refreshes. Overwritten every time update() is called unless "discardUrl" param is set to true.
       * @type String
       */

/**
       * Called the first time an element is registered.
       * @method init
       * @private
       * @static
       */

/**
       * Checks the cursor location to see if it over the target
       * @method isOverTarget
       * @param {Ext.lib.Point} pt The point to evaluate
       * @param {DragDrop} oTarget the DragDrop object we are inspecting
       * @return {boolean} true if the mouse is over the target
       * @private
       * @static
       */

/**
       * Cleans up the drag and drop events and objects.
       * @method unregAll
       * @private
       * @static
       */

/**
       * Delegate for formUpdate() prebound to "this", use myUpdater.formUpdateDelegate.createCallback(arg1, arg2) to bind arguments
       * @type Function
       */

/**
       * Delegate for refresh() prebound to "this", use myUpdater.refreshDelegate.createCallback(arg1, arg2) to bind arguments
       * @type Function
       */

/**
       * Delegate for update() prebound to "this", use myUpdater.updateDelegate.createCallback(arg1, arg2) to bind arguments
       * @type Function
       */

/**
       * Drag and drop initialization.  Sets up the global event handlers
       * @method _onLoad
       * @private
       * @static
       */

/**
       * Each DragDrop handle element must be registered.  This is done
       * automatically when executing DragDrop.setHandleElId()
       * @method regHandle
       * @param {String} sDDId the DragDrop id this element is a handle for
       * @param {String} sHandleId the id of the element that is the drag
       * handle
       * @static
       */

/**
       * Each DragDrop instance must be registered with the DragDropMgr.
       * This is executed in DragDrop.init()
       * @method regDragDrop
       * @param {DragDrop} oDD the DragDrop object to register
       * @param {String} sGroup the name of the group this element belongs to
       * @static
       */

/**
       * Fired after a registered DragDrop object gets the mousedown event.
       * Sets up the events required to track the object being dragged
       * @method handleMouseDown
       * @param {Event} e the event
       * @param oDD the DragDrop object being dragged
       * @private
       * @static
       */

/**
       * Fired when either the drag pixel threshol or the mousedown hold
       * time threshold has been met.
       * @method startDrag
       * @param x {int} the X position of the original mousedown
       * @param y {int} the Y position of the original mousedown
       * @static
       */

/**
       * Flag that indicates that either the drag pixel threshold or the
       * mousdown time threshold has been met
       * @property dragThreshMet
       * @type boolean
       * @private
       * @static
       */

/**
       * Flag to determine if we should prevent the default behavior of the
       * events we define. By default this is true, but this can be set to
       * false if you need the default behavior (not recommended)
       * @property preventDefault
       * @type boolean
       * @static
       */

/**
       * Flag to determine if we should stop the propagation of the events
       * we generate. This is true by default but you may want to set it to
       * false if the html element contains other features that require the
       * mouse click.
       * @property stopPropagation
       * @type boolean
       * @static
       */

/**
       * Get the wrapper for the DOM element specified
       * @method getElWrapper
       * @param {String} id the id of the element to get
       * @return {Ext.dd.DDM.ElementWrapper} the wrapped element
       * @private
       * @deprecated This wrapper isn't that useful
       * @static
       */

/**
       * Gets the parent node for this element, optionally chaining up trying to match a selector
       * @param {String} selector (optional) Find a parent node that matches the passed simple selector
       * @param {Boolean} returnDom (optional) True to return a raw dom node instead of an Ext.Element
       * @return {Ext.Element/HTMLElement} The parent node or null
    */

/**
       * Gets the scrollLeft
       * @method getScrollLeft
       * @return {int} the document's scrollTop
       * @static
       */

/**
       * Gets the scrollTop
       * @method getScrollTop
       * @return {int} the document's scrollTop
       * @static
       */

/**
       * Helper function for getting the best match from the list of drag
       * and drop objects returned by the drag and drop events when we are
       * in INTERSECT mode.  It returns either the first object that the
       * cursor is over, or the object that has the greatest overlap with
       * the dragged element.
       * @method getBestMatch
       * @param  {DragDrop[]} dds The array of drag and drop objects
       * targeted
       * @return {DragDrop}       The best single match
       * @static
       */

/**
       * In intersect mode, drag and drop interaction is defined by the
       * overlap of two or more drag and drop objects.
       * @property INTERSECT
       * @type int
       * @static
       */

/**
       * In point mode, drag and drop interaction is defined by the
       * location of the cursor during the drag/drop
       * @property POINT
       * @type int
       * @static
       */

/**
       * Inner class for cached elements
       * @class Ext.dd.DragDropMgr.ElementWrapper
       * @for DragDropMgr
       * @private
       * @deprecated
       */

/**
       * Internal counter
       * @property _timeoutCount
       * @private
       * @static
       */

/**
       * Internal flag that is set to true when drag and drop has been
       * intialized
       * @property initialized
       * @private
       * @static
       */

/**
       * Internal function to clean up event handlers after the drag
       * operation is complete
       * @method stopDrag
       * @param {Event} e the event
       * @private
       * @static
       */

/**
       * Internal function to handle the mousemove event.  Will be invoked
       * from the context of the html element.
       *
       * @TODO figure out what we can do about mouse events lost when the
       * user drags objects beyond the window boundary.  Currently we can
       * detect this in internet explorer by verifying that the mouse is
       * down during the mousemove event.  Firefox doesn't give us the
       * button state on the mousemove event.
       * @method handleMouseMove
       * @param {Event} e the event
       * @private
       * @static
       */

/**
       * Internal function to handle the mouseup event.  Will be invoked
       * from the context of the document.
       * @method handleMouseUp
       * @param {Event} e the event
       * @private
       * @static
       */

/**
       * Is drag and drop locked?
       * @method isLocked
       * @return {boolean} True if drag and drop is locked, false otherwise.
       * @static
       */

/**
       * Iterates over all of the DragDrop elements to find ones we are
       * hovering over or dropping on
       * @method fireEvents
       * @param {Event} e the event
       * @param {boolean} isDrop is this a drop op or a mouseover op?
       * @private
       * @static
       */

/**
       * Location cache that is set for all drag drop objects when a drag is
       * initiated, cleared when the drag is finished.
       * @property locationCache
       * @private
       * @static
       */

/**
       * Lock all drag and drop functionality
       * @method lock
       * @static
       */

/**
       * My goal is to be able to transparently determine if an object is
       * typeof DragDrop, and the exact subclass of DragDrop.  typeof
       * returns "object", oDD.constructor.toString() always returns
       * "DragDrop" and not the name of the subclass.  So for now it just
       * evaluates a well-known variable in DragDrop.
       * @method isTypeOfDD
       * @param {Object} the object to evaluate
       * @return {boolean} true if typeof oDD = DragDrop
       * @static
       */

/**
       * Numeric array sort function
       * @method numericSort
       * @static
       */

/**
       * Recursively searches the immediate parent and all child nodes for
       * the handle element in order to determine wheter or not it was
       * clicked.
       * @method handleWasClicked
       * @param node the html element to inspect
       * @static
       */

/**
       * Refreshes the cache of the top-left and bottom-right points of the
       * drag and drop objects in the specified group(s).  This is in the
       * format that is stored in the drag and drop instance, so typical
       * usage is:
       * <code>
       * Ext.dd.DragDropMgr.refreshCache(ddinstance.groups);
       * </code>
       * Alternatively:
       * <code>
       * Ext.dd.DragDropMgr.refreshCache({group1:true, group2:true});
       * </code>
       * @TODO this really should be an indexed array.  Alternatively this
       * method could accept both.
       * @method refreshCache
       * @param {Object} groups an associative array of groups to refresh
       * @static
       */

/**
       * Removes the supplied dd instance from the supplied group. Executed
       * by DragDrop.removeFromGroup, so don't call this function directly.
       * @method removeDDFromGroup
       * @private
       * @static
       */

/**
       * Reset constraints on all drag and drop objs
       * @method _onResize
       * @private
       * @static
       */

/**
       * Returns a Region object containing the drag and drop element's position
       * and size, including the padding configured for it
       * @method getLocation
       * @param {DragDrop} oDD the drag and drop object to get the
       *                       location for
       * @return {Ext.lib.Region} a Region object representing the total area
       *                             the element occupies, including any padding
       *                             the instance is configured for.
       * @static
       */

/**
       * Returns the DragDrop instance for a given id
       * @method getDDById
       * @param {String} id the id of the DragDrop object
       * @return {DragDrop} the drag drop object, null if it is not found
       * @static
       */

/**
       * Returns the X position of an html element
       * @method getPosX
       * @param el the element for which to get the position
       * @return {int} the X coordinate
       * @for DragDropMgr
       * @deprecated use Ext.lib.Dom.getX instead
       * @static
       */

/**
       * Returns the Y position of an html element
       * @method getPosY
       * @param el the element for which to get the position
       * @return {int} the Y coordinate
       * @deprecated use Ext.lib.Dom.getY instead
       * @static
       */

/**
       * Returns the actual DOM element
       * @method getElement
       * @param {String} id the id of the elment to get
       * @return {Object} The element
       * @deprecated use Ext.lib.Ext.getDom instead
       * @static
       */

/**
       * Returns the current scroll position
       * @method getScroll
       * @private
       * @static
       */

/**
       * Returns the drag and drop instances that are in all groups the
       * passed in instance belongs to.
       * @method getRelated
       * @param {DragDrop} p_oDD the obj to get related data for
       * @param {boolean} bTargetsOnly if true, only return targetable objs
       * @return {DragDrop[]} the related instances
       * @static
       */

/**
       * Returns the specified element style property
       * @method getStyle
       * @param {HTMLElement} el          the element
       * @param {string}      styleProp   the style property
       * @return {string} The value of the style property
       * @deprecated use Ext.lib.Dom.getStyle
       * @static
       */

/**
       * Returns the style property for the DOM element (i.e.,
       * document.getElById(id).style)
       * @method getCss
       * @param {String} id the id of the elment to get
       * @return {Object} The style property of the element
       * @deprecated use Ext.lib.Dom instead
       * @static
       */

/**
       * Returns true if the specified dd target is a legal target for
       * the specifice drag obj
       * @method isLegalTarget
       * @param {DragDrop} the drag obj
       * @param {DragDrop} the target
       * @return {boolean} true if the target is a legal target for the
       * dd obj
       * @static
       */

/**
       * Runs method on all drag and drop objects
       * @method _execOnAll
       * @private
       * @static
       */

/**
       * Set useCache to false if you want to force object the lookup of each
       * drag and drop linked element constantly during a drag.
       * @property useCache
       * @type boolean
       * @static
       */

/**
       * Sets the x/y position of an element to the location of the
       * target element.
       * @method moveToEl
       * @param {HTMLElement} moveEl      The element to move
       * @param {HTMLElement} targetEl    The position reference element
       * @static
       */

/**
       * Swap two nodes.  In IE, we use the native method, for others we
       * emulate the IE behavior
       * @method swapNode
       * @param n1 the first node to swap
       * @param n2 the other node to swap
       * @static
       */

/**
       * Text for loading indicator (defaults to {@link Ext.Updater.defaults#indicatorText}).
       * @property indicatorText
       * @type String
       */

/**
       * The Element object
       * @type Ext.Element
       */

/**
       * The X position of the mousedown event stored for later use when a
       * drag threshold is met.
       * @property startX
       * @type int
       * @private
       * @static
       */

/**
       * The Y position of the mousedown event stored for later use when a
       * drag threshold is met.
       * @property startY
       * @type int
       * @private
       * @static
       */

/**
       * The current drag and drop mode.  Default: POINT
       * @property mode
       * @type int
       * @static
       */

/**
       * The dragZone used by this tree if drag is enabled (see {@link #enableDD} or {@link #enableDrag})
       * @property dragZone
       * @type Ext.tree.TreeDragZone
       */

/**
       * The dropZone used by this tree if drop is enabled (see {@link #enableDD} or {@link #enableDrop})
       * @property dropZone
       * @type Ext.tree.TreeDropZone
       */

/**
       * The number of milliseconds after the mousedown event to initiate the
       * drag if we don't get a mouseup event. Default=350
       * @property clickTimeThresh
       * @type int
       * @static
       */

/**
       * The number of pixels that the mouse needs to move after the
       * mousedown before the drag is initiated.  Default=3;
       * @property clickPixelThresh
       * @type int
       * @static
       */

/**
       * The renderer for this Updater (defaults to {@link Ext.Updater.BasicRenderer}).
       */

/**
       * The {@link Ext.tree.TreeNode TreeNode} this editor is bound to. Read-only.
       * @type Ext.tree.TreeNode
       * @property editNode
       */

/**
       * This checks to make sure an element exists and is in the DOM.  The
       * main purpose is to handle cases where innerHTML is used to remove
       * drag and drop objects from the DOM.  IE provides an 'unspecified
       * error' when trying to access the offsetParent of such an element
       * @method verifyEl
       * @param {HTMLElement} el the element to check
       * @return {boolean} true if the element looks usable
       * @static
       */

/**
       * Timeout for requests or form posts in seconds (defaults to {@link Ext.Updater.defaults#timeout}).
       * @property timeout
       * @type Number
       */

/**
       * Timeout used for the click time threshold
       * @property clickTimeout
       * @type Object
       * @private
       * @static
       */

/**
       * Transaction object of the current executing transaction, or null if there is no active transaction.
       */

/**
       * True to process scripts in the output (defaults to {@link Ext.Updater.defaults#loadScripts}).
       * @property loadScripts
       * @type Boolean
       */

/**
       * Trying to make the load order less important.  Without this we get
       * an error if this file is loaded before the Event Utility.
       * @method _addListeners
       * @private
       * @static
       */

/**
       * Two dimensional Array of registered DragDrop objects.  The first
       * dimension is the DragDrop item group, the second the DragDrop
       * object.
       * @property ids
       * @type {string: string}
       * @private
       * @static
       */

/**
       * Unlock all drag and drop functionality
       * @method unlock
       * @static
       */

/**
       * Unregisters a drag and drop item.  This is executed in
       * DragDrop.unreg, use that method instead of calling this directly.
       * @method _remove
       * @private
       * @static
       */

/**
       * Used to detect `data` property values to be HTML-escaped.
       *
       * @memberOf _.templateSettings
       * @type {RegExp}
       */

/**
       * Used to detect `data` property values to inject.
       *
       * @memberOf _.templateSettings
       * @type {RegExp}
       */

/**
       * Used to detect code to be evaluated.
       *
       * @memberOf _.templateSettings
       * @type {RegExp}
       */

/**
       * Used to import variables into the compiled template.
       *
       * @memberOf _.templateSettings
       * @type {Object}
       */

/**
       * Used to reference the data object in the template text.
       *
       * @memberOf _.templateSettings
       * @type {string}
       */

/**
       * Utility function to determine if a given element has been
       * registered as a drag drop handle for the given Drag Drop object.
       * @method isHandle
       * @param {String} id the element id to check
       * @return {boolean} true if this element is a DragDrop handle, false
       * otherwise
       * @static
       */

/**
       * Utility function to determine if a given element has been
       * registered as a drag drop item.
       * @method isDragDrop
       * @param {String} id the element id to check
       * @return {boolean} true if this element is a DragDrop item,
       * false otherwise
       * @static
       */

/**
       * Utility to stop event propagation and event default, if these
       * features are turned on.
       * @method stopEvent
       * @param {Event} e the event as returned by this.getEvent()
       * @static
       */

/**
       * Whether to append unique parameter on get request to disable caching (defaults to {@link Ext.Updater.defaults#disableCaching}).
       * @property disableCaching
       * @type Boolean
       */

/**
       * Whether to show indicatorText when loading (defaults to {@link Ext.Updater.defaults#showLoadIndicator}).
       * @property showLoadIndicator
       * @type String
       */

/**
       * check if next button is allowed
       */

/**
       * finish button handler for this panel
       */

/**
       * next button handler for this panel
       */

/**
       * the DragDrop object that is currently being dragged
       * @property dragCurrent
       * @type DragDrop
       * @private
       * @static
       **/

/**
       * the DragDrop object(s) that are being hovered over
       * @property dragOvers
       * @type Array
       * @private
       * @static
       */

/**
       * the X distance between the cursor and the object being dragged
       * @property deltaX
       * @type int
       * @private
       * @static
       */

/**
       * the Y distance between the cursor and the object being dragged
       * @property deltaY
       * @type int
       * @private
       * @static
       */

/**
       * unload event handler
       * @method _onUnload
       * @private
       * @static
       */

/**
      * @event startdrag
      * Fires when a node starts being dragged
      * @param {Ext.tree.TreePanel} this
      * @param {Ext.tree.TreeNode} node
      * @param {event} e The raw browser event
      */

/**
      * Gets the current Y position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
      * @return {Number} The Y position of the element
      */

/**
      * Gets the current position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
      * @return {Array} The XY position of the element
      */

/**
      * Returns an array containing the row and column indexes of the currently selected cell
      * (e.g., [0, 0]), or null if none selected. The array has elements:
      * <div class="mdetail-params"><ul>
      * <li><b>rowIndex</b> : Number<p class="sub-desc">The index of the selected row</p></li>
      * <li><b>cellIndex</b> : Number<p class="sub-desc">The index of the selected cell. 
      * Due to possible column reordering, the cellIndex should <b>not</b> be used as an
      * index into the Record's data. Instead, use the cellIndex to determine the <i>name</i>
      * of the selected cell and use the field name to retrieve the data value from the record:<pre><code>
  // get name
  var fieldName = grid.getColumnModel().getDataIndex(cellIndex);
  // get data value based on name
  var data = record.get(fieldName);
      * </code></pre></p></li>
      * </ul></div>
      * @return {Array} An array containing the row and column indexes of the selected cell, or null if none selected.
   */

/**
      * Returns the offsets of this element from the passed element. Both element must be part of the DOM tree and not have display:none to have page coordinates.
      * @param {Mixed} element The element to get the offsets from.
      * @return {Array} The XY page offsets (e.g. [100, -200])
      */

/**
      * The {@link Ext.DataView DataView} used to display the ComboBox's options.
      * @type Ext.DataView
      */

/**
      * finish button handler for this panel
      */

/**
     *
     * @param node
     * @param nested {boolean}
     * @returns {TwingNode}
     */

/**
     *
     * @param string
     * @returns
     */

/**
     *
     * @param {TwingCompiler} compiler
     * @returns {TwingCompiler}
     */

/**
     *
     * @param {TwingEnvironment} env
     * @param {Array<TwingNodeVisitorInterface>} visitors
     */

/**
     *
     * @param {TwingExtensionInterface} extension
     * @param {string} name A name the extension will be registered as
     */

/**
     *
     * @param {TwingNode} node
     * @returns {Array<string>}
     */

/**
     *
     * @param {string} name
     * @returns any
     */

/**
     *
     * @return {TwingTokenStream}
     */

/**
     *
     * @returns {Map<string, TwingTest>}
     */

/**
     *
     * @returns {{variables: TwingNodeExpression, only: boolean, ignoreMissing: boolean}}
     */

/**
     *
     * Creates an array cache object to store unique values.
     *
     * @private
     * @constructor
     * @param {Array} [values] The values to cache.
     */

/**
     *  Return clipping (overflow) to original clipping before <tt>{@link #clip}</tt> was called
     * @return {Ext.Element} this
     */

/**
     *  Store the current overflow setting and clip overflow on the element - use <tt>{@link #unclip}</tt> to remove
     * @return {Ext.Element} this
     */

/**
     * <i>Read-only</i>. The GridView's body Element which encapsulates all rows in the Grid.
     * This {@link Ext.Element Element} is only available after the GridPanel has been rendered.
     * @type Ext.Element
     * @property mainBody
     */

/**
     * <p><b>Deprecated</b>. <code>paramNames</code> should be set in the <b>data store</b>
     * (see {@link Ext.data.Store#paramNames}).</p>
     * <br><p>Object mapping of parameter names used for load calls, initially set to:</p>
     * <pre>{start: 'start', limit: 'limit'}</pre>
     * @type Object
     * @property paramNames
     * @deprecated
     */

/**
     * <p><b>Only available on the instance returned from {@link #createInstance}, <u>not</u> on the singleton.</b></p>
     * Binds this TextMetrics instance to an element from which to copy existing CSS styles
     * that can affect the size of the rendered text
     * @param {String/HTMLElement} el The element, dom node or id
     */

/**
     * <p><b>Only available on the instance returned from {@link #createInstance}, <u>not</u> on the singleton.</b></p>
     * Returns the measured height of the specified text.  For multiline text, be sure to call
     * {@link #setFixedWidth} if necessary.
     * @param {String} text The text to measure
     * @return {Number} height The height in pixels
     */

/**
     * <p><b>Only available on the instance returned from {@link #createInstance}, <u>not</u> on the singleton.</b></p>
     * Returns the measured width of the specified text
     * @param {String} text The text to measure
     * @return {Number} width The width in pixels
     */

/**
     * <p><b>Only available on the instance returned from {@link #createInstance}, <u>not</u> on the singleton.</b></p>
     * Returns the size of the specified text based on the internal element's style and width properties
     * @param {String} text The text to measure
     * @return {Object} An object containing the text's size {width: (width), height: (height)}
     */

/**
     * <p><b>Only available on the instance returned from {@link #createInstance}, <u>not</u> on the singleton.</b></p>
     * Sets a fixed width on the internal measurement element.  If the text will be multiline, you have
     * to set a fixed width in order to accurately measure the text height.
     * @param {Number} width The width to set on the element
     */

/**
     * <p>Adds element(s) to the toolbar -- this function takes a variable number of
     * arguments of mixed type and adds them to the toolbar.</p>
     * <br><p><b>Note</b>: See the notes within {@link Ext.Container#add}.</p>
     * @param {Mixed} arg1 The following types of arguments are all valid:<br />
     * <ul>
     * <li>{@link Ext.Button} config: A valid button config object (equivalent to {@link #addButton})</li>
     * <li>HtmlElement: Any standard HTML element (equivalent to {@link #addElement})</li>
     * <li>Field: Any form field (equivalent to {@link #addField})</li>
     * <li>Item: Any subclass of {@link Ext.Toolbar.Item} (equivalent to {@link #addItem})</li>
     * <li>String: Any generic string (gets wrapped in a {@link Ext.Toolbar.TextItem}, equivalent to {@link #addText}).
     * Note that there are a few special strings that are treated differently as explained next.</li>
     * <li>'-': Creates a separator element (equivalent to {@link #addSeparator})</li>
     * <li>' ': Creates a spacer element (equivalent to {@link #addSpacer})</li>
     * <li>'->': Creates a fill element (equivalent to {@link #addFill})</li>
     * </ul>
     * @param {Mixed} arg2
     * @param {Mixed} etc.
     * @method add
     */

/**
     * <p>Enables events fired by this Observable to bubble up an owner hierarchy by calling
     * <code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>
     * <p>This is commonly used by Ext.Components to bubble events to owner Containers. See {@link Ext.Component.getBubbleTarget}. The default
     * implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to
     * access the required target more quickly.</p>
     * <p>Example:</p><pre><code>
    Ext.override(Ext.form.Field, {
    //  Add functionality to Field&#39;s initComponent to enable the change event to bubble
    initComponent : Ext.form.Field.prototype.initComponent.createSequence(function() {
    this.enableBubble('change');
    }),
    //  We know that we want Field&#39;s events to bubble directly to the FormPanel.
    getBubbleTarget : function() {
    if (!this.formPanel) {
        this.formPanel = this.findParentByType('form');
    }
    return this.formPanel;
    }
    });
    var myForm = new Ext.formPanel({
    title: 'User Details',
    items: [{
    ...
    }],
    listeners: {
    change: function() {
        // Title goes red if form has been modified.
        myForm.header.setStyle('color', 'red');
    }
    }
    });
    </code></pre>
     * @param {String/Array} events The event name to bubble, or an Array of event names.
     */

/**
     * <p>Extends one class to create a subclass and optionally overrides members with the passed literal. This method
     * also adds the function "override()" to the subclass that can be used to override members of the class.</p>
     * For example, to create a subclass of Ext GridPanel:
     * <pre><code>
    MyGridPanel = Ext.extend(Ext.grid.GridPanel, {
    constructor: function(config) {
    //      Create configuration for this Grid.
    var store = new Ext.data.Store({...});
    var colModel = new Ext.grid.ColumnModel({...});
    //      Create a new config object containing our computed properties
    //      *plus* whatever was in the config parameter.
    config = Ext.apply({
        store: store,
        colModel: colModel
    }, config);
     MyGridPanel.superclass.constructor.call(this, config);
    //      Your postprocessing here
    },
    yourMethod: function() {
    // etc.
    }
    });
    </code></pre>
     *
     * <p>This function also supports a 3-argument call in which the subclass's constructor is
     * passed as an argument. In this form, the parameters are as follows:</p>
     * <div class="mdetail-params"><ul>
     * <li><code>subclass</code> : Function <div class="sub-desc">The subclass constructor.</div></li>
     * <li><code>superclass</code> : Function <div class="sub-desc">The constructor of class being extended</div></li>
     * <li><code>overrides</code> : Object <div class="sub-desc">A literal with members which are copied into the subclass's
     * prototype, and are therefore shared among all instances of the new class.</div></li>
     * </ul></div>
     *
     * @param {Function} superclass The constructor of class being extended.
     * @param {Object} overrides <p>A literal with members which are copied into the subclass's
     * prototype, and are therefore shared between all instances of the new class.</p>
     * <p>This may contain a special member named <tt><b>constructor</b></tt>. This is used
     * to define the constructor of the new class, and is returned. If this property is
     * <i>not</i> specified, a constructor is generated and returned which just calls the
     * superclass's constructor passing on its parameters.</p>
     * <p><b>It is essential that you call the superclass constructor in any provided constructor. See example code.</b></p>
     * @return {Function} The subclass constructor from the <code>overrides</code> parameter, or a generated one if not provided.
     */

/**
     * <p>If this Panel is configured {@link #draggable}, this property will contain
     * an instance of {@link Ext.dd.DragSource} which handles dragging the Panel.</p>
     * The developer must provide implementations of the abstract methods of {@link Ext.dd.DragSource}
     * in order to supply behaviour for each stage of the drag/drop process. See {@link #draggable}.
     * @type Ext.dd.DragSource.
     * @property dd
     */

/**
     * <p>Object hash of "pseudo class" filter functions which are used when filtering selections. Each function is passed
     * two parameters:</p><div class="mdetail-params"><ul>
     * <li><b>c</b> : Array<div class="sub-desc">An Array of DOM elements to filter.</div></li>
     * <li><b>v</b> : String<div class="sub-desc">The argument (if any) supplied in the selector.</div></li>
     * </ul></div>
     * <p>A filter function returns an Array of DOM elements which conform to the pseudo class.</p>
     * <p>In addition to the provided pseudo classes listed above such as <code>first-child</code> and <code>nth-child</code>,
     * developers may add additional, custom psuedo class filters to select elements according to application-specific requirements.</p>
     * <p>For example, to filter <code>&lt;a></code> elements to only return links to <i>external</i> resources:</p>
     * <code><pre>
    Ext.DomQuery.pseudos.external = function(c, v){
    var r = [], ri = -1;
    for(var i = 0, ci; ci = c[i]; i++){
    //      Include in result set only if it's a link to an external resource
    if(ci.hostname != location.hostname){
        r[++ri] = ci;
    }
    }
    return r;
    };</pre></code>
     * Then external links could be gathered with the following statement:<code><pre>
    var externalLinks = Ext.select("a:external");
    </code></pre>
     */

/**
     * <p>Registers a new Component constructor, keyed by a new
     * {@link Ext.Component#xtype}.</p>
     * <p>Use this method (or its alias {@link Ext#reg Ext.reg}) to register new
     * subclasses of {@link Ext.Component} so that lazy instantiation may be used when specifying
     * child Components.
     * see {@link Ext.Container#items}</p>
     * @param {String} xtype The mnemonic string by which the Component class may be looked up.
     * @param {Constructor} cls The new Component class.
     */

/**
     * <p>Registers a new Plugin constructor, keyed by a new
     * {@link Ext.Component#ptype}.</p>
     * <p>Use this method (or its alias {@link Ext#preg Ext.preg}) to register new
     * plugins for {@link Ext.Component}s so that lazy instantiation may be used when specifying
     * Plugins.</p>
     * @param {String} ptype The mnemonic string by which the Plugin class may be looked up.
     * @param {Constructor} cls The new Plugin class.
     */

/**
     * <p>Registers a {@link Ext.Window Window} with this WindowManager. This should not
     * need to be called under normal circumstances. Windows are automatically registered
     * with a {@link Ext.Window#manager manager} at construction time.</p>
     * <p>Where this may be useful is moving Windows between two WindowManagers. For example,
     * to bring the Ext.MessageBox dialog under the same manager as the Desktop's
     * WindowManager in the desktop sample app:</p><code><pre>
    var msgWin = Ext.MessageBox.getDialog();
    MyDesktop.getDesktop().getManager().register(msgWin);
    </pre></code>
     * @param {Window} win The Window to register.
     */

/**
     * <p>Removes this element from the document, removes all DOM event listeners, and deletes the cache reference.
     * All DOM event listeners are removed from this element. If {@link Ext#enableNestedListenerRemoval} is
     * <code>true</code>, then DOM event listeners are also removed from all child nodes. The body node
     * will be ignored if passed in.</p>
     * @param {HTMLElement} node The node to remove
     */

/**
     * <p>Removes this element's dom reference.  Note that event and cache removal is handled at {@link Ext#removeNode}</p>
     */

/**
     * <p>Returns the dimensions of the element available to lay content out in.<p>
     * <p>If the element (or any ancestor element) has CSS style <code>display : none</code>, the dimensions will be zero.</p>
     * example:<pre><code>
    var vpSize = Ext.getBody().getViewSize();
      // all Windows created afterwards will have a default value of 90% height and 95% width
    Ext.Window.override({
        width: vpSize.width * 0.9,
        height: vpSize.height * 0.95
    });
    // To handle window resizing you would have to hook onto onWindowResize.
    * </code></pre>
    *
    * getViewSize utilizes clientHeight/clientWidth which excludes sizing of scrollbars.
    * To obtain the size including scrollbars, use getStyleSize
    *
    * Sizing of the document body is handled at the adapter level which handles special cases for IE and strict modes, etc.
    */

/**
     * <p>Returns true if the passed value is empty.</p>
     * <p>The value is deemed to be empty if it is<div class="mdetail-params"><ul>
     * <li>null</li>
     * <li>undefined</li>
     * <li>an empty array</li>
     * <li>a zero length string (Unless the <tt>allowBlank</tt> parameter is <tt>true</tt>)</li>
     * </ul></div>
     * @param {Mixed} value The value to test
     * @param {Boolean} allowBlank (optional) true to allow empty strings (defaults to false)
     * @return {Boolean}
     */

/**
     * <p>Sends an HTTP request to a remote server.</p>
     * <p><b>Important:</b> Ajax server requests are asynchronous, and this call will
     * return before the response has been received. Process any returned data
     * in a callback function.</p>
     * <pre><code>
    Ext.Ajax.request({
    url: 'ajax_demo/sample.json',
    success: function(response, opts) {
    var obj = Ext.decode(response.responseText);
    console.dir(obj);
    },
    failure: function(response, opts) {
    console.log('server-side failure with status code ' + response.status);
    }
    });
     * </code></pre>
     * <p>To execute a callback function in the correct scope, use the <tt>scope</tt> option.</p>
     * @param {Object} options An object which may contain the following properties:<ul>
     * <li><b>url</b> : String/Function (Optional)<div class="sub-desc">The URL to
     * which to send the request, or a function to call which returns a URL string. The scope of the
     * function is specified by the <tt>scope</tt> option. Defaults to the configured
     * <tt>{@link #url}</tt>.</div></li>
     * <li><b>params</b> : Object/String/Function (Optional)<div class="sub-desc">
     * An object containing properties which are used as parameters to the
     * request, a url encoded string or a function to call to get either. The scope of the function
     * is specified by the <tt>scope</tt> option.</div></li>
     * <li><b>method</b> : String (Optional)<div class="sub-desc">The HTTP method to use
     * for the request. Defaults to the configured method, or if no method was configured,
     * "GET" if no parameters are being sent, and "POST" if parameters are being sent.  Note that
     * the method name is case-sensitive and should be all caps.</div></li>
     * <li><b>callback</b> : Function (Optional)<div class="sub-desc">The
     * function to be called upon receipt of the HTTP response. The callback is
     * called regardless of success or failure and is passed the following
     * parameters:<ul>
     * <li><b>options</b> : Object<div class="sub-desc">The parameter to the request call.</div></li>
     * <li><b>success</b> : Boolean<div class="sub-desc">True if the request succeeded.</div></li>
     * <li><b>response</b> : Object<div class="sub-desc">The XMLHttpRequest object containing the response data.
     * See <a href="http://www.w3.org/TR/XMLHttpRequest/">http://www.w3.org/TR/XMLHttpRequest/</a> for details about
     * accessing elements of the response.</div></li>
     * </ul></div></li>
     * <li><a id="request-option-success"></a><b>success</b> : Function (Optional)<div class="sub-desc">The function
     * to be called upon success of the request. The callback is passed the following
     * parameters:<ul>
     * <li><b>response</b> : Object<div class="sub-desc">The XMLHttpRequest object containing the response data.</div></li>
     * <li><b>options</b> : Object<div class="sub-desc">The parameter to the request call.</div></li>
     * </ul></div></li>
     * <li><b>failure</b> : Function (Optional)<div class="sub-desc">The function
     * to be called upon failure of the request. The callback is passed the
     * following parameters:<ul>
     * <li><b>response</b> : Object<div class="sub-desc">The XMLHttpRequest object containing the response data.</div></li>
     * <li><b>options</b> : Object<div class="sub-desc">The parameter to the request call.</div></li>
     * </ul></div></li>
     * <li><b>scope</b> : Object (Optional)<div class="sub-desc">The scope in
     * which to execute the callbacks: The "this" object for the callback function. If the <tt>url</tt>, or <tt>params</tt> options were
     * specified as functions from which to draw values, then this also serves as the scope for those function calls.
     * Defaults to the browser window.</div></li>
     * <li><b>timeout</b> : Number (Optional)<div class="sub-desc">The timeout in milliseconds to be used for this request. Defaults to 30 seconds.</div></li>
     * <li><b>form</b> : Element/HTMLElement/String (Optional)<div class="sub-desc">The <tt>&lt;form&gt;</tt>
     * Element or the id of the <tt>&lt;form&gt;</tt> to pull parameters from.</div></li>
     * <li><a id="request-option-isUpload"></a><b>isUpload</b> : Boolean (Optional)<div class="sub-desc"><b>Only meaningful when used
     * with the <tt>form</tt> option</b>.
     * <p>True if the form object is a file upload (will be set automatically if the form was
     * configured with <b><tt>enctype</tt></b> "multipart/form-data").</p>
     * <p>File uploads are not performed using normal "Ajax" techniques, that is they are <b>not</b>
     * performed using XMLHttpRequests. Instead the form is submitted in the standard manner with the
     * DOM <tt>&lt;form></tt> element temporarily modified to have its
     * <a href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target">target</a> set to refer
     * to a dynamically generated, hidden <tt>&lt;iframe></tt> which is inserted into the document
     * but removed after the return data has been gathered.</p>
     * <p>The server response is parsed by the browser to create the document for the IFRAME. If the
     * server is using JSON to send the return object, then the
     * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a> header
     * must be set to "text/html" in order to tell the browser to insert the text unchanged into the document body.</p>
     * <p>The response text is retrieved from the document, and a fake XMLHttpRequest object
     * is created containing a <tt>responseText</tt> property in order to conform to the
     * requirements of event handlers and callbacks.</p>
     * <p>Be aware that file upload packets are sent with the content type <a href="http://www.faqs.org/rfcs/rfc2388.html">multipart/form</a>
     * and some server technologies (notably JEE) may require some custom processing in order to
     * retrieve parameter names and parameter values from the packet content.</p>
     * </div></li>
     * <li><b>headers</b> : Object (Optional)<div class="sub-desc">Request
     * headers to set for the request.</div></li>
     * <li><b>xmlData</b> : Object (Optional)<div class="sub-desc">XML document
     * to use for the post. Note: This will be used instead of params for the post
     * data. Any params will be appended to the URL.</div></li>
     * <li><b>jsonData</b> : Object/String (Optional)<div class="sub-desc">JSON
     * data to use as the post. Note: This will be used instead of params for the post
     * data. Any params will be appended to the URL.</div></li>
     * <li><b>disableCaching</b> : Boolean (Optional)<div class="sub-desc">True
     * to add a unique cache-buster param to GET requests.</div></li>
     * </ul></p>
     * <p>The options object may also contain any other property which might be needed to perform
     * postprocessing in a callback because it is passed to callback functions.</p>
     * @return {Number} transactionId The id of the server transaction. This may be used
     * to cancel the request.
     */

/**
     * <p>Unregisters a {@link Ext.Window Window} from this WindowManager. This should not
     * need to be called. Windows are automatically unregistered upon destruction.
     * See {@link #register}.</p>
     * @param {Window} win The Window to unregister.
     */

/**
     * <p>Updates the <a href="http://developer.mozilla.org/en/DOM/element.innerHTML">innerHTML</a> of this Element
     * from a specified URL. Note that this is subject to the <a href="http://en.wikipedia.org/wiki/Same_origin_policy">Same Origin Policy</a></p>
     * <p>Updating innerHTML of an element will <b>not</b> execute embedded <tt>&lt;script></tt> elements. This is a browser restriction.</p>
     * @param {Mixed} options. Either a sring containing the URL from which to load the HTML, or an {@link Ext.Ajax#request} options object specifying
     * exactly how to request the HTML.
     * @return {Ext.Element} this
     */

/**
     * <p>Utility method for returning a default value if the passed value is empty.</p>
     * <p>The value is deemed to be empty if it is<div class="mdetail-params"><ul>
     * <li>null</li>
     * <li>undefined</li>
     * <li>an empty array</li>
     * <li>a zero length string (Unless the <tt>allowBlank</tt> parameter is <tt>true</tt>)</li>
     * </ul></div>
     * @param {Mixed} value The value to test
     * @param {Mixed} defaultValue The value to return if the original value is empty
     * @param {Boolean} allowBlank (optional) true to allow zero length strings to qualify as non-empty (defaults to false)
     * @return {Mixed} value, if non-empty, else defaultValue
     */

/**
     * <p>Wraps the specified element with a special 9 element markup/CSS block that renders by default as
     * a gray container with a gradient background, rounded corners and a 4-way shadow.</p>
     * <p>This special markup is used throughout Ext when box wrapping elements ({@link Ext.Button},
     * {@link Ext.Panel} when <tt>{@link Ext.Panel#frame frame=true}</tt>, {@link Ext.Window}).  The markup
     * is of this form:</p>
     * <pre><code>
    Ext.Element.boxMarkup =
    &#39;&lt;div class="{0}-tl">&lt;div class="{0}-tr">&lt;div class="{0}-tc">&lt;/div>&lt;/div>&lt;/div>
    &lt;div class="{0}-ml">&lt;div class="{0}-mr">&lt;div class="{0}-mc">&lt;/div>&lt;/div>&lt;/div>
    &lt;div class="{0}-bl">&lt;div class="{0}-br">&lt;div class="{0}-bc">&lt;/div>&lt;/div>&lt;/div>&#39;;
     * </code></pre>
     * <p>Example usage:</p>
     * <pre><code>
    // Basic box wrap
    Ext.get("foo").boxWrap();
    // You can also add a custom class and use CSS inheritance rules to customize the box look.
    // 'x-box-blue' is a built-in alternative -- look at the related CSS definitions as an example
    // for how to create a custom box wrap style.
    Ext.get("foo").boxWrap().addClass("x-box-blue");
     * </code></pre>
     * @param {String} class (optional) A base CSS class to apply to the containing wrapper element
     * (defaults to <tt>'x-box'</tt>). Note that there are a number of CSS rules that are dependent on
     * this name to make the overall effect work, so if you supply an alternate base class, make sure you
     * also supply all of the necessary rules.
     * @return {Ext.Element} The outermost wrapping element of the created box structure.
     */

/**
     * <p>Zips N sets together.</p>
     * <pre><code>
    // Example 1:
    Ext.zip([1,2,3],[4,5,6]); // [[1,4],[2,5],[3,6]]
    // Example 2:
    Ext.zip(
    [ "+", "-", "+"],
    [  12,  10,  22],
    [  43,  15,  96],
    function(a, b, c){
    return "$" + a + "" + b + "." + c
    }
    ); // ["$+12.43", "$-10.15", "$+22.96"]
     * </code></pre>
     * @param {Arrays|NodeLists} arr This argument may be repeated. Array(s) to contribute values.
     * @param {Function} zipper (optional) The last item in the argument list. This will drive how the items are zipped together.
     * @return {Array} The zipped set.
     */

/**
     * @access private
     */

/**
     * @cfg {Boolean} allowParentInsert
     * Allow inserting a dragged node between an expanded parent node and its first child that will become a
     * sibling of the parent when dropped (defaults to false)
     */

/**
     * @cfg {Boolean} autoAbort (Optional) Whether this request should abort any pending requests. (defaults to false)
     * @type Boolean
     */

/**
     * @cfg {Boolean} disableCaching (Optional) True to add a unique cache-buster param to GET requests. (defaults to true)
     * @type Boolean
     */

/**
     * @cfg {Boolean} displayInfo
     * <tt>true</tt> to display the displayMsg (defaults to <tt>false</tt>)
     */

/**
     * @cfg {Boolean} enableOverflow
     * Defaults to false. Configure <code>true<code> to make the toolbar provide a button
     * which activates a dropdown Menu to show items which overflow the Toolbar's width.
     */

/**
     * @cfg {Boolean} prependButtons
     * <tt>true</tt> to insert any configured <tt>items</tt> <i>before</i> the paging buttons.
     * Defaults to <tt>false</tt>.
     */

/**
     * @cfg {Ext.data.Store} store
     * The {@link Ext.data.Store} the paging toolbar should use as its data source (required).
     */

/**
     * @cfg {Number} pageSize
     * The number of records to display per page (defaults to <tt>20</tt>)
     */

/**
     * @cfg {Number} timeout (Optional) The timeout in milliseconds to be used for requests. (defaults to 30000)
     */

/**
     * @cfg {Number} width
     * The width of the spacer in pixels (defaults to 2px via css style <tt>.x-toolbar .xtb-spacer</tt>).
     */

/**
     * @cfg {Object} defaultHeaders (Optional) An object containing request headers which are added
     *  to each request made by this object. (defaults to undefined)
     */

/**
     * @cfg {Object} extraParams (Optional) An object containing properties which are used as
     * extra parameters to each request made by this object. (defaults to undefined)
     */

/**
     * @cfg {Object} layoutConfig
     * TabPanel implicitly uses {@link Ext.layout.CardLayout} as its layout manager.
     * <code>layoutConfig</code> may be used to configure this layout manager.
     * <code>{@link #deferredRender}</code> and <code>{@link #layoutOnTabChange}</code>
     * configured on the TabPanel will be applied as configs to the layout manager.
     */

/**
     * @cfg {String/Object} layout
     * This class assigns a default layout (<code>layout:'<b>toolbar</b>'</code>).
     * Developers <i>may</i> override this configuration option if another layout
     * is required (the constructor must be passed a configuration object in this
     * case instead of an array).
     * See {@link Ext.Container#layout} for additional information.
     */

/**
     * @cfg {String} afterPageText
     * Customizable piece of the default paging text (defaults to <tt>'of {0}'</tt>). Note that
     * this string is formatted using <tt>{0}</tt> as a token that is replaced by the number of
     * total pages. This token should be preserved when overriding this string if showing the
     * total page count is desired.
     */

/**
     * @cfg {String} allowContainerDrop
     * True if drops on the tree container (outside of a specific tree node) are allowed (defaults to false)
     */

/**
     * @cfg {String} appendOnly
     * True if the tree should only allow append drops (use for trees which are sorted, defaults to false)
     */

/**
     * @cfg {String} beforePageText
     * The text displayed before the input item (defaults to <tt>'Page'</tt>).
     */

/**
     * @cfg {String} buttonAlign
     * <p>The default position at which to align child items. Defaults to <code>"left"</code></p>
     * <p>May be specified as <code>"center"</code> to cause items added before a Fill (A <code>"->"</code>) item
     * to be centered in the Toolbar. Items added after a Fill are still right-aligned.</p>
     * <p>Specify as <code>"right"</code> to right align all child items.</p>
     */

/**
     * @cfg {String} ddGroup
     * A named drag drop group to which this object belongs.  If a group is specified, then this object will only
     * interact with other drag drop objects in the same group (defaults to 'TreeDD').
     */

/**
     * @cfg {String} disableCachingParam (Optional) Change the parameter which is sent went disabling caching
     * through a cache buster. Defaults to '_dc'
     * @type String
     */

/**
     * @cfg {String} displayMsg
     * The paging status message to display (defaults to <tt>'Displaying {0} - {1} of {2}'</tt>).
     * Note that this string is formatted using the braced numbers <tt>{0}-{2}</tt> as tokens
     * that are replaced by the values for start, end and total respectively. These tokens should
     * be preserved when overriding this string if showing those values is desired.
     */

/**
     * @cfg {String} emptyMsg
     * The message to display when no records are found (defaults to 'No data to display')
     */

/**
     * @cfg {String} expandDelay
     * The delay in milliseconds to wait before expanding a target tree node while dragging a droppable node
     * over the target (defaults to 1000)
     */

/**
     * @cfg {String} firstText
     * The quicktip text displayed for the first page button (defaults to <tt>'First Page'</tt>).
     * <b>Note</b>: quick tips must be initialized for the quicktip to show.
     */

/**
     * @cfg {String} lastText
     * The quicktip text displayed for the last page button (defaults to <tt>'Last Page'</tt>).
     * <b>Note</b>: quick tips must be initialized for the quicktip to show.
     */

/**
     * @cfg {String} method (Optional) The default HTTP method to be used for requests.
     * (defaults to undefined; if not set, but {@link #request} params are present, POST will be used;
     * otherwise, GET will be used.)
     */

/**
     * @cfg {String} nextText
     * The quicktip text displayed for the next page button (defaults to <tt>'Next Page'</tt>).
     * <b>Note</b>: quick tips must be initialized for the quicktip to show.
     */

/**
     * @cfg {String} overflowText Text to be used for the menu if the item is overflowed.
     */

/**
     * @cfg {String} prevText
     * The quicktip text displayed for the previous page button (defaults to <tt>'Previous Page'</tt>).
     * <b>Note</b>: quick tips must be initialized for the quicktip to show.
     */

/**
     * @cfg {String} ref
     * <p>A path specification, relative to the Component's <code>{@link #ownerCt}</code>
     * specifying into which ancestor Container to place a named reference to this Component.</p>
     * <p>The ancestor axis can be traversed by using '/' characters in the path.
     * For example, to put a reference to a Toolbar Button into <i>the Panel which owns the Toolbar</i>:</p><pre><code>
    var myGrid = new Ext.grid.EditorGridPanel({
    title: 'My EditorGridPanel',
    store: myStore,
    colModel: myColModel,
    tbar: [{
    text: 'Save',
    handler: saveChanges,
    disabled: true,
    ref: '../saveButton'
    }],
    listeners: {
    afteredit: function() {
    //          The button reference is in the GridPanel
        myGrid.saveButton.enable();
    }
    }
    });
    </code></pre>
     * <p>In the code above, if the <code>ref</code> had been <code>'saveButton'</code>
     * the reference would have been placed into the Toolbar. Each '/' in the <code>ref</code>
     * moves up one level from the Component's <code>{@link #ownerCt}</code>.</p>
     * <p>Also see the <code>{@link #added}</code> and <code>{@link #removed}</code> events.</p>
     */

/**
     * @cfg {String} refreshText
     * The quicktip text displayed for the Refresh button (defaults to <tt>'Refresh'</tt>).
     * <b>Note</b>: quick tips must be initialized for the quicktip to show.
     */

/**
     * @cfg {String} text The text to be used as innerHTML (html tags are accepted)
     */

/**
     * @cfg {String} url (Optional) <p>The default URL to be used for requests to the server. Defaults to undefined.</p>
     * <p>The <code>url</code> config may be a function which <i>returns</i> the URL to use for the Ajax request. The scope
     * (<code><b>this</b></code> reference) of the function is the <code>scope</code> option passed to the {@link #request} method.</p>
     */

/**
     * @cfg {Template/XTemplate} itemTpl <p>(Optional) A {@link Ext.Template Template} or
     * {@link Ext.XTemplate XTemplate} which may be provided to process the data object returned from
     * <tt>{@link #getTemplateArgs}</tt> to produce a clickable selector element in the tab strip.</p>
     * <p>The main element created should be a <tt>&lt;li></tt> element. In order for a click event on
     * a selector element to be connected to its item, it must take its <i>id</i> from the TabPanel's
     * native <tt>{@link #getTemplateArgs}</tt>.</p>
     * <p>The child element which contains the title text must be marked by the CSS class
     * <tt>x-tab-strip-inner</tt>.</p>
     * <p>To enable closability, the created element should contain an element marked by the CSS class
     * <tt>x-tab-strip-close</tt>.</p>
     * <p>If a custom <tt>itemTpl</tt> is supplied, it is the developer's responsibility to create CSS
     * style rules to create the desired appearance.</p>
     * Below is an example of how to create customized tab selector items:<pre><code>
    new Ext.TabPanel({
    renderTo: document.body,
    minTabWidth: 115,
    tabWidth: 135,
    enableTabScroll: true,
    width: 600,
    height: 250,
    defaults: {autoScroll:true},
    itemTpl: new Ext.XTemplate(
    '&lt;li class="{cls}" id="{id}" style="overflow:hidden">',
     '&lt;tpl if="closable">',
        '&lt;a class="x-tab-strip-close">&lt;/a>',
     '&lt;/tpl>',
     '&lt;a class="x-tab-right" href="#" style="padding-left:6px">',
        '&lt;em class="x-tab-left">',
            '&lt;span class="x-tab-strip-inner">',
                '&lt;img src="{src}" style="float:left;margin:3px 3px 0 0">',
                '&lt;span style="margin-left:20px" class="x-tab-strip-text {iconCls}">{text} {extra}&lt;/span>',
            '&lt;/span>',
        '&lt;/em>',
    '&lt;/a>',
    '&lt;/li>'
    ),
    getTemplateArgs: function(item) {
    //      Call the native method to collect the base data. Like the ID!
    var result = Ext.TabPanel.prototype.getTemplateArgs.call(this, item);
    //      Add stuff used in our template
    return Ext.apply(result, {
        closable: item.closable,
        src: item.iconSrc,
        extra: item.extraText || ''
    });
    },
    items: [{
    title: 'New Tab 1',
    iconSrc: '../shared/icons/fam/grid.png',
    html: 'Tab Body 1',
    closable: true
    }, {
    title: 'New Tab 2',
    iconSrc: '../shared/icons/fam/grid.png',
    html: 'Tab Body 2',
    extraText: 'Extra stuff in the tab button'
    }]
    });
    </code></pre>
     */

/**
     * @const
     * @type {import("../MapBrowserEvent.js").default}
     * @api
     */

/**
     * @constructor
     * @param {TokenType} type The type of the token
     * @param {*} value The value of the token
     * @param {number} line The line where the token is located in the source
     * @param {number} column The column where the token is located in the source
     */

/**
     * @constructor
     * @param {string} message The error message
     * @param {number} line The line where the error occurred
     * @param {number} column The column where the error occurred
     */

/**
     * @constructor
     */

/**
     * @event DOMActivate
     * Where supported. Fires when an element is activated, for instance, through a mouse click or a keypress.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event DOMAttrModified
     * Where supported. Fires when an attribute has been modified.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event DOMCharacterDataModified
     * Where supported. Fires when the character data has been modified.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event DOMFocusIn
     * Where supported. Similar to HTML focus event, but can be applied to any focusable element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event DOMFocusOut
     * Where supported. Similar to HTML blur event, but can be applied to any focusable element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event DOMNodeInserted
     * Where supported. Fires when a node has been added as a child of another node.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event DOMNodeInsertedIntoDocument
     * Where supported. Fires when a node is being inserted into a document.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event DOMNodeRemoved
     * Where supported. Fires when a descendant node of the element is removed.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event DOMNodeRemovedFromDocument
     * Where supported. Fires when a node is being removed from a document.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event DOMSubtreeModified
     * Where supported. Fires when the subtree is modified.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event abort
     * Fires when an object/image is stopped from loading before completely loaded.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event actioncomplete
     * Fires when an action is completed.
     * @param {Form} this
     * @param {Action} action The {@link Ext.form.Action} that completed
     */

/**
     * @event actionfailed
     * Fires when an action fails.
     * @param {Form} this
     * @param {Action} action The {@link Ext.form.Action} that failed
     */

/**
     * @event activate
     * Fires after the Panel has been visually activated.
     * Note that Panels do not directly support being activated, but some Panel subclasses
     * do (like {@link Ext.Window}). Panels which are child Components of a TabPanel fire the
     * activate and deactivate events under the control of the TabPanel.
     * @param {Ext.Panel} p The Panel that has been activated.
     */

/**
     * @event activate
     * Fires after the window has been visually activated via {@link #setActive}.
     * @param {Ext.Window} this
     */

/**
     * @event activate
     * Fires when the editor is first receives the focus. Any insertion must wait
     * until after this event.
     * @param {HtmlEditor} this
     */

/**
     * @event activate
     * Fires when this item is activated
     * @param {Ext.menu.BaseItem} this
     */

/**
     * @event add
     * @bubbles
     * Fires after any {@link Ext.Component} is added or inserted into the container.
     * @param {Ext.Container} this
     * @param {Ext.Component} component The component that was added
     * @param {Number} index The index at which the component was added to the container's items collection
     */

/**
     * @event add
     * Fires when Records have been {@link #add}ed to the Store
     * @param {Store} this
     * @param {Ext.data.Record[]} records The array of Records added
     * @param {Number} index The index at which the record(s) were added
     */

/**
     * @event afteredit
     * Fires after a cell is edited. The edit event object has the following properties <br />
     * <ul style="padding:5px;padding-left:16px;">
     * <li>grid - This grid</li>
     * <li>record - The record being edited</li>
     * <li>field - The field name being edited</li>
     * <li>value - The value being set</li>
     * <li>originalValue - The original value for the field, before the edit.</li>
     * <li>row - The grid row index</li>
     * <li>column - The grid column index</li>
     * </ul>
     *
     * <pre><code>
    grid.on('afteredit', afterEdit, this );
    function afterEdit(e) {
    // execute an XHR to send/commit data to the server, in callback do (if successful):
    e.record.commit();
    };
     * </code></pre>
     * @param {Object} e An edit event (see above for description)
     */

/**
     * @event afterlayout
     * Fires when the components in this container are arranged by the associated layout manager.
     * @param {Ext.Container} this
     * @param {ContainerLayout} layout The ContainerLayout implementation for this container
     */

/**
     * @event append
     * Fires when a new child node is appended
     * @param {Tree} tree The owner tree
     * @param {Node} this This node
     * @param {Node} node The newly appended node
     * @param {Number} index The index of the newly appended node
     */

/**
     * @event apply
     * Fired when user pressed apply button
     */

/**
     * @event arrowclick
     * Fires when this button's arrow is clicked
     * @param {MenuButton} this
     * @param {EventObject} e The click event
     */

/**
     * @event autosize
     * Fires when the <tt><b>{@link #autoSize}</b></tt> function is triggered. The field may or
     * may not have actually changed size according to the default logic, but this event provides
     * a hook for the developer to apply additional logic at runtime to resize the field if needed.
     * @param {Ext.form.Field} this This text field
     * @param {Number} width The new field width
     */

/**
     * @event beforeaction
     * Fires before any action is performed. Return false to cancel the action.
     * @param {Form} this
     * @param {Action} action The {@link Ext.form.Action} to be performed
     */

/**
     * @event beforeadd
     * Fires before any {@link Ext.Component} is added or inserted into the container.
     * A handler can return false to cancel the add.
     * @param {Ext.Container} this
     * @param {Ext.Component} component The component being added
     * @param {Number} index The index at which the component will be added to the container's items collection
     */

/**
     * @event beforeappend
     * Fires before a new child is appended to a node in this tree, return false to cancel the append.
     * @param {Tree} tree The owner tree
     * @param {Node} parent The parent node
     * @param {Node} node The child node to be appended
     */

/**
     * @event beforeappend
     * Fires before a new child is appended, return false to cancel the append.
     * @param {Tree} tree The owner tree
     * @param {Node} this This node
     * @param {Node} node The child node to be appended
     */

/**
     * @event beforecall
     * Fires immediately before the client-side sends off the RPC call.
     * By returning false from an event handler you can prevent the call from
     * executing.
     * @param {Ext.direct.RemotingProvider} provider
     * @param {Ext.Direct.Transaction} transaction
     */

/**
     * @event beforecellselect
     * Fires before a cell is selected, return false to cancel the selection.
     * @param {SelectionModel} this
     * @param {Number} rowIndex The selected row index
     * @param {Number} colIndex The selected cell index
     */

/**
     * @event beforechange
     * Fires before the slider value is changed. By returning false from an event handler,
     * you can cancel the event and prevent the slider from changing.
     * @param {Ext.Slider} slider The slider
     * @param {Number} newValue The new value which the slider is being changed to.
     * @param {Number} oldValue The old value which the slider was previously.
     */

/**
     * @event beforecheckchange
     * Fires before the checked value is set, providing an opportunity to cancel if needed
     * @param {Ext.menu.CheckItem} this
     * @param {Boolean} checked The new checked value that will be set
     */

/**
     * @event beforeclick
     * Fires before a click is processed. Returns false to cancel the default action.
     * @param {Ext.DataView} this
     * @param {Number} index The index of the target node
     * @param {HTMLElement} node The target node
     * @param {Ext.EventObject} e The raw event object
     */

/**
     * @event beforeclose
     * Fires before the Panel is closed.  Note that Panels do not directly support being closed, but some
     * Panel subclasses do (like {@link Ext.Window}) or a Panel within a Ext.TabPanel.  This event only
     * applies to such subclasses.
     * A handler can return false to cancel the close.
     * @param {Ext.Panel} p The Panel being closed.
     */

/**
     * @event beforecollapse
     * Fires before the Panel is collapsed.  A handler can return false to cancel the collapse.
     * @param {Ext.Panel} p the Panel being collapsed.
     * @param {Boolean} animate True if the collapse is animated, else false.
     */

/**
     * @event beforecolse
     * @desc Fires before the Window is closed. A handler can return false to cancel the close.
     * @param {Ext.ux.PopupWindow}
     */

/**
     * @event beforecomplete
     * Fires after a change has been made to the field, but before the change is reflected in the underlying
     * field.  Saving the change to the field can be canceled by returning false from the handler of this event.
     * Note that if the value has not changed and ignoreNoChange = true, the editing will still end but this
     * event will not fire since no edit actually occurred.
     * @param {Editor} this
     * @param {Mixed} value The current field value
     * @param {Mixed} startValue The original field value
     */

/**
     * @event beforeedit
     * Fires before cell editing is triggered. The edit event object has the following properties <br />
     * <ul style="padding:5px;padding-left:16px;">
     * <li>grid - This grid</li>
     * <li>record - The record being edited</li>
     * <li>field - The field name being edited</li>
     * <li>value - The value for the field being edited.</li>
     * <li>row - The grid row index</li>
     * <li>column - The grid column index</li>
     * <li>cancel - Set this to true to cancel the edit or return false from your handler.</li>
     * </ul>
     * @param {Object} e An edit event (see above for description)
     */

/**
     * @event beforeexpand
     * Fires before the Panel is expanded.  A handler can return false to cancel the expand.
     * @param {Ext.Panel} p The Panel being expanded.
     * @param {Boolean} animate True if the expand is animated, else false.
     */

/**
     * @event beforeinsert
     * Fires before a new child is inserted in a node in this tree, return false to cancel the insert.
     * @param {Tree} tree The owner tree
     * @param {Node} parent The parent node
     * @param {Node} node The child node to be inserted
     * @param {Node} refNode The child node the node is being inserted before
     */

/**
     * @event beforeinsert
     * Fires before a new child is inserted, return false to cancel the insert.
     * @param {Tree} tree The owner tree
     * @param {Node} this This node
     * @param {Node} node The child node to be inserted
     * @param {Node} refNode The child node the node is being inserted before
     */

/**
     * @event beforeload
     * Fires before a request is made for a new data object.  If the beforeload handler returns
     * <tt>false</tt> the {@link #load} action will be canceled.
     * @param {Store} this
     * @param {Object} options The loading options that were specified (see {@link #load} for details)
     */

/**
     * @event beforemove
     * Fires before this node is moved to a new location in the tree. Return false to cancel the move.
     * @param {Tree} tree The owner tree
     * @param {Node} this This node
     * @param {Node} oldParent The parent of this node
     * @param {Node} newParent The new parent this node is moving to
     * @param {Number} index The index it is being moved to
     */

/**
     * @event beforemovenode
     * Fires before a node is moved to a new location in the tree. Return false to cancel the move.
     * @param {Tree} tree The owner tree
     * @param {Node} node The node being moved
     * @param {Node} oldParent The parent of the node
     * @param {Node} newParent The new parent the node is moving to
     * @param {Number} index The index it is being moved to
     */

/**
     * @event beforenodedrop
     * Fires when a DD object is dropped on a node in this tree for preprocessing. Return false to cancel the drop. The dropEvent
     * passed to handlers has the following properties:<br />
     * <ul style="padding:5px;padding-left:16px;">
     * <li>tree - The TreePanel</li>
     * <li>target - The node being targeted for the drop</li>
     * <li>data - The drag data from the drag source</li>
     * <li>point - The point of the drop - append, above or below</li>
     * <li>source - The drag source</li>
     * <li>rawEvent - Raw mouse event</li>
     * <li>dropNode - Drop node(s) provided by the source <b>OR</b> you can supply node(s)
     * to be inserted by setting them on this object.</li>
     * <li>cancel - Set this to true to cancel the drop.</li>
     * <li>dropStatus - If the default drop action is cancelled but the drop is valid, setting this to true
     * will prevent the animated 'repair' from appearing.</li>
     * </ul>
     * @param {Object} dropEvent
     */

/**
     * @event beforepoll
     * Fired immediately before a poll takes place, an event handler can return false
     * in order to cancel the poll.
     * @param {Ext.direct.PollingProvider}
     */

/**
     * @event beforepropertychange
     * Fires before a property value changes.  Handlers can return false to cancel the property change
     * (this will internally call {@link Ext.data.Record#reject} on the property's record).
     * @param {Object} source The source data object for the grid (corresponds to the same object passed in
     * as the {@link #source} config property).
     * @param {String} recordId The record's id in the data store
     * @param {Mixed} value The current edited property value
     * @param {Mixed} oldValue The original property value prior to editing
     */

/**
     * @event beforequery
     * Fires before all queries are processed. Return false to cancel the query or set the queryEvent's
     * cancel property to true.
     * @param {Object} queryEvent An object that has these properties:<ul>
     * <li><code>combo</code> : Ext.form.ComboBox <div class="sub-desc">This combo box</div></li>
     * <li><code>query</code> : String <div class="sub-desc">The query</div></li>
     * <li><code>forceAll</code> : Boolean <div class="sub-desc">True to force "all" query</div></li>
     * <li><code>cancel</code> : Boolean <div class="sub-desc">Set to true to cancel the query</div></li>
     * </ul>
     */

/**
     * @event beforerefresh
     * Internal UI Event. Fired before the view is refreshed.
     * @param {Ext.grid.GridView} view
     */

/**
     * @event beforeremove
     * Fires before a child is removed from a node in this tree, return false to cancel the remove.
     * @param {Tree} tree The owner tree
     * @param {Node} parent The parent node
     * @param {Node} node The child node to be removed
     */

/**
     * @event beforeremove
     * Fires before a child is removed, return false to cancel the remove.
     * @param {Tree} tree The owner tree
     * @param {Node} this This node
     * @param {Node} node The child node to be removed
     */

/**
     * @event beforeremove
     * Fires before any {@link Ext.Component} is removed from the container.  A handler can return
     * false to cancel the remove.
     * @param {Ext.Container} this
     * @param {Ext.Component} component The component being removed
     */

/**
     * @event beforerequest
     * Fires before a network request is made to retrieve a data object.
     * @param {Connection} conn This Connection object.
     * @param {Object} options The options config object passed to the {@link #request} method.
     */

/**
     * @event beforeresize
     * Fired before resize is allowed. Set {@link #enabled} to false to cancel resize.
     * @param {Ext.Resizable} this
     * @param {Ext.EventObject} e The mousedown event
     */

/**
     * @event beforerowremoved
     * Internal UI Event. Fired before a row is removed.
     * @param {Ext.grid.GridView} view
     * @param {Number} rowIndex The index of the row to be removed.
     * @param {Ext.data.Record} record The Record to be removed
     */

/**
     * @event beforerowselect
     * Fires before a row is selected, return false to cancel the selection.
     * @param {SelectionModel} this
     * @param {Number} rowIndex The index to be selected
     * @param {Boolean} keepExisting False if other selections will be cleared
     * @param {Record} record The record to be selected
     */

/**
     * @event beforerowsinserted
     * Internal UI Event. Fired before rows are inserted.
     * @param {Ext.grid.GridView} view
     * @param {Number} firstRow The index of the first row to be inserted.
     * @param {Number} lastRow The index of the last row to be inserted.
     */

/**
     * @event beforesave
     * Fires before a save action is called. A save encompasses destroying records, updating records and creating records.
     * @param {Ext.data.Store} store
     * @param {Object} data An object containing the data that is to be saved. The object will contain a key for each appropriate action,
     * with an array of records for each action.
     */

/**
     * @event beforeselect
     * Fires before a date is selected. return false to abort selection
     * @param {DatePicker} this DatePicker
     * @param {Date} date The date to select
     */

/**
     * @event beforeselect
     * Fires before a list item is selected. Return false to cancel the selection.
     * @param {Ext.form.ComboBox} combo This combo box
     * @param {Ext.data.Record} record The data record returned from the underlying store
     * @param {Number} index The index of the selected item in the dropdown list
     */

/**
     * @event beforeselect
     * Fires before a selection is made. If any handlers return false, the selection is cancelled.
     * @param {Ext.DataView} this
     * @param {HTMLElement} node The node to be selected
     * @param {Array} selections Array of currently selected nodes
     */

/**
     * @event beforestartedit
     * Fires when editing is initiated, but before the value changes.  Editing can be canceled by returning
     * false from the handler of this event.
     * @param {Editor} this
     * @param {Ext.Element} boundEl The underlying element bound to this editor
     * @param {Mixed} value The field value being set
     */

/**
     * @event beforetabchange
     * Fires before the active tab changes. Handlers can <tt>return false</tt> to cancel the tab change.
     * @param {TabPanel} this
     * @param {Panel} newTab The tab being activated
     * @param {Panel} currentTab The current active tab
     */

/**
     * @event beforewrite
     * @param {Ext.data.Store} store
     * @param {String} action [Ext.data.Api.actions.create|update|destroy]
     * @param {Record/Array[Record]} rs
     * @param {Object} options The loading options that were specified. Edit <code>options.params</code> to add Http parameters to the request.  (see {@link #save} for details)
     * @param {Object} arg The callback's arg object passed to the {@link #request} function
     */

/**
     * @event blur
     * Fires when an element loses focus either via the pointing device or by tabbing navigation.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event blur
     * Fires when this field loses input focus.
     * @param {Ext.form.Field} this
     */

/**
     * @event bodyresize
     * Fires after the Panel has been resized.
     * @param {Ext.Panel} p the Panel which has been resized.
     * @param {Number} width The Panel body's new width.
     * @param {Number} height The Panel body's new height.
     */

/**
     * @event bodyscroll
     * Fires when the body element is scrolled
     * @param {Number} scrollLeft
     * @param {Number} scrollTop
     */

/**
     * @event call
     * Fires immediately after the request to the server-side is sent. This does
     * NOT fire after the response has come back from the call.
     * @param {Ext.direct.RemotingProvider} provider
     * @param {Ext.Direct.Transaction} transaction
     */

/**
     * @event cancel
     * @desc Fired when user pressed cancel button
     * @param {WizardPanel} this
     * @parm {Ext.Panel} active panel
     */

/**
     * @event cancel
     * Fired when user pressed cancel button
     */

/**
     * @event canceledit
     * Fires after editing has been canceled and the editor's value has been reset.
     * @param {Editor} this
     * @param {Mixed} value The user-entered field value that was discarded
     * @param {Mixed} startValue The original field value that was set back into the editor after cancel
     */

/**
     * @event cellclick
     * Fires when a cell is clicked.
     * The data for the cell is drawn from the {@link Ext.data.Record Record}
     * for this row. To access the data in the listener function use the
     * following technique:
     * <pre><code>
    function(grid, rowIndex, columnIndex, e) {
    var record = grid.getStore().getAt(rowIndex);  // Get the Record
    var fieldName = grid.getColumnModel().getDataIndex(columnIndex); // Get field name
    var data = record.get(fieldName);
    }
    </code></pre>
     * @param {Grid} this
     * @param {Number} rowIndex
     * @param {Number} columnIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event cellcontextmenu
     * Fires when a cell is right clicked
     * @param {Grid} this
     * @param {Number} rowIndex
     * @param {Number} cellIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event celldblclick
     * Fires when a cell is double clicked
     * @param {Grid} this
     * @param {Number} rowIndex
     * @param {Number} columnIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event cellmousedown
     * Fires before a cell is clicked
     * @param {Grid} this
     * @param {Number} rowIndex
     * @param {Number} columnIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event cellselect
     * Fires when a cell is selected.
     * @param {SelectionModel} this
     * @param {Number} rowIndex The selected row index
     * @param {Number} colIndex The selected cell index
     */

/**
     * @event change
     * @param appName
     * Fired when a value is changed
     */

/**
     * @event change
     * Fires after the button's active menu item has changed.  Note that if a {@link #changeHandler} function
     * is set on this CycleButton, it will be called instead on active item change and this change event will
     * not be fired.
     * @param {Ext.CycleButton} this
     * @param {Ext.menu.CheckItem} item The menu item that was selected
     */

/**
     * @event change
     * Fires just before the field blurs if the field value has changed.
     * @param {Ext.form.Field} this
     * @param {Mixed} newValue The new value
     * @param {Mixed} oldValue The original value
     */

/**
     * @event change
     * Fires when a control loses the input focus and its value has been modified since gaining focus.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event change
     * Fires when the slider value is changed.
     * @param {Ext.Slider} slider The slider
     * @param {Number} newValue The new value which the slider has been changed to.
     */

/**
     * @event change
     * Fires when the state of a child checkbox changes.
     * @param {Ext.form.CheckboxGroup} this
     * @param {Array} checked An array containing the checked boxes.
     */

/**
     * @event changecomplete
     * Fires when the slider value is changed by the user and any drag operations have completed.
     * @param {Ext.Slider} slider The slider
     * @param {Number} newValue The new value which the slider has been changed to.
     */

/**
     * @event check
     * Fires when the checkbox is checked or unchecked.
     * @param {Ext.form.Checkbox} this This checkbox
     * @param {Boolean} checked The new checked value
     */

/**
     * @event checkchange
     * Fires after the checked value has been set
     * @param {Ext.menu.CheckItem} this
     * @param {Boolean} checked The checked value that was set
     */

/**
     * @event clear
     * Fires when the data cache has been cleared.
     * @param {Store} this
     * @param {Record[]} The records that were cleared.
     */

/**
     * @event click
     * Fires when a mouse click is detected within the element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event click
     * Fires when a template node is clicked.
     * @param {Ext.DataView} this
     * @param {Number} index The index of the target node
     * @param {HTMLElement} node The target node
     * @param {Ext.EventObject} e The raw event object
     */

/**
     * @event click
     * Fires when this button is clicked
     * @param {Button} this
     * @param {EventObject} e The click event
     */

/**
     * @event click
     * Fires when this item is clicked
     * @param {Ext.menu.BaseItem} this
     * @param {Ext.EventObject} e
     */

/**
     * @event click
     * Fires when this menu is clicked (or when the enter key is pressed while it is active)
     * @param {Ext.menu.Menu} this
    * @param {Ext.menu.Item} menuItem The menu item that was clicked
     * @param {Ext.EventObject} e
     */

/**
     * @event click
     * The raw click event for the entire grid.
     * @param {Ext.EventObject} e
     */

/**
     * @event clientvalidation
     * If the monitorValid config option is true, this event fires repetitively to notify of valid state
     * @param {Ext.form.FormPanel} this
     * @param {Boolean} valid true if the form has passed client-side validation
     */

/**
     * @event close
     * @desc  Fired, when the window got closed
     */

/**
     * @event close
     * Fires after the Panel is closed.  Note that Panels do not directly support being closed, but some
     * Panel subclasses do (like {@link Ext.Window}) or a Panel within a Ext.TabPanel.
     * @param {Ext.Panel} p The Panel that has been closed.
     */

/**
     * @event collapse
     * Fires after the Panel has been collapsed.
     * @param {Ext.Panel} p the Panel that has been collapsed.
     */

/**
     * @event collapse
     * Fires when the dropdown list is collapsed
     * @param {Ext.form.ComboBox} combo This combo box
     */

/**
     * @event columnmove
     * Fires when the user moves a column
     * @param {Number} oldIndex
     * @param {Number} newIndex
     */

/**
     * @event columnmoved
     * Fires when a column is moved.
     * @param {ColumnModel} this
     * @param {Number} oldIndex
     * @param {Number} newIndex
     */

/**
     * @event columnresize
     * Fires when the user resizes a column
     * @param {Number} columnIndex
     * @param {Number} newSize
     */

/**
     * @event complete
     * Fires after editing is complete and any changed value has been written to the underlying field.
     * @param {Editor} this
     * @param {Mixed} value The current field value
     * @param {Mixed} startValue The original field value
     */

/**
     * @event configchange
     * Fires when the configuration is changed
     * @param {ColumnModel} this
     */

/**
     * @event connect
     * Fires when the Provider connects to the server-side
     * @param {Ext.direct.Provider} provider The {@link Ext.direct.Provider Provider}.
     */

/**
     * @event containerclick
     * Fires when a click occurs and it is not on a template node.
     * @param {Ext.DataView} this
     * @param {Ext.EventObject} e The raw event object
     */

/**
     * @event containerclick
     * Fires when the container is clicked. The container consists of any part of the grid body that is not covered by a row.
     * @param {Grid} this
     * @param {Ext.EventObject} e
     */

/**
     * @event containercontextmenu
     * Fires when a right click occurs that is not on a template node.
     * @param {Ext.DataView} this
     * @param {Ext.EventObject} e The raw event object
     */

/**
     * @event containercontextmenu
     * Fires when the container is right clicked. The container consists of any part of the grid body that is not covered by a row.
     * @param {Grid} this
     * @param {Ext.EventObject} e
     */

/**
     * @event containerdblclick
     * Fires when the container is double clicked. The container consists of any part of the grid body that is not covered by a row.
     * @param {Grid} this
     * @param {Ext.EventObject} e
     */

/**
     * @event containermousedown
     * Fires before the container is clicked. The container consists of any part of the grid body that is not covered by a row.
     * @param {Grid} this
     * @param {Ext.EventObject} e
     */

/**
     * @event contextmenu
     * Fires when a right click is detected within the element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event contextmenu
     * Fires when a template node is right clicked.
     * @param {Ext.DataView} this
     * @param {Number} index The index of the target node
     * @param {HTMLElement} node The target node
     * @param {Ext.EventObject} e The raw event object
     */

/**
     * @event contextmenu
     * Relays the contextmenu event from a tab selector element in the tab strip.
     * @param {TabPanel} this
     * @param {Panel} tab The target tab
     * @param {EventObject} e
     */

/**
     * @event contextmenu
     * The raw contextmenu event for the entire grid.
     * @param {Ext.EventObject} e
     */

/**
     * @event data
     * Fires when the Provider receives data from the server-side
     * @param {Ext.direct.Provider} provider The {@link Ext.direct.Provider Provider}.
     * @param {event} e The {@link Ext.Direct#eventTypes Ext.Direct.Event type} that occurred.
     */

/**
     * @event datachanged
     * Fires when the data cache has changed in a bulk manner (e.g., it has been sorted, filtered, etc.) and a
     * widget that is using this Store as a Record cache should refresh its view.
     * @param {Store} this
     */

/**
     * @event dblclick
     * Fires when a mouse double click is detected within the element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event dblclick
     * Fires when a template node is double clicked.
     * @param {Ext.DataView} this
     * @param {Number} index The index of the target node
     * @param {HTMLElement} node The target node
     * @param {Ext.EventObject} e The raw event object
     */

/**
     * @event dblclick
     * The raw dblclick event for the entire grid.
     * @param {Ext.EventObject} e
     */

/**
     * @event deactivate
     * Fires after the Panel has been visually deactivated.
     * Note that Panels do not directly support being deactivated, but some Panel subclasses
     * do (like {@link Ext.Window}). Panels which are child Components of a TabPanel fire the
     * activate and deactivate events under the control of the TabPanel.
     * @param {Ext.Panel} p The Panel that has been deactivated.
     */

/**
     * @event deactivate
     * Fires after the window has been visually deactivated via {@link #setActive}.
     * @param {Ext.Window} this
     */

/**
     * @event deactivate
     * Fires when this item is deactivated
     * @param {Ext.menu.BaseItem} this
     */

/**
     * @event disconnect
     * Fires when the Provider disconnects from the server-side
     * @param {Ext.direct.Provider} provider The {@link Ext.direct.Provider Provider}.
     */

/**
     * @event drag
     * @param {Object} this
     * @param {Object} e event object
     */

/**
     * @event drag
     * Fires continuously during the drag operation while the mouse is moving.
     * @param {Ext.Slider} slider The slider
     * @param {Ext.EventObject} e The event fired from Ext.dd.DragTracker
     */

/**
     * @event dragdrop
     * Fires when a dragged node is dropped on a valid DD target
     * @param {Ext.tree.TreePanel} this
     * @param {Ext.tree.TreeNode} node
     * @param {DD} dd The dd it was dropped on
     * @param {event} e The raw browser event
     */

/**
     * @event dragend
     * @param {Object} this
     * @param {Object} e event object
     */

/**
     * @event dragend
     * Fires after the drag operation has completed.
     * @param {Ext.Slider} slider The slider
     * @param {Ext.EventObject} e The event fired from Ext.dd.DragTracker
     */

/**
     * @event dragstart
     * @param {Object} this
     * @param {Object} startXY the page coordinates of the event
     */

/**
     * @event dragstart
     * Fires after a drag operation has started.
     * @param {Ext.Slider} slider The slider
     * @param {Ext.EventObject} e The event fired from Ext.dd.DragTracker
     */

/**
     * @event enddrag
     * Fires when a drag operation is complete
     * @param {Ext.tree.TreePanel} this
     * @param {Ext.tree.TreeNode} node
     * @param {event} e The raw browser event
     */

/**
     * @event error
     * Fires when an object/image/frame cannot be loaded properly.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event event
     * Fires after an event.
     * @param {event} e The {@link Ext.Direct#eventTypes Ext.Direct.Event type} that occurred.
     * @param {Ext.direct.Provider} provider The {@link Ext.direct.Provider Provider}.
     */

/**
     * @event exception
     * <p>Fires if an exception occurs in the Proxy during a remote request.
     * This event is relayed through the corresponding {@link Ext.data.DataProxy}.
     * See {@link Ext.data.DataProxy}.{@link Ext.data.DataProxy#exception exception}
     * for additional details.
     * @param {misc} misc See {@link Ext.data.DataProxy}.{@link Ext.data.DataProxy#exception exception}
     * for description.
     */

/**
     * @event exception
     * Fires after an event exception.
     * @param {event} e The {@link Ext.Direct#eventTypes Ext.Direct.Event type} that occurred.
     */

/**
     * @event exception
     * Fires when the Provider receives an exception from the server-side
     */

/**
     * @event expand
     * Fires after the Panel has been expanded.
     * @param {Ext.Panel} p The Panel that has been expanded.
     */

/**
     * @event expand
     * Fires when the dropdown list is expanded
     * @param {Ext.form.ComboBox} combo This combo box
     */

/**
     * @event fileSelected
     * Fires when a file was selected
     * @param {FileList}
     */

/**
     * @event filesSelected
     * Fired once files where selected from filemanager or from a local source
     */

/**
     * @event finish
     * @desc Fired when user pressed finish button
     * @param {WizardPanel} this
     * @parm {Ext.Panel} active panel
     */

/**
     * @event focus
     * Fires when an element receives focus either via the pointing device or by tab navigation.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event focus
     * Fires when this field receives input focus.
     * @param {Ext.form.Field} this
     */

/**
     * @event groupchange
     * Fires when the grid's grouping changes (only applies for grids with a {@link Ext.grid.GroupingView GroupingView})
     * @param {Grid} this
     * @param {String} groupField A string with the grouping field, null if the store is not grouped.
     */

/**
     * @event groupclick
     * Fires when group header is clicked. <b>Only applies for grids with a {@link Ext.grid.GroupingView GroupingView}</b>.
     * @param {Grid} this
     * @param {String} groupField
     * @param {String} groupValue
     * @param {Ext.EventObject} e
     */

/**
     * @event groupcontextmenu
     * Fires when group header is right clicked. <b>Only applies for grids with a {@link Ext.grid.GroupingView GroupingView}</b>.
     * @param {Grid} this
     * @param {String} groupField
     * @param {String} groupValue
     * @param {Ext.EventObject} e
     */

/**
     * @event groupdblclick
     * Fires when group header is double clicked. <b>Only applies for grids with a {@link Ext.grid.GroupingView GroupingView}</b>.
     * @param {Grid} this
     * @param {String} groupField
     * @param {String} groupValue
     * @param {Ext.EventObject} e
     */

/**
     * @event groupmousedown
     * Fires before a group header is clicked. <b>Only applies for grids with a {@link Ext.grid.GroupingView GroupingView}</b>.
     * @param {Grid} this
     * @param {String} groupField
     * @param {String} groupValue
     * @param {Ext.EventObject} e
     */

/**
     * @event headerchange
     * Fires when the text of a header changes.
     * @param {ColumnModel} this
     * @param {Number} columnIndex The column index
     * @param {String} newText The new header text
     */

/**
     * @event headerclick
     * Fires when a header is clicked
     * @param {Grid} this
     * @param {Number} columnIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event headercontextmenu
     * Fires when a header is right clicked
     * @param {Grid} this
     * @param {Number} columnIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event headerdblclick
     * Fires when a header cell is double clicked
     * @param {Grid} this
     * @param {Number} columnIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event headermousedown
     * Fires before a header is clicked
     * @param {Grid} this
     * @param {Number} columnIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event hiddenchange
     * Fires when a column is hidden or "unhidden".
     * @param {ColumnModel} this
     * @param {Number} columnIndex The column index
     * @param {Boolean} hidden true if hidden, false otherwise
     */

/**
     * @event iconchange
     * Fires after the Panel icon class has been {@link #iconCls set} or {@link #setIconClass changed}.
     * @param {Ext.Panel} p the Panel which has had its {@link #iconCls icon class} changed.
     * @param {String} The new icon class.
     * @param {String} The old icon class.
     */

/**
     * @event initialize
     * Fires when the editor is fully initialized (including the iframe)
     * @param {HtmlEditor} this
     */

/**
     * @event insert
     * Fires when a new child node is inserted in a node in this tree.
     * @param {Tree} tree The owner tree
     * @param {Node} parent The parent node
     * @param {Node} node The child node inserted
     * @param {Node} refNode The child node the node was inserted before
     */

/**
     * @event insert
     * Fires when a new child node is inserted.
     * @param {Tree} tree The owner tree
     * @param {Node} this This node
     * @param {Node} node The child node inserted
     * @param {Node} refNode The child node the node was inserted before
     */

/**
     * @event invalid
     * Fires after the field has been marked as invalid.
     * @param {Ext.form.Field} this
     * @param {String} msg The validation message
     */

/**
     * @event itemclick
     * Fires when a menu item contained in this menu is clicked
     * @param {Ext.menu.BaseItem} baseItem The BaseItem that was clicked
     * @param {Ext.EventObject} e
     */

/**
     * @event keydown
     * Fires when a keydown is detected within the element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event keydown
     * Keydown input field event. This event only fires if <tt><b>{@link #enableKeyEvents}</b></tt>
     * is set to true.
     * @param {Ext.form.TextField} this This text field
     * @param {Ext.EventObject} e
     */

/**
     * @event keydown
     * The raw keydown event for the entire grid.
     * @param {Ext.EventObject} e
     */

/**
     * @event keypress
     * Fires when a keypress is detected within the element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event keypress
     * Keypress input field event. This event only fires if <tt><b>{@link #enableKeyEvents}</b></tt>
     * is set to true.
     * @param {Ext.form.TextField} this This text field
     * @param {Ext.EventObject} e
     */

/**
     * @event keypress
     * The raw keypress event for the entire grid.
     * @param {Ext.EventObject} e
     */

/**
     * @event keyup
     * Fires when a keyup is detected within the element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event keyup
     * Keyup input field event. This event only fires if <tt><b>{@link #enableKeyEvents}</b></tt>
     * is set to true.
     * @param {Ext.form.TextField} this This text field
     * @param {Ext.EventObject} e
     */

/**
     * @event load
     * @param {Tine.widgets.dialog.EditDialog} this
     * @param {Tine.data.Record} record which got loaded
     * @param {Function} ticket function for async defer
     * Fired when record is loaded
     */

/**
     * @event load
     * Fires after a new set of Records has been loaded.
     * @param {Store} this
     * @param {Ext.data.Record[]} records The Records that were loaded
     * @param {Object} options The loading options that were specified (see {@link #load} for details)
     */

/**
     * @event load
     * Fires when the user agent finishes loading all content within the element. Only supported by window, frames, objects and images.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event loadexception
     * <p>This event is <b>deprecated</b> in favor of the catch-all <b><code>{@link #exception}</code></b>
     * event instead.</p>
     * <p>This event is relayed through the corresponding {@link Ext.data.DataProxy}.
     * See {@link Ext.data.DataProxy}.{@link Ext.data.DataProxy#loadexception loadexception}
     * for additional details.
     * @param {misc} misc See {@link Ext.data.DataProxy}.{@link Ext.data.DataProxy#loadexception loadexception}
     * for description.
     */

/**
     * @event lock
     * Fires when an area got locked.
     * @param {AreaLocks} this
     * @param {string} areaName
     * @param {Object} lockState the output of {@link #getLockState} function
     */

/**
     * @event locking
     * Fires when an area is locking async.
     * @param {AreaLocks} this
     * @param {string} areaName
     * @param {Object} lockState the output of {@link #getLockState} function
     */

/**
     * @event maximize
     * Fires after the window has been maximized.
     * @param {Ext.Window} this
     */

/**
     * @event menuhide
     * If this button has a menu, this event fires when it is hidden
     * @param {Button} this
     * @param {Menu} menu
     */

/**
     * @event menushow
     * If this button has a menu, this event fires when it is shown
     * @param {Button} this
     * @param {Menu} menu
     */

/**
     * @event menutriggerout
     * If this button has a menu, this event fires when the mouse leaves the menu triggering element
     * @param {Button} this
     * @param {Menu} menu
     * @param {EventObject} e
     */

/**
     * @event menutriggerover
     * If this button has a menu, this event fires when the mouse enters the menu triggering element
     * @param {Button} this
     * @param {Menu} menu
     * @param {EventObject} e
     */

/**
     * @event metachange
     * Fires when this store's reader provides new metadata (fields). This is currently only supported for JsonReaders.
     * @param {Store} this
     * @param {Object} meta The JSON metadata
     */

/**
     * @event minimize
     * Fires after the window has been minimized.
     * @param {Ext.Window} this
     */

/**
     * @event mousedown
     * @param {Object} this
     * @param {Object} e event object
     */

/**
     * @event mousedown
     * Fires when a mousedown is detected within the element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event mousedown
     * The raw mousedown event for the entire grid.
     * @param {Ext.EventObject} e
     */

/**
     * @event mouseenter
     * Fires when the mouse enters a template node. trackOver:true or an overClass must be set to enable this event.
     * @param {Ext.DataView} this
     * @param {Number} index The index of the target node
     * @param {HTMLElement} node The target node
     * @param {Ext.EventObject} e The raw event object
     */

/**
     * @event mouseenter
     * Fires when the mouse enters the element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event mouseleave
     * Fires when the mouse leaves a template node. trackOver:true or an overClass must be set to enable this event.
     * @param {Ext.DataView} this
     * @param {Number} index The index of the target node
     * @param {HTMLElement} node The target node
     * @param {Ext.EventObject} e The raw event object
     */

/**
     * @event mouseleave
     * Fires when the mouse leaves the element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event mousemove
     * @param {Object} this
     * @param {Object} e event object
     */

/**
     * @event mousemove
     * Fires when a mousemove is detected with the element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event mouseout
     * Fires when a mouseout is detected with the element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event mouseout
     * Fires when the mouse exits the button
     * @param {Button} this
     * @param {Event} e The event object
     */

/**
     * @event mouseout
     * Fires when the mouse exits this menu
     * @param {Ext.menu.Menu} this
     * @param {Ext.EventObject} e
     * @param {Ext.menu.Item} menuItem The menu item that was clicked
     */

/**
     * @event mouseout
     * The raw mouseout event for the entire grid.
     * @param {Ext.EventObject} e
     */

/**
     * @event mouseover
     * Fires when a mouseover is detected within the element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event mouseover
     * Fires when the mouse hovers over the button
     * @param {Button} this
     * @param {Event} e The event object
     */

/**
     * @event mouseover
     * Fires when the mouse is hovering over this menu
     * @param {Ext.menu.Menu} this
     * @param {Ext.EventObject} e
     * @param {Ext.menu.Item} menuItem The menu item that was clicked
     */

/**
     * @event mouseover
     * The raw mouseover event for the entire grid.
     * @param {Ext.EventObject} e
     */

/**
     * @event mouseup
     * @param {Object} this
     * @param {Object} e event object
     */

/**
     * @event mouseup
     * Fires when a mouseup is detected within the element.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event mouseup
     * The raw mouseup event for the entire grid.
     * @param {Ext.EventObject} e
     */

/**
     * @event move
     * Fires after the component is moved.
     * @param {Ext.Component} this
     * @param {Number} x The new x position
     * @param {Number} y The new y position
     */

/**
     * @event move
     * Fires when this node is moved to a new location in the tree
     * @param {Tree} tree The owner tree
     * @param {Node} this This node
     * @param {Node} oldParent The old parent of this node
     * @param {Node} newParent The new parent of this node
     * @param {Number} index The index it was moved to
     */

/**
     * @event movenode
     * Fires when a node is moved to a new location in the tree
     * @param {Tree} tree The owner tree
     * @param {Node} node The node moved
     * @param {Node} oldParent The old parent of this node
     * @param {Node} newParent The new parent of this node
     * @param {Number} index The index it was moved to
     */

/**
     * @event newentry
     * Fires when add process is finished
     * @param {Object} data of the new entry
     */

/**
     * @event nodedrop
     * Fires after a DD object is dropped on a node in this tree. The dropEvent
     * passed to handlers has the following properties:<br />
     * <ul style="padding:5px;padding-left:16px;">
     * <li>tree - The TreePanel</li>
     * <li>target - The node being targeted for the drop</li>
     * <li>data - The drag data from the drag source</li>
     * <li>point - The point of the drop - append, above or below</li>
     * <li>source - The drag source</li>
     * <li>rawEvent - Raw mouse event</li>
     * <li>dropNode - Dropped node(s).</li>
     * </ul>
     * @param {Object} dropEvent
     */

/**
     * @event poll
     * This event has not yet been implemented.
     * @param {Ext.direct.PollingProvider}
     */

/**
     * @event propertychange
     * Fires after a property value has changed.
     * @param {Object} source The source data object for the grid (corresponds to the same object passed in
     * as the {@link #source} config property).
     * @param {String} recordId The record's id in the data store
     * @param {Mixed} value The current edited property value
     * @param {Mixed} oldValue The original property value prior to editing
     */

/**
     * @event reconfigure
     * Fires when the grid is reconfigured with a new store and/or column model.
     * @param {Grid} this
     * @param {Ext.data.Store} store The new store
     * @param {Ext.grid.ColumnModel} colModel The new column model
     */

/**
     * @event refresh
     * Internal UI Event. Fired after the GridView's body has been refreshed.
     * @param {Ext.grid.GridView} view
     */

/**
     * @event remove
     * @bubbles
     * Fires after any {@link Ext.Component} is removed from the container.
     * @param {Ext.Container} this
     * @param {Ext.Component} component The component that was removed
     */

/**
     * @event remove
     * Fires when a Record has been {@link #remove}d from the Store
     * @param {Store} this
     * @param {Ext.data.Record} record The Record that was removed
     * @param {Number} index The index at which the record was removed
     */

/**
     * @event remove
     * Fires when a child node is removed
     * @param {Tree} tree The owner tree
     * @param {Node} this This node
     * @param {Node} node The removed node
     */

/**
     * @event remove
     * Fires when a child node is removed from a node in this tree.
     * @param {Tree} tree The owner tree
     * @param {Node} parent The parent node
     * @param {Node} node The child node removed
     */

/**
     * @event render
     * @desc  Fires after the viewport in the popup window is rendered
     * @param {Ext.ux.PopupWindow}
     */

/**
     * @event requestcomplete
     * Fires if the request was successfully completed.
     * @param {Connection} conn This Connection object.
     * @param {Object} response The XHR object containing the response data.
     * See <a href="http://www.w3.org/TR/XMLHttpRequest/">The XMLHttpRequest Object</a>
     * for details.
     * @param {Object} options The options config object passed to the {@link #request} method.
     */

/**
     * @event requestexception
     * Fires if an error HTTP status was returned from the server.
     * See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP Status Code Definitions</a>
     * for details of HTTP status codes.
     * @param {Connection} conn This Connection object.
     * @param {Object} response The XHR object containing the response data.
     * See <a href="http://www.w3.org/TR/XMLHttpRequest/">The XMLHttpRequest Object</a>
     * for details.
     * @param {Object} options The options config object passed to the {@link #request} method.
     */

/**
     * @event reset
     * Fires when a form is reset.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event resize
     * Fired after a resize.
     * @param {Ext.Resizable} this
     * @param {Number} width The new width
     * @param {Number} height The new height
     * @param {Ext.EventObject} e The mouseup event
     */

/**
     * @event resize
     * Fires after the component is resized.
     * @param {Ext.Component} this
     * @param {Number} adjWidth The box-adjusted width that was set
     * @param {Number} adjHeight The box-adjusted height that was set
     * @param {Number} rawWidth The width that was originally specified
     * @param {Number} rawHeight The height that was originally specified
     */

/**
     * @event resize
     * Fires after the window has been resized.
     * @param {Ext.Window} this
     * @param {Number} width The window's new width
     * @param {Number} height The window's new height
     */

/**
     * @event resize
     * Fires when a document view is resized.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event restore
     * Fires after the window has been restored to its original size after being maximized.
     * @param {Ext.Window} this
     */

/**
     * @event rowbodyclick
     * Fires when the row body is clicked. <b>Only applies for grids with {@link Ext.grid.GridView#enableRowBody enableRowBody} configured.</b>
     * @param {Grid} this
     * @param {Number} rowIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event rowbodycontextmenu
     * Fires when the row body is right clicked. <b>Only applies for grids with {@link Ext.grid.GridView#enableRowBody enableRowBody} configured.</b>
     * @param {Grid} this
     * @param {Number} rowIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event rowbodydblclick
     * Fires when the row body is double clicked. <b>Only applies for grids with {@link Ext.grid.GridView#enableRowBody enableRowBody} configured.</b>
     * @param {Grid} this
     * @param {Number} rowIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event rowbodymousedown
     * Fires before the row body is clicked. <b>Only applies for grids with {@link Ext.grid.GridView#enableRowBody enableRowBody} configured.</b>
     * @param {Grid} this
     * @param {Number} rowIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event rowclick
     * Fires when a row is clicked
     * @param {Grid} this
     * @param {Number} rowIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event rowcontextmenu
     * Fires when a row is right clicked
     * @param {Grid} this
     * @param {Number} rowIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event rowdblclick
     * Fires when a row is double clicked
     * @param {Grid} this
     * @param {Number} rowIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event rowdeselect
     * Fires when a row is deselected.  To prevent deselection
     * {@link Ext.grid.AbstractSelectionModel#lock lock the selections}. 
     * @param {SelectionModel} this
     * @param {Number} rowIndex
     * @param {Record} record
     */

/**
     * @event rowmousedown
     * Fires before a row is clicked
     * @param {Grid} this
     * @param {Number} rowIndex
     * @param {Ext.EventObject} e
     */

/**
     * @event rowremoved
     * Internal UI Event. Fired after a row is removed.
     * @param {Ext.grid.GridView} view
     * @param {Number} rowIndex The index of the row that was removed.
     * @param {Ext.data.Record} record The Record that was removed
     */

/**
     * @event rowselect
     * Fires when a row is selected.
     * @param {SelectionModel} this
     * @param {Number} rowIndex The selected index
     * @param {Ext.data.Record} r The selected record
     */

/**
     * @event rowsinserted
     * Internal UI Event. Fired after rows are inserted.
     * @param {Ext.grid.GridView} view
     * @param {Number} firstRow The index of the first inserted.
     * @param {Number} lastRow The index of the last row inserted.
     */

/**
     * @event rowupdated
     * Internal UI Event. Fired after a row has been updated.
     * @param {Ext.grid.GridView} view
     * @param {Number} firstRow The index of the row updated.
     * @param {Ext.data.record} record The Record backing the row updated.
     */

/**
     * @event save
     * @param {Tine.widgets.dialog.EditDialog} this
     * @param {Tine.data.Record} record which got loaded
     * @param {Function} ticket function for async defer
     * Fired when remote record is saving
     */

/**
     * @event save
     * Fires after a save is completed. A save encompasses destroying records, updating records and creating records.
     * @param {Ext.data.Store} store
     * @param {Number} batch The identifier for the batch that was saved.
     * @param {Object} data An object containing the data that is to be saved. The object will contain a key for each appropriate action,
     * with an array of records for each action.
     */

/**
     * @event saveAndClose
     * Fired when user pressed OK button
     */

/**
     * @event scroll
     * Fires when a document view is scrolled.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event select
     * Fires when a color is selected
     * @param {ColorPalette} this
     * @param {String} color The 6-digit color hex code (without the # symbol)
     */

/**
     * @event select
     * Fires when a color is selected from the {@link #palette Ext.ColorPalette}
     * @param {Ext.ColorPalette} palette The {@link #palette Ext.ColorPalette}
    * @param {String} color The 6-digit color hex code (without the # symbol)
     */

/**
     * @event select
     * Fires when a color is selected via the color picker.
     * @param {Ext.form.ColorField} this
     * @param {String} color The color that was selected
     */

/**
     * @event select
     * Fires when a date is selected
     * @param {DatePicker} this DatePicker
     * @param {Date} date The selected date
     */

/**
     * @event select
     * Fires when a date is selected from the {@link #picker Ext.DatePicker}
     * @param {DatePicker} picker The {@link #picker Ext.DatePicker}
     * @param {Date} date The selected date
     */

/**
     * @event select
     * Fires when a date is selected via the date picker.
     * @param {Ext.form.DateField} this
     * @param {Date} date The date that was selected
     */

/**
     * @event select
     * Fires when a list item is selected
     * @param {Ext.form.ComboBox} combo This combo box
     * @param {Ext.data.Record} record The data record returned from the underlying store
     * @param {Number} index The index of the selected item in the dropdown list
     */

/**
     * @event select
     * Fires when a user selects some text in a text field, including input and textarea.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event selectionchange
     * Fires when the active selection changes.
     * @param {SelectionModel} this
     * @param {Object} selection null for no selection or an object with two properties
     * <div class="mdetail-params"><ul>
     * <li><b>cell</b> : see {@link #getSelectedCell} 
     * <li><b>record</b> : Ext.data.record<p class="sub-desc">The {@link Ext.data.Record Record}
     * which provides the data for the row containing the selection</p></li>
     * </ul></div>
     */

/**
     * @event selectionchange
     * Fires when the selected nodes change.
     * @param {Ext.DataView} this
     * @param {Array} selections Array of the selected nodes
     */

/**
     * @event selectionchange
     * Fires when the selection changes
     * @param {SelectionModel} this
     */

/**
     * @event sortchange
     * Fires when the grid's store sort changes
     * @param {Grid} this
     * @param {Object} sortInfo An object with the keys field and direction
     */

/**
     * @event specialkey
     * Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed.
     * To handle other keys see {@link Ext.Panel#keys} or {@link Ext.KeyMap}.
     * You can check {@link Ext.EventObject#getKey} to determine which key was pressed.
     * For example: <pre><code>
    var form = new Ext.form.FormPanel({
    ...
    items: [{
    fieldLabel: 'Field 1',
    name: 'field1',
    allowBlank: false
    },{
    fieldLabel: 'Field 2',
    name: 'field2',
    listeners: {
        specialkey: function(field, e){
            // e.HOME, e.END, e.PAGE_UP, e.PAGE_DOWN,
            // e.TAB, e.ESC, arrow keys: e.LEFT, e.RIGHT, e.UP, e.DOWN
            if (e.{@link Ext.EventObject#getKey getKey()} == e.ENTER) {
                var form = field.ownerCt.getForm();
                form.submit();
            }
        }
    }
    }
    ],
    ...
    });
     * </code></pre>
     * @param {Ext.form.Field} this
     * @param {Ext.EventObject} e The event object
     */

/**
     * @event specialkey
     * Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed.  You can check
     * {@link Ext.EventObject#getKey} to determine which key was pressed.
     * @param {Ext.form.Field} this
     * @param {Ext.EventObject} e The event object
     */

/**
     * @event startedit
     * Fires when this editor is displayed
     * @param {Ext.Element} boundEl The underlying element bound to this editor
     * @param {Mixed} value The starting field value
     */

/**
     * @event stateChange
     * Fires when the state of a lock changes.
     * @param {AreaLocks} this
     * @param {string} areaName
     * @param {Object} lockState the output of {@link #getLockState} function
     */

/**
     * @event submit
     * Fires when a form is submitted.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event tabchange
     * Fires after the active tab has changed.
     * @param {TabPanel} this
     * @param {Panel} tab The new active tab
     */

/**
     * @event tabsort
     * Fired when tabs where resorted
     * @param {Ext.TabPanel}
     */

/**
     * @event titlechange
     * Fires after the Panel title has been {@link #title set} or {@link #setTitle changed}.
     * @param {Ext.Panel} p the Panel which has had its title changed.
     * @param {String} The new title.
     */

/**
     * @event toggle
     * Fires when the 'pressed' state of this button changes (only if enableToggle = true)
     * @param {Button} this
     * @param {Boolean} pressed
     */

/**
     * @event unload
     * Fires when the user agent removes all content from a window or frame. For elements, it fires when the target element or any of its content has been removed.
     * @param {Ext.EventObject} e The {@link Ext.EventObject} encapsulating the DOM event.
     * @param {HtmlElement} t The target of the event.
     * @param {Object} o The options configuration passed to the {@link #addListener} call.
     */

/**
     * @event unlock
     * Fires when an area got unlocked.
     * @param {AreaLocks} this
     * @param {string} areaName
     * @param {Object} lockState the output of {@link #getLockState} function
     */

/**
     * @event unlocking
     * Fires when an area is unlocking async.
     * @param {AreaLocks} this
     * @param {string} areaName
     * @param {Object} lockState the output of {@link #getLockState} function
     */

/**
     * @event update
     * @desc  Fired when the record got updated
     * @param {Ext.data.record} data data of the entry
     */

/**
     * @event update
     * @desc  Fired when the record got updated
     * @param {Json String} data data of the entry
     * @pram  {String} this.mode
     */

/**
     * @event update
     * @desc  Fired when the record got updated
     * @param {Json String} data data of the entry
     */

/**
     * @event update
     * Fires after each update interval
     * @param {Ext.ProgressBar} this
     * @param {Number} The current progress value
     * @param {String} The current progress text
     */

/**
     * @event update
     * Fires when a Record has been updated
     * @param {Store} this
     * @param {Ext.data.Record} record The Record that was updated
     * @param {String} operation The update operation being performed.  Value may be one of:
     * <pre><code>
    Ext.data.Record.EDIT
    Ext.data.Record.REJECT
    Ext.data.Record.COMMIT
     * </code></pre>
     */

/**
     * @event updateDependent
     * Fired when a subpanel updates the record locally
     */

/**
     * @event valid
     * Fires after the field has been validated with no errors.
     * @param {Ext.form.Field} this
     */

/**
     * @event validateedit
     * Fires after a cell is edited, but before the value is set in the record. Return false
     * to cancel the change. The edit event object has the following properties <br />
     * <ul style="padding:5px;padding-left:16px;">
     * <li>grid - This grid</li>
     * <li>record - The record being edited</li>
     * <li>field - The field name being edited</li>
     * <li>value - The value being set</li>
     * <li>originalValue - The original value for the field, before the edit.</li>
     * <li>row - The grid row index</li>
     * <li>column - The grid column index</li>
     * <li>cancel - Set this to true to cancel the edit or return false from your handler.</li>
     * </ul>
     * Usage example showing how to remove the red triangle (dirty record indicator) from some
     * records (not all).  By observing the grid's validateedit event, it can be cancelled if
     * the edit occurs on a targeted row (for example) and then setting the field's new value
     * in the Record directly:
     * <pre><code>
    grid.on('validateedit', function(e) {
    var myTargetRow = 6;
    if (e.row == myTargetRow) {
    e.cancel = true;
    e.record.data[e.field] = e.value;
    }
    });
     * </code></pre>
     * @param {Object} e An edit event (see above for description)
     */

/**
     * @event viewready
     * Fires when the grid view is available (use this for selecting a default row). 
     * @param {Grid} this
     */

/**
     * @event widthchange
     * Fires when the width of a column is programmaticially changed using
     * <code>{@link #setColumnWidth}</code>.
     * Note internal resizing suppresses the event from firing. See also
     * {@link Ext.grid.GridPanel}.<code>{@link #columnresize}</code>.
     * @param {ColumnModel} this
     * @param {Number} columnIndex The column index
     * @param {Number} newWidth The new width
     */

/**
     * @event write
     * Fires if the server returns 200 after an Ext.data.Api.actions CRUD action.
     * Success of the action is determined in the <code>result['successProperty']</code>property (<b>NOTE</b> for RESTful stores,
     * a simple 20x response is sufficient for the actions "destroy" and "update".  The "create" action should should return 200 along with a database pk).
     * @param {Ext.data.Store} store
     * @param {String} action [Ext.data.Api.actions.create|update|destroy]
     * @param {Object} result The 'data' picked-out out of the response for convenience.
     * @param {Ext.Direct.Transaction} res
     * @param {Record/Record[]} rs Store's records, the subject(s) of the write-action
     */

/**
     * @internal
     */

/**
     * @param level
     * @param flags Unused, kept for backward compatibility
     */

/**
     * @param name The name of the macro
     */

/**
     * @param nodeType
     *
     * @return TwingSourceMapNodeFactory
     */

/**
     * @param nodeType
     *
     * @return TwingSourceMapNodeFactory | null
     */

/**
     * @param target is overflown if the container is responsive enabled and in the current layoutClass
     * the east is to be stacked
     *
     * @type {boolean}
     */

/**
     * @param {Array<TwingLoaderInterface>} loaders
     */

/**
     * @param {Token} token
     *
     * @return TwingNodeVerbatim
     */

/**
     * @param {TwingOutputBuffer} outputBuffer
     */

/**
     * @param {TwingSource} source
     *
     * @return {Map<number, TwingTemplate> }
     */

/**
     * @param {boolean} managed Managed layer.
     * @param {import("../Feature.js").FeatureLike} feature Feature.
     * @param {import("../layer/Layer.js").default} layer Layer.
     * @param {import("../geom/Geometry.js").default} geometry Geometry.
     * @return {T|undefined} Callback result.
     */

/**
     * @param {import("../../Feature.js").FeatureLike} feature Feature.
     * @param {import("../../geom/SimpleGeometry.js").default} geometry Geometry.
     * @return {T|undefined} Callback result.
     */

/**
     * @param {import("../../coordinate.js").Coordinate} coordinate Coordinate.
     * @return {boolean} Contains (x, y).
     */

/**
     * @param {import("../../coordinate.js").Coordinate} point1 Start point.
     * @param {import("../../coordinate.js").Coordinate} point2 End point.
     * @return {boolean} `true` if the segment and the extent intersect,
     *     `false` otherwise.
     */

/**
     * @param {import("../coordinate.js").Coordinate} c A coordinate.
     * @return {import("../coordinate.js").Coordinate} Transformed coordinate.
     * @private
     */

/**
     * @param {import("./coordinate.js").Coordinate|undefined} center Center.
     * @param {number|undefined} resolution Resolution.
     * @param {import("./size.js").Size} size Viewport size; unused if `onlyCenter` was specified.
     * @param {boolean} [isMoving] True if an interaction or animation is in progress.
     * @param {Array<number>} [centerShift] Shift between map center and viewport center.
     * @return {import("./coordinate.js").Coordinate|undefined} Center.
     */

/**
     * @param {import("./tilecoord.js").TileCoord} tileCoord Tile Coordinate.
     * @param {number} pixelRatio Pixel ratio.
     * @param {import("./proj/Projection.js").default} projection Projection.
     * @return {string|undefined} Tile URL.
     */

/**
     * @param {number|undefined} resolution Resolution.
     * @param {number} direction Direction.
     * @param {import("./size.js").Size} size Viewport size.
     * @param {boolean} [isMoving] True if an interaction or animation is in progress.
     * @return {number|undefined} Resolution.
     */

/**
     * @param {number|undefined} rotation Rotation.
     * @param {boolean} [isMoving] True if an interaction or animation is in progress.
     * @return {number|undefined} Rotation.
     */

/**
     * @param {number} line 0-based
     * @param {number} column 1-based
     * @param {string} nodeType
     * @param {TwingSource} source
     * @param {TwingOutputBuffer} outputBuffer
     */

/**
     * @param {string | false | TwingEscapingStrategyResolver} defaultStrategy An escaping strategy
     */

/**
     * @param {string} name
     * @param {*} value
     */

/**
     * @param {string} name
     * @param {TwingOperatorType} type
     * @param {number} precedence
     * @param {TwingOperatorExpressionFactory} expressionFactory
     * @param {TwingOperatorAssociativity} associativity
     */

/**
     * @param {string} name The name of the macro
     *
     * @return {Promise<boolean>}
     */

/**
     * @param {string} s String.
     * @return {Color} Color.
     */

/**
     * @private
     * @const
     * @type {import("./proj/Projection.js").default}
     */

/**
     * @private
     * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Browser event.
     * @return {boolean} Combined condition result.
     */

/**
     * @private
     * @type {!Array<PostRenderFunction>}
     */

/**
     * @private
     * @type {!Array<T>}
     */

/**
     * @private
     * @type {!Array<import("../ImageTile.js").default>}
     */

/**
     * @private
     * @type {!Array<number>}
     */

/**
     * @private
     * @type {!GeometryFunction}
     */

/**
     * @private
     * @type {!HTMLElement}
     */

/**
     * @private
     * @type {!Object<number,import("../../coordinate.js").Coordinate|Array<import("../../coordinate.js").Coordinate>|Array<Array<import("../../coordinate.js").Coordinate>>>}
     */

/**
     * @private
     * @type {!Object<string, !Object<import("../canvas.js").BuilderType, Builder>>}
     */

/**
     * @private
     * @type {!Object<string, !Object<import("../canvas.js").BuilderType, import("./Executor").default>>}
     */

/**
     * @private
     * @type {!Object<string, Entry>}
     */

/**
     * @private
     * @type {!Object<string, boolean>}
     */

/**
     * @private
     * @type {!Object<string, import("../Feature.js").default<Geometry>>}
     */

/**
     * @private
     * @type {!Object<string,boolean>}
     */

/**
     * @private
     * @type {!import("../../transform.js").Transform}
     */

/**
     * @private
     * @type {!import("./Triangulation.js").default}
     */

/**
     * @private
     * @type {"declutter"|"obstacle"|"none"|undefined}
     */

/**
     * @private
     * @type {*}
     */

/**
     * @private
     * @type {?Array<import("../events.js").EventsKey>}
     */

/**
     * @private
     * @type {?Array<import("./events.js").EventsKey>}
     */

/**
     * @private
     * @type {?Attribution}
     */

/**
     * @private
     * @type {?Entry}
     */

/**
     * @private
     * @type {?FrameState}
     */

/**
     * @private
     * @type {?function():void}
     */

/**
     * @private
     * @type {?import("../../extent.js").Extent}
     */

/**
     * @private
     * @type {?import("../canvas.js").FillState}
     */

/**
     * @private
     * @type {?import("../canvas.js").StrokeState}
     */

/**
     * @private
     * @type {?import("../canvas.js").TextState}
     */

/**
     * @private
     * @type {?import("../coordinate.js").Coordinate}
     */

/**
     * @private
     * @type {?import("../events.js").EventsKey}
     */

/**
     * @private
     * @type {?import("./events.js").EventsKey}
     */

/**
     * @private
     * @type {?string}
     */

/**
     * @private
     * @type {?}
     */

/**
     * @private
     * @type {Array<*>}
     */

/**
     * @private
     * @type {Array<Array<Animation>>}
     */

/**
     * @private
     * @type {Array<HTMLCanvasElement>}
     */

/**
     * @private
     * @type {Array<HTMLElement>}
     */

/**
     * @private
     * @type {Array<import("../TileRange.js").default>}
     */

/**
     * @private
     * @type {Array<import("../coordinate.js").Coordinate>}
     */

/**
     * @private
     * @type {Array<import("../events.js").EventsKey>}
     */

/**
     * @private
     * @type {Array<number>|null}
     */

/**
     * @private
     * @type {Array<number>|undefined}
     */

/**
     * @private
     * @type {Array<number>}
     */

/**
     * @private
     * @type {Array<number|import("../size.js").Size>}
     */

/**
     * @private
     * @type {CanvasLineCap|undefined}
     */

/**
     * @private
     * @type {CanvasLineJoin|undefined}
     */

/**
     * @private
     * @type {CanvasRenderingContext2D}
     */

/**
     * @private
     * @type {CanvasTextAlign|undefined}
     */

/**
     * @private
     * @type {CanvasTextBaseline|undefined}
     */

/**
     * @private
     * @type {Collection<import("../Feature.js").default<Geometry>>|null}
     */

/**
     * @private
     * @type {Constraints}
     */

/**
     * @private
     * @type {EndCondition}
     */

/**
     * @private
     * @type {HTMLCanvasElement|HTMLVideoElement|HTMLImageElement}
     */

/**
     * @private
     * @type {HTMLCanvasElement}
     */

/**
     * @private
     * @type {HTMLDivElement}
     */

/**
     * @private
     * @type {HTMLElement|Document}
     */

/**
     * @private
     * @type {HTMLElement|null}
     */

/**
     * @private
     * @type {HTMLElement}
     */

/**
     * @private
     * @type {HTMLImageElement|HTMLCanvasElement}
     */

/**
     * @private
     * @type {IconAnchorUnits}
     */

/**
     * @private
     * @type {IconOrigin}
     */

/**
     * @private
     * @type {LoadingStrategy}
     */

/**
     * @private
     * @type {MapBrowserEventHandler}
     */

/**
     * @private
     * @type {Mode|undefined}
     */

/**
     * @private
     * @type {Object<number, HTMLCanvasElement>}
     */

/**
     * @private
     * @type {Object<string, *>}
     */

/**
     * @private
     * @type {Object<string, Array<import("../events.js").EventsKey>>}
     */

/**
     * @private
     * @type {Object<string, Array<import("../events.js").Listener>>}
     */

/**
     * @private
     * @type {Object<string, Object<string, number>>}
     */

/**
     * @private
     * @type {Object<string, import("../canvas.js").Label>}
     */

/**
     * @private
     * @type {Object<string, number>}
     */

/**
     * @private
     * @type {Promise<import("../View.js").ViewOptions>}
     */

/**
     * @private
     * @type {RBush<import("../Feature.js").default<Geometry>>}
     */

/**
     * @private
     * @type {RBush<{extent: import("../extent.js").Extent}>}
     */

/**
     * @private
     * @type {RenderFunction|null}
     */

/**
     * @private
     * @type {RenderOptions}
     */

/**
     * @private
     * @type {RendererType}
     */

/**
     * @private
     * @type {TextJustify|undefined}
     */

/**
     * @private
     * @type {TextPlacement}
     */

/**
     * @private
     * @type {TileQueue}
     */

/**
     * @private
     * @type {boolean|undefined}
     */

/**
     * @private
     * @type {boolean}
     */

/**
     * @private
     * @type {function(): ?}
     */

/**
     * @private
     * @type {function(import("../../Feature.js").default, import("../../Feature.js").default): number|null}
     */

/**
     * @private
     * @type {function(number, import("../coordinate.js").Coordinate):number|undefined}
     */

/**
     * @private
     * @type {import("../../TileRange.js").default}
     */

/**
     * @private
     * @type {import("../../coordinate").Coordinate}
     */

/**
     * @private
     * @type {import("../../coordinate.js").Coordinate}
     */

/**
     * @private
     * @type {import("../../extent.js").Extent}
     */

/**
     * @private
     * @type {import("../../proj.js").TransformFunction}
     */

/**
     * @private
     * @type {import("../../proj/Projection").default}
     */

/**
     * @private
     * @type {import("../../render/canvas/ExecutorGroup").default}
     */

/**
     * @private
     * @type {import("../../size.js").Size|undefined}
     */

/**
     * @private
     * @type {import("../../size.js").Size}
     */

/**
     * @private
     * @type {import("../../transform.js").Transform}
     */

/**
     * @private
     * @type {import("../ImageState.js").default}
     */

/**
     * @private
     * @type {import("../Kinetic.js").default|undefined}
     */

/**
     * @private
     * @type {import("../Map.js").default|null}
     */

/**
     * @private
     * @type {import("../Map.js").default}
     */

/**
     * @private
     * @type {import("../canvas.js").TextState}
     */

/**
     * @private
     * @type {import("../color.js").Color|import("../colorlike.js").ColorLike|null}
     */

/**
     * @private
     * @type {import("../color.js").Color|import("../colorlike.js").ColorLike}
     */

/**
     * @private
     * @type {import("../color.js").Color}
     */

/**
     * @private
     * @type {import("../coordinate.js").Coordinate|null}
     */

/**
     * @private
     * @type {import("../coordinate.js").Coordinate}
     */

/**
     * @private
     * @type {import("../events/condition.js").Condition}
     */

/**
     * @private
     * @type {import("../extent.js").Extent}
     */

/**
     * @private
     * @type {import("../featureloader.js").FeatureLoader}
     */

/**
     * @private
     * @type {import("../format/Feature.js").default|undefined}
     */

/**
     * @private
     * @type {import("../pixel.js").Pixel}
     */

/**
     * @private
     * @type {import("../size.js").Size|undefined}
     */

/**
     * @private
     * @type {import("../size.js").Size}
     */

/**
     * @private
     * @type {import("../tilecoord.js").TileCoord}
     */

/**
     * @private
     * @type {import("../tilegrid/TileGrid.js").default}
     */

/**
     * @private
     * @type {import("./Fill.js").default}
     */

/**
     * @private
     * @type {import("./IconImage.js").default}
     */

/**
     * @private
     * @type {import("./Image.js").default}
     */

/**
     * @private
     * @type {import("./Source.js").State}
     */

/**
     * @private
     * @type {import("./Stroke.js").default}
     */

/**
     * @private
     * @type {import("./Text.js").default}
     */

/**
     * @private
     * @type {import("./Tile.js").LoadFunction}
     */

/**
     * @private
     * @type {import("./coordinate.js").Coordinate|undefined}
     */

/**
     * @private
     * @type {import("./coordinate.js").Coordinate}
     */

/**
     * @private
     * @type {import("./size.js").Size}
     */

/**
     * @private
     * @type {import("./style/Style.js").StyleFunction|undefined}
     */

/**
     * @private
     * @type {import("./transform.js").Transform}
     */

/**
     * @private
     * @type {number|import("../size.js").Size|undefined}
     */

/**
     * @private
     * @type {number|import("../size.js").Size}
     */

/**
     * @private
     * @type {number|string|undefined}
     */

/**
     * @private
     * @type {number|undefined}
     */

/**
     * @private
     * @type {number}
     */

/**
     * @private
     * @type {string|Array<string>|undefined}
     */

/**
     * @private
     * @type {string|Array<string>}
     */

/**
     * @private
     * @type {string|import("../featureloader.js").FeatureUrlFunction|undefined}
     */

/**
     * @private
     * @type {string|import("../geom/Geometry.js").default|GeometryFunction}
     */

/**
     * @private
     * @type {string|null}
     */

/**
     * @private
     * @type {string|undefined}
     */

/**
     * @private
     * @type {string}
     */

/**
     * @private
     */

/**
     * @private Test if size has a unit, otherwise appends the default
     */

/**
     * @property renderers
     * @type Object
     * An object in the form {xtype: RendererClass} which is manages the renderers registered by xtype
     */

/**
     * @protected
     * @const
     * @type {import("../../extent.js").Extent}
     */

/**
     * @protected
     * @const
     * @type {number}
     */

/**
     * @protected
     * @type {!Array<import("../../Tile.js").default>}
     */

/**
     * @protected
     * @type {!Array<import("../events.js").EventsKey>}
     */

/**
     * @protected
     * @type {!Array<string>|null}
     */

/**
     * @protected
     * @type {!Object<string, TileCache>}
     */

/**
     * @protected
     * @type {!Object<string, import("../tilegrid/TileGrid.js").default>}
     */

/**
     * @protected
     * @type {?string}
     */

/**
     * @protected
     * @type {Array<*>}
     */

/**
     * @protected
     * @type {Array<number>}
     */

/**
     * @protected
     * @type {HTMLElement}
     */

/**
     * @protected
     * @type {LayerType}
     */

/**
     * @protected
     * @type {boolean}
     */

/**
     * @protected
     * @type {function(Error):void}
     */

/**
     * @protected
     * @type {function(import("../View.js").ViewOptions):void}
     */

/**
     * @protected
     * @type {import("../../Map.js").FrameState|null}
     */

/**
     * @protected
     * @type {import("../../extent.js").Extent}
     */

/**
     * @protected
     * @type {import("../../proj/Projection.js").default}
     */

/**
     * @protected
     * @type {import("../Tile.js").LoadFunction}
     */

/**
     * @protected
     * @type {import("../Tile.js").Options}
     */

/**
     * @protected
     * @type {import("../TileCache.js").default}
     */

/**
     * @protected
     * @type {import("../canvas.js").FillStrokeState}
     */

/**
     * @protected
     * @type {import("../proj/Projection.js").default|null}
     */

/**
     * @protected
     * @type {import("../size.js").Size}
     */

/**
     * @protected
     * @type {import("./Geometry.js").GeometryLayout}
     */

/**
     * @protected
     * @type {import("./TileState.js").default}
     */

/**
     * @protected
     * @type {number}
     */

/**
     * @protected
     * @type {typeof ImageTile}
     */

/**
     * @return Map<TwingNodeType, TwingSourceMapNodeFactory>
     */

/**
     * @return Map<string, TwingSourceMapNodeFactory>
     */

/**
     * @return TwingCallableArgument[]
     */

/**
     * @return TwingLoaderInterface[]
     */

/**
     * @return TwingNode
     */

/**
     * @return TwingNodeExpressionArrowFunction|null
     */

/**
     * @return bool
     */

/**
     * @return {Token[]}
     */

/**
     * @return {Token}
     */

/**
     * @return {TwingTemplatesModule}
     */

/**
     * @returns booleqn
     */

/**
     * @returns string | Function | false
     */

/**
     * @returns {Function}
     */

/**
     * @returns {TwingNode}
     */

/**
     * @returns {TwingSource}
     */

/**
     * @type {!Array<import("./events.js").EventsKey>}
     * @private
     */

/**
     * @type {!Object<number, Event>}
     * @private
     */

/**
     * @type {!Object<string, boolean>}
     * @private
     */

/**
     * @type {!Object<string, import("../canvas.js").FillState>}
     */

/**
     * @type {!Object<string, import("../canvas.js").StrokeState>}
     */

/**
     * @type {!Object<string, import("../canvas.js").TextState>}
     */

/**
     * @type {!Object<string, import("./IconImage.js").default>}
     * @private
     */

/**
     * @type {?import("./events.js").EventsKey}
     * @private
     */

/**
     * @type {?number}
     * @private
     */

/**
     * @type {?}
     */

/**
     * @type {Array<PointerEvent>|undefined}
     */

/**
     * @type {Array<PointerEvent>}
     * @private
     */

/**
     * @type {Array<PointerEvent>}
     * @protected
     */

/**
     * @type {Array<Style>}
     */

/**
     * @type {Array<T>}
     * @private
     */

/**
     * @type {Array<Triangle>}
     * @private
     */

/**
     * @type {Array<import("../../Feature.js").default>}
     */

/**
     * @type {Array<import("../layer/BaseVector.js").default>}
     */

/**
     * @type {Array<number>|undefined}
     * @private
     */

/**
     * @type {Array<number>}
     * @private
     */

/**
     * @type {BackgroundColor|false}
     * @private
     */

/**
     * @type {CanvasRenderingContext2D}
     */

/**
     * @type {Collection<import("./Overlay.js").default>}
     * @private
     */

/**
     * @type {Collection<import("./control/Control.js").default>}
     * @protected
     */

/**
     * @type {Collection<import("./interaction/Interaction.js").default>}
     * @protected
     */

/**
     * @type {HTMLDivElement}
     * @private
     */

/**
     * @type {HTMLElement}
     * @private
     */

/**
     * @type {HTMLImageElement|HTMLCanvasElement}
     */

/**
     * @type {ImageData|null}
     */

/**
     * @type {Object<string, *>}
     */

/**
     * @type {PointerEvent}
     * @private
     */

/**
     * @type {ResizeObserver}
     */

/**
     * @type {Tile}
     */

/**
     * @type {any}
     * @private
     */

/**
     * @type {boolean}
     * @private
     */

/**
     * @type {boolean}
     * @protected
     */

/**
     * @type {boolean}
     */

/**
     * @type {function(T): number}
     * @private
     */

/**
     * @type {function(T): string}
     * @private
     */

/**
     * @type {import("../../extent.js").Extent}
     */

/**
     * @type {import("../../render/canvas/ExecutorGroup").default}
     */

/**
     * @type {import("../ImageState.js").default}
     */

/**
     * @type {import("../events.js").EventsKey}
     */

/**
     * @type {import("../extent.js").Extent}
     * @private
     */

/**
     * @type {import("../geom/Polygon.js").default}
     * @private
     */

/**
     * @type {import("../pixel.js").Pixel}
     * @private
     */

/**
     * @type {import("../pixel.js").Pixel}
     */

/**
     * @type {import("../proj/Projection.js").default}
     * @private
     */

/**
     * @type {import("../render/Box.js").default}
     * @private
     */

/**
     * @type {import("../render/canvas/ExecutorGroup").default}
     */

/**
     * @type {import("../style/Style.js").StyleLike|null}
     */

/**
     * @type {import("../tilegrid/TileGrid.js").default|null}
     */

/**
     * @type {import("./Layer.js").State}
     * @private
     */

/**
     * @type {import("./renderer/Map.js").default|null}
     * @private
     */

/**
     * @type {import("./tilecoord.js").TileCoord}
     */

/**
     * @type {number|undefined}
     */

/**
     * @type {number}
     * @private
     */

/**
     * @type {number}
     */

/**
     * @type {string|undefined}
     */

/**
     * @type {string}
     * @private
     */

/**
     * @type {string}
     */

/**
     * A `baseRest` alias which can be replaced with `identity` by module
     * replacement plugins.
     *
     * @private
     * @type {Function}
     * @param {Function} func The function to apply a rest parameter to.
     * @returns {Function} Returns the new function.
     */

/**
     * A function that handles the checkchange event.  The function is undefined by default, but if an implementation
     * is provided, it will be called automatically when the checkchange event fires.
     * @param {Ext.menu.CheckItem} this
     * @param {Boolean} checked The checked value that was set
     * @method checkHandler
     */

/**
     * A key assigned to the tile. This is used by the tile source to determine
     * if this tile can effectively be used, or if a new tile should be created
     * and this one be used as an interim tile for this new tile.
     * @type {string}
     */

/**
     * A list of currently rendered resolutions.
     * @type {Array<string>}
     * @private
     */

/**
     * A list of visible attributions.
     * @type {Array<string>}
     */

/**
     * A lookup of features by id (the return from feature.getId()).
     * @private
     * @type {!Object<string, import("../Feature.js").default<Geometry>>}
     */

/**
     * A lookup of features by uid (using getUid(feature)).
     * @private
     * @type {!Object<string, import("../Feature.js").default<Geometry>>}
     */

/**
     * A lookup of overlays by id.
     * @private
     * @type {Object<string, import("./Overlay.js").default>}
     */

/**
     * A mapping between the objects added to this rbush wrapper
     * and the objects that are actually added to the internal rbush.
     * @private
     * @type {Object<string, Entry>}
     */

/**
     * A new replay group had to be created by `prepareFrame()`
     * @type {boolean}
     */

/**
     * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).
     *
     * @private
     * @param {number|Object} id The timer id or timeout object of the timer to clear.
     */

/**
     * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).
     *
     * @private
     * @param {Function} func The function to delay.
     * @param {number} wait The number of milliseconds to delay invocation.
     * @returns {number|Object} Returns the timer id or timeout object.
     */

/**
     * A specialized version of `_.memoize` which clears the memoized function's
     * cache when it exceeds `MAX_MEMOIZE_SIZE`.
     *
     * @private
     * @param {Function} func The function to have its output memoized.
     * @returns {Function} Returns the new memoized function.
     */

/**
     * A specialized version of `_.sampleSize` for arrays.
     *
     * @private
     * @param {Array} array The array to sample.
     * @param {number} n The number of elements to sample.
     * @returns {Array} Returns the random elements.
     */

/**
     * A specialized version of `_.sample` for arrays.
     *
     * @private
     * @param {Array} array The array to sample.
     * @returns {*} Returns the random element.
     */

/**
     * A specialized version of `_.shuffle` for arrays.
     *
     * @private
     * @param {Array} array The array to shuffle.
     * @returns {Array} Returns the new shuffled array.
     */

/**
     * A specialized version of `_.shuffle` which mutates and sets the size of `array`.
     *
     * @private
     * @param {Array} array The array to shuffle.
     * @param {number} [size=array.length] The size of `array`.
     * @returns {Array} Returns `array`.
     */

/**
     * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
     *
     * @private
     * @param {*} value The value to query.
     * @returns {string} Returns the raw `toStringTag`.
     */

/**
     * A specialized version of `baseIsEqualDeep` for arrays with support for
     * partial deep comparisons.
     *
     * @private
     * @param {Array} array The array to compare.
     * @param {Array} other The other array to compare.
     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
     * @param {Function} customizer The function to customize comparisons.
     * @param {Function} equalFunc The function to determine equivalents of values.
     * @param {Object} stack Tracks traversed `array` and `other` objects.
     * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
     */

/**
     * A specialized version of `baseIsEqualDeep` for comparing objects of
     * the same `toStringTag`.
     *
     * **Note:** This function only supports comparing values with tags of
     * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
     *
     * @private
     * @param {Object} object The object to compare.
     * @param {Object} other The other object to compare.
     * @param {string} tag The `toStringTag` of the objects to compare.
     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
     * @param {Function} customizer The function to customize comparisons.
     * @param {Function} equalFunc The function to determine equivalents of values.
     * @param {Object} stack Tracks traversed `object` and `other` objects.
     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
     */

/**
     * A specialized version of `baseIsEqualDeep` for objects with support for
     * partial deep comparisons.
     *
     * @private
     * @param {Object} object The object to compare.
     * @param {Object} other The other object to compare.
     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
     * @param {Function} customizer The function to customize comparisons.
     * @param {Function} equalFunc The function to determine equivalents of values.
     * @param {Object} stack Tracks traversed `object` and `other` objects.
     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
     */

/**
     * A specialized version of `baseIsEqual` for arrays and objects which performs
     * deep comparisons and tracks traversed objects enabling objects with circular
     * references to be compared.
     *
     * @private
     * @param {Object} object The object to compare.
     * @param {Object} other The other object to compare.
     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
     * @param {Function} customizer The function to customize comparisons.
     * @param {Function} equalFunc The function to determine equivalents of values.
     * @param {Object} [stack] Tracks traversed `object` and `other` objects.
     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
     */

/**
     * A specialized version of `baseMerge` for arrays and objects which performs
     * deep merges and tracks traversed objects enabling objects with circular
     * references to be merged.
     *
     * @private
     * @param {Object} object The destination object.
     * @param {Object} source The source object.
     * @param {string} key The key of the value to merge.
     * @param {number} srcIndex The index of `source`.
     * @param {Function} mergeFunc The function to merge values.
     * @param {Function} [customizer] The function to customize assigned values.
     * @param {Object} [stack] Tracks traversed source values and their merged
     *  counterparts.
     */

/**
     * A specialized version of `baseProperty` which supports deep paths.
     *
     * @private
     * @param {Array|string} path The path of the property to get.
     * @returns {Function} Returns the new accessor function.
     */

/**
     * A specialized version of `baseRest` which flattens the rest array.
     *
     * @private
     * @param {Function} func The function to apply a rest parameter to.
     * @returns {Function} Returns the new function.
     */

/**
     * A specialized version of `baseRest` which transforms the rest array.
     *
     * @private
     * @param {Function} func The function to apply a rest parameter to.
     * @param {number} [start=func.length-1] The start position of the rest parameter.
     * @param {Function} transform The rest array transform.
     * @returns {Function} Returns the new function.
     */

/**
     * A specialized version of `matchesProperty` for source values suitable
     * for strict equality comparisons, i.e. `===`.
     *
     * @private
     * @param {string} key The key of the property to get.
     * @param {*} srcValue The value to match.
     * @returns {Function} Returns the new spec function.
     */

/**
     * A temporary transform.  The values in this transform should only be used in a
     * function that sets the values.
     * @protected
     * @type {import("../../transform.js").Transform}
     */

/**
     * A {@link Ext.util.MixedCollection MixedCollection} containing all the Ext.form.Fields in this form.
     * @type MixedCollection
     * @property items
     */

/**
     * Aborts any outstanding request.
     * @param {Number} transactionId (Optional) defaults to the last transaction
     */

/**
     * Aborts the currently executing transaction, if any.
     */

/**
     * Abstract method called after a drag/drop object is clicked
     * and the drag or mousedown time thresholds have beeen met.
     * @method startDrag
     * @param {int} X click location
     * @param {int} Y click location
     */

/**
     * Abstract method called during the onMouseMove event while dragging an
     * object.
     * @method onDrag
     * @param {Event} e the mousemove event
     */

/**
     * Abstract method called when this element fist begins hovering over
     * another DragDrop obj
     * @method onDragEnter
     * @param {Event} e the mousemove event
     * @param {String|DragDrop[]} id In POINT mode, the element
     * id this is hovering over.  In INTERSECT mode, an array of one or more
     * dragdrop items being hovered over.
     */

/**
     * Abstract method called when this element is hovering over another
     * DragDrop obj
     * @method onDragOver
     * @param {Event} e the mousemove event
     * @param {String|DragDrop[]} id In POINT mode, the element
     * id this is hovering over.  In INTERSECT mode, an array of dd items
     * being hovered over.
     */

/**
     * Abstract method called when this item is dropped on an area with no
     * drop target
     * @method onInvalidDrop
     * @param {Event} e the mouseup event
     */

/**
     * Abstract method called when this item is dropped on another DragDrop
     * obj
     * @method onDragDrop
     * @param {Event} e the mouseup event
     * @param {String|DragDrop[]} id In POINT mode, the element
     * id this was dropped on.  In INTERSECT mode, an array of dd items this
     * was dropped on.
     */

/**
     * Abstract method called when we are no longer hovering over an element
     * @method onDragOut
     * @param {Event} e the mousemove event
     * @param {String|DragDrop[]} id In POINT mode, the element
     * id this was hovering over.  In INTERSECT mode, an array of dd items
     * that the mouse is no longer over.
     */

/**
     * Add a new token to the history stack. This can be any arbitrary value, although it would
     * commonly be the concatenation of a component id and another id marking the specifc history
     * state of that component.  Example usage:
     * <pre><code>
    // Handle tab changes on a TabPanel
    tabPanel.on('tabchange', function(tabPanel, tab){
    Ext.History.add(tabPanel.id + ':' + tab.id);
    });
    </code></pre>
     * @param {String} token The value that defines a particular application-specific history state
     * @param {Boolean} preventDuplicates When true, if the passed token matches the current token
     * it will not save a new history step. Set to false if the same state can be saved more than once
     * at the same history stack location (defaults to true).
     */

/**
     * Add this instance to a group of related drag/drop objects.  All
     * instances belong to at least one group, and can belong to as many
     * groups as needed.
     * @method addToGroup
     * @param sGroup {string} the name of the group
     */

/**
     * Adds `value` to the array cache.
     *
     * @private
     * @name add
     * @memberOf SetCache
     * @alias push
     * @param {*} value The value to cache.
     * @returns {Object} Returns the cache instance.
     */

/**
     * Adds a button (or buttons). See {@link Ext.Button} for more info on the config.
     * <br><p><b>Note</b>: See the notes within {@link Ext.Container#add}.</p>
     * @param {Object/Array} config A button config or array of configs
     * @return {Ext.Button/Array}
     */

/**
     * Adds a dynamically rendered Ext.form field (TextField, ComboBox, etc). Note: the field should not have
     * been rendered yet. For a field that has already been rendered, use {@link #addElement}.
     * <br><p><b>Note</b>: See the notes within {@link Ext.Container#add}.</p>
     * @param {Ext.form.Field} field
     * @return {Ext.Toolbar.Item}
     */

/**
     * Adds a list of functions to the prototype of an existing class, overwriting any existing methods with the same name.
     * Usage:<pre><code>
    Ext.override(MyClass, {
    newMethod1: function(){
    // etc.
    },
    newMethod2: function(foo){
    // etc.
    }
    });
    </code></pre>
     * @param {Object} origclass The class to override
     * @param {Object} overrides The list of functions to add to origClass.  This should be specified as an object literal
     * containing one or more methods.
     * @method override
     */

/**
     * Adds a listener to be notified when the browser window is resized and provides resize event buffering (100 milliseconds),
     * passes new viewport width and height to handlers.
     * @param {Function} fn      The handler function the window resize event invokes.
     * @param {Object}   scope   The scope (<code>this</code> reference) in which the handler function executes. Defaults to the browser window.
     * @param {boolean}  options Options object as passed to {@link Ext.Element#addListener}
     */

/**
     * Adds a listener to be notified when the document is ready (before onload and before images are loaded). Can be
     * accessed shorthanded as Ext.onReady().
     * @param {Function} fn The method the event invokes.
     * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the handler function executes. Defaults to the browser window.
     * @param {boolean} options (optional) Options object as passed to {@link Ext.Element#addListener}. It is recommended that the options
     * <code>{single: true}</code> be used so that the handler is removed on first invocation.
     */

/**
     * Adds a listener to be notified when the user changes the active text size. Handler gets called with 2 params, the old size and the new size.
     * @param {Function} fn      The function the event invokes.
     * @param {Object}   scope   The scope (<code>this</code> reference) in which the handler function executes. Defaults to the browser window.
     * @param {boolean}  options Options object as passed to {@link Ext.Element#addListener}
     */

/**
     * Adds a new element to the toolbar from the passed {@link Ext.DomHelper} config
     * <br><p><b>Note</b>: See the notes within {@link Ext.Container#add}.</p>
     * @param {Object} config
     * @return {Ext.Toolbar.Item} The element's item
     */

/**
     * Adds a quoted string to the compiled code.
     *
     * @param {string} value The string
     *
     * @returns {TwingCompiler}
     */

/**
     * Adds a separator
     * <br><p><b>Note</b>: See the notes within {@link Ext.Container#add}.</p>
     * @return {Ext.Toolbar.Item} The separator {@link Ext.Toolbar.Item item}
     */

/**
     * Adds a spacer element
     * <br><p><b>Note</b>: See the notes within {@link Ext.Container#add}.</p>
     * @return {Ext.Toolbar.Spacer} The spacer item
     */

/**
     * Adds all own enumerable string keyed function properties of a source
     * object to the destination object. If `object` is a function, then methods
     * are added to its prototype as well.
     *
     * **Note:** Use `_.runInContext` to create a pristine `lodash` function to
     * avoid conflicts caused by modifying the original.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {Function|Object} [object=lodash] The destination object.
     * @param {Object} source The object of functions to add.
     * @param {Object} [options={}] The options object.
     * @param {boolean} [options.chain=true] Specify whether mixins are chainable.
     * @returns {Function|Object} Returns `object`.
     * @example
     *
     * function vowels(string) {
     *   return _.filter(string, function(v) {
     *     return /[aeiou]/i.test(v);
     *   });
     * }
     *
     * _.mixin({ 'vowels': vowels });
     * _.vowels('fred');
     * // => ['e']
     *
     * _('fred').vowels().value();
     * // => ['e']
     *
     * _.mixin({ 'vowels': vowels }, { 'chain': false });
     * _('fred').vowels();
     * // => ['e']
     */

/**
     * Adds any Toolbar.Item or subclass
     * <br><p><b>Note</b>: See the notes within {@link Ext.Container#add}.</p>
     * @param {Ext.Toolbar.Item} item
     * @return {Ext.Toolbar.Item} The item
     */

/**
     * Adds any standard HTML element to the toolbar
     * <br><p><b>Note</b>: See the notes within {@link Ext.Container#add}.</p>
     * @param {Mixed} el The element or id of the element to add
     * @return {Ext.Toolbar.Item} The element's item
     */

/**
     * Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out.
     * @param {String/Array} className The CSS class to add, or an array of classes
     * @return {Ext.Element} this
     */

/**
     * Adds one or more CSS classes to this element and removes the same class(es) from all siblings.
     * @param {String/Array} className The CSS class to add, or an array of classes
     * @return {Ext.Element} this
     */

/**
     * Adds source-map enter call.
     *
     * @returns TwingCompiler
     */

/**
     * Adds source-map leave call.
     *
     * @returns TwingCompiler
     */

/**
     * Adds text to the toolbar
     * <br><p><b>Note</b>: See the notes within {@link Ext.Container#add}.</p>
     * @param {String} text The text to add
     * @return {Ext.Toolbar.Item} The element's item
     */

/**
     * Adds the specified icon to the dialog.  By default, the class 'ext-mb-icon' is applied for default
     * styling, and the class passed in is expected to supply the background image url. Pass in empty string ('')
     * to clear any existing icon. This method must be called before the MessageBox is shown.
     * The following built-in icon classes are supported, but you can also pass in a custom class name:
     * <pre>
    Ext.MessageBox.INFO
    Ext.MessageBox.WARNING
    Ext.MessageBox.QUESTION
    Ext.MessageBox.ERROR
     *</pre>
     * @param {String} icon A CSS classname specifying the icon's background image url, or empty string to clear the icon
     * @return {Ext.MessageBox} this
     */

/**
     * Adds two numbers.
     *
     * @static
     * @memberOf _
     * @since 3.4.0
     * @category Math
     * @param {number} augend The first number in an addition.
     * @param {number} addend The second number in an addition.
     * @returns {number} Returns the total.
     * @example
     *
     * _.add(6, 4);
     * // => 10
     */

/**
     * After any data loads, the raw JSON data is available for further custom processing.  If no data is
     * loaded or there is a load exception this property will be undefined.
     * @type Object
     */

/**
     * After any data loads/reads, the raw XML Document is available for further custom processing.
     * @type XMLDocument
     */

/**
     * Aggregates elements of `collection` on `accumulator` with keys transformed
     * by `iteratee` and values set by `setter`.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} setter The function to set `accumulator` values.
     * @param {Function} iteratee The iteratee to transform keys.
     * @param {Object} accumulator The initial aggregated object.
     * @returns {Function} Returns `accumulator`.
     */

/**
     * Alias of {@link #register}.
     * @param {Object} config The config object
     */

/**
     * Allows you to set an element outside of the linked element as a drag
     * handle
     * @method setOuterHandleElId
     * @param id the id of the element that will be used to initiate the drag
     */

/**
     * Allows you to specify a child of the linked element that should be
     * used to initiate the drag operation.  An example of this would be if
     * you have a content div with text and links.  Clicking anywhere in the
     * content area would normally start the drag operation.  Use this method
     * to specify that an element inside of the content div is the element
     * that starts the drag operation.
     * @method setHandleElId
     * @param id {string} the id of the element that will be used to
     * initiate the drag.
     */

/**
     * Allows you to specify a tag name that should not start a drag operation
     * when clicked.  This is designed to facilitate embedding links within a
     * drag handle that do something other than start the drag.
     * @method addInvalidHandleType
     * @param {string} tagName the type of element to exclude
     */

/**
     * Allows you to specify that an element other than the linked element
     * will be moved with the cursor during a drag
     * @method setDragElId
     * @param id {string} the id of the element that will be used to initiate the drag
     */

/**
     * An "interim" tile for this tile. The interim tile may be used while this
     * one is loading, for "smooth" transitions when changing params/dimensions
     * on the source.
     * @type {Tile}
     */

/**
     * An Array of CSS class names for elements to be considered in valid as drag handles.
     * @property invalidHandleClasses
     * @type Array
     */

/**
     * An alternative to `_.reduce`; this method transforms `object` to a new
     * `accumulator` object which is the result of running each of its own
     * enumerable string keyed properties thru `iteratee`, with each invocation
     * potentially mutating the `accumulator` object. If `accumulator` is not
     * provided, a new object with the same `[[Prototype]]` will be used. The
     * iteratee is invoked with four arguments: (accumulator, value, key, object).
     * Iteratee functions may exit iteration early by explicitly returning `false`.
     *
     * @static
     * @memberOf _
     * @since 1.3.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @param {*} [accumulator] The custom accumulator value.
     * @returns {*} Returns the accumulated value.
     * @example
     *
     * _.transform([2, 3, 4], function(result, n) {
     *   result.push(n *= n);
     *   return n % 2 == 0;
     * }, []);
     * // => [4, 9]
     *
     * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
     *   (result[value] || (result[value] = [])).push(key);
     * }, {});
     * // => { '1': ['a', 'c'], '2': ['b'] }
     */

/**
     * An object containing the default button text strings that can be overriden for localized language support.
     * Supported properties are: ok, cancel, yes and no.  Generally you should include a locale-specific
     * resource file for handling language support across the framework.
     * Customize the default text like so: Ext.MessageBox.buttonText.yes = "oui"; //french
     * @type Object
     */

/**
     * An object representing the current render frame state.
     * @type {import("../Map.js").FrameState|undefined}
     * @api
     */

/**
     * An object who's property names identify HTML tags to be considered invalid as drag handles.
     * A non-null property value identifies the tag as invalid. Defaults to the 
     * following value which prevents drag operations from being initiated by &lt;a> elements:<pre><code>
    {
    A: "A"
    }</code></pre>
     * @property invalidHandleTypes
     * @type Object
     */

/**
     * An object who's property names identify the IDs of elements to be considered invalid as drag handles.
     * A non-null property value identifies the ID as invalid. For example, to prevent
     * dragging from being initiated on element ID "foo", use:<pre><code>
    {
    foo: true
    }</code></pre>
     * @property invalidHandleIds
     * @type Object
     */

/**
     * An {@link Ext.Element Element} encapsulating the Button's clickable element. By default,
     * this references a <tt>&lt;button&gt;</tt> element. Read only.
     * @type Ext.Element
     * @property btnEl
     */

/**
     * Animates the transition of an element's dimensions from a starting height/width
     * to an ending height/width.  This method is a convenience implementation of {@link shift}.
     * Usage:
    <pre><code>
    // change height and width to 100x100 pixels
    el.scale(100, 100);
    // common config options shown with default values.  The height and width will default to
    // the element&#39;s existing values if passed as null.
    el.scale(
     [element&#39;s width],
     [element&#39;s height], {
         easing: 'easeOut',
         duration: .35
     }
    );
    </code></pre>
     * @param {Number} width  The new width (pass undefined to keep the original width)
     * @param {Number} height  The new height (pass undefined to keep the original height)
     * @param {Object} options (optional) Object literal with any of the Fx config options
     * @return {Ext.Element} The Element
     */

/**
     * Animates the transition of any combination of an element's dimensions, xy position and/or opacity.
     * Any of these properties not specified in the config object will not be changed.  This effect 
     * requires that at least one new dimension, position or opacity setting must be passed in on
     * the config object in order for the function to have any effect.
     * Usage:
    <pre><code>
    // slide the element horizontally to x position 200 while changing the height and opacity
    el.shift({ x: 200, height: 50, opacity: .8 });
    // common config options shown with default values.
    el.shift({
     width: [element&#39;s width],
     height: [element&#39;s height],
     x: [element&#39;s x position],
     y: [element&#39;s y position],
     opacity: [element&#39;s opacity],
     easing: 'easeOut',
     duration: .35
    });
    </code></pre>
     * @param {Object} options  Object literal with any of the Fx config options
     * @return {Ext.Element} The Element
     */

/**
     * Append the string to the top-most buffer or return  the string if there is none
     *
     * @param {string} string | void
     */

/**
     * Appends an event handler to an element.  The shorthand version {@link #on} is equivalent.  Typically you will
     * use {@link Ext.Element#addListener} directly on an Element in favor of calling this version.
     * @param {String/HTMLElement} el The html element or id to assign the event handler to.
     * @param {String} eventName The name of the event to listen for.
     * @param {Function} handler The handler function the event invokes. This function is passed
     * the following parameters:<ul>
     * <li>evt : EventObject<div class="sub-desc">The {@link Ext.EventObject EventObject} describing the event.</div></li>
     * <li>t : Element<div class="sub-desc">The {@link Ext.Element Element} which was the target of the event.
     * Note that this may be filtered by using the <tt>delegate</tt> option.</div></li>
     * <li>o : Object<div class="sub-desc">The options object from the addListener call.</div></li>
     * </ul>
     * @param {Object} scope (optional) The scope (<b><code>this</code></b> reference) in which the handler function is executed. <b>Defaults to the Element</b>.
     * @param {Object} options (optional) An object containing handler configuration properties.
     * This may contain any of the following properties:<ul>
     * <li>scope : Object<div class="sub-desc">The scope (<b><code>this</code></b> reference) in which the handler function is executed. <b>Defaults to the Element</b>.</div></li>
     * <li>delegate : String<div class="sub-desc">A simple selector to filter the target or look for a descendant of the target</div></li>
     * <li>stopEvent : Boolean<div class="sub-desc">True to stop the event. That is stop propagation, and prevent the default action.</div></li>
     * <li>preventDefault : Boolean<div class="sub-desc">True to prevent the default action</div></li>
     * <li>stopPropagation : Boolean<div class="sub-desc">True to prevent event propagation</div></li>
     * <li>normalized : Boolean<div class="sub-desc">False to pass a browser event to the handler function instead of an Ext.EventObject</div></li>
     * <li>delay : Number<div class="sub-desc">The number of milliseconds to delay the invocation of the handler after te event fires.</div></li>
     * <li>single : Boolean<div class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>
     * <li>buffer : Number<div class="sub-desc">Causes the handler to be scheduled to run in an {@link Ext.util.DelayedTask} delayed
     * by the specified number of milliseconds. If the event fires again within that time, the original
     * handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
     * <li>target : Element<div class="sub-desc">Only call the handler if the event was fired on the target Element, <i>not</i> if the event was bubbled up from a child node.</div></li>
     * </ul><br>
     * <p>See {@link Ext.Element#addListener} for examples of how to use these options.</p>
     */

/**
     * Appends an event handler to this element.  The shorthand version {@link #on} is equivalent.
     * @param {String} eventName The name of event to handle.
     * @param {Function} fn The handler function the event invokes. This function is passed
     * the following parameters:<ul>
     * <li><b>evt</b> : EventObject<div class="sub-desc">The {@link Ext.EventObject EventObject} describing the event.</div></li>
     * <li><b>el</b> : HtmlElement<div class="sub-desc">The DOM element which was the target of the event.
     * Note that this may be filtered by using the <tt>delegate</tt> option.</div></li>
     * <li><b>o</b> : Object<div class="sub-desc">The options object from the addListener call.</div></li>
     * </ul>
     * @param {Object} scope (optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
     * <b>If omitted, defaults to this Element.</b>.
     * @param {Object} options (optional) An object containing handler configuration properties.
     * This may contain any of the following properties:<ul>
     * <li><b>scope</b> Object : <div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
     * <b>If omitted, defaults to this Element.</b></div></li>
     * <li><b>delegate</b> String: <div class="sub-desc">A simple selector to filter the target or look for a descendant of the target. See below for additional details.</div></li>
     * <li><b>stopEvent</b> Boolean: <div class="sub-desc">True to stop the event. That is stop propagation, and prevent the default action.</div></li>
     * <li><b>preventDefault</b> Boolean: <div class="sub-desc">True to prevent the default action</div></li>
     * <li><b>stopPropagation</b> Boolean: <div class="sub-desc">True to prevent event propagation</div></li>
     * <li><b>normalized</b> Boolean: <div class="sub-desc">False to pass a browser event to the handler function instead of an Ext.EventObject</div></li>
     * <li><b>target</b> Ext.Element: <div class="sub-desc">Only call the handler if the event was fired on the target Element, <i>not</i> if the event was bubbled up from a child node.</div></li>
     * <li><b>delay</b> Number: <div class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</div></li>
     * <li><b>single</b> Boolean: <div class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>
     * <li><b>buffer</b> Number: <div class="sub-desc">Causes the handler to be scheduled to run in an {@link Ext.util.DelayedTask} delayed
     * by the specified number of milliseconds. If the event fires again within that time, the original
     * handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
     * </ul><br>
     * <p>
     * <b>Combining Options</b><br>
     * In the following examples, the shorthand form {@link #on} is used rather than the more verbose
     * addListener.  The two are equivalent.  Using the options argument, it is possible to combine different
     * types of listeners:<br>
     * <br>
     * A delayed, one-time listener that auto stops the event and adds a custom argument (forumId) to the
     * options object. The options object is available as the third parameter in the handler function.<div style="margin: 5px 20px 20px;">
     * Code:<pre><code>
    el.on('click', this.onClick, this, {
    single: true,
    delay: 100,
    stopEvent : true,
    forumId: 4
    });</code></pre></p>
     * <p>
     * <b>Attaching multiple handlers in 1 call</b><br>
     * The method also allows for a single argument to be passed which is a config object containing properties
     * which specify multiple handlers.</p>
     * <p>
     * Code:<pre><code>
    el.on({
    'click' : {
        fn: this.onClick,
        scope: this,
        delay: 100
    },
    'mouseover' : {
        fn: this.onMouseOver,
        scope: this
    },
    'mouseout' : {
        fn: this.onMouseOut,
        scope: this
    }
    });</code></pre>
     * <p>
     * Or a shorthand syntax:<br>
     * Code:<pre><code></p>
    el.on({
    'click' : this.onClick,
    'mouseover' : this.onMouseOver,
    'mouseout' : this.onMouseOut,
    scope: this
    });
     * </code></pre></p>
     * <p><b>delegate</b></p>
     * <p>This is a configuration option that you can pass along when registering a handler for
     * an event to assist with event delegation. Event delegation is a technique that is used to
     * reduce memory consumption and prevent exposure to memory-leaks. By registering an event
     * for a container element as opposed to each element within a container. By setting this
     * configuration option to a simple selector, the target element will be filtered to look for
     * a descendant of the target.
     * For example:<pre><code>
    // using this markup:
    &lt;div id='elId'>
    &lt;p id='p1'>paragraph one&lt;/p>
    &lt;p id='p2' class='clickable'>paragraph two&lt;/p>
    &lt;p id='p3'>paragraph three&lt;/p>
    &lt;/div>
    // utilize event delegation to registering just one handler on the container element:
    el = Ext.get('elId');
    el.on(
    'click',
    function(e,t) {
        // handle click
        console.info(t.id); // 'p2'
    },
    this,
    {
        // filter the target element to be a descendant with the class 'clickable'
        delegate: '.clickable'
    }
    );
     * </code></pre></p>
     * @return {Ext.Element} this
     */

/**
     * Appends content to the query string of a URL, handling logic for whether to place
     * a question mark or ampersand.
     * @param {String} url The URL to append to.
     * @param {String} s The content to append to the URL.
     * @return (String) The resulting URL
     */

/**
     * Appends the passed element(s) to this element
     * @param {String/HTMLElement/Array/Element/CompositeElement} el
     * @return {Ext.Element} this
     */

/**
     * Appends this element to the passed element
     * @param {Mixed} el The new parent element
     * @return {Ext.Element} this
     */

/**
     * Applies a function to all targets, rippling through any `each` collections.
     * Returns a new ripple wrapper around the flat results — subsequent apply calls
     * will not re-expand `each` collections.
     *
     * @param {Function} fn - The function to apply. Receives the target as first argument.
     * @param {...*} args - Additional arguments passed to fn after the target.
     * @returns {RippleChain}
     *
     * @example
     * ripple(["  hello  ", "  world  "])
     *   .apply(trim)
     *   .apply(upper)
     *   .value();
     * // → ["HELLO", "WORLD"]
     */

/**
     * Applies a style specification to an element.
     * @param {String/HTMLElement} el The element to apply styles to
     * @param {String/Object/Function} styles A style specification string e.g. 'width:100px', or object in the form {width:'100px'}, or
     * a function which returns such a specification.
     */

/**
     * Applies event listeners to elements by selectors when the document is ready.
     * The event name is specified with an <tt>&#64;</tt> suffix.
     * <pre><code>
    Ext.addBehaviors({
    // add a listener for click on all anchors in element with id foo
    '#foo a&#64;click' : function(e, t){
    // do something
    },
     // add the same listener to multiple selectors (separated by comma BEFORE the &#64;)
    '#foo a, #bar span.some-class&#64;mouseover' : function(){
    // do something
    }
    });
     * </code></pre> 
     * @param {Object} obj The list of behaviors to apply
     */

/**
     * Applies the configuration parameters that were passed into the constructor.
     * This is supposed to happen at each level through the inheritance chain.  So
     * a DDProxy implentation will execute apply config on DDProxy, DD, and
     * DragDrop in order to get all of the parameters that are available in
     * each object.
     * @method applyConfig
     */

/**
     * Array of pixel locations the element will snap to if we specified a
     * horizontal graduation/interval.  This array is generated automatically
     * when you define a tick interval.
     * @property xTicks
     * @type int[]
     */

/**
     * Array of pixel locations the element will snap to if we specified a
     * vertical graduation/interval.  This array is generated automatically
     * when you define a tick interval.
     * @property yTicks
     * @type int[]
     */

/**
     * Assigns `value` to `key` of `object` if the existing value is not equivalent
     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {string} key The key of the property to assign.
     * @param {*} value The value to assign.
     */

/**
     * Assigns own and inherited enumerable string keyed properties of source
     * objects to the destination object for all destination properties that
     * resolve to `undefined`. Source objects are applied from left to right.
     * Once a property is set, additional values of the same property are ignored.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @see _.defaultsDeep
     * @example
     *
     * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
     * // => { 'a': 1, 'b': 2 }
     */

/**
     * Assigns own enumerable string keyed properties of source objects to the
     * destination object. Source objects are applied from left to right.
     * Subsequent sources overwrite property assignments of previous sources.
     *
     * **Note:** This method mutates `object` and is loosely based on
     * [`Object.assign`](https://mdn.io/Object/assign).
     *
     * @static
     * @memberOf _
     * @since 0.10.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @see _.assignIn
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     * }
     *
     * function Bar() {
     *   this.c = 3;
     * }
     *
     * Foo.prototype.b = 2;
     * Bar.prototype.d = 4;
     *
     * _.assign({ 'a': 0 }, new Foo, new Bar);
     * // => { 'a': 1, 'c': 3 }
     */

/**
     * Attach Waves to dynamically loaded inputs, or add .waves-effect and other
     * waves classes to a set of elements. Set drag to true if the ripple mouseover
     * or skimming effect should be applied to the elements.
     */

/**
     * Attempts to destroy and then remove a set of named properties of the passed object.
     * @param {Object} o The object (most likely a Component) who's properties you wish to destroy.
     * @param {Mixed} arg1 The name of the property to destroy and remove from the object.
     * @param {Mixed} etc... More property names to destroy and remove.
     */

/**
     * Attempts to destroy any objects passed to it by removing all event listeners, removing them from the
     * DOM (if applicable) and calling their destroy functions (if available).  This method is primarily
     * intended for arguments of type {@link Ext.Element} and {@link Ext.Component}, but any subclass of
     * {@link Ext.util.Observable} can be passed in.  Any number of elements and/or components can be
     * passed into this function in a single call as separate arguments.
     * @param {Mixed} arg1 An {@link Ext.Element}, {@link Ext.Component}, or an Array of either of these to destroy
     * @param {Mixed} arg2 (optional)
     * @param {Mixed} etc... (optional)
     */

/**
     * Attempts to invoke `func`, returning either the result or the caught error
     * object. Any additional arguments are provided to `func` when it's invoked.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Util
     * @param {Function} func The function to attempt.
     * @param {...*} [args] The arguments to invoke `func` with.
     * @returns {*} Returns the `func` result or error object.
     * @example
     *
     * // Avoid throwing errors for invalid selectors.
     * var elements = _.attempt(function(selector) {
     *   return document.querySelectorAll(selector);
     * }, '>_>');
     *
     * if (_.isError(elements)) {
     *   elements = [];
     * }
     */

/**
     * Binds methods of an object to the object itself, overwriting the existing
     * method.
     *
     * **Note:** This method doesn't set the "length" property of bound functions.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {Object} object The object to bind and assign the bound methods to.
     * @param {...(string|string[])} methodNames The object method names to bind.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var view = {
     *   'label': 'docs',
     *   'click': function() {
     *     console.log('clicked ' + this.label);
     *   }
     * };
     *
     * _.bindAll(view, ['click']);
     * jQuery(element).on('click', view.click);
     * // => Logs 'clicked docs' when clicked.
     */

/**
     * Binds the paging toolbar to the specified {@link Ext.data.Store}
     * @param {Store} store The store to bind to this toolbar
     * @param {Boolean} initial (Optional) true to not remove listeners
     */

/**
     * Binds the paging toolbar to the specified {@link Ext.data.Store} <b>(deprecated)</b>
     * @param {Ext.data.Store} store The data store to bind
     */

/**
     * Blinks the element as if it was clicked and then collapses on its center (similar to switching off a television).
     * When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still 
     * take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired.
     * Usage:
     *<pre><code>
    // default
    el.switchOff();
    // all config options shown with default values
    el.switchOff({
    easing: 'easeIn',
    duration: .3,
    remove: false,
    useDisplay: false
    });
    </code></pre>
     * @param {Object} options (optional) Object literal with any of the Fx config options
     * @return {Ext.Element} The Element
     */

/**
     * Braces
     */

/**
     * Brings the specified window to the front of any other active windows in this WindowGroup.
     * @param {String/Object} win The id of the window or a {@link Ext.Window} instance
     * @return {Boolean} True if the dialog was brought to the front, else false
     * if it was already in front
     */

/**
     * Brings the specified window to the front of any other active windows.
     * @param {String/Object} win The id of the window or a {@link Ext.Window} instance
     * @return {Boolean} True if the dialog was brought to the front, else false
     * if it was already in front
     */

/**
     * Bubble the click and show effect if .waves-effect elem was found
     */

/**
     * Button config that displays OK and Cancel buttons
     * @type Object
     */

/**
     * Button config that displays Yes and No buttons
     * @type Object
     */

/**
     * Button config that displays Yes, No and Cancel buttons
     * @type Object
     */

/**
     * Button config that displays a single Cancel button
     * @type Object
     */

/**
     * Button config that displays a single OK button
     * @type Object
     */

/**
     * By default the drag and drop instance will only respond to the primary
     * button click (left button for a right-handed mouse).  Set to true to
     * allow drag and drop to start with any mouse click that is propogated
     * by the browser
     * @property primaryButtonOnly
     * @type boolean
     */

/**
     * By default, Ext intelligently decides whether floating elements should be shimmed. If you are using flash,
     * you may want to set this to true.
     * @type Boolean
     */

/**
     * By default, all instances can be a drop target.  This can be disabled by
     * setting isTarget to false.
     * @property isTarget
     * @type boolean
     */

/**
     * By default, drags can only be initiated if the mousedown occurs in the
     * region the linked element is.  This is done in part to work around a
     * bug in some browsers that mis-report the mousedown if the previous
     * mouseup happened outside of the window.  This property is set to true
     * if outer handles are defined.
     *
     * @property hasOuterHandles
     * @type boolean
     * @default false
     */

/**
     * By default, the element can be dragged any place on the screen.  Set
     * this to limit the vertical travel of the element.  Pass in 0,0 for the
     * parameters if you want to lock the drag to the x axis.
     * @method setYConstraint
     * @param {int} iUp the number of pixels the element can move up
     * @param {int} iDown the number of pixels the element can move down
     * @param {int} iTickSize optional parameter for specifying that the
     * element should move iTickSize pixels at a time.
     */

/**
     * By default, the element can be dragged any place on the screen.  Use
     * this method to limit the horizontal travel of the element.  Pass in
     * 0,0 for the parameters if you want to lock the drag to the y axis.
     * @method setXConstraint
     * @param {int} iLeft the number of pixels the element can move to the left
     * @param {int} iRight the number of pixels the element can move to the
     * right
     * @param {int} iTickSize optional parameter for specifying that the
     * element
     * should move iTickSize pixels at a time.
     */

/**
     * By default, the template delimiters used by lodash are like those in
     * embedded Ruby (ERB) as well as ES2015 template strings. Change the
     * following template settings to use alternative delimiters.
     *
     * @static
     * @memberOf _
     * @type {Object}
     */

/**
     * Cached reference to the linked element
     * @property _domRef
     * @private
     */

/**
     * Calculates the mean of the Array
     * @param {Array} arr The Array to calculate the mean value of.
     * @return {Number} The mean.
     */

/**
     * Calculates the sum of the Array
     * @param {Array} arr The Array to calculate the sum value of.
     * @return {Number} The sum.
     */

/**
     * Called after child nodes are visited.
     *
     * @returns {TwingNode|false} The modified node or null if the node must be removed
     */

/**
     * Called before child nodes are visited.
     *
     * @returns {TwingNode} The modified node
     */

/**
     * Cancels bubbling of the event.
     */

/**
     * Canvas context. Not available when the event is dispatched by the map. For Canvas 2D layers,
     * the context will be the 2D rendering context.  For WebGL layers, the context will be the WebGL
     * context.
     * @type {CanvasRenderingContext2D|WebGLRenderingContext|undefined}
     * @api
     */

/**
     * Casts `array` to a slice if it's needed.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {number} start The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns the cast slice.
     */

/**
     * Casts `value` as an array if it's not one.
     *
     * @static
     * @memberOf _
     * @since 4.4.0
     * @category Lang
     * @param {*} value The value to inspect.
     * @returns {Array} Returns the cast array.
     * @example
     *
     * _.castArray(1);
     * // => [1]
     *
     * _.castArray({ 'a': 1 });
     * // => [{ 'a': 1 }]
     *
     * _.castArray('abc');
     * // => ['abc']
     *
     * _.castArray(null);
     * // => [null]
     *
     * _.castArray(undefined);
     * // => [undefined]
     *
     * _.castArray();
     * // => []
     *
     * var array = [1, 2, 3];
     * console.log(_.castArray(array) === array);
     * // => true
     */

/**
     * Casts `value` to `identity` if it's not a function.
     *
     * @private
     * @param {*} value The value to inspect.
     * @returns {Function} Returns cast function.
     */

/**
     * Casts `value` to a path array if it's not one.
     *
     * @private
     * @param {*} value The value to inspect.
     * @param {Object} [object] The object to query keys on.
     * @returns {Array} Returns the cast property path array.
     */

/**
     * Casts `value` to an empty array if it's not an array like object.
     *
     * @private
     * @param {*} value The value to inspect.
     * @returns {Array|Object} Returns the cast array-like object.
     */

/**
     * Cause a ripple to appear in an element via code.
     */

/**
     * Change the active page
     * @param {Integer} page The page to display
     */

/**
     * Checks `value` to determine whether a default value should be returned in
     * its place. The `defaultValue` is returned if `value` is `NaN`, `null`,
     * or `undefined`.
     *
     * @static
     * @memberOf _
     * @since 4.14.0
     * @category Util
     * @param {*} value The value to check.
     * @param {*} defaultValue The default value.
     * @returns {*} Returns the resolved value.
     * @example
     *
     * _.defaultTo(1, 10);
     * // => 1
     *
     * _.defaultTo(undefined, 10);
     * // => 10
     */

/**
     * Checks a reference and converts it to empty string if it is undefined
     * @param {Mixed} value Reference to check
     * @return {Mixed} Empty string if converted, otherwise the original value
     */

/**
     * Checks a reference and converts it to the default value if it's empty
     * @param {Mixed} value Reference to check
     * @param {String} defaultValue The value to insert of it's undefined (defaults to "")
     * @return {String}
     */

/**
     * Checks if `func` has a lazy counterpart.
     *
     * @private
     * @param {Function} func The function to check.
     * @returns {boolean} Returns `true` if `func` has a lazy counterpart,
     *  else `false`.
     */

/**
     * Checks if `func` has its source masked.
     *
     * @private
     * @param {Function} func The function to check.
     * @returns {boolean} Returns `true` if `func` is masked, else `false`.
     */

/**
     * Checks if `func` is capable of being masked.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `func` is maskable, else `false`.
     */

/**
     * Checks if `n` is between `start` and up to, but not including, `end`. If
     * `end` is not specified, it's set to `start` with `start` then set to `0`.
     * If `start` is greater than `end` the params are swapped to support
     * negative ranges.
     *
     * @static
     * @memberOf _
     * @since 3.3.0
     * @category Number
     * @param {number} number The number to check.
     * @param {number} [start=0] The start of the range.
     * @param {number} end The end of the range.
     * @returns {boolean} Returns `true` if `number` is in the range, else `false`.
     * @see _.range, _.rangeRight
     * @example
     *
     * _.inRange(3, 2, 4);
     * // => true
     *
     * _.inRange(4, 8);
     * // => true
     *
     * _.inRange(4, 2);
     * // => false
     *
     * _.inRange(2, 2);
     * // => false
     *
     * _.inRange(1.2, 2);
     * // => true
     *
     * _.inRange(5.2, 4);
     * // => false
     *
     * _.inRange(-3, -2, -6);
     * // => true
     */

/**
     * Checks if `object` conforms to `source` by invoking the predicate
     * properties of `source` with the corresponding property values of `object`.
     *
     * **Note:** This method is equivalent to `_.conforms` when `source` is
     * partially applied.
     *
     * @static
     * @memberOf _
     * @since 4.14.0
     * @category Lang
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property predicates to conform to.
     * @returns {boolean} Returns `true` if `object` conforms, else `false`.
     * @example
     *
     * var object = { 'a': 1, 'b': 2 };
     *
     * _.conformsTo(object, { 'b': function(n) { return n > 1; } });
     * // => true
     *
     * _.conformsTo(object, { 'b': function(n) { return n > 2; } });
     * // => false
     */

/**
     * Checks if `path` exists on `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Array|string} path The path to check.
     * @param {Function} hasFunc The function to check properties.
     * @returns {boolean} Returns `true` if `path` exists, else `false`.
     */

/**
     * Checks if `path` is a direct or inherited property of `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The object to query.
     * @param {Array|string} path The path to check.
     * @returns {boolean} Returns `true` if `path` exists, else `false`.
     * @example
     *
     * var object = _.create({ 'a': _.create({ 'b': 2 }) });
     *
     * _.hasIn(object, 'a');
     * // => true
     *
     * _.hasIn(object, 'a.b');
     * // => true
     *
     * _.hasIn(object, ['a', 'b']);
     * // => true
     *
     * _.hasIn(object, 'b');
     * // => false
     */

/**
     * Checks if `path` is a direct property of `object`.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to query.
     * @param {Array|string} path The path to check.
     * @returns {boolean} Returns `true` if `path` exists, else `false`.
     * @example
     *
     * var object = { 'a': { 'b': 2 } };
     * var other = _.create({ 'a': _.create({ 'b': 2 }) });
     *
     * _.has(object, 'a');
     * // => true
     *
     * _.has(object, 'a.b');
     * // => true
     *
     * _.has(object, ['a', 'b']);
     * // => true
     *
     * _.has(other, 'a');
     * // => false
     */

/**
     * Checks if `predicate` returns truthy for **all** elements of `collection`.
     * Iteration is stopped once `predicate` returns falsey. The predicate is
     * invoked with three arguments: (value, index|key, collection).
     *
     * **Note:** This method returns `true` for
     * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because
     * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of
     * elements of empty collections.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {boolean} Returns `true` if all elements pass the predicate check,
     *  else `false`.
     * @example
     *
     * _.every([true, 1, null, 'yes'], Boolean);
     * // => false
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36, 'active': false },
     *   { 'user': 'fred',   'age': 40, 'active': false }
     * ];
     *
     * // The `_.matches` iteratee shorthand.
     * _.every(users, { 'user': 'barney', 'active': false });
     * // => false
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.every(users, ['active', false]);
     * // => true
     *
     * // The `_.property` iteratee shorthand.
     * _.every(users, 'active');
     * // => false
     */

/**
     * Checks if `predicate` returns truthy for **any** element of `collection`.
     * Iteration is stopped once `predicate` returns truthy. The predicate is
     * invoked with three arguments: (value, index|key, collection).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {boolean} Returns `true` if any element passes the predicate check,
     *  else `false`.
     * @example
     *
     * _.some([null, 0, 'yes', false], Boolean);
     * // => true
     *
     * var users = [
     *   { 'user': 'barney', 'active': true },
     *   { 'user': 'fred',   'active': false }
     * ];
     *
     * // The `_.matches` iteratee shorthand.
     * _.some(users, { 'user': 'barney', 'active': false });
     * // => false
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.some(users, ['active', false]);
     * // => true
     *
     * // The `_.property` iteratee shorthand.
     * _.some(users, 'active');
     * // => true
     */

/**
     * Checks if `string` ends with the given target string.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to inspect.
     * @param {string} [target] The string to search for.
     * @param {number} [position=string.length] The position to search up to.
     * @returns {boolean} Returns `true` if `string` ends with `target`,
     *  else `false`.
     * @example
     *
     * _.endsWith('abc', 'c');
     * // => true
     *
     * _.endsWith('abc', 'b');
     * // => false
     *
     * _.endsWith('abc', 'b', 2);
     * // => true
     */

/**
     * Checks if `string` starts with the given target string.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to inspect.
     * @param {string} [target] The string to search for.
     * @param {number} [position=0] The position to search from.
     * @returns {boolean} Returns `true` if `string` starts with `target`,
     *  else `false`.
     * @example
     *
     * _.startsWith('abc', 'a');
     * // => true
     *
     * _.startsWith('abc', 'b');
     * // => false
     *
     * _.startsWith('abc', 'b', 1);
     * // => true
     */

/**
     * Checks if `value` is `NaN`.
     *
     * **Note:** This method is based on
     * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as
     * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for
     * `undefined` and other non-number values.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
     * @example
     *
     * _.isNaN(NaN);
     * // => true
     *
     * _.isNaN(new Number(NaN));
     * // => true
     *
     * isNaN(undefined);
     * // => true
     *
     * _.isNaN(undefined);
     * // => false
     */

/**
     * Checks if `value` is `null` or `undefined`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is nullish, else `false`.
     * @example
     *
     * _.isNil(null);
     * // => true
     *
     * _.isNil(void 0);
     * // => true
     *
     * _.isNil(NaN);
     * // => false
     */

/**
     * Checks if `value` is `null`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is `null`, else `false`.
     * @example
     *
     * _.isNull(null);
     * // => true
     *
     * _.isNull(void 0);
     * // => false
     */

/**
     * Checks if `value` is `undefined`.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
     * @example
     *
     * _.isUndefined(void 0);
     * // => true
     *
     * _.isUndefined(null);
     * // => false
     */

/**
     * Checks if `value` is a buffer.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
     * @example
     *
     * _.isBuffer(new Buffer(2));
     * // => true
     *
     * _.isBuffer(new Uint8Array(2));
     * // => false
     */

/**
     * Checks if `value` is a finite primitive number.
     *
     * **Note:** This method is based on
     * [`Number.isFinite`](https://mdn.io/Number/isFinite).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.
     * @example
     *
     * _.isFinite(3);
     * // => true
     *
     * _.isFinite(Number.MIN_VALUE);
     * // => true
     *
     * _.isFinite(Infinity);
     * // => false
     *
     * _.isFinite('3');
     * // => false
     */

/**
     * Checks if `value` is a flattenable `arguments` object or array.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
     */

/**
     * Checks if `value` is a plain object, that is, an object created by the
     * `Object` constructor or one with a `[[Prototype]]` of `null`.
     *
     * @static
     * @memberOf _
     * @since 0.8.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     * }
     *
     * _.isPlainObject(new Foo);
     * // => false
     *
     * _.isPlainObject([1, 2, 3]);
     * // => false
     *
     * _.isPlainObject({ 'x': 0, 'y': 0 });
     * // => true
     *
     * _.isPlainObject(Object.create(null));
     * // => true
     */

/**
     * Checks if `value` is a pristine native function.
     *
     * **Note:** This method can't reliably detect native functions in the presence
     * of the core-js package because core-js circumvents this kind of detection.
     * Despite multiple requests, the core-js maintainer has made it clear: any
     * attempt to fix the detection will be obstructed. As a result, we're left
     * with little choice but to throw an error. Unfortunately, this also affects
     * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),
     * which rely on core-js.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a native function,
     *  else `false`.
     * @example
     *
     * _.isNative(Array.prototype.push);
     * // => true
     *
     * _.isNative(_);
     * // => false
     */

/**
     * Checks if `value` is a property name and not a property path.
     *
     * @private
     * @param {*} value The value to check.
     * @param {Object} [object] The object to query keys on.
     * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
     */

/**
     * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754
     * double precision number which isn't the result of a rounded unsafe integer.
     *
     * **Note:** This method is based on
     * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.
     * @example
     *
     * _.isSafeInteger(3);
     * // => true
     *
     * _.isSafeInteger(Number.MIN_VALUE);
     * // => false
     *
     * _.isSafeInteger(Infinity);
     * // => false
     *
     * _.isSafeInteger('3');
     * // => false
     */

/**
     * Checks if `value` is a valid array-like index.
     *
     * @private
     * @param {*} value The value to check.
     * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
     * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
     */

/**
     * Checks if `value` is a valid array-like length.
     *
     * **Note:** This method is loosely based on
     * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
     * @example
     *
     * _.isLength(3);
     * // => true
     *
     * _.isLength(Number.MIN_VALUE);
     * // => false
     *
     * _.isLength(Infinity);
     * // => false
     *
     * _.isLength('3');
     * // => false
     */

/**
     * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,
     * `SyntaxError`, `TypeError`, or `URIError` object.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an error object, else `false`.
     * @example
     *
     * _.isError(new Error);
     * // => true
     *
     * _.isError(Error);
     * // => false
     */

/**
     * Checks if `value` is an empty object, collection, map, or set.
     *
     * Objects are considered empty if they have no own enumerable string keyed
     * properties.
     *
     * Array-like values such as `arguments` objects, arrays, buffers, strings, or
     * jQuery-like collections are considered empty if they have a `length` of `0`.
     * Similarly, maps and sets are considered empty if they have a `size` of `0`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is empty, else `false`.
     * @example
     *
     * _.isEmpty(null);
     * // => true
     *
     * _.isEmpty(true);
     * // => true
     *
     * _.isEmpty(1);
     * // => true
     *
     * _.isEmpty([1, 2, 3]);
     * // => false
     *
     * _.isEmpty({ 'a': 1 });
     * // => false
     */

/**
     * Checks if `value` is an integer.
     *
     * **Note:** This method is based on
     * [`Number.isInteger`](https://mdn.io/Number/isInteger).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an integer, else `false`.
     * @example
     *
     * _.isInteger(3);
     * // => true
     *
     * _.isInteger(Number.MIN_VALUE);
     * // => false
     *
     * _.isInteger(Infinity);
     * // => false
     *
     * _.isInteger('3');
     * // => false
     */

/**
     * Checks if `value` is array-like. A value is considered array-like if it's
     * not a function and has a `value.length` that's an integer greater than or
     * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
     * @example
     *
     * _.isArrayLike([1, 2, 3]);
     * // => true
     *
     * _.isArrayLike(document.body.children);
     * // => true
     *
     * _.isArrayLike('abc');
     * // => true
     *
     * _.isArrayLike(_.noop);
     * // => false
     */

/**
     * Checks if `value` is classified as a `Date` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a date object, else `false`.
     * @example
     *
     * _.isDate(new Date);
     * // => true
     *
     * _.isDate('Mon April 23 2012');
     * // => false
     */

/**
     * Checks if `value` is classified as a `Function` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a function, else `false`.
     * @example
     *
     * _.isFunction(_);
     * // => true
     *
     * _.isFunction(/abc/);
     * // => false
     */

/**
     * Checks if `value` is classified as a `Map` object.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a map, else `false`.
     * @example
     *
     * _.isMap(new Map);
     * // => true
     *
     * _.isMap(new WeakMap);
     * // => false
     */

/**
     * Checks if `value` is classified as a `Number` primitive or object.
     *
     * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are
     * classified as numbers, use the `_.isFinite` method.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a number, else `false`.
     * @example
     *
     * _.isNumber(3);
     * // => true
     *
     * _.isNumber(Number.MIN_VALUE);
     * // => true
     *
     * _.isNumber(Infinity);
     * // => true
     *
     * _.isNumber('3');
     * // => false
     */

/**
     * Checks if `value` is classified as a `RegExp` object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.
     * @example
     *
     * _.isRegExp(/abc/);
     * // => true
     *
     * _.isRegExp('/abc/');
     * // => false
     */

/**
     * Checks if `value` is classified as a `Set` object.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a set, else `false`.
     * @example
     *
     * _.isSet(new Set);
     * // => true
     *
     * _.isSet(new WeakSet);
     * // => false
     */

/**
     * Checks if `value` is classified as a `String` primitive or object.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a string, else `false`.
     * @example
     *
     * _.isString('abc');
     * // => true
     *
     * _.isString(1);
     * // => false
     */

/**
     * Checks if `value` is classified as a `Symbol` primitive or object.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
     * @example
     *
     * _.isSymbol(Symbol.iterator);
     * // => true
     *
     * _.isSymbol('abc');
     * // => false
     */

/**
     * Checks if `value` is classified as a `WeakMap` object.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.
     * @example
     *
     * _.isWeakMap(new WeakMap);
     * // => true
     *
     * _.isWeakMap(new Map);
     * // => false
     */

/**
     * Checks if `value` is classified as a `WeakSet` object.
     *
     * @static
     * @memberOf _
     * @since 4.3.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.
     * @example
     *
     * _.isWeakSet(new WeakSet);
     * // => true
     *
     * _.isWeakSet(new Set);
     * // => false
     */

/**
     * Checks if `value` is classified as a boolean primitive or object.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.
     * @example
     *
     * _.isBoolean(false);
     * // => true
     *
     * _.isBoolean(null);
     * // => false
     */

/**
     * Checks if `value` is classified as a typed array.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
     * @example
     *
     * _.isTypedArray(new Uint8Array);
     * // => true
     *
     * _.isTypedArray([]);
     * // => false
     */

/**
     * Checks if `value` is greater than `other`.
     *
     * @static
     * @memberOf _
     * @since 3.9.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is greater than `other`,
     *  else `false`.
     * @see _.lt
     * @example
     *
     * _.gt(3, 1);
     * // => true
     *
     * _.gt(3, 3);
     * // => false
     *
     * _.gt(1, 3);
     * // => false
     */

/**
     * Checks if `value` is greater than or equal to `other`.
     *
     * @static
     * @memberOf _
     * @since 3.9.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is greater than or equal to
     *  `other`, else `false`.
     * @see _.lte
     * @example
     *
     * _.gte(3, 1);
     * // => true
     *
     * _.gte(3, 3);
     * // => true
     *
     * _.gte(1, 3);
     * // => false
     */

/**
     * Checks if `value` is in `collection`. If `collection` is a string, it's
     * checked for a substring of `value`, otherwise
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * is used for equality comparisons. If `fromIndex` is negative, it's used as
     * the offset from the end of `collection`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object|string} collection The collection to inspect.
     * @param {*} value The value to search for.
     * @param {number} [fromIndex=0] The index to search from.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.
     * @returns {boolean} Returns `true` if `value` is found, else `false`.
     * @example
     *
     * _.includes([1, 2, 3], 1);
     * // => true
     *
     * _.includes([1, 2, 3], 1, 2);
     * // => false
     *
     * _.includes({ 'a': 1, 'b': 2 }, 1);
     * // => true
     *
     * _.includes('abcd', 'bc');
     * // => true
     */

/**
     * Checks if `value` is in the array cache.
     *
     * @private
     * @name has
     * @memberOf SetCache
     * @param {*} value The value to search for.
     * @returns {number} Returns `true` if `value` is found, else `false`.
     */

/**
     * Checks if `value` is less than `other`.
     *
     * @static
     * @memberOf _
     * @since 3.9.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is less than `other`,
     *  else `false`.
     * @see _.gt
     * @example
     *
     * _.lt(1, 3);
     * // => true
     *
     * _.lt(3, 3);
     * // => false
     *
     * _.lt(3, 1);
     * // => false
     */

/**
     * Checks if `value` is less than or equal to `other`.
     *
     * @static
     * @memberOf _
     * @since 3.9.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is less than or equal to
     *  `other`, else `false`.
     * @see _.gte
     * @example
     *
     * _.lte(1, 3);
     * // => true
     *
     * _.lte(3, 3);
     * // => true
     *
     * _.lte(3, 1);
     * // => false
     */

/**
     * Checks if `value` is likely a DOM element.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.
     * @example
     *
     * _.isElement(document.body);
     * // => true
     *
     * _.isElement('<body>');
     * // => false
     */

/**
     * Checks if `value` is likely a prototype object.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
     */

/**
     * Checks if `value` is object-like. A value is object-like if it's not `null`
     * and has a `typeof` result of "object".
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
     * @example
     *
     * _.isObjectLike({});
     * // => true
     *
     * _.isObjectLike([1, 2, 3]);
     * // => true
     *
     * _.isObjectLike(_.noop);
     * // => false
     *
     * _.isObjectLike(null);
     * // => false
     */

/**
     * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` if suitable for strict
     *  equality comparisons, else `false`.
     */

/**
     * Checks if `value` is suitable for use as unique object key.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
     */

/**
     * Checks if `value` is the
     * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
     * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an object, else `false`.
     * @example
     *
     * _.isObject({});
     * // => true
     *
     * _.isObject([1, 2, 3]);
     * // => true
     *
     * _.isObject(_.noop);
     * // => true
     *
     * _.isObject(null);
     * // => false
     */

/**
     * Checks if a Component type is registered.
     * @param {Ext.Component} xtype The mnemonic string by which the Component class may be looked up
     * @return {Boolean} Whether the type is registered.
     */

/**
     * Checks if a Plugin type is registered.
     * @param {Ext.Component} ptype The mnemonic string by which the Plugin class may be looked up
     * @return {Boolean} Whether the type is registered.
     */

/**
     * Checks if a hash value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf Hash
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */

/**
     * Checks if a list cache value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf ListCache
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */

/**
     * Checks if a map value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf MapCache
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */

/**
     * Checks if a stack value for `key` exists.
     *
     * @private
     * @name has
     * @memberOf Stack
     * @param {string} key The key of the entry to check.
     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
     */

/**
     * Checks if debug mode is enabled.
     *
     * @return {boolean} true if debug mode is enabled, false otherwise
     */

/**
     * Checks if end of stream was reached.
     *
     * @return boolean
     */

/**
     * Checks if the auto_reload option is enabled.
     *
     * @return {boolean} true if auto_reload is enabled, false otherwise
     */

/**
     * Checks if the given arguments are from an iteratee call.
     *
     * @private
     * @param {*} value The potential iteratee value argument.
     * @param {*} index The potential iteratee index or key argument.
     * @param {*} object The potential iteratee object argument.
     * @returns {boolean} Returns `true` if the arguments are from an iteratee call,
     *  else `false`.
     */

/**
     * Checks if the source_map option is enabled.
     *
     * @return {boolean} true if source_map is enabled, false otherwise
     */

/**
     * Checks if the specified CSS class exists on this element's DOM node.
     * @param {String} className The CSS class to check for
     * @return {Boolean} True if the class exists, else false
     */

/**
     * Checks if the strict_variables option is enabled.
     *
     * @return {boolean} true if strict_variables is enabled, false otherwise
     */

/**
     * Checks the tag exclusion list to see if this click should be ignored
     * @method isValidHandleChild
     * @param {HTMLElement} node the HTMLElement to evaluate
     * @return {boolean} true if this is a valid tag type, false if not
     */

/**
     * Checks whether the element is currently visible using both visibility and display properties.         
     * @return {Boolean} True if the element is currently visible, else false
     */

/**
     * Clamps `number` within the inclusive `lower` and `upper` bounds.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Number
     * @param {number} number The number to clamp.
     * @param {number} [lower] The lower bound.
     * @param {number} upper The upper bound.
     * @returns {number} Returns the clamped number.
     * @example
     *
     * _.clamp(-10, -5, 5);
     * // => -5
     *
     * _.clamp(10, -5, 5);
     * // => 5
     */

/**
     * Clean (erase) the output buffer
     *
     * In human terms, empty the top-most buffer
     *
     * ┌─────────┐    ┌─────────┐
     * │   oof   │    │         │
     * ├─────────┤    ├─────────┤
     * │   bar   │ => │   bar   │
     * ├─────────┤    ├─────────┤
     * │   foo   │    │   foo   │ => true
     * └─────────┘    └─────────┘
     *
     */

/**
     * Clean the output buffer, and delete active output buffer
     *
     * In human terms: clean the top-most buffer and remove the top-most buffer
     *
     * ┌─────────┐
     * │   oof   │
     * ├─────────┤    ┌─────────┐
     * │   bar   │ -> │   bar   │
     * ├─────────┤    ├─────────┤
     * │   foo   │    │   foo   │ => true
     * └─────────┘    └─────────┘
     *
     * @returns {boolean}
     */

/**
     * Clears a value from the state
     * @param {String} name The key name
     */

/**
     * Clears any constraints applied to this instance.  Also clears ticks
     * since they can't exist independent of a constraint at this time.
     * @method clearConstraints
     */

/**
     * Clears any opacity settings from this element. Required in some cases for IE.
     * @return {Ext.Element} this
     */

/**
     * Clears any tick interval defined for this instance
     * @method clearTicks
     */

/**
     * Clipping to be performed by `renderFrame()`
     * @type {boolean}
     */

/**
     * Code executed immediately before the onMouseDown event
     * @method b4MouseDown
     * @param {Event} e the mousedown event
     * @private
     */

/**
     * Code that executes immediately before the endDrag event
     * @method b4EndDrag
     * @private
     */

/**
     * Code that executes immediately before the onDrag event
     * @method b4Drag
     * @private
     */

/**
     * Code that executes immediately before the onDragDrop event
     * @method b4DragDrop
     * @private
     */

/**
     * Code that executes immediately before the onDragOut event
     * @method b4DragOut
     * @private
     */

/**
     * Code that executes immediately before the onDragOver event
     * @method b4DragOver
     * @private
     */

/**
     * Code that executes immediately before the startDrag event
     * @method b4StartDrag
     * @private
     */

/**
     * Collection of matching regular expressions and code snippets.
     * Each capture group within () will be replace the {} in the select
     * statement as specified by their index.
     */

/**
     * Collection of operator comparison functions. The default operators are =, !=, ^=, $=, *=, %=, |= and ~=.
     * New operators can be added as long as the match the format <i>c</i>= where <i>c</i> is any character other than space, &gt; &lt;.
     */

/**
     * Collection of wrapper for HTML element that only have single tag
     * like <input> and <img>
     */

/**
     * Comma: ','
     */

/**
     * Commas
     */

/**
     * Compares values to sort them in ascending order.
     *
     * @private
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {number} Returns the sort order indicator for `value`.
     */

/**
     * Compiles a module node.
     *
     * @return {string}
     */

/**
     * Compiles a selector/xpath query into a reusable function. The returned function
     * takes one parameter "root" (optional), which is the context node from where the query should start.
     * @param {String} selector The selector/xpath query
     * @param {String} type (optional) Either "select" (the default) or "simple" for a simple selector match
     * @return {Function}
     */

/**
     * Computes `number` rounded to `precision`.
     *
     * @static
     * @memberOf _
     * @since 3.10.0
     * @category Math
     * @param {number} number The number to round.
     * @param {number} [precision=0] The precision to round to.
     * @returns {number} Returns the rounded number.
     * @example
     *
     * _.round(4.006);
     * // => 4
     *
     * _.round(4.006, 2);
     * // => 4.01
     *
     * _.round(4060, -2);
     * // => 4100
     */

/**
     * Computes `number` rounded up to `precision`.
     *
     * @static
     * @memberOf _
     * @since 3.10.0
     * @category Math
     * @param {number} number The number to round up.
     * @param {number} [precision=0] The precision to round up to.
     * @returns {number} Returns the rounded up number.
     * @example
     *
     * _.ceil(4.006);
     * // => 5
     *
     * _.ceil(6.004, 2);
     * // => 6.01
     *
     * _.ceil(6040, -2);
     * // => 6100
     */

/**
     * Computes the maximum value of `array`. If `array` is empty or falsey,
     * `undefined` is returned.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Math
     * @param {Array} array The array to iterate over.
     * @returns {*} Returns the maximum value.
     * @example
     *
     * _.max([4, 2, 8, 6]);
     * // => 8
     *
     * _.max([]);
     * // => undefined
     */

/**
     * Computes the mean of the values in `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @returns {number} Returns the mean.
     * @example
     *
     * _.mean([4, 2, 8, 6]);
     * // => 5
     */

/**
     * Computes the minimum value of `array`. If `array` is empty or falsey,
     * `undefined` is returned.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Math
     * @param {Array} array The array to iterate over.
     * @returns {*} Returns the minimum value.
     * @example
     *
     * _.min([4, 2, 8, 6]);
     * // => 2
     *
     * _.min([]);
     * // => undefined
     */

/**
     * Computes the sum of the values in `array`.
     *
     * @static
     * @memberOf _
     * @since 3.4.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @returns {number} Returns the sum.
     * @example
     *
     * _.sum([4, 2, 8, 6]);
     * // => 20
     */

/**
     * Configuration attributes passed into the constructor
     * @property config
     * @type object
     */

/**
     * Configures a new quick tip instance and assigns it to a target element.  See
     * {@link Ext.QuickTip#register} for details.
     * @param {Object} config The config object
     */

/**
     * Configures the default state provider for your application
     * @param {Provider} stateProvider The state provider to set
     */

/**
     * Construct and return a list of tokens relevant to render a Twig template.
     *
     * @return {Token[]}
     */

/**
     * Constructor.
     *
     * @param {TwingLoaderInterface} loader
     * @param {TwingEnvironmentOptions} options
     */

/**
     * Constructor.
     *
     * The nodes are automatically made available as properties ($this->node).
     * The attributes are automatically made available as array items ($this['name']).
     *
     * @param nodes Map<string | number, TwingNode>  A map of named nodes
     * @param attributes Map<string, any> A map of attributes (should not be nodes)
     * @param lineno number The line number
     * @param columnno number The column number
     * @param tag string The tag name associated with the Node
     */

/**
     * Convert certain characters (&, <, >, and ') from their HTML character equivalents.
     * @param {String} value The string to decode
     * @return {String} The decoded text
     */

/**
     * Convert certain characters (&, <, >, and ') to their HTML character equivalents for literal display in web pages.
     * @param {String} value The string to encode
     * @return {String} The encoded text
     */

/**
     * Convert certain characters (<, >, and ') to their HTML character equivalents but modify them with wit a space and @@@ to separate them from links
     * so we can linkify these links without including characters that are not actual part of them (for example a tailing >) 
     * as they are found in Teams Invitations, in the second step we replace these strings by the proper Characters
     * 
     * @param {String} value The string to encode
     * @return {String} The encoded text
     */

/**
     * Converts `func` to its source code.
     *
     * @private
     * @param {Function} func The function to convert.
     * @returns {string} Returns the source code.
     */

/**
     * Converts `string` to
     * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the kebab cased string.
     * @example
     *
     * _.kebabCase('Foo Bar');
     * // => 'foo-bar'
     *
     * _.kebabCase('fooBar');
     * // => 'foo-bar'
     *
     * _.kebabCase('__FOO_BAR__');
     * // => 'foo-bar'
     */

/**
     * Converts `string` to
     * [snake case](https://en.wikipedia.org/wiki/Snake_case).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the snake cased string.
     * @example
     *
     * _.snakeCase('Foo Bar');
     * // => 'foo_bar'
     *
     * _.snakeCase('fooBar');
     * // => 'foo_bar'
     *
     * _.snakeCase('--FOO-BAR--');
     * // => 'foo_bar'
     */

/**
     * Converts `string` to
     * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).
     *
     * @static
     * @memberOf _
     * @since 3.1.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the start cased string.
     * @example
     *
     * _.startCase('--foo-bar--');
     * // => 'Foo Bar'
     *
     * _.startCase('fooBar');
     * // => 'Foo Bar'
     *
     * _.startCase('__FOO_BAR__');
     * // => 'FOO BAR'
     */

/**
     * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the camel cased string.
     * @example
     *
     * _.camelCase('Foo Bar');
     * // => 'fooBar'
     *
     * _.camelCase('--foo-bar--');
     * // => 'fooBar'
     *
     * _.camelCase('__FOO_BAR__');
     * // => 'fooBar'
     */

/**
     * Converts `string` to a property path array.
     *
     * @private
     * @param {string} string The string to convert.
     * @returns {Array} Returns the property path array.
     */

/**
     * Converts `string` to an integer of the specified radix. If `radix` is
     * `undefined` or `0`, a `radix` of `10` is used unless `value` is a
     * hexadecimal, in which case a `radix` of `16` is used.
     *
     * **Note:** This method aligns with the
     * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.
     *
     * @static
     * @memberOf _
     * @since 1.1.0
     * @category String
     * @param {string} string The string to convert.
     * @param {number} [radix=10] The radix to interpret `value` by.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {number} Returns the converted integer.
     * @example
     *
     * _.parseInt('08');
     * // => 8
     *
     * _.map(['6', '08', '10'], _.parseInt);
     * // => [6, 8, 10]
     */

/**
     * Converts `string`, as a whole, to lower case just like
     * [String#toLowerCase](https://mdn.io/toLowerCase).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the lower cased string.
     * @example
     *
     * _.toLower('--Foo-Bar--');
     * // => '--foo-bar--'
     *
     * _.toLower('fooBar');
     * // => 'foobar'
     *
     * _.toLower('__FOO_BAR__');
     * // => '__foo_bar__'
     */

/**
     * Converts `string`, as a whole, to upper case just like
     * [String#toUpperCase](https://mdn.io/toUpperCase).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the upper cased string.
     * @example
     *
     * _.toUpper('--foo-bar--');
     * // => '--FOO-BAR--'
     *
     * _.toUpper('fooBar');
     * // => 'FOOBAR'
     *
     * _.toUpper('__foo_bar__');
     * // => '__FOO_BAR__'
     */

/**
     * Converts `string`, as space separated words, to lower case.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the lower cased string.
     * @example
     *
     * _.lowerCase('--Foo-Bar--');
     * // => 'foo bar'
     *
     * _.lowerCase('fooBar');
     * // => 'foo bar'
     *
     * _.lowerCase('__FOO_BAR__');
     * // => 'foo bar'
     */

/**
     * Converts `string`, as space separated words, to upper case.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the upper cased string.
     * @example
     *
     * _.upperCase('--foo-bar');
     * // => 'FOO BAR'
     *
     * _.upperCase('fooBar');
     * // => 'FOO BAR'
     *
     * _.upperCase('__foo_bar__');
     * // => 'FOO BAR'
     */

/**
     * Converts `value` to a finite number.
     *
     * @static
     * @memberOf _
     * @since 4.12.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {number} Returns the converted number.
     * @example
     *
     * _.toFinite(3.2);
     * // => 3.2
     *
     * _.toFinite(Number.MIN_VALUE);
     * // => 5e-324
     *
     * _.toFinite(Infinity);
     * // => 1.7976931348623157e+308
     *
     * _.toFinite('3.2');
     * // => 3.2
     */

/**
     * Converts `value` to a number.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to process.
     * @returns {number} Returns the number.
     * @example
     *
     * _.toNumber(3.2);
     * // => 3.2
     *
     * _.toNumber(Number.MIN_VALUE);
     * // => 5e-324
     *
     * _.toNumber(Infinity);
     * // => Infinity
     *
     * _.toNumber('3.2');
     * // => 3.2
     */

/**
     * Converts `value` to a plain object flattening inherited enumerable string
     * keyed properties of `value` to own properties of the plain object.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {Object} Returns the converted plain object.
     * @example
     *
     * function Foo() {
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.assign({ 'a': 1 }, new Foo);
     * // => { 'a': 1, 'b': 2 }
     *
     * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));
     * // => { 'a': 1, 'b': 2, 'c': 3 }
     */

/**
     * Converts `value` to a property path array.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {*} value The value to convert.
     * @returns {Array} Returns the new property path array.
     * @example
     *
     * _.toPath('a.b.c');
     * // => ['a', 'b', 'c']
     *
     * _.toPath('a[0].b.c');
     * // => ['a', '0', 'b', 'c']
     */

/**
     * Converts `value` to a safe integer. A safe integer can be compared and
     * represented correctly.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {number} Returns the converted integer.
     * @example
     *
     * _.toSafeInteger(3.2);
     * // => 3
     *
     * _.toSafeInteger(Number.MIN_VALUE);
     * // => 0
     *
     * _.toSafeInteger(Infinity);
     * // => 9007199254740991
     *
     * _.toSafeInteger('3.2');
     * // => 3
     */

/**
     * Converts `value` to a string key if it's not a string or symbol.
     *
     * @private
     * @param {*} value The value to inspect.
     * @returns {string|symbol} Returns the key.
     */

/**
     * Converts `value` to a string using `Object.prototype.toString`.
     *
     * @private
     * @param {*} value The value to convert.
     * @returns {string} Returns the converted string.
     */

/**
     * Converts `value` to a string. An empty string is returned for `null`
     * and `undefined` values. The sign of `-0` is preserved.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {string} Returns the converted string.
     * @example
     *
     * _.toString(null);
     * // => ''
     *
     * _.toString(-0);
     * // => '-0'
     *
     * _.toString([1, 2, 3]);
     * // => '1,2,3'
     */

/**
     * Converts `value` to an array.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {Array} Returns the converted array.
     * @example
     *
     * _.toArray({ 'a': 1, 'b': 2 });
     * // => [1, 2]
     *
     * _.toArray('abc');
     * // => ['a', 'b', 'c']
     *
     * _.toArray(1);
     * // => []
     *
     * _.toArray(null);
     * // => []
     */

/**
     * Converts `value` to an integer suitable for use as the length of an
     * array-like object.
     *
     * **Note:** This method is based on
     * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {number} Returns the converted integer.
     * @example
     *
     * _.toLength(3.2);
     * // => 3
     *
     * _.toLength(Number.MIN_VALUE);
     * // => 0
     *
     * _.toLength(Infinity);
     * // => 4294967295
     *
     * _.toLength('3.2');
     * // => 3
     */

/**
     * Converts `value` to an integer.
     *
     * **Note:** This method is loosely based on
     * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to convert.
     * @returns {number} Returns the converted integer.
     * @example
     *
     * _.toInteger(3.2);
     * // => 3
     *
     * _.toInteger(Number.MIN_VALUE);
     * // => 0
     *
     * _.toInteger(Infinity);
     * // => 1.7976931348623157e+308
     *
     * _.toInteger('3.2');
     * // => 3
     */

/**
     * Converts a string to all lower case letters
     * @param {String} value The text to convert
     * @return {String} The converted text
     */

/**
     * Converts a string to all upper case letters
     * @param {String} value The text to convert
     * @return {String} The converted text
     */

/**
     * Converts a token list to a template.
     *
     * @param {TwingTokenStream} stream
     * @param {TwingParserOptions} options
     * @return {TwingNodeModule}
     *
     * @throws {TwingErrorSyntax} When the token stream is syntactically or semantically wrong
     */

/**
     * Converts all elements in `array` into a string separated by `separator`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to convert.
     * @param {string} [separator=','] The element separator.
     * @returns {string} Returns the joined string.
     * @example
     *
     * _.join(['a', 'b', 'c'], '~');
     * // => 'a~b~c'
     */

/**
     * Converts any iterable (numeric indices and a length property) into a true array
     * Don't use this on strings. IE doesn't support "abc"[0] which this implementation depends on.
     * For strings, use this instead: "abc".match(/./g) => [a,b,c];
     * @param {Iterable} the iterable object to be turned into a true Array.
     * @return (Array) array
     */

/**
     * Converts newline characters to the HTML tag &lt;br/>
     * @return {String} The string with embedded &lt;br/> tags in place of newlines.
     * @param v
     */

/**
     * Converts the characters "&", "<", ">", '"', and "'" in `string` to their
     * corresponding HTML entities.
     *
     * **Note:** No other characters are escaped. To escape additional
     * characters use a third-party library like [_he_](https://mths.be/he).
     *
     * Though the ">" character is escaped for symmetry, characters like
     * ">" and "/" don't need escaping in HTML and have no special meaning
     * unless they're part of a tag or unquoted attribute value. See
     * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)
     * (under "semi-related fun fact") for more details.
     *
     * When working with HTML you should always
     * [quote attribute values](http://wonko.com/post/html-escaping) to reduce
     * XSS vectors.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category String
     * @param {string} [string=''] The string to escape.
     * @returns {string} Returns the escaped string.
     * @example
     *
     * _.escape('fred, barney, & pebbles');
     * // => 'fred, barney, &amp; pebbles'
     */

/**
     * Converts the first character of `string` to upper case and the remaining
     * to lower case.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to capitalize.
     * @returns {string} Returns the capitalized string.
     * @example
     *
     * _.capitalize('FRED');
     * // => 'Fred'
     */

/**
     * Converts the first character of `string` to upper case.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to convert.
     * @returns {string} Returns the converted string.
     * @example
     *
     * _.upperFirst('fred');
     * // => 'Fred'
     *
     * _.upperFirst('FRED');
     * // => 'FRED'
     */

/**
     * Converts the first character only of a string to upper case
     * @param {String} value The text to convert
     * @return {String} The converted text
     */

/**
     * Copies a set of named properties fom the source object to the destination object.
     * <p>example:<pre><code>
    ImageComponent = Ext.extend(Ext.BoxComponent, {
    initComponent: function() {
    this.autoEl = { tag: 'img' };
    MyComponent.superclass.initComponent.apply(this, arguments);
    this.initialBox = Ext.copyTo({}, this.initialConfig, 'x,y,width,height');
    }
    });
     * </code></pre> 
     * @param {Object} The destination object.
     * @param {Object} The source object.
     * @param {Array/String} Either an Array of property names, or a comma-delimited list
     * of property names to copy.
     * @return {Object} The modified object.
    */

/**
     * Copies all the properties of config to obj if they don't already exist.
     * @param {Object} obj The receiver of the properties
     * @param {Object} config The source of the properties
     * @return {Object} returns obj
     */

/**
     * Copies own and inherited symbols of `source` to `object`.
     *
     * @private
     * @param {Object} source The object to copy symbols from.
     * @param {Object} [object={}] The object to copy symbols to.
     * @returns {Object} Returns `object`.
     */

/**
     * Copies own symbols of `source` to `object`.
     *
     * @private
     * @param {Object} source The object to copy symbols from.
     * @param {Object} [object={}] The object to copy symbols to.
     * @returns {Object} Returns `object`.
     */

/**
     * Copies properties of `source` to `object`.
     *
     * @private
     * @param {Object} source The object to copy properties from.
     * @param {Array} props The property identifiers to copy.
     * @param {Object} [object={}] The object to copy properties to.
     * @param {Function} [customizer] The function to customize copied values.
     * @returns {Object} Returns `object`.
     */

/**
     * Copies the values of `source` to `array`.
     *
     * @private
     * @param {Array} source The array to copy values from.
     * @param {Array} [array=[]] The array to copy values to.
     * @returns {Array} Returns `array`.
     */

/**
     * Create the array of horizontal tick marks if an interval was specified
     * in setXConstraint().
     * @method setXTicks
     * @private
     */

/**
     * Create the array of vertical tick marks if an interval was specified in
     * setYConstraint().
     * @method setYTicks
     * @private
     */

/**
     * Creates a `_.find` or `_.findLast` function.
     *
     * @private
     * @param {Function} findIndexFunc The function to find the collection index.
     * @returns {Function} Returns the new find function.
     */

/**
     * Creates a `_.flow` or `_.flowRight` function.
     *
     * @private
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Function} Returns the new flow function.
     */

/**
     * Creates a `_.range` or `_.rangeRight` function.
     *
     * @private
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Function} Returns the new range function.
     */

/**
     * Creates a `_.toPairs` or `_.toPairsIn` function.
     *
     * @private
     * @param {Function} keysFunc The function to get the keys of a given object.
     * @returns {Function} Returns the new pairs function.
     */

/**
     * Creates a `baseEach` or `baseEachRight` function.
     *
     * @private
     * @param {Function} eachFunc The function to iterate over a collection.
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Function} Returns the new base function.
     */

/**
     * Creates a `lodash` object which wraps `value` to enable implicit method
     * chain sequences. Methods that operate on and return arrays, collections,
     * and functions can be chained together. Methods that retrieve a single value
     * or may return a primitive value will automatically end the chain sequence
     * and return the unwrapped value. Otherwise, the value must be unwrapped
     * with `_#value`.
     *
     * Explicit chain sequences, which must be unwrapped with `_#value`, may be
     * enabled using `_.chain`.
     *
     * The execution of chained methods is lazy, that is, it's deferred until
     * `_#value` is implicitly or explicitly called.
     *
     * Lazy evaluation allows several methods to support shortcut fusion.
     * Shortcut fusion is an optimization to merge iteratee calls; this avoids
     * the creation of intermediate arrays and can greatly reduce the number of
     * iteratee executions. Sections of a chain sequence qualify for shortcut
     * fusion if the section is applied to an array and iteratees accept only
     * one argument. The heuristic for whether a section qualifies for shortcut
     * fusion is subject to change.
     *
     * Chaining is supported in custom builds as long as the `_#value` method is
     * directly or indirectly included in the build.
     *
     * In addition to lodash methods, wrappers have `Array` and `String` methods.
     *
     * The wrapper `Array` methods are:
     * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`
     *
     * The wrapper `String` methods are:
     * `replace` and `split`
     *
     * The wrapper methods that support shortcut fusion are:
     * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,
     * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,
     * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`
     *
     * The chainable wrapper methods are:
     * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,
     * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,
     * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,
     * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,
     * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,
     * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,
     * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,
     * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,
     * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,
     * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,
     * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,
     * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,
     * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,
     * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,
     * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,
     * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,
     * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,
     * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,
     * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,
     * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,
     * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,
     * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,
     * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,
     * `zipObject`, `zipObjectDeep`, and `zipWith`
     *
     * The wrapper methods that are **not** chainable by default are:
     * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,
     * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,
     * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,
     * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,
     * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,
     * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,
     * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,
     * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,
     * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,
     * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,
     * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,
     * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,
     * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,
     * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,
     * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,
     * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,
     * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,
     * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,
     * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,
     * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,
     * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,
     * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,
     * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,
     * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,
     * `upperFirst`, `value`, and `words`
     *
     * @name _
     * @constructor
     * @category Seq
     * @param {*} value The value to wrap in a `lodash` instance.
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var wrapped = _([1, 2, 3]);
     *
     * // Returns an unwrapped value.
     * wrapped.reduce(_.add);
     * // => 6
     *
     * // Returns a wrapped value.
     * var squares = wrapped.map(square);
     *
     * _.isArray(squares);
     * // => false
     *
     * _.isArray(squares.value());
     * // => true
     */

/**
     * Creates a `lodash` wrapper instance that wraps `value` with explicit method
     * chain sequences enabled. The result of such sequences must be unwrapped
     * with `_#value`.
     *
     * @static
     * @memberOf _
     * @since 1.3.0
     * @category Seq
     * @param {*} value The value to wrap.
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'age': 36 },
     *   { 'user': 'fred',    'age': 40 },
     *   { 'user': 'pebbles', 'age': 1 }
     * ];
     *
     * var youngest = _
     *   .chain(users)
     *   .sortBy('age')
     *   .map(function(o) {
     *     return o.user + ' is ' + o.age;
     *   })
     *   .head()
     *   .value();
     * // => 'pebbles is 1'
     */

/**
     * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.
     *
     * @name chain
     * @memberOf _
     * @since 0.1.0
     * @category Seq
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36 },
     *   { 'user': 'fred',   'age': 40 }
     * ];
     *
     * // A sequence without explicit chaining.
     * _(users).head();
     * // => { 'user': 'barney', 'age': 36 }
     *
     * // A sequence with explicit chaining.
     * _(users)
     *   .chain()
     *   .head()
     *   .pick('user')
     *   .value();
     * // => { 'user': 'barney' }
     */

/**
     * Creates a base function for methods like `_.forIn` and `_.forOwn`.
     *
     * @private
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Function} Returns the new base function.
     */

/**
     * Creates a clone of  `buffer`.
     *
     * @private
     * @param {Buffer} buffer The buffer to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Buffer} Returns the cloned buffer.
     */

/**
     * Creates a clone of `arrayBuffer`.
     *
     * @private
     * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
     * @returns {ArrayBuffer} Returns the cloned array buffer.
     */

/**
     * Creates a clone of `dataView`.
     *
     * @private
     * @param {Object} dataView The data view to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Object} Returns the cloned data view.
     */

/**
     * Creates a clone of `regexp`.
     *
     * @private
     * @param {Object} regexp The regexp to clone.
     * @returns {Object} Returns the cloned regexp.
     */

/**
     * Creates a clone of `typedArray`.
     *
     * @private
     * @param {Object} typedArray The typed array to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Object} Returns the cloned typed array.
     */

/**
     * Creates a clone of `wrapper`.
     *
     * @private
     * @param {Object} wrapper The wrapper to clone.
     * @returns {Object} Returns the cloned wrapper.
     */

/**
     * Creates a clone of the `symbol` object.
     *
     * @private
     * @param {Object} symbol The symbol object to clone.
     * @returns {Object} Returns the cloned symbol object.
     */

/**
     * Creates a clone of the chain sequence planting `value` as the wrapped value.
     *
     * @name plant
     * @memberOf _
     * @since 3.2.0
     * @category Seq
     * @param {*} value The value to plant.
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var wrapped = _([1, 2]).map(square);
     * var other = wrapped.plant([3, 4]);
     *
     * other.value();
     * // => [9, 16]
     *
     * wrapped.value();
     * // => [1, 4]
     */

/**
     * Creates a clone of the lazy wrapper object.
     *
     * @private
     * @name clone
     * @memberOf LazyWrapper
     * @returns {Object} Returns the cloned `LazyWrapper` object.
     */

/**
     * Creates a compiled template function that can interpolate data properties
     * in "interpolate" delimiters, HTML-escape interpolated data properties in
     * "escape" delimiters, and execute JavaScript in "evaluate" delimiters. Data
     * properties may be accessed as free variables in the template. If a setting
     * object is given, it takes precedence over `_.templateSettings` values.
     *
     * **Note:** In the development build `_.template` utilizes
     * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)
     * for easier debugging.
     *
     * For more information on precompiling templates see
     * [lodash's custom builds documentation](https://lodash.com/custom-builds).
     *
     * For more information on Chrome extension sandboxes see
     * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category String
     * @param {string} [string=''] The template string.
     * @param {Object} [options={}] The options object.
     * @param {RegExp} [options.escape=_.templateSettings.escape]
     *  The HTML "escape" delimiter.
     * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]
     *  The "evaluate" delimiter.
     * @param {Object} [options.imports=_.templateSettings.imports]
     *  An object to import into the template as free variables.
     * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]
     *  The "interpolate" delimiter.
     * @param {string} [options.sourceURL='lodash.templateSources[n]']
     *  The sourceURL of the compiled template.
     * @param {string} [options.variable='obj']
     *  The data object variable name.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Function} Returns the compiled template function.
     * @example
     *
     * // Use the "interpolate" delimiter to create a compiled template.
     * var compiled = _.template('hello <%= user %>!');
     * compiled({ 'user': 'fred' });
     * // => 'hello fred!'
     *
     * // Use the HTML "escape" delimiter to escape data property values.
     * var compiled = _.template('<b><%- value %></b>');
     * compiled({ 'value': '<script>' });
     * // => '<b>&lt;script&gt;</b>'
     *
     * // Use the "evaluate" delimiter to execute JavaScript and generate HTML.
     * var compiled = _.template('<% _.forEach(users, function(user) { %><li><%- user %></li><% }); %>');
     * compiled({ 'users': ['fred', 'barney'] });
     * // => '<li>fred</li><li>barney</li>'
     *
     * // Use the internal `print` function in "evaluate" delimiters.
     * var compiled = _.template('<% print("hello " + user); %>!');
     * compiled({ 'user': 'barney' });
     * // => 'hello barney!'
     *
     * // Use the ES template literal delimiter as an "interpolate" delimiter.
     * // Disable support by replacing the "interpolate" delimiter.
     * var compiled = _.template('hello ${ user }!');
     * compiled({ 'user': 'pebbles' });
     * // => 'hello pebbles!'
     *
     * // Use backslashes to treat delimiters as plain text.
     * var compiled = _.template('<%= "\\<%- value %\\>" %>');
     * compiled({ 'value': 'ignored' });
     * // => '<%- value %>'
     *
     * // Use the `imports` option to import `jQuery` as `jq`.
     * var text = '<% jq.each(users, function(user) { %><li><%- user %></li><% }); %>';
     * var compiled = _.template(text, { 'imports': { 'jq': jQuery } });
     * compiled({ 'users': ['fred', 'barney'] });
     * // => '<li>fred</li><li>barney</li>'
     *
     * // Use the `sourceURL` option to specify a custom sourceURL for the template.
     * var compiled = _.template('hello <%= user %>!', { 'sourceURL': '/basic/greeting.jst' });
     * compiled(data);
     * // => Find the source of "greeting.jst" under the Sources tab or Resources panel of the web inspector.
     *
     * // Use the `variable` option to ensure a with-statement isn't used in the compiled template.
     * var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' });
     * compiled.source;
     * // => function(data) {
     * //   var __t, __p = '';
     * //   __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';
     * //   return __p;
     * // }
     *
     * // Use custom template delimiters.
     * _.templateSettings.interpolate = /{{([\s\S]+?)}}/g;
     * var compiled = _.template('hello {{ user }}!');
     * compiled({ 'user': 'mustache' });
     * // => 'hello mustache!'
     *
     * // Use the `source` property to inline compiled templates for meaningful
     * // line numbers in error messages and stack traces.
     * fs.writeFileSync(path.join(process.cwd(), 'jst.js'), '\
     *   var JST = {\
     *     "main": ' + _.template(mainText).source + '\
     *   };\
     * ');
     */

/**
     * Creates a copy of the passed Array with falsy values removed.
     * @param {Array/NodeList} arr The Array from which to remove falsy values.
     * @return {Array} The new, compressed Array.
     */

/**
     * Creates a copy of the passed Array, filtered to contain only unique values.
     * @param {Array} arr The Array to filter
     * @return {Array} The new Array containing unique values.
     */

/**
     * Creates a debounced function that delays invoking `func` until after `wait`
     * milliseconds have elapsed since the last time the debounced function was
     * invoked. The debounced function comes with a `cancel` method to cancel
     * delayed `func` invocations and a `flush` method to immediately invoke them.
     * Provide `options` to indicate whether `func` should be invoked on the
     * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
     * with the last arguments provided to the debounced function. Subsequent
     * calls to the debounced function return the result of the last `func`
     * invocation.
     *
     * **Note:** If `leading` and `trailing` options are `true`, `func` is
     * invoked on the trailing edge of the timeout only if the debounced function
     * is invoked more than once during the `wait` timeout.
     *
     * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
     * until to the next tick, similar to `setTimeout` with a timeout of `0`.
     *
     * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
     * for details over the differences between `_.debounce` and `_.throttle`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to debounce.
     * @param {number} [wait=0] The number of milliseconds to delay.
     * @param {Object} [options={}] The options object.
     * @param {boolean} [options.leading=false]
     *  Specify invoking on the leading edge of the timeout.
     * @param {number} [options.maxWait]
     *  The maximum time `func` is allowed to be delayed before it's invoked.
     * @param {boolean} [options.trailing=true]
     *  Specify invoking on the trailing edge of the timeout.
     * @returns {Function} Returns the new debounced function.
     * @example
     *
     * // Avoid costly calculations while the window size is in flux.
     * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
     *
     * // Invoke `sendMail` when clicked, debouncing subsequent calls.
     * jQuery(element).on('click', _.debounce(sendMail, 300, {
     *   'leading': true,
     *   'trailing': false
     * }));
     *
     * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
     * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
     * var source = new EventSource('/stream');
     * jQuery(source).on('message', debounced);
     *
     * // Cancel the trailing debounced invocation.
     * jQuery(window).on('popstate', debounced.cancel);
     */

/**
     * Creates a duplicate-free version of an array, using
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons, in which only the first occurrence of each element
     * is kept. The order of result values is determined by the order they occur
     * in the array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * _.uniq([2, 1, 2]);
     * // => [2, 1]
     */

/**
     * Creates a flattened array of values by running each element in `collection`
     * thru `iteratee` and flattening the mapped results. The iteratee is invoked
     * with three arguments: (value, index|key, collection).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * function duplicate(n) {
     *   return [n, n];
     * }
     *
     * _.flatMap([1, 2], duplicate);
     * // => [1, 1, 2, 2]
     */

/**
     * Creates a function like `_.assign`.
     *
     * @private
     * @param {Function} assigner The function to assign values.
     * @returns {Function} Returns the new assigner function.
     */

/**
     * Creates a function like `_.camelCase`.
     *
     * @private
     * @param {Function} callback The function to combine each word.
     * @returns {Function} Returns the new compounder function.
     */

/**
     * Creates a function like `_.groupBy`.
     *
     * @private
     * @param {Function} setter The function to set accumulator values.
     * @param {Function} [initializer] The accumulator object initializer.
     * @returns {Function} Returns the new aggregator function.
     */

/**
     * Creates a function like `_.invertBy`.
     *
     * @private
     * @param {Function} setter The function to set accumulator values.
     * @param {Function} toIteratee The function to resolve iteratees.
     * @returns {Function} Returns the new inverter function.
     */

/**
     * Creates a function like `_.lowerFirst`.
     *
     * @private
     * @param {string} methodName The name of the `String` case method to use.
     * @returns {Function} Returns the new case function.
     */

/**
     * Creates a function like `_.over`.
     *
     * @private
     * @param {Function} arrayFunc The function to iterate over iteratees.
     * @returns {Function} Returns the new over function.
     */

/**
     * Creates a function like `_.round`.
     *
     * @private
     * @param {string} methodName The name of the `Math` method to use when rounding.
     * @returns {Function} Returns the new round function.
     */

/**
     * Creates a function that accepts arguments of `func` and either invokes
     * `func` returning its result, if at least `arity` number of arguments have
     * been provided, or returns a function that accepts the remaining `func`
     * arguments, and so on. The arity of `func` may be specified if `func.length`
     * is not sufficient.
     *
     * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,
     * may be used as a placeholder for provided arguments.
     *
     * **Note:** This method doesn't set the "length" property of curried functions.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Function
     * @param {Function} func The function to curry.
     * @param {number} [arity=func.length] The arity of `func`.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Function} Returns the new curried function.
     * @example
     *
     * var abc = function(a, b, c) {
     *   return [a, b, c];
     * };
     *
     * var curried = _.curry(abc);
     *
     * curried(1)(2)(3);
     * // => [1, 2, 3]
     *
     * curried(1, 2)(3);
     * // => [1, 2, 3]
     *
     * curried(1, 2, 3);
     * // => [1, 2, 3]
     *
     * // Curried with placeholders.
     * curried(1)(_, 3)(2);
     * // => [1, 2, 3]
     */

/**
     * Creates a function that accepts up to one argument, ignoring any
     * additional arguments.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Function
     * @param {Function} func The function to cap arguments for.
     * @returns {Function} Returns the new capped function.
     * @example
     *
     * _.map(['6', '8', '10'], _.unary(parseInt));
     * // => [6, 8, 10]
     */

/**
     * Creates a function that checks if **all** of the `predicates` return
     * truthy when invoked with the arguments it receives.
     *
     * Following shorthands are possible for providing predicates.
     * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
     * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {...(Function|Function[])} [predicates=[_.identity]]
     *  The predicates to check.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var func = _.overEvery([Boolean, isFinite]);
     *
     * func('1');
     * // => true
     *
     * func(null);
     * // => false
     *
     * func(NaN);
     * // => false
     */

/**
     * Creates a function that either curries or invokes `func` with optional
     * `this` binding and partially applied arguments.
     *
     * @private
     * @param {Function|string} func The function or method name to wrap.
     * @param {number} bitmask The bitmask flags.
     *    1 - `_.bind`
     *    2 - `_.bindKey`
     *    4 - `_.curry` or `_.curryRight` of a bound function
     *    8 - `_.curry`
     *   16 - `_.curryRight`
     *   32 - `_.partial`
     *   64 - `_.partialRight`
     *  128 - `_.rearg`
     *  256 - `_.ary`
     *  512 - `_.flip`
     * @param {*} [thisArg] The `this` binding of `func`.
     * @param {Array} [partials] The arguments to be partially applied.
     * @param {Array} [holders] The `partials` placeholder indexes.
     * @param {Array} [argPos] The argument positions of the new function.
     * @param {number} [ary] The arity cap of `func`.
     * @param {number} [arity] The arity of `func`.
     * @returns {Function} Returns the new wrapped function.
     */

/**
     * Creates a function that gets the argument at index `n`. If `n` is negative,
     * the nth argument from the end is returned.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {number} [n=0] The index of the argument to return.
     * @returns {Function} Returns the new pass-thru function.
     * @example
     *
     * var func = _.nthArg(1);
     * func('a', 'b', 'c', 'd');
     * // => 'b'
     *
     * var func = _.nthArg(-2);
     * func('a', 'b', 'c', 'd');
     * // => 'c'
     */

/**
     * Creates a function that invokes `func` with `partials` prepended to the
     * arguments it receives. This method is like `_.bind` except it does **not**
     * alter the `this` binding.
     *
     * The `_.partial.placeholder` value, which defaults to `_` in monolithic
     * builds, may be used as a placeholder for partially applied arguments.
     *
     * **Note:** This method doesn't set the "length" property of partially
     * applied functions.
     *
     * @static
     * @memberOf _
     * @since 0.2.0
     * @category Function
     * @param {Function} func The function to partially apply arguments to.
     * @param {...*} [partials] The arguments to be partially applied.
     * @returns {Function} Returns the new partially applied function.
     * @example
     *
     * function greet(greeting, name) {
     *   return greeting + ' ' + name;
     * }
     *
     * var sayHelloTo = _.partial(greet, 'hello');
     * sayHelloTo('fred');
     * // => 'hello fred'
     *
     * // Partially applied with placeholders.
     * var greetFred = _.partial(greet, _, 'fred');
     * greetFred('hi');
     * // => 'hi fred'
     */

/**
     * Creates a function that invokes `func` with arguments reversed.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Function
     * @param {Function} func The function to flip arguments for.
     * @returns {Function} Returns the new flipped function.
     * @example
     *
     * var flipped = _.flip(function() {
     *   return _.toArray(arguments);
     * });
     *
     * flipped('a', 'b', 'c', 'd');
     * // => ['d', 'c', 'b', 'a']
     */

/**
     * Creates a function that invokes `func` with its arguments transformed.
     *
     * @static
     * @since 4.0.0
     * @memberOf _
     * @category Function
     * @param {Function} func The function to wrap.
     * @param {...(Function|Function[])} [transforms=[_.identity]]
     *  The argument transforms.
     * @returns {Function} Returns the new function.
     * @example
     *
     * function doubled(n) {
     *   return n * 2;
     * }
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var func = _.overArgs(function(x, y) {
     *   return [x, y];
     * }, [square, doubled]);
     *
     * func(9, 3);
     * // => [81, 6]
     *
     * func(10, 5);
     * // => [100, 10]
     */

/**
     * Creates a function that invokes `func` with the `this` binding of `thisArg`
     * and `partials` prepended to the arguments it receives.
     *
     * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,
     * may be used as a placeholder for partially applied arguments.
     *
     * **Note:** Unlike native `Function#bind`, this method doesn't set the "length"
     * property of bound functions.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to bind.
     * @param {*} thisArg The `this` binding of `func`.
     * @param {...*} [partials] The arguments to be partially applied.
     * @returns {Function} Returns the new bound function.
     * @example
     *
     * function greet(greeting, punctuation) {
     *   return greeting + ' ' + this.user + punctuation;
     * }
     *
     * var object = { 'user': 'fred' };
     *
     * var bound = _.bind(greet, object, 'hi');
     * bound('!');
     * // => 'hi fred!'
     *
     * // Bound with placeholders.
     * var bound = _.bind(greet, object, _, '!');
     * bound('hi');
     * // => 'hi fred!'
     */

/**
     * Creates a function that invokes `func` with the `this` binding of the
     * create function and an array of arguments much like
     * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).
     *
     * **Note:** This method is based on the
     * [spread operator](https://mdn.io/spread_operator).
     *
     * @static
     * @memberOf _
     * @since 3.2.0
     * @category Function
     * @param {Function} func The function to spread arguments over.
     * @param {number} [start=0] The start position of the spread.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var say = _.spread(function(who, what) {
     *   return who + ' says ' + what;
     * });
     *
     * say(['fred', 'hello']);
     * // => 'fred says hello'
     *
     * var numbers = Promise.all([
     *   Promise.resolve(40),
     *   Promise.resolve(36)
     * ]);
     *
     * numbers.then(_.spread(function(x, y) {
     *   return x + y;
     * }));
     * // => a Promise of 76
     */

/**
     * Creates a function that invokes `func` with the `this` binding of the
     * created function and arguments from `start` and beyond provided as
     * an array.
     *
     * **Note:** This method is based on the
     * [rest parameter](https://mdn.io/rest_parameters).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Function
     * @param {Function} func The function to apply a rest parameter to.
     * @param {number} [start=func.length-1] The start position of the rest parameter.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var say = _.rest(function(what, names) {
     *   return what + ' ' + _.initial(names).join(', ') +
     *     (_.size(names) > 1 ? ', & ' : '') + _.last(names);
     * });
     *
     * say('hello', 'fred', 'barney', 'pebbles');
     * // => 'hello fred, barney, & pebbles'
     */

/**
     * Creates a function that invokes `func` with the arguments of the created
     * function. If `func` is a property name, the created function returns the
     * property value for a given element. If `func` is an array or object, the
     * created function returns `true` for elements that contain the equivalent
     * source properties, otherwise it returns `false`.
     *
     * @static
     * @since 4.0.0
     * @memberOf _
     * @category Util
     * @param {*} [func=_.identity] The value to convert to a callback.
     * @returns {Function} Returns the callback.
     * @example
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36, 'active': true },
     *   { 'user': 'fred',   'age': 40, 'active': false }
     * ];
     *
     * // The `_.matches` iteratee shorthand.
     * _.filter(users, _.iteratee({ 'user': 'barney', 'active': true }));
     * // => [{ 'user': 'barney', 'age': 36, 'active': true }]
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.filter(users, _.iteratee(['user', 'fred']));
     * // => [{ 'user': 'fred', 'age': 40 }]
     *
     * // The `_.property` iteratee shorthand.
     * _.map(users, _.iteratee('user'));
     * // => ['barney', 'fred']
     *
     * // Create custom iteratee shorthands.
     * _.iteratee = _.wrap(_.iteratee, function(iteratee, func) {
     *   return !_.isRegExp(func) ? iteratee(func) : function(string) {
     *     return func.test(string);
     *   };
     * });
     *
     * _.filter(['abc', 'def'], /ef/);
     * // => ['def']
     */

/**
     * Creates a function that invokes `func`, with the `this` binding and arguments
     * of the created function, while it's called less than `n` times. Subsequent
     * calls to the created function return the result of the last `func` invocation.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Function
     * @param {number} n The number of calls at which `func` is no longer invoked.
     * @param {Function} func The function to restrict.
     * @returns {Function} Returns the new restricted function.
     * @example
     *
     * jQuery(element).on('click', _.before(5, addContactToList));
     * // => Allows adding up to 4 contacts to the list.
     */

/**
     * Creates a function that invokes `func`, with up to `n` arguments,
     * ignoring any additional arguments.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Function
     * @param {Function} func The function to cap arguments for.
     * @param {number} [n=func.length] The arity cap.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Function} Returns the new capped function.
     * @example
     *
     * _.map(['6', '8', '10'], _.ary(parseInt, 1));
     * // => [6, 8, 10]
     */

/**
     * Creates a function that invokes `iteratees` with the arguments it receives
     * and returns their results.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {...(Function|Function[])} [iteratees=[_.identity]]
     *  The iteratees to invoke.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var func = _.over([Math.max, Math.min]);
     *
     * func(1, 2, 3, 4);
     * // => [4, 1]
     */

/**
     * Creates a function that invokes the method at `object[key]` with `partials`
     * prepended to the arguments it receives.
     *
     * This method differs from `_.bind` by allowing bound functions to reference
     * methods that may be redefined or don't yet exist. See
     * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)
     * for more details.
     *
     * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic
     * builds, may be used as a placeholder for partially applied arguments.
     *
     * @static
     * @memberOf _
     * @since 0.10.0
     * @category Function
     * @param {Object} object The object to invoke the method on.
     * @param {string} key The key of the method.
     * @param {...*} [partials] The arguments to be partially applied.
     * @returns {Function} Returns the new bound function.
     * @example
     *
     * var object = {
     *   'user': 'fred',
     *   'greet': function(greeting, punctuation) {
     *     return greeting + ' ' + this.user + punctuation;
     *   }
     * };
     *
     * var bound = _.bindKey(object, 'greet', 'hi');
     * bound('!');
     * // => 'hi fred!'
     *
     * object.greet = function(greeting, punctuation) {
     *   return greeting + 'ya ' + this.user + punctuation;
     * };
     *
     * bound('!');
     * // => 'hiya fred!'
     *
     * // Bound with placeholders.
     * var bound = _.bindKey(object, 'greet', _, '!');
     * bound('hi');
     * // => 'hiya fred!'
     */

/**
     * Creates a function that invokes the method at `path` of a given object.
     * Any additional arguments are provided to the invoked method.
     *
     * @static
     * @memberOf _
     * @since 3.7.0
     * @category Util
     * @param {Array|string} path The path of the method to invoke.
     * @param {...*} [args] The arguments to invoke the method with.
     * @returns {Function} Returns the new invoker function.
     * @example
     *
     * var objects = [
     *   { 'a': { 'b': _.constant(2) } },
     *   { 'a': { 'b': _.constant(1) } }
     * ];
     *
     * _.map(objects, _.method('a.b'));
     * // => [2, 1]
     *
     * _.map(objects, _.method(['a', 'b']));
     * // => [2, 1]
     */

/**
     * Creates a function that invokes the predicate properties of `source` with
     * the corresponding property values of a given object, returning `true` if
     * all predicates return truthy, else `false`.
     *
     * **Note:** The created function is equivalent to `_.conformsTo` with
     * `source` partially applied.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {Object} source The object of property predicates to conform to.
     * @returns {Function} Returns the new spec function.
     * @example
     *
     * var objects = [
     *   { 'a': 2, 'b': 1 },
     *   { 'a': 1, 'b': 2 }
     * ];
     *
     * _.filter(objects, _.conforms({ 'b': function(n) { return n > 1; } }));
     * // => [{ 'a': 1, 'b': 2 }]
     */

/**
     * Creates a function that is restricted to invoking `func` once. Repeat calls
     * to the function return the value of the first invocation. The `func` is
     * invoked with the `this` binding and arguments of the created function.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to restrict.
     * @returns {Function} Returns the new restricted function.
     * @example
     *
     * var initialize = _.once(createApplication);
     * initialize();
     * initialize();
     * // => `createApplication` is invoked once
     */

/**
     * Creates a function that iterates over `pairs` and invokes the corresponding
     * function of the first predicate to return truthy. The predicate-function
     * pairs are invoked with the `this` binding and arguments of the created
     * function.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {Array} pairs The predicate-function pairs.
     * @returns {Function} Returns the new composite function.
     * @example
     *
     * var func = _.cond([
     *   [_.matches({ 'a': 1 }),           _.constant('matches A')],
     *   [_.conforms({ 'b': _.isNumber }), _.constant('matches B')],
     *   [_.stubTrue,                      _.constant('no match')]
     * ]);
     *
     * func({ 'a': 1, 'b': 2 });
     * // => 'matches A'
     *
     * func({ 'a': 0, 'b': 1 });
     * // => 'matches B'
     *
     * func({ 'a': '1', 'b': '2' });
     * // => 'no match'
     */

/**
     * Creates a function that memoizes the result of `func`. If `resolver` is
     * provided, it determines the cache key for storing the result based on the
     * arguments provided to the memoized function. By default, the first argument
     * provided to the memoized function is used as the map cache key. The `func`
     * is invoked with the `this` binding of the memoized function.
     *
     * **Note:** The cache is exposed as the `cache` property on the memoized
     * function. Its creation may be customized by replacing the `_.memoize.Cache`
     * constructor with one whose instances implement the
     * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
     * method interface of `clear`, `delete`, `get`, `has`, and `set`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to have its output memoized.
     * @param {Function} [resolver] The function to resolve the cache key.
     * @returns {Function} Returns the new memoized function.
     * @example
     *
     * var object = { 'a': 1, 'b': 2 };
     * var other = { 'c': 3, 'd': 4 };
     *
     * var values = _.memoize(_.values);
     * values(object);
     * // => [1, 2]
     *
     * values(other);
     * // => [3, 4]
     *
     * object.a = 2;
     * values(object);
     * // => [1, 2]
     *
     * // Modify the result cache.
     * values.cache.set(object, ['a', 'b']);
     * values(object);
     * // => ['a', 'b']
     *
     * // Replace `_.memoize.Cache`.
     * _.memoize.Cache = WeakMap;
     */

/**
     * Creates a function that negates the result of the predicate `func`. The
     * `func` predicate is invoked with the `this` binding and arguments of the
     * created function.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Function
     * @param {Function} predicate The predicate to negate.
     * @returns {Function} Returns the new negated function.
     * @example
     *
     * function isEven(n) {
     *   return n % 2 == 0;
     * }
     *
     * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));
     * // => [1, 3, 5]
     */

/**
     * Creates a function that performs a mathematical operation on two values.
     *
     * @private
     * @param {Function} operator The function to perform the operation.
     * @param {number} [defaultValue] The value used for `undefined` arguments.
     * @returns {Function} Returns the new mathematical operation function.
     */

/**
     * Creates a function that performs a partial deep comparison between a given
     * object and `source`, returning `true` if the given object has equivalent
     * property values, else `false`.
     *
     * **Note:** The created function is equivalent to `_.isMatch` with `source`
     * partially applied.
     *
     * Partial comparisons will match empty array and empty object `source`
     * values against any array or object value, respectively. See `_.isEqual`
     * for a list of supported value comparisons.
     *
     * **Note:** Multiple values can be checked by combining several matchers
     * using `_.overSome`
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Util
     * @param {Object} source The object of property values to match.
     * @returns {Function} Returns the new spec function.
     * @example
     *
     * var objects = [
     *   { 'a': 1, 'b': 2, 'c': 3 },
     *   { 'a': 4, 'b': 5, 'c': 6 }
     * ];
     *
     * _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));
     * // => [{ 'a': 4, 'b': 5, 'c': 6 }]
     *
     * // Checking for several possible values
     * _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));
     * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
     */

/**
     * Creates a function that performs a partial deep comparison between the
     * value at `path` of a given object to `srcValue`, returning `true` if the
     * object value is equivalent, else `false`.
     *
     * **Note:** Partial comparisons will match empty array and empty object
     * `srcValue` values against any array or object value, respectively. See
     * `_.isEqual` for a list of supported value comparisons.
     *
     * **Note:** Multiple values can be checked by combining several matchers
     * using `_.overSome`
     *
     * @static
     * @memberOf _
     * @since 3.2.0
     * @category Util
     * @param {Array|string} path The path of the property to get.
     * @param {*} srcValue The value to match.
     * @returns {Function} Returns the new spec function.
     * @example
     *
     * var objects = [
     *   { 'a': 1, 'b': 2, 'c': 3 },
     *   { 'a': 4, 'b': 5, 'c': 6 }
     * ];
     *
     * _.find(objects, _.matchesProperty('a', 4));
     * // => { 'a': 4, 'b': 5, 'c': 6 }
     *
     * // Checking for several possible values
     * _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));
     * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
     */

/**
     * Creates a function that performs a relational operation on two values.
     *
     * @private
     * @param {Function} operator The function to perform the operation.
     * @returns {Function} Returns the new relational operation function.
     */

/**
     * Creates a function that produces an instance of `Ctor` regardless of
     * whether it was invoked as part of a `new` expression or by `call` or `apply`.
     *
     * @private
     * @param {Function} Ctor The constructor to wrap.
     * @returns {Function} Returns the new wrapped function.
     */

/**
     * Creates a function that provides `value` to `wrapper` as its first
     * argument. Any additional arguments provided to the function are appended
     * to those provided to the `wrapper`. The wrapper is invoked with the `this`
     * binding of the created function.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {*} value The value to wrap.
     * @param {Function} [wrapper=identity] The wrapper function.
     * @returns {Function} Returns the new function.
     * @example
     *
     * var p = _.wrap(_.escape, function(func, text) {
     *   return '<p>' + func(text) + '</p>';
     * });
     *
     * p('fred, barney, & pebbles');
     * // => '<p>fred, barney, &amp; pebbles</p>'
     */

/**
     * Creates a function that returns `value`.
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Util
     * @param {*} value The value to return from the new function.
     * @returns {Function} Returns the new constant function.
     * @example
     *
     * var objects = _.times(2, _.constant({ 'a': 1 }));
     *
     * console.log(objects);
     * // => [{ 'a': 1 }, { 'a': 1 }]
     *
     * console.log(objects[0] === objects[1]);
     * // => true
     */

/**
     * Creates a function that returns the result of invoking the given functions
     * with the `this` binding of the created function, where each successive
     * invocation is supplied the return value of the previous.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Util
     * @param {...(Function|Function[])} [funcs] The functions to invoke.
     * @returns {Function} Returns the new composite function.
     * @see _.flowRight
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var addSquare = _.flow([_.add, square]);
     * addSquare(1, 2);
     * // => 9
     */

/**
     * Creates a function that returns the value at `path` of a given object.
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Util
     * @param {Array|string} path The path of the property to get.
     * @returns {Function} Returns the new accessor function.
     * @example
     *
     * var objects = [
     *   { 'a': { 'b': 2 } },
     *   { 'a': { 'b': 1 } }
     * ];
     *
     * _.map(objects, _.property('a.b'));
     * // => [2, 1]
     *
     * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
     * // => [1, 2]
     */

/**
     * Creates a function that wraps `func` to continue currying.
     *
     * @private
     * @param {Function} func The function to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {Function} wrapFunc The function to create the `func` wrapper.
     * @param {*} placeholder The placeholder value.
     * @param {*} [thisArg] The `this` binding of `func`.
     * @param {Array} [partials] The arguments to prepend to those provided to
     *  the new function.
     * @param {Array} [holders] The `partials` placeholder indexes.
     * @param {Array} [argPos] The argument positions of the new function.
     * @param {number} [ary] The arity cap of `func`.
     * @param {number} [arity] The arity of `func`.
     * @returns {Function} Returns the new wrapped function.
     */

/**
     * Creates a function that wraps `func` to enable currying.
     *
     * @private
     * @param {Function} func The function to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {number} arity The arity of `func`.
     * @returns {Function} Returns the new wrapped function.
     */

/**
     * Creates a function that wraps `func` to invoke it with optional `this`
     * binding of `thisArg`, partial application, and currying.
     *
     * @private
     * @param {Function|string} func The function or method name to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {*} [thisArg] The `this` binding of `func`.
     * @param {Array} [partials] The arguments to prepend to those provided to
     *  the new function.
     * @param {Array} [holders] The `partials` placeholder indexes.
     * @param {Array} [partialsRight] The arguments to append to those provided
     *  to the new function.
     * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.
     * @param {Array} [argPos] The argument positions of the new function.
     * @param {number} [ary] The arity cap of `func`.
     * @param {number} [arity] The arity of `func`.
     * @returns {Function} Returns the new wrapped function.
     */

/**
     * Creates a function that wraps `func` to invoke it with the `this` binding
     * of `thisArg` and `partials` prepended to the arguments it receives.
     *
     * @private
     * @param {Function} func The function to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {*} thisArg The `this` binding of `func`.
     * @param {Array} partials The arguments to prepend to those provided to
     *  the new function.
     * @returns {Function} Returns the new wrapped function.
     */

/**
     * Creates a function that wraps `func` to invoke it with the optional `this`
     * binding of `thisArg`.
     *
     * @private
     * @param {Function} func The function to wrap.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @param {*} [thisArg] The `this` binding of `func`.
     * @returns {Function} Returns the new wrapped function.
     */

/**
     * Creates a function that'll short out and invoke `identity` instead
     * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
     * milliseconds.
     *
     * @private
     * @param {Function} func The function to restrict.
     * @returns {Function} Returns the new shortable function.
     */

/**
     * Creates a hash object.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */

/**
     * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.
     *
     * @private
     * @constructor
     * @param {*} value The value to wrap.
     */

/**
     * Creates a map cache object to store key-value pairs.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */

/**
     * Creates a new Component from the specified config object using the
     * config object's {@link Ext.component#xtype xtype} to determine the class to instantiate.
     * @param {Object} config A configuration object for the Component you wish to create.
     * @param {Constructor} defaultType The constructor to provide the default Component type if
     * the config object does not contain a <code>xtype</code>. (Optional if the config contains a <code>xtype</code>).
     * @return {Ext.Component} The newly instantiated Component.
     */

/**
     * Creates a new Plugin from the specified config object using the
     * config object's {@link Ext.component#ptype ptype} to determine the class to instantiate.
     * @param {Object} config A configuration object for the Plugin you wish to create.
     * @param {Constructor} defaultType The constructor to provide the default Plugin type if
     * the config object does not contain a <code>ptype</code>. (Optional if the config contains a <code>ptype</code>).
     * @return {Ext.Component} The newly instantiated Plugin.
     */

/**
     * Creates a new array concatenating `array` with any additional arrays
     * and/or values.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to concatenate.
     * @param {...*} [values] The values to concatenate.
     * @returns {Array} Returns the new concatenated array.
     * @example
     *
     * var array = [1];
     * var other = _.concat(array, 2, [3], [[4]]);
     *
     * console.log(other);
     * // => [1, 2, 3, [4]]
     *
     * console.log(array);
     * // => [1]
     */

/**
     * Creates a pause before any subsequent queued effects begin.  If there are
     * no effects queued after the pause it will have no effect.
     * Usage:
    <pre><code>
    el.pause(1);
    </code></pre>
     * @param {Number} seconds The length of time to pause (in seconds)
     * @return {Ext.Element} The Element
     */

/**
     * Creates a set object of `values`.
     *
     * @private
     * @param {Array} values The values to add to the set.
     * @returns {Object} Returns the new set.
     */

/**
     * Creates a shallow clone of `value`.
     *
     * **Note:** This method is loosely based on the
     * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)
     * and supports cloning arrays, array buffers, booleans, date objects, maps,
     * numbers, `Object` objects, regexes, sets, strings, symbols, and typed
     * arrays. The own enumerable properties of `arguments` objects are cloned
     * as plain objects. An empty object is returned for uncloneable values such
     * as error objects, functions, DOM nodes, and WeakMaps.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to clone.
     * @returns {*} Returns the cloned value.
     * @see _.cloneDeep
     * @example
     *
     * var objects = [{ 'a': 1 }, { 'b': 2 }];
     *
     * var shallow = _.clone(objects);
     * console.log(shallow[0] === objects[0]);
     * // => true
     */

/**
     * Creates a slice of `array` excluding elements dropped from the beginning.
     * Elements are dropped until `predicate` returns falsey. The predicate is
     * invoked with three arguments: (value, index, array).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': false },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': true }
     * ];
     *
     * _.dropWhile(users, function(o) { return !o.active; });
     * // => objects for ['pebbles']
     *
     * // The `_.matches` iteratee shorthand.
     * _.dropWhile(users, { 'user': 'barney', 'active': false });
     * // => objects for ['fred', 'pebbles']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.dropWhile(users, ['active', false]);
     * // => objects for ['pebbles']
     *
     * // The `_.property` iteratee shorthand.
     * _.dropWhile(users, 'active');
     * // => objects for ['barney', 'fred', 'pebbles']
     */

/**
     * Creates a slice of `array` excluding elements dropped from the end.
     * Elements are dropped until `predicate` returns falsey. The predicate is
     * invoked with three arguments: (value, index, array).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': true },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': false }
     * ];
     *
     * _.dropRightWhile(users, function(o) { return !o.active; });
     * // => objects for ['barney']
     *
     * // The `_.matches` iteratee shorthand.
     * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });
     * // => objects for ['barney', 'fred']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.dropRightWhile(users, ['active', false]);
     * // => objects for ['barney']
     *
     * // The `_.property` iteratee shorthand.
     * _.dropRightWhile(users, 'active');
     * // => objects for ['barney', 'fred', 'pebbles']
     */

/**
     * Creates a slice of `array` from `start` up to, but not including, `end`.
     *
     * **Note:** This method is used instead of
     * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are
     * returned.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to slice.
     * @param {number} [start=0] The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns the slice of `array`.
     */

/**
     * Creates a slice of `array` with `n` elements dropped from the beginning.
     *
     * @static
     * @memberOf _
     * @since 0.5.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=1] The number of elements to drop.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.drop([1, 2, 3]);
     * // => [2, 3]
     *
     * _.drop([1, 2, 3], 2);
     * // => [3]
     *
     * _.drop([1, 2, 3], 5);
     * // => []
     *
     * _.drop([1, 2, 3], 0);
     * // => [1, 2, 3]
     */

/**
     * Creates a slice of `array` with `n` elements dropped from the end.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=1] The number of elements to drop.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.dropRight([1, 2, 3]);
     * // => [1, 2]
     *
     * _.dropRight([1, 2, 3], 2);
     * // => [1]
     *
     * _.dropRight([1, 2, 3], 5);
     * // => []
     *
     * _.dropRight([1, 2, 3], 0);
     * // => [1, 2, 3]
     */

/**
     * Creates a slice of `array` with `n` elements taken from the beginning.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=1] The number of elements to take.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.take([1, 2, 3]);
     * // => [1]
     *
     * _.take([1, 2, 3], 2);
     * // => [1, 2]
     *
     * _.take([1, 2, 3], 5);
     * // => [1, 2, 3]
     *
     * _.take([1, 2, 3], 0);
     * // => []
     */

/**
     * Creates a slice of `array` with `n` elements taken from the end.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=1] The number of elements to take.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.takeRight([1, 2, 3]);
     * // => [3]
     *
     * _.takeRight([1, 2, 3], 2);
     * // => [2, 3]
     *
     * _.takeRight([1, 2, 3], 5);
     * // => [1, 2, 3]
     *
     * _.takeRight([1, 2, 3], 0);
     * // => []
     */

/**
     * Creates a slice of `array` with elements taken from the beginning. Elements
     * are taken until `predicate` returns falsey. The predicate is invoked with
     * three arguments: (value, index, array).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': false },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': true }
     * ];
     *
     * _.takeWhile(users, function(o) { return !o.active; });
     * // => objects for ['barney', 'fred']
     *
     * // The `_.matches` iteratee shorthand.
     * _.takeWhile(users, { 'user': 'barney', 'active': false });
     * // => objects for ['barney']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.takeWhile(users, ['active', false]);
     * // => objects for ['barney', 'fred']
     *
     * // The `_.property` iteratee shorthand.
     * _.takeWhile(users, 'active');
     * // => []
     */

/**
     * Creates a slice of `array` with elements taken from the end. Elements are
     * taken until `predicate` returns falsey. The predicate is invoked with
     * three arguments: (value, index, array).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': true },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': false }
     * ];
     *
     * _.takeRightWhile(users, function(o) { return !o.active; });
     * // => objects for ['fred', 'pebbles']
     *
     * // The `_.matches` iteratee shorthand.
     * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });
     * // => objects for ['pebbles']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.takeRightWhile(users, ['active', false]);
     * // => objects for ['fred', 'pebbles']
     *
     * // The `_.property` iteratee shorthand.
     * _.takeRightWhile(users, 'active');
     * // => []
     */

/**
     * Creates a stack cache object to store key-value pairs.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */

/**
     * Creates a stylesheet from a text blob of rules.
     * These rules will be wrapped in a STYLE tag and appended to the HEAD of the document.
     * @param {String} cssText The text containing the css rules
     * @param {String} id An id to add to the stylesheet for later removal
     * @return {StyleSheet}
     */

/**
     * Creates a template from source.
     *
     * This method should not be used as a generic way to load templates.
     *
     * @param {string} template The template name
     * @param {string} name An optional name for the template to be used in error messages
     *
     * @return {Promise<TwingTemplate>} A template instance representing the given template name
     *
     * @throws TwingErrorLoader When the template cannot be found
     * @throws TwingErrorSyntax When an error occurred during compilation
     */

/**
     * Creates a template function.
     *
     * @param {string} name Name of this function
     * @param {TwingCallable<any>} callable A callable implementing the function. If null, you need to overwrite the "expression_factory" option to customize compilation.
     * @param {TwingCallableArgument[]} acceptedArguments
     * @param {TwingCallableWrapperOptions} options Options
     */

/**
     * Creates a template test.
     *
     * @param {string} name Name of this test
     * @param {TwingCallable<boolean>} callable A callable implementing the test. If null, you need to overwrite the "node_class" option to customize compilation.
     * @param {TwingCallableArgument[]} acceptedArguments
     * @param {TwingCallableWrapperOptions} options Options
     */

/**
     * Creates a throttled function that only invokes `func` at most once per
     * every `wait` milliseconds. The throttled function comes with a `cancel`
     * method to cancel delayed `func` invocations and a `flush` method to
     * immediately invoke them. Provide `options` to indicate whether `func`
     * should be invoked on the leading and/or trailing edge of the `wait`
     * timeout. The `func` is invoked with the last arguments provided to the
     * throttled function. Subsequent calls to the throttled function return the
     * result of the last `func` invocation.
     *
     * **Note:** If `leading` and `trailing` options are `true`, `func` is
     * invoked on the trailing edge of the timeout only if the throttled function
     * is invoked more than once during the `wait` timeout.
     *
     * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
     * until to the next tick, similar to `setTimeout` with a timeout of `0`.
     *
     * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
     * for details over the differences between `_.throttle` and `_.debounce`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to throttle.
     * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
     * @param {Object} [options={}] The options object.
     * @param {boolean} [options.leading=true]
     *  Specify invoking on the leading edge of the timeout.
     * @param {boolean} [options.trailing=true]
     *  Specify invoking on the trailing edge of the timeout.
     * @returns {Function} Returns the new throttled function.
     * @example
     *
     * // Avoid excessively updating the position while scrolling.
     * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
     *
     * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
     * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
     * jQuery(element).on('click', throttled);
     *
     * // Cancel the trailing throttled invocation.
     * jQuery(window).on('popstate', throttled.cancel);
     */

/**
     * Creates a {@link Ext.CompositeElement} for child nodes based on the passed CSS selector (the selector should not contain an id).
     * @param {String} selector The CSS selector
     * @return {CompositeElement/CompositeElementLite} The composite element
     */

/**
     * Creates an array excluding all given values using
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons.
     *
     * **Note:** Unlike `_.pull`, this method returns a new array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {...*} [values] The values to exclude.
     * @returns {Array} Returns the new array of filtered values.
     * @see _.difference, _.xor
     * @example
     *
     * _.without([2, 1, 2, 3], 1, 2);
     * // => [3]
     */

/**
     * Creates an array of `array` values not included in the other given arrays
     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons. The order and references of result values are
     * determined by the first array.
     *
     * **Note:** Unlike `_.pullAll`, this method returns a new array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {...Array} [values] The values to exclude.
     * @returns {Array} Returns the new array of filtered values.
     * @see _.without, _.xor
     * @example
     *
     * _.difference([2, 1], [2, 3]);
     * // => [1]
     */

/**
     * Creates an array of elements split into groups the length of `size`.
     * If `array` can't be split evenly, the final chunk will be the remaining
     * elements.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to process.
     * @param {number} [size=1] The length of each chunk
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the new array of chunks.
     * @example
     *
     * _.chunk(['a', 'b', 'c', 'd'], 2);
     * // => [['a', 'b'], ['c', 'd']]
     *
     * _.chunk(['a', 'b', 'c', 'd'], 3);
     * // => [['a', 'b', 'c'], ['d']]
     */

/**
     * Creates an array of elements split into two groups, the first of which
     * contains elements `predicate` returns truthy for, the second of which
     * contains elements `predicate` returns falsey for. The predicate is
     * invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the array of grouped elements.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'age': 36, 'active': false },
     *   { 'user': 'fred',    'age': 40, 'active': true },
     *   { 'user': 'pebbles', 'age': 1,  'active': false }
     * ];
     *
     * _.partition(users, function(o) { return o.active; });
     * // => objects for [['fred'], ['barney', 'pebbles']]
     *
     * // The `_.matches` iteratee shorthand.
     * _.partition(users, { 'age': 1, 'active': false });
     * // => objects for [['pebbles'], ['barney', 'fred']]
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.partition(users, ['active', false]);
     * // => objects for [['barney', 'pebbles'], ['fred']]
     *
     * // The `_.property` iteratee shorthand.
     * _.partition(users, 'active');
     * // => objects for [['fred'], ['barney', 'pebbles']]
     */

/**
     * Creates an array of elements, sorted in ascending order by the results of
     * running each element in a collection thru each iteratee. This method
     * performs a stable sort, that is, it preserves the original sort order of
     * equal elements. The iteratees are invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {...(Function|Function[])} [iteratees=[_.identity]]
     *  The iteratees to sort by.
     * @returns {Array} Returns the new sorted array.
     * @example
     *
     * var users = [
     *   { 'user': 'fred',   'age': 48 },
     *   { 'user': 'barney', 'age': 36 },
     *   { 'user': 'fred',   'age': 30 },
     *   { 'user': 'barney', 'age': 34 }
     * ];
     *
     * _.sortBy(users, [function(o) { return o.user; }]);
     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]
     *
     * _.sortBy(users, ['user', 'age']);
     * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]
     */

/**
     * Creates an array of function property names from own and inherited
     * enumerable properties of `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The object to inspect.
     * @returns {Array} Returns the function names.
     * @see _.functions
     * @example
     *
     * function Foo() {
     *   this.a = _.constant('a');
     *   this.b = _.constant('b');
     * }
     *
     * Foo.prototype.c = _.constant('c');
     *
     * _.functionsIn(new Foo);
     * // => ['a', 'b', 'c']
     */

/**
     * Creates an array of function property names from own enumerable properties
     * of `object`.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to inspect.
     * @returns {Array} Returns the function names.
     * @see _.functionsIn
     * @example
     *
     * function Foo() {
     *   this.a = _.constant('a');
     *   this.b = _.constant('b');
     * }
     *
     * Foo.prototype.c = _.constant('c');
     *
     * _.functions(new Foo);
     * // => ['a', 'b']
     */

/**
     * Creates an array of numbers (positive and/or negative) progressing from
     * `start` up to, but not including, `end`. A step of `-1` is used if a negative
     * `start` is specified without an `end` or `step`. If `end` is not specified,
     * it's set to `start` with `start` then set to `0`.
     *
     * **Note:** JavaScript follows the IEEE-754 standard for resolving
     * floating-point values which can produce unexpected results.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {number} [start=0] The start of the range.
     * @param {number} end The end of the range.
     * @param {number} [step=1] The value to increment or decrement by.
     * @returns {Array} Returns the range of numbers.
     * @see _.inRange, _.rangeRight
     * @example
     *
     * _.range(4);
     * // => [0, 1, 2, 3]
     *
     * _.range(-4);
     * // => [0, -1, -2, -3]
     *
     * _.range(1, 5);
     * // => [1, 2, 3, 4]
     *
     * _.range(0, 20, 5);
     * // => [0, 5, 10, 15]
     *
     * _.range(0, -4, -1);
     * // => [0, -1, -2, -3]
     *
     * _.range(1, 4, 0);
     * // => [1, 1, 1]
     *
     * _.range(0);
     * // => []
     */

/**
     * Creates an array of own and inherited enumerable property names and
     * symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names and symbols.
     */

/**
     * Creates an array of own and inherited enumerable string keyed-value pairs
     * for `object` which can be consumed by `_.fromPairs`. If `object` is a map
     * or set, its entries are returned.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @alias entriesIn
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the key-value pairs.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.toPairsIn(new Foo);
     * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)
     */

/**
     * Creates an array of own enumerable property names and symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names and symbols.
     */

/**
     * Creates an array of own enumerable string keyed-value pairs for `object`
     * which can be consumed by `_.fromPairs`. If `object` is a map or set, its
     * entries are returned.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @alias entries
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the key-value pairs.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.toPairs(new Foo);
     * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)
     */

/**
     * Creates an array of shuffled values, using a version of the
     * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to shuffle.
     * @returns {Array} Returns the new shuffled array.
     * @example
     *
     * _.shuffle([1, 2, 3, 4]);
     * // => [4, 1, 3, 2]
     */

/**
     * Creates an array of the enumerable property names of the array-like `value`.
     *
     * @private
     * @param {*} value The value to query.
     * @param {boolean} inherited Specify returning inherited property names.
     * @returns {Array} Returns the array of property names.
     */

/**
     * Creates an array of the own and inherited enumerable property names of `object`.
     *
     * **Note:** Non-object values are coerced to objects.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.keysIn(new Foo);
     * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
     */

/**
     * Creates an array of the own and inherited enumerable string keyed property
     * values of `object`.
     *
     * **Note:** Non-object values are coerced to objects.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property values.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.valuesIn(new Foo);
     * // => [1, 2, 3] (iteration order is not guaranteed)
     */

/**
     * Creates an array of the own and inherited enumerable symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of symbols.
     */

/**
     * Creates an array of the own enumerable property names of `object`.
     *
     * **Note:** Non-object values are coerced to objects. See the
     * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
     * for more details.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.keys(new Foo);
     * // => ['a', 'b'] (iteration order is not guaranteed)
     *
     * _.keys('hi');
     * // => ['0', '1']
     */

/**
     * Creates an array of the own enumerable string keyed property values of `object`.
     *
     * **Note:** Non-object values are coerced to objects.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property values.
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.values(new Foo);
     * // => [1, 2] (iteration order is not guaranteed)
     *
     * _.values('hi');
     * // => ['h', 'i']
     */

/**
     * Creates an array of the own enumerable symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of symbols.
     */

/**
     * Creates an array of unique values that are included in all given arrays
     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons. The order and references of result values are
     * determined by the first array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @returns {Array} Returns the new array of intersecting values.
     * @example
     *
     * _.intersection([2, 1], [2, 3]);
     * // => [2]
     */

/**
     * Creates an array of unique values that is the
     * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)
     * of the given arrays. The order of result values is determined by the order
     * they occur in the arrays.
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @returns {Array} Returns the new array of filtered values.
     * @see _.difference, _.without
     * @example
     *
     * _.xor([2, 1], [2, 3]);
     * // => [1, 3]
     */

/**
     * Creates an array of unique values, in order, from all given arrays using
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @returns {Array} Returns the new array of combined values.
     * @example
     *
     * _.union([2], [1, 2]);
     * // => [2, 1]
     */

/**
     * Creates an array of values by running each element in `collection` thru
     * `iteratee`. The iteratee is invoked with three arguments:
     * (value, index|key, collection).
     *
     * Many lodash methods are guarded to work as iteratees for methods like
     * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
     *
     * The guarded methods are:
     * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
     * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
     * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
     * `template`, `trim`, `trimEnd`, `trimStart`, and `words`
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new mapped array.
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * _.map([4, 8], square);
     * // => [16, 64]
     *
     * _.map({ 'a': 4, 'b': 8 }, square);
     * // => [16, 64] (iteration order is not guaranteed)
     *
     * var users = [
     *   { 'user': 'barney' },
     *   { 'user': 'fred' }
     * ];
     *
     * // The `_.property` iteratee shorthand.
     * _.map(users, 'user');
     * // => ['barney', 'fred']
     */

/**
     * Creates an array that is the composition of partially applied arguments,
     * placeholders, and provided arguments into a single array of arguments.
     *
     * @private
     * @param {Array} args The provided arguments.
     * @param {Array} partials The arguments to prepend to those provided.
     * @param {Array} holders The `partials` placeholder indexes.
     * @params {boolean} [isCurried] Specify composing for a curried function.
     * @returns {Array} Returns the new array of composed arguments.
     */

/**
     * Creates an array with all falsey values removed. The values `false`, `null`,
     * `0`, `""`, `undefined`, and `NaN` are falsey.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to compact.
     * @returns {Array} Returns the new array of filtered values.
     * @example
     *
     * _.compact([0, 1, false, 2, '', 3]);
     * // => [1, 2, 3]
     */

/**
     * Creates an iframe shim for this element to keep selects and other windowed objects from
     * showing through.
     * @return {Ext.Element} The new shim element
     */

/**
     * Creates an list cache object.
     *
     * @private
     * @constructor
     * @param {Array} [entries] The key-value pairs to cache.
     */

/**
     * Creates an object composed of keys generated from the results of running
     * each element of `collection` thru `iteratee`. The corresponding value of
     * each key is the last element responsible for generating the key. The
     * iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
     * @returns {Object} Returns the composed aggregate object.
     * @example
     *
     * var array = [
     *   { 'dir': 'left', 'code': 97 },
     *   { 'dir': 'right', 'code': 100 }
     * ];
     *
     * _.keyBy(array, function(o) {
     *   return String.fromCharCode(o.code);
     * });
     * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }
     *
     * _.keyBy(array, 'dir');
     * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }
     */

/**
     * Creates an object composed of keys generated from the results of running
     * each element of `collection` thru `iteratee`. The corresponding value of
     * each key is the number of times the key was returned by `iteratee`. The
     * iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 0.5.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
     * @returns {Object} Returns the composed aggregate object.
     * @example
     *
     * _.countBy([6.1, 4.2, 6.3], Math.floor);
     * // => { '4': 1, '6': 2 }
     *
     * // The `_.property` iteratee shorthand.
     * _.countBy(['one', 'two', 'three'], 'length');
     * // => { '3': 2, '5': 1 }
     */

/**
     * Creates an object composed of keys generated from the results of running
     * each element of `collection` thru `iteratee`. The order of grouped values
     * is determined by the order they occur in `collection`. The corresponding
     * value of each key is an array of elements responsible for generating the
     * key. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.
     * @returns {Object} Returns the composed aggregate object.
     * @example
     *
     * _.groupBy([6.1, 4.2, 6.3], Math.floor);
     * // => { '4': [4.2], '6': [6.1, 6.3] }
     *
     * // The `_.property` iteratee shorthand.
     * _.groupBy(['one', 'two', 'three'], 'length');
     * // => { '3': ['one', 'two'], '5': ['three'] }
     */

/**
     * Creates an object composed of the `object` properties `predicate` returns
     * truthy for. The predicate is invoked with two arguments: (value, key).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The source object.
     * @param {Function} [predicate=_.identity] The function invoked per property.
     * @returns {Object} Returns the new object.
     * @example
     *
     * var object = { 'a': 1, 'b': '2', 'c': 3 };
     *
     * _.pickBy(object, _.isNumber);
     * // => { 'a': 1, 'c': 3 }
     */

/**
     * Creates an object composed of the inverted keys and values of `object`.
     * If `object` contains duplicate values, subsequent values overwrite
     * property assignments of previous values.
     *
     * @static
     * @memberOf _
     * @since 0.7.0
     * @category Object
     * @param {Object} object The object to invert.
     * @returns {Object} Returns the new inverted object.
     * @example
     *
     * var object = { 'a': 1, 'b': 2, 'c': 1 };
     *
     * _.invert(object);
     * // => { '1': 'c', '2': 'b' }
     */

/**
     * Creates an object composed of the picked `object` properties.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The source object.
     * @param {...(string|string[])} [paths] The property paths to pick.
     * @returns {Object} Returns the new object.
     * @example
     *
     * var object = { 'a': 1, 'b': '2', 'c': 3 };
     *
     * _.pick(object, ['a', 'c']);
     * // => { 'a': 1, 'c': 3 }
     */

/**
     * Creates an object that inherits from the `prototype` object. If a
     * `properties` object is given, its own enumerable string keyed properties
     * are assigned to the created object.
     *
     * @static
     * @memberOf _
     * @since 2.3.0
     * @category Object
     * @param {Object} prototype The object to inherit from.
     * @param {Object} [properties] The properties to assign to the object.
     * @returns {Object} Returns the new object.
     * @example
     *
     * function Shape() {
     *   this.x = 0;
     *   this.y = 0;
     * }
     *
     * function Circle() {
     *   Shape.call(this);
     * }
     *
     * Circle.prototype = _.create(Shape.prototype, {
     *   'constructor': Circle
     * });
     *
     * var circle = new Circle;
     * circle instanceof Circle;
     * // => true
     *
     * circle instanceof Shape;
     * // => true
     */

/**
     * Creates an object with the same keys as `object` and values generated
     * by running each own enumerable string keyed property of `object` thru
     * `iteratee`. The iteratee is invoked with three arguments:
     * (value, key, object).
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns the new mapped object.
     * @see _.mapKeys
     * @example
     *
     * var users = {
     *   'fred':    { 'user': 'fred',    'age': 40 },
     *   'pebbles': { 'user': 'pebbles', 'age': 1 }
     * };
     *
     * _.mapValues(users, function(o) { return o.age; });
     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
     *
     * // The `_.property` iteratee shorthand.
     * _.mapValues(users, 'age');
     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)
     */

/**
     * Creates and wraps this element with another element
     * @param {Object} config (optional) DomHelper element config object for the wrapper element or null for an empty div
     * @param {Boolean} returnDom (optional) True to return the raw DOM element instead of Ext.Element
     * @return {HTMLElement/Element} The newly created wrapper element
     */

/**
     * Creates namespaces to be used for scoping variables and classes so that they are not global.
     * Specifying the last node of a namespace implicitly creates all other nodes. Usage:
     * <pre><code>
    Ext.namespace('Company', 'Company.data');
    Ext.namespace('Company.data'); // equivalent and preferable to above syntax
    Company.Widget = function() { ... }
    Company.data.CustomStore = function(config) { ... }
    </code></pre>
     * @param {String} namespace1
     * @param {String} namespace2
     * @param {String} etc
     * @return {Object} The namespace object. (If multiple arguments are passed, this will be the last namespace created)
     * @method namespace
     */

/**
     * Creates new DOM element(s) and appends them to el.
     * @param {Mixed} el The context element
     * @param {Object/String} o The DOM object spec (and children) or raw HTML blob
     * @param {Boolean} returnElement (optional) true to return a Ext.Element
     * @return {HTMLElement/Ext.Element} The new node
        * @hide (repeat)
     */

/**
     * Creates new DOM element(s) and appends them to el.
     * @param {Mixed} el The context element
     * @param {Object/String} o The DOM object spec (and children) or raw HTML blob
     * @param {Boolean} returnElement (optional) true to return a Ext.Element
     * @return {HTMLElement/Ext.Element} The new node
     */

/**
     * Creates new DOM element(s) and inserts them after el.
     * @param {Mixed} el The context element
     * @param {Object} o The DOM object spec (and children)
     * @param {Boolean} returnElement (optional) true to return a Ext.Element
     * @return {HTMLElement/Ext.Element} The new node
        * @hide (repeat)
     */

/**
     * Creates new DOM element(s) and inserts them after el.
     * @param {Mixed} el The context element
     * @param {Object} o The DOM object spec (and children)
     * @param {Boolean} returnElement (optional) true to return a Ext.Element
     * @return {HTMLElement/Ext.Element} The new node
     */

/**
     * Creates new DOM element(s) and inserts them as the first child of el.
     * @param {Mixed} el The context element
     * @param {Object/String} o The DOM object spec (and children) or raw HTML blob
     * @param {Boolean} returnElement (optional) true to return a Ext.Element
     * @return {HTMLElement/Ext.Element} The new node
        * @hide (repeat)
     */

/**
     * Creates new DOM element(s) and inserts them as the first child of el.
     * @param {Mixed} el The context element
     * @param {Object/String} o The DOM object spec (and children) or raw HTML blob
     * @param {Boolean} returnElement (optional) true to return a Ext.Element
     * @return {HTMLElement/Ext.Element} The new node
     */

/**
     * Creates new DOM element(s) and inserts them before el.
     * @param {Mixed} el The context element
     * @param {Object/String} o The DOM object spec (and children) or raw HTML blob
     * @param {Boolean} returnElement (optional) true to return a Ext.Element
     * @return {HTMLElement/Ext.Element} The new node
        * @hide (repeat)
     */

/**
     * Creates new DOM element(s) and inserts them before el.
     * @param {Mixed} el The context element
     * @param {Object/String} o The DOM object spec (and children) or raw HTML blob
     * @param {Boolean} returnElement (optional) true to return a Ext.Element
     * @return {HTMLElement/Ext.Element} The new node
     */

/**
     * Creates new DOM element(s) and overwrites the contents of el with them.
     * @param {Mixed} el The context element
     * @param {Object/String} o The DOM object spec (and children) or raw HTML blob
     * @param {Boolean} returnElement (optional) true to return a Ext.Element
     * @return {HTMLElement/Ext.Element} The new node
     */

/**
     * Creates new DOM element(s) without inserting them to the document.
     * @param {Object/String} o The DOM object spec (and children) or raw HTML blob
     * @return {HTMLElement} The new uninserted node
     */

/**
     * Creates the padding for `string` based on `length`. The `chars` string
     * is truncated if the number of characters exceeds `length`.
     *
     * @private
     * @param {number} length The padding length.
     * @param {string} [chars=' '] The string used as padding.
     * @returns {string} Returns the padding for `string`.
     */

/**
     * Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element.
     * @param {Object} config DomHelper element config object.  If no tag is specified (e.g., {tag:'input'}) then a div will be
     * automatically generated with the specified attributes.
     * @param {HTMLElement} insertBefore (optional) a child element of this element
     * @param {Boolean} returnDom (optional) true to return the dom node instead of creating an Element
     * @return {Ext.Element} The new child element
     */

/**
     * Data shared with a text builder for combined decluttering.
     * @private
     * @type {import("../canvas.js").DeclutterImageWithText}
     */

/**
     * Data shared with an image builder for combined decluttering.
     * @private
     * @type {import("../canvas.js").DeclutterImageWithText}
     */

/**
     * Deburrs `string` by converting
     * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
     * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
     * letters to basic Latin letters and removing
     * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to deburr.
     * @returns {string} Returns the deburred string.
     * @example
     *
     * _.deburr('déjà vu');
     * // => 'deja vu'
     */

/**
     * Defers invoking the `func` until the current call stack has cleared. Any
     * additional arguments are provided to `func` when it's invoked.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to defer.
     * @param {...*} [args] The arguments to invoke `func` with.
     * @returns {number} Returns the timer id.
     * @example
     *
     * _.defer(function(text) {
     *   console.log(text);
     * }, 'deferred');
     * // => Logs 'deferred' after one millisecond.
     */

/**
     * Defined actions corresponding to remote actions:
     * <pre><code>
    actions: {
    create  : 'create',  // Text representing the remote-action to create records on server.
    read    : 'read',    // Text representing the remote-action to read/load data from server.
    update  : 'update',  // Text representing the remote-action to update records on server.
    destroy : 'destroy'  // Text representing the remote-action to destroy records on server.
    }
     * </code></pre>
     * @property actions
     * @type Object
     */

/**
     * Defined {CRUD action}:{HTTP method} pairs to associate HTTP methods with the
     * corresponding actions for {@link Ext.data.DataProxy#restful RESTful proxies}.
     * Defaults to:
     * <pre><code>
    restActions : {
    create  : 'POST',
    read    : 'GET',
    update  : 'PUT',
    destroy : 'DELETE'
    },
     * </code></pre>
     */

/**
     * Defines a new escaper to be used via the escape filter.
     *
     * @param {string} strategy     The strategy name that should be used as a strategy in the escape call
     * @param {Function} callable   A valid PHP callable
     */

/**
     * Delegated click handler for .waves-effect element.
     * returns null when .waves-effect element not in "click tree"
     */

/**
     * Deprecated API fallback
     */

/**
     * Desired max cache size after expireCache(). If set to 0, no cache entries
     * will be pruned at all.
     * @type {number}
     */

/**
     * Determine whether this object has a request outstanding.
     * @param {Number} transactionId (Optional) defaults to the last transaction
     * @return {Boolean} True if there is an outstanding request.
     */

/**
     * Disable mousedown event for 500ms during and after touch
     */

/**
     * Disable quick tips globally.
     */

/**
     * Disables debugging mode.
     */

/**
     * Disables text selection for this element (normalized across browsers)
     * @return {Ext.Element} this
     */

/**
     * Disables the auto_reload option.
     */

/**
     * Disables the strict_variables option.
     */

/**
     * Display the element's "loading" state. By default, the element is updated with {@link #indicatorText}. This
     * method may be overridden to perform a custom action while this Updater is actively updating its contents.
     */

/**
     * Displays a block.
     *
     * @param {string} name The block name to display
     * @param {any} context The context
     * @param {TwingOutputBuffer} outputBuffer
     * @param {TwingTemplateBlocksMap} blocks The active set of blocks
     * @param {boolean} useBlocks Whether to use the active set of blocks
     *
     * @returns {Promise<void>}
     */

/**
     * Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm).
     * If a callback function is passed it will be called after the user clicks either button,
     * and the id of the button that was clicked will be passed as the only parameter to the callback
     * (could also be the top-right close button).
     * @param {String} title The title bar text
     * @param {String} msg The message box body text
     * @param {Function} fn (optional) The callback function invoked after the message box is closed
     * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to the browser wnidow.
     * @param stateId
     * @return {Ext.MessageBox} this
     */

/**
     * Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt).
     * The prompt can be a single-line or multi-line textbox.  If a callback function is passed it will be called after the user
     * clicks either button, and the id of the button that was clicked (could also be the top-right
     * close button) and the text that was entered will be passed as the two parameters to the callback.
     * @param {String} title The title bar text
     * @param {String} msg The message box body text
     * @param {Function} fn (optional) The callback function invoked after the message box is closed
     * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to the browser wnidow.
     * @param {Boolean/Number} multiline (optional) True to create a multiline textbox using the defaultTextHeight
     * property, or the height in pixels to create the textbox (defaults to false / single-line)
     * @param {String} value (optional) Default value of the text input element (defaults to '')
     * @return {Ext.MessageBox} this
     */

/**
     * Displays a message box with a progress bar.  This message box has no buttons and is not closeable by
     * the user.  You are responsible for updating the progress bar as needed via {@link Ext.MessageBox#updateProgress}
     * and closing the message box when the process is complete.
     * @param {String} title The title bar text
     * @param {String} msg The message box body text
     * @param {String} progressText (optional) The text to display inside the progress bar (defaults to '')
     * @return {Ext.MessageBox} this
     */

/**
     * Displays a message box with an infinitely auto-updating progress bar.  This can be used to block user
     * interaction while waiting for a long-running process to complete that does not have defined intervals.
     * You are responsible for closing the message box when the process is complete.
     * @param {String} msg The message box body text
     * @param {String} title (optional) The title bar text
     * @param {Object} config (optional) A {@link Ext.ProgressBar#waitConfig} object
     * @return {Ext.MessageBox} this
     */

/**
     * Displays a new message box, or reinitializes an existing message box, based on the config options
     * passed in. All display functions (e.g. prompt, alert, etc.) on MessageBox call this function internally,
     * although those calls are basic shortcuts and do not support all of the config options allowed here.
     * <li><b>animEl</b> : String/Element<div class="sub-desc">An id or Element from which the message box should animate as it
     * opens and closes (defaults to undefined)</div></li>
     * <li><b>buttons</b> : Object/Boolean<div class="sub-desc">A button config object (e.g., Ext.MessageBox.OKCANCEL or {ok:'Foo',
     * cancel:'Bar'}), or false to not show any buttons (defaults to false)</div></li>
     * <li><b>closable</b> : Boolean<div class="sub-desc">False to hide the top-right close button (defaults to true). Note that
     * progress and wait dialogs will ignore this property and always hide the close button as they can only
     * be closed programmatically.</div></li>
     * <li><b>cls</b> : String<div class="sub-desc">A custom CSS class to apply to the message box's container element</div></li>
     * <li><b>defaultTextHeight</b> : Number<div class="sub-desc">The default height in pixels of the message box's multiline textarea
     * if displayed (defaults to 75)</div></li>
     * <li><b>fn</b> : Function<div class="sub-desc">A callback function which is called when the dialog is dismissed either
     * by clicking on the configured buttons, or on the dialog close button, or by pressing
     * the return button to enter input.
     * <p>Progress and wait dialogs will ignore this option since they do not respond to user
     * actions and can only be closed programmatically, so any required function should be called
     * by the same code after it closes the dialog. Parameters passed:<ul>
     * <li><b>buttonId</b> : String<div class="sub-desc">The ID of the button pressed, one of:<div class="sub-desc"><ul>
     * <li><tt>ok</tt></li>
     * <li><tt>yes</tt></li>
     * <li><tt>no</tt></li>
     * <li><tt>cancel</tt></li>
     * </ul></div></div></li>
     * <li><b>text</b> : String<div class="sub-desc">Value of the input field if either <tt><a href="#show-option-prompt" ext:member="show-option-prompt" ext:cls="Ext.MessageBox">prompt</a></tt>
     * or <tt><a href="#show-option-multiline" ext:member="show-option-multiline" ext:cls="Ext.MessageBox">multiline</a></tt> is true</div></li>
     * <li><b>opt</b> : Object<div class="sub-desc">The config object passed to show.</div></li>
     * </ul></p></div></li>
     * <li><b>scope</b> : Object<div class="sub-desc">The scope of the callback function</div></li>
     * <li><b>icon</b> : String<div class="sub-desc">A CSS class that provides a background image to be used as the body icon for the
     * dialog (e.g. Ext.MessageBox.WARNING or 'custom-class') (defaults to '')</div></li>
     * <li><b>iconCls</b> : String<div class="sub-desc">The standard {@link Ext.Window#iconCls} to
     * add an optional header icon (defaults to '')</div></li>
     * <li><b>maxWidth</b> : Number<div class="sub-desc">The maximum width in pixels of the message box (defaults to 600)</div></li>
     * <li><b>minWidth</b> : Number<div class="sub-desc">The minimum width in pixels of the message box (defaults to 100)</div></li>
     * <li><b>modal</b> : Boolean<div class="sub-desc">False to allow user interaction with the page while the message box is
     * displayed (defaults to true)</div></li>
     * <li><b>msg</b> : String<div class="sub-desc">A string that will replace the existing message box body text (defaults to the
     * XHTML-compliant non-breaking space character '&amp;#160;')</div></li>
     * <li><a id="show-option-multiline"></a><b>multiline</b> : Boolean<div class="sub-desc">
     * True to prompt the user to enter multi-line text (defaults to false)</div></li>
     * <li><b>progress</b> : Boolean<div class="sub-desc">True to display a progress bar (defaults to false)</div></li>
     * <li><b>progressText</b> : String<div class="sub-desc">The text to display inside the progress bar if progress = true (defaults to '')</div></li>
     * <li><a id="show-option-prompt"></a><b>prompt</b> : Boolean<div class="sub-desc">True to prompt the user to enter single-line text (defaults to false)</div></li>
     * <li><b>proxyDrag</b> : Boolean<div class="sub-desc">True to display a lightweight proxy while dragging (defaults to false)</div></li>
     * <li><b>title</b> : String<div class="sub-desc">The title text</div></li>
     * <li><b>value</b> : String<div class="sub-desc">The string value to set into the active textbox element if displayed</div></li>
     * <li><b>wait</b> : Boolean<div class="sub-desc">True to display a progress bar (defaults to false)</div></li>
     * <li><b>waitConfig</b> : Object<div class="sub-desc">A {@link Ext.ProgressBar#waitConfig} object (applies only if wait = true)</div></li>
     * <li><b>width</b> : Number<div class="sub-desc">The width of the dialog in pixels</div></li>
     * </ul>
     * Example usage:
     * <pre><code>
     Ext.Msg.show({
     title: 'Address',
     msg: 'Please enter your address:',
     width: 300,
     buttons: Ext.MessageBox.OKCANCEL,
     multiline: true,
     fn: saveAddress,
     animEl: 'addAddressBtn',
     icon: Ext.MessageBox.INFO
     });
     </code></pre>
     * @return {Ext.MessageBox} this
     * @param options
     */

/**
     * Displays a parent block.
     *
     * @param {string} name The block name to display from the parent
     * @param {any} context The context
     * @param {TwingOutputBuffer} outputBuffer
     * @param {TwingTemplateBlocksMap} blocks The active set of blocks
     *
     * @returns {Promise<void>}
     */

/**
     * Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt).
     * If a callback function is passed it will be called after the user clicks the button, and the
     * id of the button that was clicked will be passed as the only parameter to the callback
     * (could also be the top-right close button).
     * @param {String} title The title bar text
     * @param {String} msg The message box body text
     * @param {Function} fn (optional) The callback function invoked after the message box is closed
     * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to the browser wnidow.
     * @return {Ext.MessageBox} this
     */

/**
     * Displays a template.
     *
     * @param {string} name The template name
     * @param {{}} context An array of parameters to pass to the template
     * @return {Promise<void>}
     *
     * @throws TwingErrorLoader  When the template cannot be found
     * @throws TwingErrorSyntax  When an error occurred during compilation
     * @throws TwingErrorRuntime When an error occurred during rendering
     */

/**
     * Dot: '.'
     */

/**
     * Dots
     */

/**
     * Double quotes
     */

/**
     * Dynamically swaps an existing stylesheet reference for a new one
     * @param {String} id The id of an existing link tag to remove
     * @param {String} url The href of the new stylesheet to include
     */

/**
     * EXPERIMENTAL - True to cascade listener removal to child elements when an element is removed.
     * Currently not optimized for performance.
     * @type Boolean
     */

/**
     * Emulate dblclick and singleclick. Will be true when only one pointer is active.
     * @type {boolean}
     */

/**
     * Enable quick tips globally.
     */

/**
     * Enables debugging mode.
     */

/**
     * Enables the auto_reload option.
     */

/**
     * Enables the strict_variables option.
     */

/**
     * Enables the wrapper to be iterable.
     *
     * @name Symbol.iterator
     * @memberOf _
     * @since 4.0.0
     * @category Seq
     * @returns {Object} Returns the wrapper object.
     * @example
     *
     * var wrapped = _([1, 2]);
     *
     * wrapped[Symbol.iterator]() === wrapped;
     * // => true
     *
     * Array.from(wrapped);
     * // => [1, 2]
     */

/**
     * Ensures that all effects queued after sequenceFx is called on the element are
     * run in sequence.  This is the opposite of {@link #syncFx}.
     * @return {Ext.Element} The Element
     */

/**
     * Ensures that all effects queued after syncFx is called on the element are
     * run concurrently.  This is the opposite of {@link #sequenceFx}.
     * @return {Ext.Element} The Element
     */

/**
     * Error code. The meaning of the code can be found on
     * https://openlayers.org/en/latest/doc/errors/ (replace `latest` with
     * the version found in the OpenLayers script's header comment if a version
     * other than the latest is used).
     * @type {number}
     * @deprecated ol/AssertionError and error codes will be removed in v8.0
     * @api
     */

/**
     * Escaped characters
     */

/**
     * Escaped chars
     */

/**
     * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+",
     * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to escape.
     * @returns {string} Returns the escaped string.
     * @example
     *
     * _.escapeRegExp('[lodash](https://lodash.com/)');
     * // => '\[lodash\]\(https://lodash\.com/\)'
     */

/**
     * Escapes the passed string for use in a regular expression
     * @param {String} str
     * @return {String}
     */

/**
     * Event handler that fires when a drag/drop obj gets a mousedown
     * @method onMouseDown
     * @param {Event} e the mousedown event
     */

/**
     * Event handler that fires when a drag/drop obj gets a mouseup
     * @method onMouseUp
     * @param {Event} e the mouseup event
     */

/**
     * Exclamation
     */

/**
     * Executed when the linked element is available
     * @method handleOnAvailable
     * @private
     */

/**
     * Executes the chain sequence and returns the wrapped result.
     *
     * @name commit
     * @memberOf _
     * @since 3.2.0
     * @category Seq
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var array = [1, 2];
     * var wrapped = _(array).push(3);
     *
     * console.log(array);
     * // => [1, 2]
     *
     * wrapped = wrapped.commit();
     * console.log(array);
     * // => [1, 2, 3]
     *
     * wrapped.last();
     * // => 3
     *
     * console.log(array);
     * // => [1, 2, 3]
     */

/**
     * Executes the chain sequence to resolve the unwrapped value.
     *
     * @name value
     * @memberOf _
     * @since 0.1.0
     * @alias toJSON, valueOf
     * @category Seq
     * @returns {*} Returns the resolved unwrapped value.
     * @example
     *
     * _([1, 2, 3]).value();
     * // => [1, 2, 3]
     */

/**
     * Executes the specified function once for every window in the group, passing each
     * window as the only parameter. Returning false from the function will stop the iteration.
     * @param {Function} fn The function to execute for each item
     * @param {Object} scope (optional) The scope in which to execute the function
     */

/**
     * Executes the specified function once for every window in this WindowGroup, passing each
     * window as the only parameter. Returning false from the function will stop the iteration.
     * @param {Function} fn The function to execute for each item
     * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the current Window in the iteration.
     */

/**
     * Extent of the world in EPSG:4326. For projections with
     * `TILE_PIXELS` units, this is the extent of the tile in
     * projected coordinate space.
     * @private
     * @type {import("../extent.js").Extent}
     */

/**
     * Extracts the unwrapped value from its lazy wrapper.
     *
     * @private
     * @name value
     * @memberOf LazyWrapper
     * @returns {*} Returns the unwrapped value.
     */

/**
     * Extracts wrapper details from the `source` body comment.
     *
     * @private
     * @param {string} source The source to inspect.
     * @returns {Array} Returns the wrapper details.
     */

/**
     * Fade an element in (from transparent to opaque).  The ending opacity can be specified
     * using the <tt>{@link #endOpacity}</tt> config option.
     * Usage:
    <pre><code>
    // default: fade in from opacity 0 to 100%
    el.fadeIn();
    // custom: fade in from opacity 0 to 75% over 2 seconds
    el.fadeIn({ endOpacity: .75, duration: 2});
    // common config options shown with default values
    el.fadeIn({
     endOpacity: 1, //can be any value between 0 and 1 (e.g. .5)
     easing: 'easeOut',
     duration: .5
    });
    </code></pre>
     * @param {Object} options (optional) Object literal with any of the Fx config options
     * @return {Ext.Element} The Element
     */

/**
     * Fade an element out (from opaque to transparent).  The ending opacity can be specified
     * using the <tt>{@link #endOpacity}</tt> config option.  Note that IE may require
     * <tt>{@link #useDisplay}:true</tt> in order to redisplay correctly.
     * Usage:
    <pre><code>
    // default: fade out from the element's current opacity to 0
    el.fadeOut();
    // custom: fade out from the element's current opacity to 25% over 2 seconds
    el.fadeOut({ endOpacity: .25, duration: 2});
    // common config options shown with default values
    el.fadeOut({
     endOpacity: 0, //can be any value between 0 and 1 (e.g. .5)
     easing: 'easeOut',
     duration: .5,
     remove: false,
     useDisplay: false
    });
    </code></pre>
     * @param {Object} options (optional) Object literal with any of the Fx config options
     * @return {Ext.Element} The Element
     */

/**
     * Fades the element out while slowly expanding it in all directions.  When the effect is completed, the 
     * element will be hidden (visibility = 'hidden') but block elements will still take up space in the document. 
     * The element must be removed from the DOM using the 'remove' config option if desired.
     * Usage:
     *<pre><code>
    // default
    el.puff();
    // common config options shown with default values
    el.puff({
    easing: 'easeOut',
    duration: .5,
    remove: false,
    useDisplay: false
    });
    </code></pre>
     * @param {Object} options (optional) Object literal with any of the Fx config options
     * @return {Ext.Element} The Element
     */

/**
     * Fast UUID generator, RFC4122 version 4 compliant.
     * @author Jeff Ward (jcward.com).
     * @license MIT license
     * @link http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/21963136#21963136
     **/

/**
     * Fills elements of `array` with `value` from `start` up to, but not
     * including, `end`.
     *
     * **Note:** This method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 3.2.0
     * @category Array
     * @param {Array} array The array to fill.
     * @param {*} value The value to fill `array` with.
     * @param {number} [start=0] The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = [1, 2, 3];
     *
     * _.fill(array, 'a');
     * console.log(array);
     * // => ['a', 'a', 'a']
     *
     * _.fill(Array(3), 2);
     * // => [2, 2, 2]
     *
     * _.fill([4, 6, 8, 10], '*', 1, 3);
     * // => [4, '*', '*', 10]
     */

/**
     * Filters an array of elements to only include matches of a simple selector (e.g. div.some-class or span:first-child)
     * @param {Array} el An array of elements to filter
     * @param {String} selector The simple selector to test
     * @param {Boolean} nonMatches If true, it returns the elements that DON'T match
     * the selector instead of the ones that match
     * @return {Array} An Array of DOM elements which match the selector. If there are
     * no matches, and empty Array is returned.
     */

/**
     * Fired when this object is clicked
     * @method handleMouseDown
     * @param {Event} e
     * @param {Ext.dd.DragDrop} oDD the clicked dd object (this dd obj)
     * @private
     */

/**
     * Fired when we are done dragging the object
     * @method endDrag
     * @param {Event} e the mouseup event
     */

/**
     * Fires when virtual nodes are selected
     *
     * @param selected nodes
     */

/**
     * Flattens `array` a single level deep.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to flatten.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * _.flatten([1, [2, [3, [4]], 5]]);
     * // => [1, 2, [3, [4]], 5]
     */

/**
     * Flush (send) contents of the output buffer. The last buffer content is sent to next buffer
     *
     * In human terms, append the top-most buffer to the second-top-most buffer and empty the top-most buffer
     *
     * ┌─────────┐    ┌─────────┐
     * │   oof   │    │         │
     * ├─────────┤    ├─────────┤
     * │   bar   │ => │  baroof │
     * ├─────────┤    ├─────────┤
     * │   foo   │    │   foo   │ => true
     * └─────────┘    └─────────┘
     *
     */

/**
     * Flush (send) the output buffer, and delete current output buffer
     *
     * In human terms: append the top-most buffer to the second-top-most buffer and remove the top-most buffer
     *
     * ┌─────────┐
     * │   oof   │
     * ├─────────┤    ┌─────────┐
     * │   bar   │ -> │  baroof │
     * ├─────────┤    ├─────────┤
     * │   foo   │    │   foo   │ => true
     * └─────────┘    └─────────┘
     *
     * @returns {boolean}
     */

/**
     * Forces subsequent additions into the float:right toolbar
     * <br><p><b>Note</b>: See the notes within {@link Ext.Container#add}.</p>
     */

/**
     * Forces the browser to repaint this element
     * @return {Ext.Element} this
     */

/**
     * Format a number as US currency
     * @param {Number/String} value The numeric value to format
     * @return {String} The formatted currency string
     */

/**
     * Formats the number according to the format string.
     * <div style="margin-left:40px">examples (123456.789):
     * <div style="margin-left:10px">
     * 0 - (123456) show only digits, no precision<br>
     * 0.00 - (123456.78) show only digits, 2 precision<br>
     * 0.0000 - (123456.7890) show only digits, 4 precision<br>
     * 0,000 - (123,456) show comma and digits, no precision<br>
     * 0,000.00 - (123,456.78) show comma and digits, 2 precision<br>
     * 0,0.00 - (123,456.78) shortcut method, show comma and digits, 2 precision<br>
     * To reverse the grouping (,) and decimal (.) for international numbers, add /i to the end.
     * For example: 0.000,00/i
     * </div></div>
     * @param {Number} v The number to format.
     * @param {String} format The way you would like to format this text.
     * @return {String} The formatted number.
     */

/**
     * Generates a unique ID. If `prefix` is given, the ID is appended to it.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {string} [prefix=''] The value to prefix the ID with.
     * @returns {string} Returns the unique ID.
     * @example
     *
     * _.uniqueId('contact_');
     * // => 'contact_104'
     *
     * _.uniqueId();
     * // => '105'
     */

/**
     * Generates unique ids. If the element already has an id, it is unchanged
     * @param {Mixed} el (optional) The element to generate an id for
     * @param {String} prefix (optional) Id prefix (defaults "ext-gen")
     * @return {String} The generated Id.
     */

/**
     * Get a filter by name.
     *
     * @param {string} name
     *
     * @return Twig_Filter|false A Twig_Filter instance or null if the filter does not exist
     */

/**
     * Get a filter by name.
     *
     * @param {string} name The filter name
     *
     * @return {TwingFilter|false} A TwingFilter instance or false if the filter does not exist
     */

/**
     * Get a function by name.
     *
     * @param {string} name         function name
     * @returns {TwingFunction}     A TwingFunction instance or null if the function does not exist
     */

/**
     * Get a function by name.
     *
     * Subclasses may override this method and load functions differently;
     * so no list of functions is available.
     *
     * @param {string} name function name
     *
     * @return {TwingFunction} A TwingFunction instance or null if the function does not exist
     *
     * @internal
     */

/**
     * Get a singleton instance of UTC
     * @return {FixedOffsetZone}
     */

/**
     * Get a singleton instance of the local zone
     * @return {LocalZone}
     */

/**
     * Get a transformed and simplified version of the geometry.
     * @abstract
     * @param {number} revision The geometry revision.
     * @param {number} squaredTolerance Squared tolerance.
     * @param {import("../proj.js").TransformFunction} [transform] Optional transform function.
     * @return {Geometry} Simplified geometry.
     */

/**
     * Get active buffer contents and delete active output buffer
     *
     * In human terms: Remove the top-most buffer and returns its content
     *
     * ┌─────────┐
     * │   oof   │
     * ├─────────┤    ┌─────────┐
     * │   bar   │ -> │   bar   │
     * ├─────────┤    ├─────────┤
     * │   foo   │    │   foo   │ => oof
     * └─────────┘    └─────────┘
     *
     * @returns {string | false}
     */

/**
     * Get active buffer contents, flush (send) the output buffer, and delete active output buffer
     *
     * In human terms: append the top-most buffer to the second-top-most buffer, remove the top-most buffer and returns its content
     *
     * ┌─────────┐
     * │   oof   │
     * ├─────────┤    ┌─────────┐
     * │   bar   │ -> │  baroof │
     * ├─────────┤    ├─────────┤
     * │   foo   │    │   foo   │ => oof
     * └─────────┘    └─────────┘
     *
     * @returns {string | false}
     */

/**
     * Get the Element this Updater is bound to
     * @return {Ext.Element} The element
     */

/**
     * Get the UTC offset of this DateTime in minutes
     * @example DateTime.local().offset //=> -240
     * @example DateTime.utc().offset //=> 0
     * @type {number}
     */

/**
     * Get the callback for returning the current timestamp.
     * @type {function}
     */

/**
     * Get the day of the month (1-30ish).
     * @example DateTime.local(2017, 5, 25).day //=> 25
     * @type {number}
     */

/**
     * Get the day of the week.
     * 1 is Monday and 7 is Sunday
     * @see https://en.wikipedia.org/wiki/ISO_week_date
     * @example DateTime.local(2014, 11, 31).weekday //=> 4
     * @type {number}
     */

/**
     * Get the days.
     * @type {number}
     */

/**
     * Get the default format used by the number_format filter.
     *
     * @return array The arguments for number_format()
     */

/**
     * Get the default locale to create DateTimes with. Does not affect existing instances.
     * @type {string}
     */

/**
     * Get the default numbering system to create DateTimes with. Does not affect existing instances.
     * @type {string}
     */

/**
     * Get the default output calendar to create DateTimes with. Does not affect existing instances.
     * @type {string}
     */

/**
     * Get the default time zone object to create DateTimes in. Does not affect existing instances.
     * @type {Zone}
     */

/**
     * Get the default time zone to create DateTimes in.
     * @type {string}
     */

/**
     * Get the hour of the day (0-23).
     * @example DateTime.local(2017, 5, 25, 9).hour //=> 9
     * @type {number}
     */

/**
     * Get the hours.
     * @type {number}
     */

/**
     * Get the human readable long month name, such as 'October'.
     * Defaults to the system's locale if no locale has been specified
     * @example DateTime.local(2017, 10, 30).monthLong //=> October
     * @type {string}
     */

/**
     * Get the human readable long weekday, such as 'Monday'.
     * Defaults to the system's locale if no locale has been specified
     * @example DateTime.local(2017, 10, 30).weekdayLong //=> Monday
     * @type {string}
     */

/**
     * Get the human readable short month name, such as 'Oct'.
     * Defaults to the system's locale if no locale has been specified
     * @example DateTime.local(2017, 10, 30).monthShort //=> Oct
     * @type {string}
     */

/**
     * Get the human readable short weekday, such as 'Mon'.
     * Defaults to the system's locale if no locale has been specified
     * @example DateTime.local(2017, 10, 30).weekdayShort //=> Mon
     * @type {string}
     */

/**
     * Get the locale of a DateTime, such 'en-GB'. The locale is used when formatting the DateTime
     *
     * @type {string}
     */

/**
     * Get the long human name for the zone's current offset, for example "Eastern Standard Time" or "Eastern Daylight Time".
     * Defaults to the system's locale if no locale has been specified
     * @type {string}
     */

/**
     * Get the millisecond of the second (0-999).
     * @example DateTime.local(2017, 5, 25, 9, 30, 52, 654).millisecond //=> 654
     * @type {number}
     */

/**
     * Get the milliseconds.
     * @return {number}
     */

/**
     * Get the minute of the hour (0-59).
     * @example DateTime.local(2017, 5, 25, 9, 30).minute //=> 30
     * @type {number}
     */

/**
     * Get the minutes.
     * @type {number}
     */

/**
     * Get the month (1-12).
     * @example DateTime.local(2017, 5, 25).month //=> 5
     * @type {number}
     */

/**
     * Get the months.
     * @type {number}
     */

/**
     * Get the name of the time zone.
     * @type {string}
     */

/**
     * Get the numbering system of a DateTime, such 'beng'. The numbering system is used when formatting the DateTime
     *
     * @type {string}
     */

/**
     * Get the numbering system of a Duration, such 'beng'. The numbering system is used when formatting the Duration
     *
     * @type {string}
     */

/**
     * Get the ordinal (meaning the day of the year)
     * @example DateTime.local(2017, 5, 25).ordinal //=> 145
     * @type {number|DateTime}
     */

/**
     * Get the output calendar of a DateTime, such 'islamic'. The output calendar is used when formatting the DateTime
     *
     * @type {string}
     */

/**
     * Get the quarter
     * @example DateTime.local(2017, 5, 25).quarter //=> 2
     * @type {number}
     */

/**
     * Get the quarters.
     * @type {number}
     */

/**
     * Get the second of the minute (0-59).
     * @example DateTime.local(2017, 5, 25, 9, 30, 52).second //=> 52
     * @type {number}
     */

/**
     * Get the seconds.
     * @return {number}
     */

/**
     * Get the short human name for the zone's current offset, for example "EST" or "EDT".
     * Defaults to the system's locale if no locale has been specified
     * @type {string}
     */

/**
     * Get the time zone associated with this DateTime.
     * @type {Zone}
     */

/**
     * Get the week number of the week year (1-52ish).
     * @see https://en.wikipedia.org/wiki/ISO_week_date
     * @example DateTime.local(2017, 5, 25).weekNumber //=> 21
     * @type {number}
     */

/**
     * Get the week year
     * @see https://en.wikipedia.org/wiki/ISO_week_date
     * @example DateTime.local(2014, 11, 31).weekYear //=> 2015
     * @type {number}
     */

/**
     * Get the weeks
     * @type {number}
     */

/**
     * Get the year
     * @example DateTime.local(2017, 5, 25).year //=> 2017
     * @type {number}
     */

/**
     * Get whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals
     * @type {boolean}
     */

/**
     * Get whether the DateTime is in a DST.
     * @type {boolean}
     */

/**
     * Get whether this zone's offset ever changes, as in a DST.
     * @type {boolean}
     */

/**
     * Gets `n` random elements at unique keys from `collection` up to the
     * size of `collection`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to sample.
     * @param {number} [n=1] The number of elements to sample.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the random elements.
     * @example
     *
     * _.sampleSize([1, 2, 3], 2);
     * // => [3, 1]
     *
     * _.sampleSize([1, 2, 3], 4);
     * // => [2, 3, 1]
     */

/**
     * Gets a random element from `collection`.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to sample.
     * @returns {*} Returns the random element.
     * @example
     *
     * _.sample([1, 2, 3, 4]);
     * // => 2
     */

/**
     * Gets a registered window by id.
     * @param {String/Object} id The id of the window or a {@link Ext.Window} instance
     * @return {Ext.Window}
     */

/**
     * Gets a registered window by name.
     * @param {String/Object} name The name of the window or a browser window object
     * @return {Ext.ux.PopupWindow}
     */

/**
     * Gets a test by name.
     *
     * @param {string} name The test name
     * @return {TwingTest} A TwingTest instance or null if the test does not exist
     */

/**
     * Gets a test by name.
     *
     * @param {string} name The test name
     * @returns {TwingTest} A TwingTest instance or null if the test does not exist
     */

/**
     * Gets all but the first element of `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to query.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.tail([1, 2, 3]);
     * // => [2, 3]
     */

/**
     * Gets all but the last element of `array`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to query.
     * @returns {Array} Returns the slice of `array`.
     * @example
     *
     * _.initial([1, 2, 3]);
     * // => [1, 2]
     */

/**
     * Gets all css rules for the document
     * @param {Boolean} refreshCache true to refresh the internal cache
     * @return {Object} An object (hash) of rules indexed by selector
     */

/**
     * Gets all defined escapers.
     *
     * @returns {Map<string, Function>}
     */

/**
     * Gets an an individual CSS rule by selector(s)
     * @param {String/Array} selector The CSS selector or an array of selectors to try. The first selector that is found is returned.
     * @param {Boolean} refreshCache true to refresh the internal cache if you have recently updated any rules or added styles dynamically
     * @return {CSSRule} The CSS rule or null if one is not found
     */

/**
     * Gets an extension by name.
     *
     * @param {string} name
     * @return {TwingExtensionInterface}
     */

/**
     * Gets metadata for `func`.
     *
     * @private
     * @param {Function} func The function to query.
     * @returns {*} Returns the metadata for `func`.
     */

/**
     * Gets registered functions.
     *
     * Be warned that this method cannot return functions defined with registerUndefinedFunctionCallback.
     *
     * @return Twig_Function[]
     *
     * @see registerUndefinedFunctionCallback
     *
     * @internal
     */

/**
     * Gets registered tags.
     *
     * @return Map<string, TwingTokenParserInterface>
     *
     * @internal
     */

/**
     * Gets the Loader instance.
     *
     * @return TwingLoaderInterface
     */

/**
     * Gets the active cache implementation.
     *
     * @param {boolean} original Whether to return the original cache option or the real cache instance
     *
     * @return {TwingCacheInterface|string|false} A TwingCacheInterface implementation, an absolute path to the compiled templates or false to disable cache
     */

/**
     * Gets the appropriate "iteratee" function. If `_.iteratee` is customized,
     * this function returns the custom method, otherwise it returns `baseIteratee`.
     * If arguments are provided, the chosen function is invoked with them and
     * its result is returned.
     *
     * @private
     * @param {*} [value] The value to convert to an iteratee.
     * @param {number} [arity] The arity of the created iteratee.
     * @returns {Function} Returns the chosen function or its result.
     */

/**
     * Gets the argument placeholder value for `func`.
     *
     * @private
     * @param {Function} func The function to inspect.
     * @returns {*} Returns the placeholder value.
     */

/**
     * Gets the bottom Y coordinate of the element (element Y position + element height)
     * @param {Boolean} local True to get the local css position instead of page coordinate
     * @return {Number}
     */

/**
     * Gets the character code for the event.
     * @return {Number}
     */

/**
     * Gets the currently configured state provider
     * @return {Provider} The state provider
     */

/**
     * Gets the currently-active window in the group.
     * @return {Ext.Window} The active window
     */

/**
     * Gets the currently-active window in this WindowGroup.
     * @return {Ext.Window} The active window
     */

/**
     * Gets the data for `map`.
     *
     * @private
     * @param {Object} map The map to query.
     * @param {string} key The reference key.
     * @returns {*} Returns the map data.
     */

/**
     * Gets the default escaping strategy.
     *
     * @param {string} name The template name
     *
     * @returns {string | false} The default strategy to use for the template
     */

/**
     * Gets the default format to be used by the date filter.
     *
     * @return array The default date format string and the default date interval format string
     */

/**
     * Gets the default template charset.
     *
     * @return {string} The default charset
     */

/**
     * Gets the default timezone to be used by the date filter.
     *
     * @returns {string} The default timezone currently in use
     */

/**
     * Gets the element at index `n` of `array`. If `n` is negative, the nth
     * element from the end is returned.
     *
     * @static
     * @memberOf _
     * @since 4.11.0
     * @category Array
     * @param {Array} array The array to query.
     * @param {number} [n=0] The index of the element to return.
     * @returns {*} Returns the nth element of `array`.
     * @example
     *
     * var array = ['a', 'b', 'c', 'd'];
     *
     * _.nth(array, 1);
     * // => 'b'
     *
     * _.nth(array, -2);
     * // => 'c';
     */

/**
     * Gets the first child, skipping text nodes
     * @param {String} selector (optional) Find the next sibling that matches the passed simple selector
     * @param {Boolean} returnDom (optional) True to return a raw dom node instead of an Ext.Element
     * @return {Ext.Element/HTMLElement} The first child or null
    */

/**
     * Gets the first element of `array`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @alias first
     * @category Array
     * @param {Array} array The array to query.
     * @returns {*} Returns the first element of `array`.
     * @example
     *
     * _.head([1, 2, 3]);
     * // => 1
     *
     * _.head([]);
     * // => undefined
     */

/**
     * Gets the global QuickTips instance.
     */

/**
     * Gets the hash value for `key`.
     *
     * @private
     * @name get
     * @memberOf Hash
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */

/**
     * Gets the index at which the `key` is found in `array` of key-value pairs.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {*} key The key to search for.
     * @returns {number} Returns the index of the matched value, else `-1`.
     */

/**
     * Gets the index at which the first occurrence of `value` is found in `array`
     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons. If `fromIndex` is negative, it's used as the
     * offset from the end of `array`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {*} value The value to search for.
     * @param {number} [fromIndex=0] The index to search from.
     * @returns {number} Returns the index of the matched value, else `-1`.
     * @example
     *
     * _.indexOf([1, 2, 1, 2], 2);
     * // => 1
     *
     * // Search from the `fromIndex`.
     * _.indexOf([1, 2, 1, 2], 2, 2);
     * // => 3
     */

/**
     * Gets the last child, skipping text nodes
     * @param {String} selector (optional) Find the previous sibling that matches the passed simple selector
     * @param {Boolean} returnDom (optional) True to return a raw dom node instead of an Ext.Element
     * @return {Ext.Element/HTMLElement} The last child or null
    */

/**
     * Gets the last element of `array`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to query.
     * @returns {*} Returns the last element of `array`.
     * @example
     *
     * _.last([1, 2, 3]);
     * // => 3
     */

/**
     * Gets the left X coordinate
     * @param {Boolean} local True to get the local css position instead of page coordinate
     * @return {Number}
     */

/**
     * Gets the list cache value for `key`.
     *
     * @private
     * @name get
     * @memberOf ListCache
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */

/**
     * Gets the map value for `key`.
     *
     * @private
     * @name get
     * @memberOf MapCache
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */

/**
     * Gets the name of `func`.
     *
     * @private
     * @param {Function} func The function to query.
     * @returns {string} Returns the function name.
     */

/**
     * Gets the native function at `key` of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {string} key The key of the method to get.
     * @returns {*} Returns the function if it's native, else `undefined`.
     */

/**
     * Gets the next value on a wrapped object following the
     * [iterator protocol](https://mdn.io/iteration_protocols#iterator).
     *
     * @name next
     * @memberOf _
     * @since 4.0.0
     * @category Seq
     * @returns {Object} Returns the next iterator value.
     * @example
     *
     * var wrapped = _([1, 2]);
     *
     * wrapped.next();
     * // => { 'done': false, 'value': 1 }
     *
     * wrapped.next();
     * // => { 'done': false, 'value': 2 }
     *
     * wrapped.next();
     * // => { 'done': true, 'value': undefined }
     */

/**
     * Gets the page coordinates of the event.
     * @return {Array} The xy values like [x, y]
     */

/**
     * Gets the parent value at `path` of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Array} path The path to get the parent value of.
     * @returns {*} Returns the parent value.
     */

/**
     * Gets the pressed button in the passed group or null
     * @param {String} group
     * @return Button
     */

/**
     * Gets the previous sibling, skipping text nodes
     * @param {String} selector (optional) Find the previous sibling that matches the passed simple selector
     * @param {Boolean} returnDom (optional) True to return a raw dom node instead of an Ext.Element
     * @return {Ext.Element/HTMLElement} The previous sibling or null
    */

/**
     * Gets the property names, values, and compare flags of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the match data of `object`.
     */

/**
     * Gets the raw message.
     *
     * @return string The raw message
     */

/**
     * Gets the registered Filters.
     *
     * Be warned that this method cannot return filters defined with registerUndefinedFilterCallback.
     *
     * @return Twig_Filter[]
     *
     * @see registerUndefinedFilterCallback
     *
     * @internal
     */

/**
     * Gets the registered Globals.
     *
     * @return Map<any, any> A map of globals
     */

/**
     * Gets the registered Node Visitors.
     *
     * @return {Array<TwingNodeVisitorInterface>}
     *
     * @internal
     */

/**
     * Gets the registered Tests.
     *
     * @return {Map<string, TwingTest>}
     */

/**
     * Gets the registered Token Parsers.
     *
     * @return {Array<TwingTokenParserInterface>}
     *
     * @internal
     */

/**
     * Gets the registered binary Operators.
     *
     * @return Map<string, TwingOperator> A map of binary operators
     */

/**
     * Gets the registered binary Operators.
     *
     * @return Map<string, TwingOperator> An array of binary operators
     *
     * @internal
     */

/**
     * Gets the registered unary Operators.
     *
     * @return Map<string, TwingOperator> A map of unary operator definitions
     */

/**
     * Gets the registered unary Operators.
     *
     * @return Map<string, TwingOperator> A map of unary operators
     *
     * @internal
     */

/**
     * Gets the related target.
     * @return {HTMLElement}
     */

/**
     * Gets the right X coordinate of the element (element X position + element width)
     * @param {Boolean} local True to get the local css position instead of page coordinate
     * @return {Number}
     */

/**
     * Gets the size of `collection` by returning its length for array-like
     * values or the number of own enumerable string keyed properties for objects.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object|string} collection The collection to inspect.
     * @returns {number} Returns the collection size.
     * @example
     *
     * _.size([1, 2, 3]);
     * // => 3
     *
     * _.size({ 'a': 1, 'b': 2 });
     * // => 2
     *
     * _.size('pebbles');
     * // => 7
     */

/**
     * Gets the source associated with this stream.
     *
     * @return TwingSource
     */

/**
     * Gets the source context of the Twig template where the error occurred.
     *
     * @return {TwingSource}
     */

/**
     * Gets the stack value for `key`.
     *
     * @private
     * @name get
     * @memberOf Stack
     * @param {string} key The key of the value to get.
     * @returns {*} Returns the entry value.
     */

/**
     * Gets the target for the event.
     * @param {String} selector (optional) A simple selector to filter the target or look for an ancestor of the target
     * @param {Number/Mixed} maxDepth (optional) The max depth to
            search as a number or element (defaults to 10 || document.body)
     * @param {Boolean} returnEl (optional) True to return a Ext.Element object instead of DOM node
     * @return {HTMLelement}
     */

/**
     * Gets the template class associated with the given string.
     *
     * The generated template class is based on the following parameters:
     *
     *  * The cache key for the given template;
     *  * The currently enabled extensions;
     *  * Twing version;
     *  * Options with what environment was created.
     *
     * @param {string} name The name for which to calculate the template class name
     * @param {number} index The index of the template
     * @param {TwingSource} from The source that initiated the template loading
     *
     * @return {Promise<string>} The template hash
     */

/**
     * Gets the template line where the error occurred.
     *
     * @return int The template line
     */

/**
     * Gets the timestamp of the number of milliseconds that have elapsed since
     * the Unix epoch (1 January 1970 00:00:00 UTC).
     *
     * @static
     * @memberOf _
     * @since 2.4.0
     * @category Date
     * @returns {number} Returns the timestamp.
     * @example
     *
     * _.defer(function(stamp) {
     *   console.log(_.now() - stamp);
     * }, _.now());
     * // => Logs the number of milliseconds it took for the deferred invocation.
     */

/**
     * Gets the top Y coordinate
     * @param {Boolean} local True to get the local css position instead of page coordinate
     * @return {Number}
     */

/**
     * Gets the value at `key`, unless `key` is "__proto__" or "constructor".
     *
     * @private
     * @param {Object} object The object to query.
     * @param {string} key The key of the property to get.
     * @returns {*} Returns the property value.
     */

/**
     * Gets the value at `path` of `object`. If the resolved value is
     * `undefined`, the `defaultValue` is returned in its place.
     *
     * @static
     * @memberOf _
     * @since 3.7.0
     * @category Object
     * @param {Object} object The object to query.
     * @param {Array|string} path The path of the property to get.
     * @param {*} [defaultValue] The value returned for `undefined` resolved values.
     * @returns {*} Returns the resolved value.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 3 } }] };
     *
     * _.get(object, 'a[0].b.c');
     * // => 3
     *
     * _.get(object, ['a', '0', 'b', 'c']);
     * // => 3
     *
     * _.get(object, 'a.b.c', 'default');
     * // => 'default'
     */

/**
     * Gets the view, applying any `transforms` to the `start` and `end` positions.
     *
     * @private
     * @param {number} start The start of the view.
     * @param {number} end The end of the view.
     * @param {Array} transforms The transformations to apply to the view.
     * @returns {Object} Returns an object containing the `start` and `end`
     *  positions of the view.
     */

/**
     * Gets the width of the border(s) for the specified side(s)
     * @param {String} side Can be t, l, r, b or any combination of those to add multiple values. For example,
     * passing <tt>'lr'</tt> would get the border <b><u>l</u></b>eft width + the border <b><u>r</u></b>ight width.
     * @return {Number} The width of the sides passed added together
     */

/**
     * Gets the width of the padding(s) for the specified side(s)
     * @param {String} side Can be t, l, r, b or any combination of those to add multiple values. For example,
     * passing <tt>'lr'</tt> would get the padding <b><u>l</u></b>eft + the padding <b><u>r</u></b>ight.
     * @return {Number} The padding of the sides passed added together
     */

/**
     * Gets the x coordinate of the event.
     * @return {Number}
     */

/**
     * Gets the y coordinate of the event.
     * @return {Number}
     */

/**
     * Hide the effect and remove the ripple. Must be
     * a separate function to pass the JSLint...
     */

/**
     * Hide this element - Uses display mode to determine whether to use "display" or "visibility". See {@link #setVisible}.
     * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
     * @return {Ext.Element} this
     */

/**
     * Hides all menus that are currently visible
     * @return {Boolean} success True if any active menus were hidden.
     */

/**
     * Hides all windows in the group.
     */

/**
     * Hides all windows in this WindowGroup.
     */

/**
     * Hides the message box if it is displayed
     * @return {Ext.MessageBox} this
     */

/**
     * Highlights the Element by setting a color (applies to the background-color by default, but can be
     * changed using the "attr" config option) and then fading back to the original color. If no original
     * color is available, you should provide the "endColor" config option which will be cleared after the animation.
     * Usage:
    <pre><code>
    // default: highlight background to yellow
    el.highlight();
    // custom: highlight foreground text to blue for 2 seconds
    el.highlight("0000ff", { attr: 'color', duration: 2 });
    // common config options shown with default values
    el.highlight("ffff9c", {
    attr: "background-color", //can be any valid CSS property (attribute) that supports a color value
    endColor: (current color) or "ffffff",
    easing: 'easeIn',
    duration: 1
    });
    </code></pre>
     * @param {String} color (optional) The highlight color. Should be a 6 char hex color without the leading # (defaults to yellow: 'ffff9c')
     * @param {Object} options (optional) Object literal with any of the Fx config options
     * @return {Ext.Element} The Element
     */

/**
     * If this Window is configured {@link #draggable}, this property will contain
     * an instance of {@link Ext.dd.DD} which handles dragging the Window's DOM Element.
     * @type Ext.dd.DD
     * @property dd
     */

/**
     * If we're inside a quoted string, continue
     * until we reach the closing double quote.
     */

/**
     * If we're inside a regex character class, continue
     * until we reach the closing bracket.
     */

/**
     * Image URI
     *
     * @private
     * @type {string}
     */

/**
     * Indents the generated code.
     *
     * @param {number} step The number of indentation to add
     *
     * @returns TwingCompiler
     */

/**
     * Indicates if the map is currently being dragged. Only set for
     * `POINTERDRAG` and `POINTERMOVE` events. Default is `false`.
     *
     * @type {boolean}
     * @api
     */

/**
     * Indicates that the triangulation crosses edge of the source projection.
     * @type {boolean}
     * @private
     */

/**
     * Indicates whether to use native browser parsing for JSON methods.
     * This option is ignored if the browser does not support native JSON methods.
     * <b>Note: Native JSON methods will not work with objects that have functions.
     * Also, property names must be quoted, otherwise the data will not parse.</b> (Defaults to false)
     * @type Boolean
     */

/**
     * Indicator for the record position.  This property might be used to get the active page
     * number for example:<pre><code>
     * // t is reference to the paging toolbar instance
     * var activePage = Math.ceil((t.cursor + t.pageSize) / t.pageSize);
     * </code></pre>
     * @type Number
     * @property cursor
     */

/**
     * Individual drag/drop instances can be locked.  This will prevent
     * onmousedown start drag.
     * @property locked
     * @type boolean
     * @private
     */

/**
     * Initialize the global History instance.
     * @param {Boolean} onReady (optional) A callback function that will be called once the history
     * component is fully initialized.
     * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to the browser window.
     */

/**
     * Initialize the global QuickTips instance and prepare any quick tips.
     * @param {Boolean} autoRender True to render the QuickTips container immediately to preload images. (Defaults to true) 
     */

/**
     * Initializes Targeting functionality only... the object does not
     * get a mousedown handler.
     * @method initTarget
     * @param id the id of the linked element
     * @param {String} sGroup the group of related items
     * @param {object} config configuration attributes
     */

/**
     * Initializes an array clone.
     *
     * @private
     * @param {Array} array The array to clone.
     * @returns {Array} Returns the initialized clone.
     */

/**
     * Initializes an object clone based on its `toStringTag`.
     *
     * **Note:** This function only supports cloning values with tags of
     * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
     *
     * @private
     * @param {Object} object The object to clone.
     * @param {string} tag The `toStringTag` of the object to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Object} Returns the initialized clone.
     */

/**
     * Initializes an object clone.
     *
     * @private
     * @param {Object} object The object to clone.
     * @returns {Object} Returns the initialized clone.
     */

/**
     * Initializes the drag drop object's constraints to restrict movement to a certain element.
    *
    * Usage:
    <pre><code>
    var dd = new Ext.dd.DDProxy("dragDiv1", "proxytest",
                { dragElId: "existingProxyDiv" });
    dd.startDrag = function(){
     this.constrainTo("parent-id");
    };
    </code></pre>
    * Or you can initalize it using the {@link Ext.Element} object:
    <pre><code>
    Ext.get("dragDiv1").initDDProxy("proxytest", {dragElId: "existingProxyDiv"}, {
     startDrag : function(){
         this.constrainTo("parent-id");
     }
    });
    </code></pre>
     * @param {Mixed} constrainTo The element to constrain to.
     * @param {Object/Number} pad (optional) Pad provides a way to specify "padding" of the constraints,
     * and can be either a number for symmetrical padding (4 would be equal to {left:4, right:4, top:4, bottom:4}) or
     * an object containing the sides to pad. For example: {right:10, bottom:10}
     * @param {Boolean} inContent (optional) Constrain the draggable in the content box of the element (inside padding and borders)
     */

/**
     * Inject tokens after the current one.
     *
     * @param tokens
     */

/**
     * Inserts (or creates) an element (or DomHelper config) as the first child of this element
     * @param {Mixed/Object} el The id or element to insert or a DomHelper config to create and insert
     * @return {Ext.Element} The new child
     */

/**
     * Inserts an HTML fragment into the DOM.
     * @param {String} where Where to insert the html in relation to el - beforeBegin, afterBegin, beforeEnd, afterEnd.
     * @param {HTMLElement} el The context element
     * @param {String} html The HTML fragment
     * @return {HTMLElement} The new node
     */

/**
     * Inserts an html fragment into this element
     * @param {String} where Where to insert the html in relation to this element - beforeBegin, afterBegin, beforeEnd, afterEnd.
     * @param {String} html The HTML fragment
     * @param {Boolean} returnEl (optional) True to return an Ext.Element (defaults to false)
     * @return {HTMLElement/Ext.Element} The inserted node (or nearest related if more than 1 inserted)
     */

/**
     * Inserts any {@link Ext.Toolbar.Item}/{@link Ext.Button} at the specified index.
     * <br><p><b>Note</b>: See the notes within {@link Ext.Container#add}.</p>
     * @param {Number} index The index where the item is to be inserted
     * @param {Object/Ext.Toolbar.Item/Ext.Button/Array} item The button, or button config object to be
     * inserted, or an array of buttons/configs.
     * @return {Ext.Button/Item}
     */

/**
     * Inserts this element after the passed element in the DOM
     * @param {Mixed} el The element to insert after
     * @return {Ext.Element} this
     */

/**
     * Inserts this element before the passed element in the DOM
     * @param {Mixed} el The element before which this element will be inserted
     * @return {Ext.Element} this
     */

/**
     * Inserts wrapper `details` in a comment at the top of the `source` body.
     *
     * @private
     * @param {string} source The source to modify.
     * @returns {Array} details The details to insert.
     * @returns {string} Returns the modified source.
     */

/**
     * Internal typeof flag
     * @property __ygDragDrop
     * @private
     */

/**
     * Invalid chars
     */

/**
     * Invokes `func` after `wait` milliseconds. Any additional arguments are
     * provided to `func` when it's invoked.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {Function} func The function to delay.
     * @param {number} wait The number of milliseconds to delay invocation.
     * @param {...*} [args] The arguments to invoke `func` with.
     * @returns {number} Returns the timer id.
     * @example
     *
     * _.delay(function(text) {
     *   console.log(text);
     * }, 1000, 'later');
     * // => Logs 'later' after one second.
     */

/**
     * Invokes a method on each item in an Array.
     * <pre><code>
    // Example:
    Ext.invoke(Ext.query("p"), "getAttribute", "id");
    // [el1.getAttribute("id"), el2.getAttribute("id"), ..., elN.getAttribute("id")]
     * </code></pre>
     * @param {Array|NodeList} arr The Array of items to invoke the method on.
     * @param {String} methodName The method name to invoke.
     * @param {Anything} ... Arguments to send into the method invocation.
     * @return {Array} The results of invoking the method on each item in the array.
     */

/**
     * Invokes the iteratee `n` times, returning an array of the results of
     * each invocation. The iteratee is invoked with one argument; (index).
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {number} n The number of times to invoke `iteratee`.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the array of results.
     * @example
     *
     * _.times(3, String);
     * // => ['0', '1', '2']
     *
     *  _.times(4, _.constant(0));
     * // => [0, 0, 0, 0]
     */

/**
     * Invokes the method at `path` of each element in `collection`, returning
     * an array of the results of each invoked method. Any additional arguments
     * are provided to each invoked method. If `path` is a function, it's invoked
     * for, and `this` bound to, each element in `collection`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Array|Function|string} path The path of the method to invoke or
     *  the function invoked per iteration.
     * @param {...*} [args] The arguments to invoke each method with.
     * @returns {Array} Returns the array of results.
     * @example
     *
     * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');
     * // => [[1, 5, 7], [1, 2, 3]]
     *
     * _.invokeMap([123, 456], String.prototype.split, '');
     * // => [['1', '2', '3'], ['4', '5', '6']]
     */

/**
     * It does simple math for use in a template, for example:<pre><code>
     * var tpl = new Ext.Template('{value} * 10 = {value:math("* 10")}');
     * </code></pre>
     * @return {Function} A function that operates on the passed value.
     */

/**
     * It's ctrl + l but a friendly Button!
     */

/**
     * Iterates an array calling the supplied function.
     * @param {Array/NodeList/Mixed} array The array to be iterated. If this
     * argument is not really an array, the supplied function is called once.
     * @param {Function} fn The function to be called with each item. If the
     * supplied function returns false, iteration stops and this method returns
     * the current <code>index</code>. This function is called with
     * the following arguments:
     * <div class="mdetail-params"><ul>
     * <li><code>item</code> : <i>Mixed</i>
     * <div class="sub-desc">The item at the current <code>index</code>
     * in the passed <code>array</code></div></li>
     * <li><code>index</code> : <i>Number</i>
     * <div class="sub-desc">The current index within the array</div></li>
     * <li><code>allItems</code> : <i>Array</i>
     * <div class="sub-desc">The <code>array</code> passed as the first
     * argument to <code>Ext.each</code>.</div></li>
     * </ul></div>
     * @param {Object} scope The scope (<code>this</code> reference) in which the specified function is executed.
     * Defaults to the <code>item</code> at the current <code>index</code>
     * within the passed <code>array</code>.
     * @return See description for the fn parameter.
     */

/**
     * Iterates either the elements in an array, or each of the properties in an object.
     * <b>Note</b>: If you are only iterating arrays, it is better to call {@link #each}.
     * @param {Object/Array} object The object or array to be iterated
     * @param {Function} fn The function to be called for each iteration.
     * The iteration will stop if the supplied function returns false, or
     * all array elements / object properties have been covered. The signature
     * varies depending on the type of object being interated:
     * <div class="mdetail-params"><ul>
     * <li>Arrays : <tt>(Object item, Number index, Array allItems)</tt>
     * <div class="sub-desc">
     * When iterating an array, the supplied function is called with each item.</div></li>
     * <li>Objects : <tt>(String key, Object value, Object)</tt>
     * <div class="sub-desc">
     * When iterating an object, the supplied function is called with each key-value pair in
     * the object, and the iterated object</div></li>
     * </ul></div>
     * @param {Object} scope The scope (<code>this</code> reference) in which the specified function is executed. Defaults to
     * the <code>object</code> being iterated.
     */

/**
     * Iterates over elements of `collection` and invokes `iteratee` for each element.
     * The iteratee is invoked with three arguments: (value, index|key, collection).
     * Iteratee functions may exit iteration early by explicitly returning `false`.
     *
     * **Note:** As with other "Collections" methods, objects with a "length"
     * property are iterated like arrays. To avoid this behavior use `_.forIn`
     * or `_.forOwn` for object iteration.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @alias each
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array|Object} Returns `collection`.
     * @see _.forEachRight
     * @example
     *
     * _.forEach([1, 2], function(value) {
     *   console.log(value);
     * });
     * // => Logs `1` then `2`.
     *
     * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'a' then 'b' (iteration order is not guaranteed).
     */

/**
     * Iterates over elements of `collection`, returning an array of all elements
     * `predicate` returns truthy for. The predicate is invoked with three
     * arguments: (value, index|key, collection).
     *
     * **Note:** Unlike `_.remove`, this method returns a new array.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new filtered array.
     * @see _.reject
     * @example
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36, 'active': true },
     *   { 'user': 'fred',   'age': 40, 'active': false }
     * ];
     *
     * _.filter(users, function(o) { return !o.active; });
     * // => objects for ['fred']
     *
     * // The `_.matches` iteratee shorthand.
     * _.filter(users, { 'age': 36, 'active': true });
     * // => objects for ['barney']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.filter(users, ['active', false]);
     * // => objects for ['fred']
     *
     * // The `_.property` iteratee shorthand.
     * _.filter(users, 'active');
     * // => objects for ['barney']
     *
     * // Combining several predicates using `_.overEvery` or `_.overSome`.
     * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));
     * // => objects for ['fred', 'barney']
     */

/**
     * Iterates over elements of `collection`, returning the first element
     * `predicate` returns truthy for. The predicate is invoked with three
     * arguments: (value, index|key, collection).
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param {number} [fromIndex=0] The index to search from.
     * @returns {*} Returns the matched element, else `undefined`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'age': 36, 'active': true },
     *   { 'user': 'fred',    'age': 40, 'active': false },
     *   { 'user': 'pebbles', 'age': 1,  'active': true }
     * ];
     *
     * _.find(users, function(o) { return o.age < 40; });
     * // => object for 'barney'
     *
     * // The `_.matches` iteratee shorthand.
     * _.find(users, { 'age': 1, 'active': true });
     * // => object for 'pebbles'
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.find(users, ['active', false]);
     * // => object for 'fred'
     *
     * // The `_.property` iteratee shorthand.
     * _.find(users, 'active');
     * // => object for 'barney'
     */

/**
     * Iterates over own and inherited enumerable string keyed properties of an
     * object and invokes `iteratee` for each property. The iteratee is invoked
     * with three arguments: (value, key, object). Iteratee functions may exit
     * iteration early by explicitly returning `false`.
     *
     * @static
     * @memberOf _
     * @since 0.3.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns `object`.
     * @see _.forInRight
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.forIn(new Foo, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).
     */

/**
     * Iterates over own enumerable string keyed properties of an object and
     * invokes `iteratee` for each property. The iteratee is invoked with three
     * arguments: (value, key, object). Iteratee functions may exit iteration
     * early by explicitly returning `false`.
     *
     * @static
     * @memberOf _
     * @since 0.3.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns `object`.
     * @see _.forOwnRight
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.forOwn(new Foo, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'a' then 'b' (iteration order is not guaranteed).
     */

/**
     * Left curly brace: '{'
     */

/**
     * Left square bracket: '['
     */

/**
     * Lets you specify a css class of elements that will not initiate a drag
     * @method addInvalidHandleClass
     * @param {string} cssClass the class of the elements you wish to ignore
     */

/**
     * Lets you to specify an element id for a child of a drag handle
     * that should not initiate a drag
     * @method addInvalidHandleId
     * @param {string} id the element id of the element you wish to ignore
     */

/**
     * Loads a template internal representation.
     *
     * @param {string} name The template name
     * @param {number} index The index of the template
     * @param {TwingSource} from The source that initiated the template loading
     *
     * @return {Promise<TwingTemplate>} A template instance representing the given template name
     *
     * @throws {TwingErrorLoader}  When the template cannot be found
     * @throws {TwingErrorRuntime} When a previously generated cache is corrupted
     * @throws {TwingErrorSyntax}  When an error occurred during compilation
     */

/**
     * Loads a template.
     *
     * @param {string | TwingTemplate} name The template name
     *
     * @throws {TwingErrorLoader}  When the template cannot be found
     * @throws {TwingErrorRuntime} When a previously generated cache is corrupted
     * @throws {TwingErrorSyntax}  When an error occurred during compilation
     *
     * @return {Promise<TwingTemplate>}
     */

/**
     * Lock this instance
     * @method lock
     */

/**
     * Look at the next token.
     *
     * @param {number} number
     *
     * @return {Token}
     */

/**
     * Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)
     * @param {String} selector The simple selector to test
     * @param {Number/Mixed} maxDepth (optional) The max depth to
            search as a number or element (defaults to 10 || document.body)
     * @param {Boolean} returnEl (optional) True to return a Ext.Element object instead of DOM node
     * @return {HTMLElement} The matching DOM node (or null if no match was found)
     */

/**
     * Lookup of start times for rendering transitions.  If the start time is
     * equal to -1, the transition is complete.
     * @type {Object<string, number>}
     */

/**
     * Maintain offsets when we resetconstraints.  Set to true when you want
     * the position of the element relative to its parent to stay the same
     * when the page changes
     *
     * @property maintainOffset
     * @type boolean
     */

/**
     * Manually trigger a cache refresh.
     */

/**
     * Measures the size of the specified text
     * @param {String/HTMLElement} el The element, dom node or id from which to copy existing CSS styles
     * that can affect the size of the rendered text
     * @param {String} text The text to measure
     * @param {Number} fixedWidth (optional) If the text will be multiline, you have to set a fixed width
     * in order to accurately measure the text height
     * @return {Object} An object containing the text's size {width: (width), height: (height)}
     */

/**
     * Merges a context with the defined globals.
     *
     * @param {Map<*, *>} context
     * @return {Map<*, *>}
     */

/**
     * Merges the function metadata of `source` into `data`.
     *
     * Merging metadata reduces the number of wrappers used to invoke a function.
     * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`
     * may be applied regardless of execution order. Methods like `_.ary` and
     * `_.rearg` modify function arguments, making the order in which they are
     * executed important, preventing the merging of metadata. However, we make
     * an exception for a safe combined case where curried functions have `_.ary`
     * and or `_.rearg` applied.
     *
     * @private
     * @param {Array} data The destination metadata.
     * @param {Array} source The source metadata.
     * @returns {Array} Returns `data`.
     */

/**
     * More flexible version of {@link #setStyle} for setting style properties.
     * @param {String/Object/Function} styles A style specification string, e.g. "width:100px", or object in the form {width:"100px"}, or
     * a function which returns such a specification.
     * @return {Ext.Element} this
     */

/**
     * Move to the first page, has the same effect as clicking the 'first' button.
     */

/**
     * Move to the last page, has the same effect as clicking the 'last' button.
     */

/**
     * Move to the next page, has the same effect as clicking the 'next' button.
     */

/**
     * Move to the previous page, has the same effect as clicking the 'previous' button.
     */

/**
     * Multiply two numbers.
     *
     * @static
     * @memberOf _
     * @since 4.7.0
     * @category Math
     * @param {number} multiplier The first number in a multiplication.
     * @param {number} multiplicand The second number in a multiplication.
     * @returns {number} Returns the product.
     * @example
     *
     * _.multiply(6, 4);
     * // => 24
     */

/**
     * Normalizes currentStyle and computedStyle.
     * @param {String} property The style property whose value is returned.
     * @return {String} The current value of the style property for this element.
     */

/**
     * Normalizes mouse wheel delta across browsers
     * @return {Number} The delta
     */

/**
     * Normally the drag element is moved pixel by pixel, but we can specify
     * that it move a number of pixels at a time.  This method resolves the
     * location when we have it set up like this.
     * @method getTick
     * @param {int} val where we want to place the object
     * @param {int[]} tickArray sorted array of valid points
     * @return {int} the closest tick
     * @private
     */

/**
     * Outdents the generated code.
     *
     * @param {number} step The number of indentation to remove
     *
     * @return TwingCompiler
     *
     * @throws Error When trying to outdent too much so the indentation would become negative
     */

/**
     * Override the onAvailable method to do what is needed after the initial
     * position was determined.
     * @method onAvailable
     */

/**
     * Pads `string` on the left and right sides if it's shorter than `length`.
     * Padding characters are truncated if they can't be evenly divided by `length`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to pad.
     * @param {number} [length=0] The padding length.
     * @param {string} [chars=' '] The string used as padding.
     * @returns {string} Returns the padded string.
     * @example
     *
     * _.pad('abc', 8);
     * // => '  abc   '
     *
     * _.pad('abc', 8, '_-');
     * // => '_-abc_-_'
     *
     * _.pad('abc', 3);
     * // => 'abc'
     */

/**
     * Pads `string` on the left side if it's shorter than `length`. Padding
     * characters are truncated if they exceed `length`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to pad.
     * @param {number} [length=0] The padding length.
     * @param {string} [chars=' '] The string used as padding.
     * @returns {string} Returns the padded string.
     * @example
     *
     * _.padStart('abc', 6);
     * // => '   abc'
     *
     * _.padStart('abc', 6, '_-');
     * // => '_-_abc'
     *
     * _.padStart('abc', 3);
     * // => 'abc'
     */

/**
     * Pads `string` on the right side if it's shorter than `length`. Padding
     * characters are truncated if they exceed `length`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to pad.
     * @param {number} [length=0] The padding length.
     * @param {string} [chars=' '] The string used as padding.
     * @returns {string} Returns the padded string.
     * @example
     *
     * _.padEnd('abc', 6);
     * // => 'abc   '
     *
     * _.padEnd('abc', 6, '_-');
     * // => 'abc_-_'
     *
     * _.padEnd('abc', 3);
     * // => 'abc'
     */

/**
     * Parentheses
     */

/**
     * Parse a value into a formatted date using the specified format pattern.
     * @param {String/Date} value The value to format (Strings must conform to the format expected by the javascript Date object's <a href="http://www.w3schools.com/jsref/jsref_parse.asp">parse()</a> method)
     * @param {String} format (optional) Any valid date format string (defaults to 'm/d/Y')
     * @return {String} The formatted date string
     */

/**
     * Parses arguments.
     *
     * @param namedArguments {boolean} Whether to allow named arguments or not
     * @param definition {boolean} Whether we are parsing arguments for a function definition
     * @param allowArrow {boolean}
     *
     * @return TwingNode
     *
     * @throws TwingErrorSyntax
     */

/**
     * Partitions the set into two sets: a true set and a false set.
     * Example: 
     * Example2: 
     * <pre><code>
    // Example 1:
    Ext.partition([true, false, true, true, false]); // [[true, true, true], [false, false]]
    // Example 2:
    Ext.partition(
    Ext.query("p"),
    function(val){
    return val.className == "class1"
    }
    );
    // true are those paragraph elements with a className of "class1",
    // false set are those that do not have that className.
     * </code></pre>
     * @param {Array|NodeList} arr The array to partition
     * @param {Function} truth (optional) a function to determine truth.  If this is omitted the element
     *                   itself must be able to be evaluated for its truthfulness.
     * @return {Array} [true<Array>,false<Array>]
     */

/**
     * Perform custom animation on this element.
     * <div><ul class="mdetail-params">
     * <li><u>Animation Properties</u></li>
     * 
     * <p>The Animation Control Object enables gradual transitions for any member of an
     * element's style object that takes a numeric value including but not limited to
     * these properties:</p><div><ul class="mdetail-params">
     * <li><tt>bottom, top, left, right</tt></li>
     * <li><tt>height, width</tt></li>
     * <li><tt>margin, padding</tt></li>
     * <li><tt>borderWidth</tt></li>
     * <li><tt>opacity</tt></li>
     * <li><tt>fontSize</tt></li>
     * <li><tt>lineHeight</tt></li>
     * </ul></div>
     * 
     * 
     * <li><u>Animation Property Attributes</u></li>
     * 
     * <p>Each Animation Property is a config object with optional properties:</p>
     * <div><ul class="mdetail-params">
     * <li><tt>by</tt>*  : relative change - start at current value, change by this value</li>
     * <li><tt>from</tt> : ignore current value, start from this value</li>
     * <li><tt>to</tt>*  : start at current value, go to this value</li>
     * <li><tt>unit</tt> : any allowable unit specification</li>
     * <p>* do not specify both <tt>to</tt> and <tt>by</tt> for an animation property</p>
     * </ul></div>
     * 
     * <li><u>Animation Types</u></li>
     * 
     * <p>The supported animation types:</p><div><ul class="mdetail-params">
     * <li><tt>'run'</tt> : Default
     * <pre><code>
    var el = Ext.get('complexEl');
    el.animate(
    // animation control object
    {
    borderWidth: {to: 3, from: 0},
    opacity: {to: .3, from: 1},
    height: {to: 50, from: el.getHeight()},
    width: {to: 300, from: el.getWidth()},
    top  : {by: - 100, unit: 'px'},
    },
    0.35,      // animation duration
    null,      // callback
    'easeOut', // easing method
    'run'      // animation type ('run','color','motion','scroll')    
    );
     * </code></pre>
     * </li>
     * <li><tt>'color'</tt>
     * <p>Animates transition of background, text, or border colors.</p>
     * <pre><code>
    el.animate(
    // animation control object
    {
    color: { to: '#06e' },
    backgroundColor: { to: '#e06' }
    },
    0.35,      // animation duration
    null,      // callback
    'easeOut', // easing method
    'color'    // animation type ('run','color','motion','scroll')    
    );
     * </code></pre> 
     * </li>
     * 
     * <li><tt>'motion'</tt>
     * <p>Animates the motion of an element to/from specific points using optional bezier
     * way points during transit.</p>
     * <pre><code>
    el.animate(
    // animation control object
    {
    borderWidth: {to: 3, from: 0},
    opacity: {to: .3, from: 1},
    height: {to: 50, from: el.getHeight()},
    width: {to: 300, from: el.getWidth()},
    top  : {by: - 100, unit: 'px'},
    points: {
        to: [50, 100],  // go to this point
        control: [      // optional bezier way points
            [ 600, 800],
            [-100, 200]
        ]
    }
    },
    3000,      // animation duration (milliseconds!)
    null,      // callback
    'easeOut', // easing method
    'motion'   // animation type ('run','color','motion','scroll')    
    );
     * </code></pre> 
     * </li>
     * <li><tt>'scroll'</tt>
     * <p>Animate horizontal or vertical scrolling of an overflowing page element.</p>
     * <pre><code>
    el.animate(
    // animation control object
    {
    scroll: {to: [400, 300]}
    },
    0.35,      // animation duration
    null,      // callback
    'easeOut', // easing method
    'scroll'   // animation type ('run','color','motion','scroll')    
    );
     * </code></pre> 
     * </li>
     * </ul></div>
     * 
     * </ul></div>
     * 
     * @param {Object} args The animation control args
     * @param {Float} duration (optional) How long the animation lasts in seconds (defaults to <tt>.35</tt>)
     * @param {Function} onComplete (optional) Function to call when animation completes
     * @param {String} easing (optional) {@link Ext.Fx#easing} method to use (defaults to <tt>'easeOut'</tt>)
     * @param {String} animType (optional) <tt>'run'</tt> is the default. Can also be <tt>'color'</tt>,
     * <tt>'motion'</tt>, or <tt>'scroll'</tt>
     * @return {Ext.Element} this
     */

/**
     * Performs a
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * comparison between two values to determine if they are equivalent.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
     * @example
     *
     * var object = { 'a': 1 };
     * var other = { 'a': 1 };
     *
     * _.eq(object, object);
     * // => true
     *
     * _.eq(object, other);
     * // => false
     *
     * _.eq('a', 'a');
     * // => true
     *
     * _.eq('a', Object('a'));
     * // => false
     *
     * _.eq(NaN, NaN);
     * // => true
     */

/**
     * Performs a deep comparison between two values to determine if they are
     * equivalent.
     *
     * **Note:** This method supports comparing arrays, array buffers, booleans,
     * date objects, error objects, maps, numbers, `Object` objects, regexes,
     * sets, strings, symbols, and typed arrays. `Object` objects are compared
     * by their own, not inherited, enumerable properties. Functions and DOM
     * nodes are compared by strict equality, i.e. `===`.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
     * @example
     *
     * var object = { 'a': 1 };
     * var other = { 'a': 1 };
     *
     * _.isEqual(object, other);
     * // => true
     *
     * object === other;
     * // => false
     */

/**
     * Performs a partial deep comparison between `object` and `source` to
     * determine if `object` contains equivalent property values.
     *
     * **Note:** This method is equivalent to `_.matches` when `source` is
     * partially applied.
     *
     * Partial comparisons will match empty array and empty object `source`
     * values against any array or object value, respectively. See `_.isEqual`
     * for a list of supported value comparisons.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Lang
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property values to match.
     * @returns {boolean} Returns `true` if `object` is a match, else `false`.
     * @example
     *
     * var object = { 'a': 1, 'b': 2 };
     *
     * _.isMatch(object, { 'b': 2 });
     * // => true
     *
     * _.isMatch(object, { 'b': 1 });
     * // => false
     */

/**
     * Pipes
     */

/**
     * Plain text
     */

/**
     * Plucks the value of a property from each item in the Array
     * <pre><code>
    // Example:
    Ext.pluck(Ext.query("p"), "className"); // [el1.className, el2.className, ..., elN.className]
     * </code></pre>
     * @param {Array|NodeList} arr The Array of items to pluck the value from.
     * @param {String} prop The property name to pluck from each element.
     * @return {Array} The value from each item in the Array.
     */

/**
     * Plus
     */

/**
     * Prepares a supplied Proxy to be RESTful.  Sets the HTTP method for each api-action to be one of
     * GET, POST, PUT, DELETE according to the defined {@link #restActions}.
     * @param {Ext.data.DataProxy} proxy
     */

/**
     * Prevents the browsers default handling of the event.
     */

/**
     * Prints the passed grid. Reflects on the grid's column model to build a table, and fills it using the store
     * @param {Ext.Component} component The component to print
     */

/**
     * Produces a random number between the inclusive `lower` and `upper` bounds.
     * If only one argument is provided a number between `0` and the given number
     * is returned. If `floating` is `true`, or either `lower` or `upper` are
     * floats, a floating-point number is returned instead of an integer.
     *
     * **Note:** JavaScript follows the IEEE-754 standard for resolving
     * floating-point values which can produce unexpected results.
     *
     * @static
     * @memberOf _
     * @since 0.7.0
     * @category Number
     * @param {number} [lower=0] The lower bound.
     * @param {number} [upper=1] The upper bound.
     * @param {boolean} [floating] Specify returning a floating-point number.
     * @returns {number} Returns the random number.
     * @example
     *
     * _.random(0, 5);
     * // => an integer between 0 and 5
     *
     * _.random(5);
     * // => also an integer between 0 and 5
     *
     * _.random(5, true);
     * // => a floating-point number between 0 and 5
     *
     * _.random(1.2, 5.2);
     * // => a floating-point number between 1.2 and 5.2
     */

/**
     * Programmatically steps back one step in browser history (equivalent to the user pressing the Back button).
     */

/**
     * Programmatically steps forward one step in browser history (equivalent to the user pressing the Forward button).
     */

/**
     * Provides default constraint padding to "constrainTo" elements (defaults to {left: 0, right:0, top:0, bottom:0}).
     * @type Object
     */

/**
     * Question marks
     */

/**
     * Quotes: '|"|`
     */

/**
     * Recalculate the scale if width or height where given.
     */

/**
     * Recursively flatten `array` up to `depth` times.
     *
     * @static
     * @memberOf _
     * @since 4.4.0
     * @category Array
     * @param {Array} array The array to flatten.
     * @param {number} [depth=1] The maximum recursion depth.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * var array = [1, [2, [3, [4]], 5]];
     *
     * _.flattenDepth(array, 1);
     * // => [1, 2, [3, [4]], 5]
     *
     * _.flattenDepth(array, 2);
     * // => [1, 2, 3, [4], 5]
     */

/**
     * Recursively flattens `array`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to flatten.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * _.flattenDeep([1, [2, [3, [4]], 5]]);
     * // => [1, 2, 3, 4, 5]
     */

/**
     * Recursively flattens into 1-d Array. Injects Arrays inline.
     * @param {Array} arr The array to flatten
     * @return {Array} The new, flattened array.
     */

/**
     * Recursively removes all previous added listeners from this element and its children
     * @return {Ext.Element} this
     */

/**
     * Reduces `collection` to a value which is the accumulated result of running
     * each element in `collection` thru `iteratee`, where each successive
     * invocation is supplied the return value of the previous. If `accumulator`
     * is not given, the first element of `collection` is used as the initial
     * value. The iteratee is invoked with four arguments:
     * (accumulator, value, index|key, collection).
     *
     * Many lodash methods are guarded to work as iteratees for methods like
     * `_.reduce`, `_.reduceRight`, and `_.transform`.
     *
     * The guarded methods are:
     * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,
     * and `sortBy`
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @param {*} [accumulator] The initial value.
     * @returns {*} Returns the accumulated value.
     * @see _.reduceRight
     * @example
     *
     * _.reduce([1, 2], function(sum, n) {
     *   return sum + n;
     * }, 0);
     * // => 3
     *
     * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
     *   (result[value] || (result[value] = [])).push(key);
     *   return result;
     * }, {});
     * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
     */

/**
     * Refresh the current page, has the same effect as clicking the 'refresh' button.
     */

/**
     * Refresh the element with the last used url or defaultUrl. If there is no url, it returns immediately
     * @param {Function} callback (optional) Callback when transaction is complete - called with signature (oElement, bSuccess)
     */

/**
     * Refresh the rule cache if you have dynamically added stylesheets
     * @return {Object} An object (hash) of rules indexed by selector
     */

/**
     * Register a template under an arbitrary name.
     *
     * @param {TwingTemplate} template The template to register
     * @param {string} name The name of the template
     */

/**
     * Register a templates module under an arbitrary name.
     *
     * @param {TwingTemplatesModule} module
     * @param {string} name
     */

/**
     * Registers a Global.
     *
     * New globals can be added before compiling or rendering a template, but after, you can only update existing globals.
     *
     * @param {string} name The global name
     * @param {*} value The global value
     */

/**
     * Registers a Test.
     *
     * @param {TwingTest} test
     */

/**
     * Registers a component
     * @param {String} appName          the application registered for
     * @param {String} modelName        the registered model name
     * @param {String/Object} component the component or xtype to register
     */

/**
     * Registers a component.
     * @param {Ext.Component} c The component
     */

/**
     * Registers a function that will be called when a Component with the specified id is added to ComponentMgr. This will happen on instantiation.
     * @param {String} id The component {@link Ext.Component#id id}
     * @param {Function} fn The callback function
     * @param {Object} scope The scope (<code>this</code> reference) in which the callback is executed. Defaults to the Component.
     */

/**
     * Registers a renderer function to handle components of a given xtype
     * @param {String} xtype The component xtype the renderer will handle
     * @param {Function} renderer The renderer to invoke for components of this xtype
     */

/**
     * Registers an extension.
     *
     * @param {TwingExtensionInterface} extension A TwingExtensionInterface instance
     * @param {string} name A name the extension will be registered as
     */

/**
     * Registers new overflow element(s) to auto scroll
     * @param {Mixed/Array} el The id of or the element to be scrolled or an array of either
     */

/**
     * Registers some extensions.
     *
     * @param {Map<string, TwingExtensionInterface>} extensions
     */

/**
     * Registers somes extensions.
     *
     * @param {Map<string, TwingExtensionInterface>} extensions
     */

/**
     * Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.
     * @param {Object} o The Observable whose events this object is to relay.
     * @param {Array} events Array of event names to relay.
     */

/**
     * Remove all drag and drop hooks for this element
     * @method unreg
     */

/**
     * Remove all ripples from an element.
     */

/**
     * Remove's this instance from the supplied interaction group
     * @method removeFromGroup
     * @param {string}  sGroup  The group to drop
     */

/**
     * Removes `key` and its value from the hash.
     *
     * @private
     * @name delete
     * @memberOf Hash
     * @param {Object} hash The hash to modify.
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */

/**
     * Removes `key` and its value from the list cache.
     *
     * @private
     * @name delete
     * @memberOf ListCache
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */

/**
     * Removes `key` and its value from the map.
     *
     * @private
     * @name delete
     * @memberOf MapCache
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */

/**
     * Removes `key` and its value from the stack.
     *
     * @private
     * @name delete
     * @memberOf Stack
     * @param {string} key The key of the value to remove.
     * @returns {boolean} Returns `true` if the entry was removed, else `false`.
     */

/**
     * Removes a DOM node from the document.
     */

/**
     * Removes a previously applied mask.
     */

/**
     * Removes a style or link tag by id
     * @param {String} id The id of the tag
     */

/**
     * Removes all elements from `array` that `predicate` returns truthy for
     * and returns an array of the removed elements. The predicate is invoked
     * with three arguments: (value, index, array).
     *
     * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`
     * to pull elements from an array by value.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new array of removed elements.
     * @example
     *
     * var array = [1, 2, 3, 4];
     * var evens = _.remove(array, function(n) {
     *   return n % 2 == 0;
     * });
     *
     * console.log(array);
     * // => [1, 3]
     *
     * console.log(evens);
     * // => [2, 4]
     */

/**
     * Removes all event handers from an element.  Typically you will use {@link Ext.Element#removeAllListeners}
     * directly on an Element in favor of calling this version.
     * @param {String/HTMLElement} el The id or html element from which to remove all event handlers.
     */

/**
     * Removes all given values from `array` using
     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
     * for equality comparisons.
     *
     * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`
     * to remove elements from an array by predicate.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {...*} [values] The values to remove.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = ['a', 'b', 'c', 'a', 'b', 'c'];
     *
     * _.pull(array, 'a', 'c');
     * console.log(array);
     * // => ['b', 'b']
     */

/**
     * Removes all key-value entries from the hash.
     *
     * @private
     * @name clear
     * @memberOf Hash
     */

/**
     * Removes all key-value entries from the list cache.
     *
     * @private
     * @name clear
     * @memberOf ListCache
     */

/**
     * Removes all key-value entries from the map.
     *
     * @private
     * @name clear
     * @memberOf MapCache
     */

/**
     * Removes all key-value entries from the stack.
     *
     * @private
     * @name clear
     * @memberOf Stack
     */

/**
     * Removes all previous added listeners from this element
     * @return {Ext.Element} this
     */

/**
     * Removes an event handler from an element.  The shorthand version {@link #un} is equivalent.  Typically
     * you will use {@link Ext.Element#removeListener} directly on an Element in favor of calling this version.
     * @param {String/HTMLElement} el The id or html element from which to remove the listener.
     * @param {String} eventName The name of the event.
     * @param {Function} fn The handler function to remove. <b>This must be a reference to the function passed into the {@link #addListener} call.</b>
     * @param {Object} scope If a scope (<b><code>this</code></b> reference) was specified when the listener was added,
     * then this must refer to the same object.
     */

/**
     * Removes an event handler from this element.  The shorthand version {@link #un} is equivalent.
     * <b>Note</b>: if a <i>scope</i> was explicitly specified when {@link #addListener adding} the
     * listener, the same scope must be specified here.
     * Example:
     * <pre><code>
    el.removeListener('click', this.handlerFn);
    // or
    el.un('click', this.handlerFn);
    </code></pre>
     * @param {String} eventName The name of the event from which to remove the handler.
     * @param {Function} fn The handler function to remove. <b>This must be a reference to the function passed into the {@link #addListener} call.</b>
     * @param {Object} scope If a scope (<b><code>this</code></b> reference) was specified when the listener was added,
     * then this must refer to the same object.
     * @return {Ext.Element} this
     */

/**
     * Removes any registered quick tip from the target element and destroys it.
     * @param {String/HTMLElement/Element} el The element from which the quick tip is to be removed.
     */

/**
     * Removes elements from `array` corresponding to `indexes` and returns an
     * array of removed elements.
     *
     * **Note:** Unlike `_.at`, this method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {...(number|number[])} [indexes] The indexes of elements to remove.
     * @returns {Array} Returns the new array of removed elements.
     * @example
     *
     * var array = ['a', 'b', 'c', 'd'];
     * var pulled = _.pullAt(array, [1, 3]);
     *
     * console.log(array);
     * // => ['a', 'c']
     *
     * console.log(pulled);
     * // => ['b', 'd']
     */

/**
     * Removes leading and trailing whitespace or specified characters from `string`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to trim.
     * @param {string} [chars=whitespace] The characters to trim.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {string} Returns the trimmed string.
     * @example
     *
     * _.trim('  abc  ');
     * // => 'abc'
     *
     * _.trim('-_-abc-_-', '_-');
     * // => 'abc'
     *
     * _.map(['  foo  ', '  bar  '], _.trim);
     * // => ['foo', 'bar']
     */

/**
     * Removes leading whitespace or specified characters from `string`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to trim.
     * @param {string} [chars=whitespace] The characters to trim.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {string} Returns the trimmed string.
     * @example
     *
     * _.trimStart('  abc  ');
     * // => 'abc  '
     *
     * _.trimStart('-_-abc-_-', '_-');
     * // => 'abc-_-'
     */

/**
     * Removes one or more CSS classes from the element.
     * @param {String/Array} className The CSS class to remove, or an array of classes
     * @return {Ext.Element} this
     */

/**
     * Removes the passed window resize listener.
     * @param {Function} fn        The method the event invokes
     * @param {Object}   scope    The scope of handler
     */

/**
     * Removes the property at `path` of `object`.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to unset.
     * @returns {boolean} Returns `true` if the property is deleted, else `false`.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 7 } }] };
     * _.unset(object, 'a[0].b.c');
     * // => true
     *
     * console.log(object);
     * // => { 'a': [{ 'b': {} }] };
     *
     * _.unset(object, ['a', '0', 'b', 'c']);
     * // => true
     *
     * console.log(object);
     * // => { 'a': [{ 'b': {} }] };
     */

/**
     * Removes trailing whitespace or specified characters from `string`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to trim.
     * @param {string} [chars=whitespace] The characters to trim.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {string} Returns the trimmed string.
     * @example
     *
     * _.trimEnd('  abc  ');
     * // => '  abc'
     *
     * _.trimEnd('-_-abc-_-', '_-');
     * // => '-_-abc'
     */

/**
     * Rendered extent has changed since the previous `renderFrame()` call
     * @type {boolean}
     */

/**
     * Renders a block.
     *
     * @param {string} name The block name to display
     * @param {any} context The context
     * @param {TwingOutputBuffer} outputBuffer
     * @param {TwingTemplateBlocksMap} blocks The active set of blocks
     * @param {boolean} useBlocks Whether to use the active set of blocks
     *
     * @return {Promise<string>} The rendered block
     */

/**
     * Renders a parent block.
     *
     * @param {string} name The block name to display from the parent
     * @param {*} context The context
     * @param {TwingOutputBuffer} outputBuffer
     * @param {TwingTemplateBlocksMap} blocks The active set of blocks
     *
     * @returns {Promise<string>} The rendered block
     */

/**
     * Renders a template.
     *
     * @param {string} name The template name
     * @param {{}} context An array of parameters to pass to the template
     * @return {Promise<string>}
     */

/**
     * Reorder `array` according to the specified indexes where the element at
     * the first index is assigned as the first element, the element at
     * the second index is assigned as the second element, and so on.
     *
     * @private
     * @param {Array} array The array to reorder.
     * @param {Array} indexes The arranged array indexes.
     * @returns {Array} Returns `array`.
     */

/**
     * Repeats the given string `n` times.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to repeat.
     * @param {number} [n=1] The number of times to repeat the string.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {string} Returns the repeated string.
     * @example
     *
     * _.repeat('*', 3);
     * // => '***'
     *
     * _.repeat('abc', 2);
     * // => 'abcabc'
     *
     * _.repeat('abc', 0);
     * // => ''
     */

/**
     * Replace our custom html characters with the proper characters
     *
     * @param {String} value The string to encode
     * @return {String} The encoded text
     */

/**
     * Replaces a CSS class on the element with another.  If the old name does not exist, the new name will simply be added.
     * @param {String} oldClassName The CSS class to replace
     * @param {String} newClassName The replacement CSS class
     * @return {Ext.Element} this
     */

/**
     * Replaces matches for `pattern` in `string` with `replacement`.
     *
     * **Note:** This method is based on
     * [`String#replace`](https://mdn.io/String/replace).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to modify.
     * @param {RegExp|string} pattern The pattern to replace.
     * @param {Function|string} replacement The match replacement.
     * @returns {string} Returns the modified string.
     * @example
     *
     * _.replace('Hi Fred', 'Fred', 'Barney');
     * // => 'Hi Barney'
     */

/**
     * Replaces the passed element with this element
     * @param {Mixed} el The element to replace
     * @return {Ext.Element} this
     */

/**
     * Replaces this element with the passed element
     * @param {Mixed/Object} el The new element or a DomHelper config of an element to create
     * @return {Ext.Element} this
     */

/**
     * Resgister a drag drop element
     * @param {String/HTMLElement) element The id or DOM node to register
     * @param {Object} data (optional) An custom data object that will be passed between the elements that are involved
     * in drag drop operations.  You can populate this object with any arbitrary properties that your own code
     * knows how to interpret, plus there are some specific properties known to the Registry that should be
     * populated in the data object (if applicable):
     * <pre>
    Value      Description<br />
    ---------  ------------------------------------------<br />
    handles    Array of DOM nodes that trigger dragging<br />
           for the element being registered<br />
    isHandle   True if the element passed in triggers<br />
           dragging itself, else false
    </pre>
     */

/**
     * Retrieves the currently-active history token.
     * @return {String} The token
     */

/**
     * Return a unique TextMetrics instance that can be bound directly to an element and reused.  This reduces
     * the overhead of multiple calls to initialize the style properties on each measurement.
     * @param {String/HTMLElement} el The element, dom node or id that the instance will be bound to
     * @param {Number} fixedWidth (optional) If the text will be multiline, you have to set a fixed width
     * in order to accurately measure the text height
     * @return {Ext.util.TextMetrics.Instance} instance The new instance
     */

/**
     * Return the CSS color for the specified CSS attribute. rgb, 3 digit (like #fff) and valid values
     * are convert to standard 6 digit hex color.
     * @param {String} attr The css attribute
     * @param {String} defaultValue The default value to use when a valid color isn't found
     * @param {String} prefix (optional) defaults to #. Use an empty string when working with
     * color anims.
     */

/**
     * Return the column where the token is located in the source.
     *
     * @return {number}
     */

/**
     * Return the contents of the output buffer
     *
     * @returns {string | false}
     */

/**
     * Return the dom node for the passed String (id), dom node, or Ext.Element.
     * Optional 'strict' flag is needed for IE since it can return 'name' and
     * 'id' elements by using getElementById.
     * Here are some examples:
     * <pre><code>
    // gets dom node based on id
    var elDom = Ext.getDom('elId');
    // gets dom node based on the dom node
    var elDom1 = Ext.getDom(elDom);
    // If we don&#39;t know if we are working with an
    // Ext.Element or a dom node use Ext.getDom
    function(el){
    var dom = Ext.getDom(el);
    // do something with the dom node
    }
     * </code></pre>
     * <b>Note</b>: the dom node to be found actually needs to exist (be rendered, etc)
     * when this method is called to be successful.
     * @param {Mixed} el
     * @return HTMLElement
     */

/**
     * Return the human-readable representation of the token.
     *
     * @return {string}
     */

/**
     * Return the line where the token is located in the source.
     *
     * @return {number}
     */

/**
     * Return the nesting level of the output buffering mechanism
     *
     * @returns {number}
     */

/**
     * Return the type of the token.
     *
     * @return {TokenType}
     */

/**
     * Return the value of the token.
     *
     * @return {*}
     */

/**
     * Returns a component by {@link Ext.Component#id id}.
     * For additional details see {@link Ext.util.MixedCollection#get}.
     * @param {String} id The component {@link Ext.Component#id id}
     * @return Ext.Component The Component, <code>undefined</code> if not found, or <code>null</code> if a
     * Class was found.
     */

/**
     * Returns a custom data object that is registered for a DOM node by id
     * @param {String/HTMLElement} id The DOM node or id to look up
     * @return {Object} data The custom data
     */

/**
     * Returns a custom data object that is registered for the DOM node that is the target of the event
     * @param {Event} e The event
     * @return {Object} data The custom data
     */

/**
     * Returns a date rendering function that can be reused to apply a date format multiple times efficiently
     * @param {String} format Any valid date format string
     * @return {Function} The date formatting function
     */

/**
     * Returns a normalized keyCode for the event.
     * @return {Number} The key code
     */

/**
     * Returns a number rendering function that can be reused to apply a number format multiple times efficiently
     * @param {String} format Any valid number format string for {@link #number}
     * @return {Function} The number formatting function
     */

/**
     * Returns a reference to the actual element to drag.  By default this is
     * the same as the html element, but it can be assigned to another
     * element. An example of this can be found in Ext.dd.DDProxy
     * @method getDragEl
     * @return {HTMLElement} the html element
     */

/**
     * Returns a reference to the linked element
     * @method getEl
     * @return {HTMLElement} the html element
     */

/**
     * Returns a substring from within an original string
     * @param {String} value The original text
     * @param {Number} start The start index of the substring
     * @param {Number} length The length of the substring
     * @return {String} The substring
     */

/**
     * Returns a {@link Ext.menu.Menu} object
     * @param {String/Object} menu The string menu id, an existing menu object reference, or a Menu config that will
     * be used to generate and return a new Menu instance.
     * @return {Ext.menu.Menu} The specified menu, or null if none are found
     */

/**
     * Returns all registered extensions.
     *
     * @return Map<string, TwingExtensionInterface>
     */

/**
     * Returns an error code if this DateTime is invalid, or null if the DateTime is valid
     * @type {string}
     */

/**
     * Returns an error code if this Duration became invalid, or null if the Duration is valid
     * @return {string}
     */

/**
     * Returns an error code if this Interval is invalid, or null if the Interval is valid
     * @type {string}
     */

/**
     * Returns an explanation of why this DateTime became invalid, or null if the DateTime is valid
     * @type {string}
     */

/**
     * Returns an explanation of why this Duration became invalid, or null if the Duration is valid
     * @type {string}
     */

/**
     * Returns an explanation of why this Interval became invalid, or null if the Interval is valid
     * @type {string}
     */

/**
     * Returns an object with properties matching the styles requested.
     * For example, el.getStyles('color', 'font-size', 'width') might return
     * {'color': '#FFFFFF', 'font-size': '13px', 'width': '100px'}.
     * @param {String} style1 A style name
     * @param {String} style2 A style name
     * @param {String} etc.
     * @return {Object} The style object
     */

/**
     * Returns an object with properties top, left, right and bottom representing the margins of this element unless sides is passed,
     * then it returns the calculated width of the sides (see getPadding)
     * @param {String} sides (optional) Any combination of l, r, t, b to get the sum of those sides
     * @return {Object/Number}
     */

/**
     * Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders
     * when needed to simulate offsetHeight when offsets aren't available. This may not work on display:none elements
     * if a height has not been set using CSS.
     * @return {Number}
     */

/**
     * Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders
     * when needed to simulate offsetWidth when offsets aren't available. This may not work on display:none elements
     * if a width has not been set using CSS.
     * @return {Number}
     */

/**
     * Returns template blocks.
     *
     * @returns {Promise<TwingTemplateBlocksMap>} A map of blocks
     */

/**
     * Returns template traits.
     *
     * @returns {Promise<TwingTemplateBlocksMap>} A map of traits
     */

/**
     * Returns the actual CRUD action KEY "create", "read", "update" or "destroy" from the supplied action-name.  This method is used internally and shouldn't generally
     * need to be used directly.  The key/value pair of Ext.data.Api.actions will often be identical but this is not necessarily true.  A developer can override this naming
     * convention if desired.  However, the framework internally calls methods based upon the KEY so a way of retreiving the the words "create", "read", "update" and "destroy" is
     * required.  This method will cache discovered KEYS into the private validActions hash.
     * @param {String} name The runtime name of the action.
     * @return {String||null} returns the action-key, or verb of the user-action or null if invalid.
     * @nodoc
     */

/**
     * Returns the current HTML document object as an {@link Ext.Element}.
     * @return Ext.Element The document
     */

/**
     * Returns the current content renderer for this Updater. See {@link Ext.Updater.BasicRenderer#render} for more details.
     * @return {Object}
     */

/**
     * Returns the current document body as an {@link Ext.Element}.
     * @return Ext.Element The document body
     */

/**
     * Returns the current value for a key
     * @param {String} name The key name
     * @param {Mixed} defaultValue The default value to return if the key lookup does not match
     * @return {Mixed} The state data
     */

/**
     * Returns the end of the Interval
     * @type {DateTime}
     */

/**
     * Returns the environment instance related to this compiler.
     *
     * @returns TwingEnvironment
     */

/**
     * Returns the handle registered for a DOM Node by id
     * @param {String/HTMLElement} id The DOM node or id to look up
     * @return {Object} handle The custom handle data
     */

/**
     * Returns the handle that is registered for the DOM node that is the target of the event
     * @param {Event} e The event
     * @return {Object} handle The custom handle data
     */

/**
     * Returns the markup for the passed Element(s) config.
     * @param {Object} o The DOM object spec (and children)
     * @return {String}
     */

/**
     * Returns the maximum value in the Array
     * @param {Array|NodeList} arr The Array from which to select the maximum value.
     * @param {Function} comp (optional) a function to perform the comparision which determines maximization.
     *                   If omitted the ">" operator will be used. Note: gt = 1; eq = 0; lt = -1
     * @return {Object} The maximum value in the Array.
     */

/**
     * Returns the minimum value in the Array.
     * @param {Array|NodeList} arr The Array from which to select the minimum value.
     * @param {Function} comp (optional) a function to perform the comparision which determines minimization.
     *                   If omitted the "<" operator will be used. Note: gt = 1; eq = 0; lt = -1
     * @return {Object} The minimum value in the Array.
     */

/**
     * Returns the number of days in this DateTime's month
     * @example DateTime.local(2016, 2).daysInMonth //=> 29
     * @example DateTime.local(2016, 3).daysInMonth //=> 31
     * @type {number}
     */

/**
     * Returns the number of days in this DateTime's year
     * @example DateTime.local(2016).daysInYear //=> 366
     * @example DateTime.local(2013).daysInYear //=> 365
     * @type {number}
     */

/**
     * Returns the number of weeks in this DateTime's year
     * @see https://en.wikipedia.org/wiki/ISO_week_date
     * @example DateTime.local(2004).weeksInWeekYear //=> 53
     * @example DateTime.local(2013).weeksInWeekYear //=> 52
     * @type {number}
     */

/**
     * Returns the offset height of the element
     * @param {Boolean} contentHeight (optional) true to get the height minus borders and padding
     * @return {Number} The element's height
     */

/**
     * Returns the offset width of the element
     * @param {Boolean} contentWidth (optional) true to get the width minus borders and padding
     * @return {Number} The element's width
     */

/**
     * Returns the parent template.
     *
     * @param {any} context
     *
     * @returns {Promise<TwingTemplate|false>} The parent template or false if there is no parent
     */

/**
     * Returns the registered renderer for a given xtype
     * @param {String} xtype The component xtype to find a renderer for
     * @return {Object/undefined} The renderer instance for this xtype, or null if not found
     */

/**
     * Returns the size of the element.
     * @param {Boolean} contentSize (optional) true to get the width/size minus borders and padding
     * @return {Object} An object containing the element's size {width: (element width), height: (element height)}
     */

/**
     * Returns the sum width of the padding and borders for the passed "sides". See getBorderWidth()
     for more information about the sides.
     * @param {String} sides
     * @return {Number}
     */

/**
     * Returns the template name.
     *
     * @returns {string} The template name
     */

/**
     * Returns the traceable callable.
     *
     * @param {number} lineno
     * @param {TwingSource} source
     *
     * @return {TwingCallable<T>}
     */

/**
     * Returns the type of object that is passed in. If the object passed in is null or undefined it
     * return false otherwise it returns one of the following values:<div class="mdetail-params"><ul>
     * <li><b>string</b>: If the object passed is a string</li>
     * <li><b>number</b>: If the object passed is a number</li>
     * <li><b>boolean</b>: If the object passed is a boolean value</li>
     * <li><b>date</b>: If the object passed is a Date object</li>
     * <li><b>function</b>: If the object passed is a function reference</li>
     * <li><b>object</b>: If the object passed is an object</li>
     * <li><b>array</b>: If the object passed is an array</li>
     * <li><b>regexp</b>: If the object passed is a regular expression</li>
     * <li><b>element</b>: If the object passed is a DOM Element</li>
     * <li><b>nodelist</b>: If the object passed is a DOM NodeList</li>
     * <li><b>textnode</b>: If the object passed is a DOM text node and contains something other than whitespace</li>
     * <li><b>whitespace</b>: If the object passed is a DOM text node and contains only whitespace</li>
     * </ul></div>
     * @param {Mixed} object
     * @return {String}
     */

/**
     * Returns the value of a namespaced attribute from the element's underlying DOM node.
     * @param {String} namespace The namespace in which to look for the attribute
     * @param {String} name The attribute name
     * @return {String} The attribute value
     * @deprecated
     */

/**
     * Returns the value of an attribute from the element's underlying DOM node.
     * @param {String} name The attribute name
     * @param {String} namespace (optional) The namespace in which to look for the attribute
     * @return {String} The attribute value
     */

/**
     * Returns the value of the "value" attribute
     * @param {Boolean} asNumber true to parse the value as a number
     * @return {String/Number}
     */

/**
     * Returns true if an update is in progress, otherwise false.
     * @return {Boolean}
     */

/**
     * Returns true if display is not "none"
     * @return {Boolean}
     */

/**
     * Returns true if quick tips are enabled, else false.
     * @return {Boolean}
     */

/**
     * Returns true if supplied action-name is a valid API action defined in <code>{@link #actions}</code> constants
     * @param {String} action
     * @param {String[]}(Optional) List of available CRUD actions.  Pass in list when executing multiple times for efficiency.
     * @return {Boolean}
     */

/**
     * Returns true if the Updater is currently set to auto refresh its content (see {@link #startAutoRefresh}), otherwise false.
     */

/**
     * Returns true if the element has any effects actively running or queued, else returns false.
     * @return {Boolean} True if element has active effects, else false
     */

/**
     * Returns true if the element is currently blocking so that no other effect can be queued
     * until this effect is finished, else returns false if blocking is not set.  This is commonly
     * used to ensure that an effect initiated by a user action runs to completion prior to the
     * same effect being restarted (e.g., firing only one effect even if the user clicks several times).
     * @return {Boolean} True if blocking, else false
     */

/**
     * Returns true if the given extension is registered.
     *
     * @param {string} name
     * @return {boolean}
     */

/**
     * Returns true if the message box is currently displayed
     * @return {Boolean} True if the message box is visible, else false
     */

/**
     * Returns true if the passed element(s) match the passed simple selector (e.g. div.some-class or span:first-child)
     * @param {String/HTMLElement/Array} el An element id, element or array of elements
     * @param {String} selector The simple selector to test
     * @return {Boolean}
     */

/**
     * Returns true if the passed object is a JavaScript date object, otherwise false.
     * @param {Object} object The object to test
     * @return {Boolean}
     */

/**
     * Returns true if the passed value is a JavaScript 'primitive', a string, number or boolean.
     * @param {Mixed} value The value to test
     * @return {Boolean}
     */

/**
     * Returns true if the passed value is a JavaScript Function, otherwise false.
     * @param {Mixed} value The value to test
     * @return {Boolean}
     */

/**
     * Returns true if the passed value is a JavaScript Object, otherwise false.
     * @param {Mixed} value The value to test
     * @return {Boolean}
     */

/**
     * Returns true if the passed value is a JavaScript array, otherwise false.
     * @param {Mixed} value The value to test
     * @return {Boolean}
     */

/**
     * Returns true if the passed value is a boolean.
     * @param {Mixed} value The value to test
     * @return {Boolean}
     */

/**
     * Returns true if the passed value is a number. Returns false for non-finite numbers.
     * @param {Mixed} value The value to test
     * @return {Boolean}
     */

/**
     * Returns true if the passed value is a string.
     * @param {Mixed} value The value to test
     * @return {Boolean}
     */

/**
     * Returns true if the passed value is an HTMLElement
     * @param {Mixed} value The value to test
     * @return {Boolean}
     */

/**
     * Returns true if the passed value is not undefined.
     * @param {Mixed} value The value to test
     * @return {Boolean}
     */

/**
     * Returns true if the supplied API is valid; that is, check that all keys match defined actions
     * otherwise returns an array of mistakes.
     * @return {String[]||true}
     */

/**
     * Returns true if the supplied verb upon the supplied proxy points to a unique url in that none of the other api-actions
     * point to the same url.  The question is important for deciding whether to insert the "xaction" HTTP parameter within an
     * Ajax request.  This method is used internally and shouldn't generally need to be called directly.
     * @param {Ext.data.DataProxy} proxy
     * @param {String} verb
     * @return {Boolean}
     */

/**
     * Returns true if this DateTime is in a leap year, false otherwise
     * @example DateTime.local(2016).isInLeapYear //=> true
     * @example DateTime.local(2013).isInLeapYear //=> false
     * @type {boolean}
     */

/**
     * Returns true if this element is an ancestor of the passed element
     * @param {HTMLElement/String} el The element to check
     * @return {Boolean} True if this element is an ancestor of el, else false
     */

/**
     * Returns true if this element is masked
     * @return {Boolean}
     */

/**
     * Returns true if this element matches the passed simple selector (e.g. div.some-class or span:first-child)
     * @param {String} selector The simple selector to test
     * @return {Boolean} True if this element matches the selector, else false
     */

/**
     * Returns true if this instance is locked, or the drag drop mgr is locked
     * (meaning that all drag/drop is disabled on the page.)
     * @method isLocked
     * @return {boolean} true if this obj or all drag/drop is locked, else
     * false
     */

/**
     * Returns whether a block exists or not in the active context of the template.
     *
     * This method checks blocks defined in the active template or defined in "used" traits or defined in parent templates.
     *
     * @param {string} name The block name
     * @param {any} context The context
     * @param {TwingTemplateBlocksMap} blocks The active set of blocks
     *
     * @return {Promise<boolean>} true if the block exists, false otherwise
     */

/**
     * Returns whether the Duration is invalid. Invalid durations are returned by diff operations
     * on invalid DateTimes or Intervals.
     * @return {boolean}
     */

/**
     * Returns whether the offset is known to be fixed for the whole year.
     * @abstract
     * @type {boolean}
     */

/**
     * Returns whether this Interval's end is at least its start, meaning that the Interval isn't 'backwards'.
     * @type {boolean}
     */

/**
     * Returns zero or more windows in the group using the custom search function passed to this method.
     * The function should accept a single {@link Ext.ux.PopupWindow} reference as its only argument and should
     * return true if the window matches the search criteria, otherwise it should return false.
     * @param {Function} fn The search function
     * @param {Object} scope (optional) The scope in which to execute the function (defaults to the window
     * that gets passed to the function if not specified)
     * @return {Array} An array of zero or more matching windows
     */

/**
     * Returns zero or more windows in this WindowGroup using the custom search function passed to this method.
     * The function should accept a single {@link Ext.Window} reference as its only argument and should
     * return true if the window matches the search criteria, otherwise it should return false.
     * @param {Function} fn The search function
     * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the Window being tested.
     * that gets passed to the function if not specified)
     * @return {Array} An array of zero or more matching windows
     */

/**
     * Reverses `array` so that the first element becomes the last, the second
     * element becomes the second to last, and so on.
     *
     * **Note:** This method mutates `array` and is based on
     * [`Array#reverse`](https://mdn.io/Array/reverse).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = [1, 2, 3];
     *
     * _.reverse(array);
     * // => [3, 2, 1]
     *
     * console.log(array);
     * // => [3, 2, 1]
     */

/**
     * Reverses the direction of lazy iteration.
     *
     * @private
     * @name reverse
     * @memberOf LazyWrapper
     * @returns {Object} Returns the new reversed `LazyWrapper` object.
     */

/**
     * Reverts the `_` variable to its previous value and returns a reference to
     * the `lodash` function.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @returns {Function} Returns the `lodash` function.
     * @example
     *
     * var lodash = _.noConflict();
     */

/**
     * Right curly brace: '}'
     */

/**
     * Right square bracket (literal): ']'
     */

/**
     * Rounds the passed number to the required decimal precision.
     * @param {Number/String} value The numeric value to round.
     * @param {Number} precision The number of decimal places to which to round the first parameter's value.
     * @return {Number} The rounded value.
     */

/**
     * See the <code>{@link #baseParams corresponding configuration option}</code>
     * for a description of this property.
     * To modify this property see <code>{@link #setBaseParam}</code>.
     * @property
     */

/**
     * Selectively do a plural form of a word based on a numeric value. For example, in a template,
     * {commentCount:plural("Comment")}  would result in "1 Comment" if commentCount was 1 or would be "x Comments"
     * if the value is 0 or greater than 1.
     * @param {Number} value The value to compare against
     * @param {String} singular The singular form of the word
     * @param {String} plural (optional) The plural form of the word (defaults to the singular with an "s")
     */

/**
     * Selects a group of elements.
     * @param {String} selector The selector/xpath query (can be a comma separated list of selectors)
     * @param {Node/String} root (optional) The start of the query (defaults to document).
     * @return {Array} An Array of DOM elements which match the selector. If there are
     * no matches, and empty Array is returned.
     */

/**
     * Selects a single *direct* child based on the passed CSS selector (the selector should not contain an id).
     * @param {String} selector The CSS selector
     * @param {Boolean} returnDom (optional) True to return the DOM node instead of Ext.Element (defaults to false)
     * @return {HTMLElement/Ext.Element} The child Ext.Element (or DOM node if returnDom = true)
     */

/**
     * Selects a single child at any depth below this element based on the passed CSS selector (the selector should not contain an id).
     * @param {String} selector The CSS selector
     * @param {Boolean} returnDom (optional) True to return the DOM node instead of Ext.Element (defaults to false)
     * @return {HTMLElement/Ext.Element} The child Ext.Element (or DOM node if returnDom = true)
     */

/**
     * Selects a single element.
     * @param {String} selector The selector/xpath query
     * @param {Node} root (optional) The start of the query (defaults to document).
     * @return {Element} The DOM element which matched the selector.
     */

/**
     * Selects child nodes based on the passed CSS selector (the selector should not contain an id).
     * @param {String} selector The CSS selector
     * @return {Array} An array of the matched nodes
     */

/**
     * Selects the value of a node, optionally replacing null with the defaultValue.
     * @param {String} selector The selector/xpath query
     * @param {Node} root (optional) The start of the query (defaults to document).
     * @param {String} defaultValue
     * @return {String}
     */

/**
     * Selects the value of a node, parsing integers and floats. Returns the defaultValue, or 0 if none is specified.
     * @param {String} selector The selector/xpath query
     * @param {Node} root (optional) The start of the query (defaults to document).
     * @param {Number} defaultValue
     * @return {Number}
     */

/**
     * Sends the specified window to the back of other active windows in this WindowGroup.
     * @param {String/Object} win The id of the window or a {@link Ext.Window} instance
     * @return {Ext.Window} The window
     */

/**
     * Sends the specified window to the back of other active windows.
     * @param {String/Object} win The id of the window or a {@link Ext.Window} instance
     * @return {Ext.Window} The window
     */

/**
     * Serialize the stream to a Twig string.
     *
     * @return {string}
     */

/**
     * Serialize the token to a Twig source.
     *
     * @return {string}
     */

/**
     * Set the callback for returning the current timestamp.
     * The function should return a number, which will be interpreted as an Epoch millisecond count
     * @type {function}
     * @example Settings.now = () => Date.now() + 3000 // pretend it is 3 seconds in the future
     * @example Settings.now = () => 0 // always pretend it's Jan 1, 1970 at midnight in UTC time
     */

/**
     * Set the default locale to create DateTimes with. Does not affect existing instances.
     * @type {string}
     */

/**
     * Set the default numbering system to create DateTimes with. Does not affect existing instances.
     * @type {string}
     */

/**
     * Set the default output calendar to create DateTimes with. Does not affect existing instances.
     * @type {string}
     */

/**
     * Set the default time zone to create DateTimes in. Does not affect existing instances.
     * @type {string}
     */

/**
     * Set the height of this Element.
     * <pre><code>
    // change the height to 200px and animate with default configuration
    Ext.fly('elementId').setHeight(200, true);
    // change the height to 150px and animate with a custom configuration
    Ext.fly('elId').setHeight(150, {
    duration : .5, // animation will have a duration of .5 seconds
    // will change the content to "finished"
    callback: function(){ this.{@link #update}("finished"); }
    });
     * </code></pre>
     * @param {Mixed} height The new height. This may be one of:<div class="mdetail-params"><ul>
     * <li>A Number specifying the new height in this Element's {@link #defaultUnit}s (by default, pixels.)</li>
     * <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
     * </ul></div>
     * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
     * @return {Ext.Element} this
     */

/**
     * Set the opacity of the element
     * @param {Float} opacity The new opacity. 0 = transparent, .5 = 50% visibile, 1 = fully visible, etc
     * @param {Boolean/Object} animate (optional) a standard Element animation config object or <tt>true</tt> for
     * the default animation (<tt>{duration: .35, easing: 'easeIn'}</tt>)
     * @return {Ext.Element} this
     */

/**
     * Set the pointer to the next token and returns the previous one.
     *
     * @return {Token}
     */

/**
     * Set the size of this Element. If animation is true, both width and height will be animated concurrently.
     * @param {Mixed} width The new width. This may be one of:<div class="mdetail-params"><ul>
     * <li>A Number specifying the new width in this Element's {@link #defaultUnit}s (by default, pixels).</li>
     * <li>A String used to set the CSS width style. Animation may <b>not</b> be used.
     * <li>A size object in the format <code>{width: widthValue, height: heightValue}</code>.</li>
     * </ul></div>
     * @param {Mixed} height The new height. This may be one of:<div class="mdetail-params"><ul>
     * <li>A Number specifying the new height in this Element's {@link #defaultUnit}s (by default, pixels).</li>
     * <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
     * </ul></div>
     * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
     * @return {Ext.Element} this
     */

/**
     * Set the width of this Element.
     * @param {Mixed} width The new width. This may be one of:<div class="mdetail-params"><ul>
     * <li>A Number specifying the new width in this Element's {@link #defaultUnit}s (by default, pixels).</li>
     * <li>A String used to set the CSS width style. Animation may <b>not</b> be used.
     * </ul></div>
     * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
     * @return {Ext.Element} this
     */

/**
     * Set this element to auto refresh.  Can be canceled by calling {@link #stopAutoRefresh}.
     * @param {Number} interval How often to update (in seconds).
     * @param {String/Object/Function} url (optional) The url for this request, a config object in the same format
     * supported by {@link #load}, or a function to call to get the url (defaults to the last used url).  Note that while
     * the url used in a load call can be reused by this method, other load config options will not be reused and must be
     * sepcified as part of a config object passed as this paramter if needed.
     * @param {String/Object} params (optional) The parameters to pass as either a url encoded string
     * "&param1=1&param2=2" or as an object {param1: 1, param2: 2}
     * @param {Function} callback (optional) Callback when transaction is complete - called with signature (oElement, bSuccess)
     * @param {Boolean} refreshNow (optional) Whether to execute the refresh now, or wait the interval
     */

/**
     * Set to false to enable a DragDrop object to fire drag events while dragging
     * over its own Element. Defaults to true - DragDrop objects do not by default
     * fire drag events to themselves.
     * @property ignoreSelf
     * @type Boolean
     */

/**
     * Set to true when horizontal contraints are applied
     * @property constrainX
     * @type boolean
     * @private
     */

/**
     * Set to true when vertical contraints are applied
     * @property constrainY
     * @type boolean
     * @private
     */

/**
     * Set whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals
     * @type {boolean}
     */

/**
     * Sets metadata for `func`.
     *
     * **Note:** If this function becomes hot, i.e. is invoked a lot in a short
     * period of time, it will trip its breaker and transition to an identity
     * function to avoid garbage collection pauses in V8. See
     * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)
     * for more details.
     *
     * @private
     * @param {Function} func The function to associate metadata with.
     * @param {*} data The metadata.
     * @returns {Function} Returns `func`.
     */

/**
     * Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.
     * @param {Mixed} value Boolean value to display the element using its default display, or a string to set the display directly.
     * @return {Ext.Element} this
     */

/**
     * Sets the X position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
     * @param {Number} The X position of the element
     * @param {Boolean/Object} animate (optional) True for the default animation, or a standard Element animation config object
     * @return {Ext.Element} this
     */

/**
     * Sets the Y position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
     * @param {Number} The Y position of the element
     * @param {Boolean/Object} animate (optional) True for the default animation, or a standard Element animation config object
     * @return {Ext.Element} this
     */

/**
     * Sets the `toString` method of `wrapper` to mimic the source of `reference`
     * with wrapper details in a comment at the top of the source body.
     *
     * @private
     * @param {Function} wrapper The function to modify.
     * @param {Function} reference The reference function.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @returns {Function} Returns `wrapper`.
     */

/**
     * Sets the active cache implementation.
     *
     * @param {TwingCacheInterface|string|false} cache A TwingCacheInterface implementation, a string or false to disable cache
     */

/**
     * Sets the default URL used for updates.
     * @param {String/Function} defaultUrl The url or a function to call to get the url
     */

/**
     * Sets the default format to be used by the date filter.
     *
     * @param {string} format The default date format string
     * @param {string} dateIntervalFormat The default date interval format string
     */

/**
     * Sets the default format to be used by the number_format filter.
     *
     * @param {number} decimal the number of decimal places to use
     * @param {string} decimalPoint the character(s) to use for the decimal point
     * @param {string} thousandSep  the character(s) to use for the thousands separator
     */

/**
     * Sets the default strategy to use when not defined by the user.
     *
     * @param {string | false | TwingEscapingStrategyResolver} defaultStrategy An escaping strategy
     */

/**
     * Sets the default template charset.
     *
     * @param {string} charset The default charset
     */

/**
     * Sets the default timezone to be used by the date filter.
     *
     * @param {string} timezone The default timezone string or a TwingDateTimeZone object
     */

/**
     * Sets the element's CSS bottom style.
     * @param {String} bottom The bottom CSS property value
     * @return {Ext.Element} this
     */

/**
     * Sets the element's CSS right style.
     * @param {String} right The right CSS property value
     * @return {Ext.Element} this
     */

/**
     * Sets the element's left position directly using CSS style (instead of {@link #setX}).
     * @param {String} left The left CSS property value
     * @return {Ext.Element} this
     */

/**
     * Sets the element's top position directly using CSS style (instead of {@link #setY}).
     * @param {String} top The top CSS property value
     * @return {Ext.Element} this
     */

/**
     * Sets the element's visibility mode. When setVisible() is called it
     * will use this to determine whether to set the visibility or the display property.
     * @param {Number} visMode Ext.Element.VISIBILITY or Ext.Element.DISPLAY
     * @return {Ext.Element} this
     */

/**
     * Sets the hash `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf Hash
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the hash instance.
     */

/**
     * Sets the list cache `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf ListCache
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the list cache instance.
     */

/**
     * Sets the map `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf MapCache
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the map cache instance.
     */

/**
     * Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)
     * @param {Object} o The object with the attributes
     * @param {Boolean} useSet (optional) false to override the default setAttribute to use expandos.
     * @return {Ext.Element} this
     */

/**
     * Sets the position of the element in page coordinates, regardless of how the element is positioned.
     * The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
     * @param {Array} pos Contains X & Y [x, y] values for new position (coordinates are page-based)
     * @param {Boolean/Object} animate (optional) True for the default animation, or a standard Element animation config object
     * @return {Ext.Element} this
     */

/**
     * Sets the position of the element in page coordinates, regardless of how the element is positioned.
     * The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).
     * @param {Number} x X value for new position (coordinates are page-based)
     * @param {Number} y Y value for new position (coordinates are page-based)
     * @param {Boolean/Object} animate (optional) True for the default animation, or a standard Element animation config object
     * @return {Ext.Element} this
     */

/**
     * Sets the source context of the Twig template where the error occurred.
     */

/**
     * Sets the stack `key` to `value`.
     *
     * @private
     * @name set
     * @memberOf Stack
     * @param {string} key The key of the value to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns the stack cache instance.
     */

/**
     * Sets the start position of the element.  This is set when the obj
     * is initialized, the reset when a drag is started.
     * @method setStartPosition
     * @param pos current position (from previous lookup)
     * @private
     */

/**
     * Sets the template line where the error occurred.
     *
     * @param {number} lineno The template line
     */

/**
     * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,
     * it's created. Arrays are created for missing index properties while objects
     * are created for all other missing properties. Use `_.setWith` to customize
     * `path` creation.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 3.7.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {*} value The value to set.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 3 } }] };
     *
     * _.set(object, 'a[0].b.c', 4);
     * console.log(object.a[0].b.c);
     * // => 4
     *
     * _.set(object, ['x', '0', 'y', 'z'], 5);
     * console.log(object.x[0].y.z);
     * // => 5
     */

/**
     * Sets the value for a key
     * @param key
     * @param {Mixed} value The state data
     */

/**
     * Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use
     * the display property to hide the element, otherwise it uses visibility. The default is to hide and show using the visibility property.
     * @param {Boolean} visible Whether the element is visible
     * @param {Boolean/Object} animate (optional) True for the default animation, or a standard Element animation config object
     * @return {Ext.Element} this
     */

/**
     * Sets the z-index of this layer and adjusts any shadow and shim z-indexes. The layer z-index is automatically
     * incremented by two more than the value passed in so that it always shows above any shadow or shim (the shadow
     * element, if any, will be assigned z-index + 1, and the shim element, if any, will be assigned the unmodified z-index).
     * @param {Number} zindex The new z-index to set
     * @return {this} The Layer
     */

/**
     * Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effect)
     * @param {String} className
     * @return {Ext.Element} this
     */

/**
     * Sets up event handlers to add and remove a css class when the mouse is over this element
     * @param {String} className
     * @return {Ext.Element} this
     */

/**
     * Sets up event handlers to add and remove a css class when this element has the focus
     * @param {String} className
     * @return {Ext.Element} this
     */

/**
     * Sets up event handlers to call the passed functions when the mouse is moved into and out of the Element.
     * @param {Function} overFn The function to call when the mouse enters the Element.
     * @param {Function} outFn The function to call when the mouse leaves the Element.
     * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the functions are executed. Defaults to the Element's DOM element.
     * @param {Object} options (optional) Options for the listener. See {@link Ext.util.Observable#addListener the <tt>options</tt> parameter}.
     * @return {Ext.Element} this
     */

/**
     * Sets up the DragDrop object.  Must be called in the constructor of any
     * Ext.dd.DragDrop subclass
     * @method init
     * @param id the id of the linked element
     * @param {String} sGroup the group of related items
     * @param {object} config configuration attributes
     */

/**
     * Shows a ripple of exploding, attenuating borders to draw attention to an Element.
     * Usage:
    <pre><code>
    // default: a single light blue ripple
    el.frame();
    // custom: 3 red ripples lasting 3 seconds total
    el.frame("ff0000", 3, { duration: 3 });
    // common config options shown with default values
    el.frame("C3DAF9", 1, {
     duration: 1 //duration of each individual ripple.
     // Note: Easing is not configurable and will be ignored if included
    });
    </code></pre>
     * @param {String} color (optional) The color of the border.  Should be a 6 char hex color without the leading # (defaults to light blue: 'C3DAF9').
     * @param {Number} count (optional) The number of ripples to display (defaults to 1)
     * @param {Object} options (optional) Object literal with any of the Fx config options
     * @return {Ext.Element} The Element
     */

/**
     * Simple format for a file size (xxx bytes, xxx KB, xxx MB)
     * @param {Number/String} size The numeric value to format
     * @return {String} The formatted file size
     */

/**
     * Slashes
     */

/**
     * Slides the element into view.  An anchor point can be optionally passed to set the point of
     * origin for the slide effect.  This function automatically handles wrapping the element with
     * a fixed-size container if needed.  See the Fx class overview for valid anchor point options.
     * Usage:
     *<pre><code>
    // default: slide the element in from the top
    el.slideIn();
    // custom: slide the element in from the right with a 2-second duration
    el.slideIn('r', { duration: 2 });
    // common config options shown with default values
    el.slideIn('t', {
    easing: 'easeOut',
    duration: .5
    });
    </code></pre>
     * @param {String} anchor (optional) One of the valid Fx anchor positions (defaults to top: 't')
     * @param {Object} options (optional) Object literal with any of the Fx config options
     * @return {Ext.Element} The Element
     */

/**
     * Slides the element out of view.  An anchor point can be optionally passed to set the end point
     * for the slide effect.  When the effect is completed, the element will be hidden (visibility = 
     * 'hidden') but block elements will still take up space in the document.  The element must be removed
     * from the DOM using the 'remove' config option if desired.  This function automatically handles 
     * wrapping the element with a fixed-size container if needed.  See the Fx class overview for valid anchor point options.
     * Usage:
     *<pre><code>
    // default: slide the element out to the top
    el.slideOut();
    // custom: slide the element out to the right with a 2-second duration
    el.slideOut('r', { duration: 2 });
    // common config options shown with default values
    el.slideOut('t', {
    easing: 'easeOut',
    duration: .5,
    remove: false,
    useDisplay: false
    });
    </code></pre>
     * @param {String} anchor (optional) One of the valid Fx anchor positions (defaults to top: 't')
     * @param {Object} options (optional) Object literal with any of the Fx config options
     * @return {Ext.Element} The Element
     */

/**
     * Slides the element while fading it out of view.  An anchor point can be optionally passed to set the 
     * ending point of the effect.
     * Usage:
     *<pre><code>
    // default: slide the element downward while fading out
    el.ghost();
    // custom: slide the element out to the right with a 2-second duration
    el.ghost('r', { duration: 2 });
    // common config options shown with default values
    el.ghost('b', {
    easing: 'easeOut',
    duration: .5,
    remove: false,
    useDisplay: false
    });
    </code></pre>
     * @param {String} anchor (optional) One of the valid Fx anchor positions (defaults to bottom: 'b')
     * @param {Object} options (optional) Object literal with any of the Fx config options
     * @return {Ext.Element} The Element
     */

/**
     * Splits `string` by `separator`.
     *
     * **Note:** This method is based on
     * [`String#split`](https://mdn.io/String/split).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to split.
     * @param {RegExp|string} separator The separator pattern to split by.
     * @param {number} [limit] The length to truncate results to.
     * @returns {Array} Returns the string segments.
     * @example
     *
     * _.split('a-b-c', '-', 2);
     * // => ['a', 'b']
     */

/**
     * Splits `string` into an array of its words.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category String
     * @param {string} [string=''] The string to inspect.
     * @param {RegExp|string} [pattern] The pattern to match words.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Array} Returns the words of `string`.
     * @example
     *
     * _.words('fred, barney, & pebbles');
     * // => ['fred', 'barney', 'pebbles']
     *
     * _.words('fred, barney, & pebbles', /[^, ]+/g);
     * // => ['fred', 'barney', '&', 'pebbles']
     */

/**
     * Square brackets
     */

/**
     * Stars
     */

/**
     * Stop auto refresh on this element.
     */

/**
     * Stop the event (preventDefault and stopPropagation)
     */

/**
     * Stops any running effects and clears the element's internal effects queue if it contains
     * any additional effects that haven't started yet.
     * @return {Ext.Element} The Element
     */

/**
     * Stores the initial placement of the linked element.
     * @method setInitPosition
     * @param {int} diffX   the X offset, default 0
     * @param {int} diffY   the Y offset, default 0
     */

/**
     * Strips all HTML tags
     * @param {Mixed} value The text from which to strip tags
     * @return {String} The stripped text
     */

/**
     * Strips all script tags
     * @param {Mixed} value The text from which to strip script tags
     * @return {String} The stripped text
     */

/**
     * Style function for use within the library.
     * @type {import("../style/Style.js").StyleFunction|undefined}
     * @private
     */

/**
     * Takes an encoded URL and and converts it to an object. Example: <pre><code>
    Ext.urlDecode("foo=1&bar=2"); // returns {foo: "1", bar: "2"}
    Ext.urlDecode("foo=1&bar=2&bar=3&bar=4", false); // returns {foo: "1", bar: ["2", "3", "4"]}
    </code></pre>
     * @param {String} string
     * @param {Boolean} overwrite (optional) Items of the same name will overwrite previous values instead of creating an an array (Defaults to false).
     * @return {Object} A literal with members
     */

/**
     * Takes an object and converts it to an encoded URL. e.g. Ext.urlEncode({foo: 1, bar: 2}); would return "foo=1&bar=2".  Optionally, property values can be arrays, instead of keys and the resulting string that's returned will contain a name/value pair for each array value.
     * @param {Object} o
     * @param {String} pre (optional) A prefix to add to the url encoded string
     * @return {String}
     */

/**
     * Test the current token, then, if the test is successful, sets the pointer to the next one and returns the tested token.
     *
     * @return {Token} The next token if the condition is true, null otherwise
     */

/**
     * Test the current token.
     *
     * @param {TokenType} type
     * @param {string|string[]|number} value
     * @returns {boolean}
     */

/**
     * Test the token for a type and/or a content.
     *
     * @param {TokenType} type
     * @param {string|string[]|number} value
     * @returns {boolean}
     */

/**
     * Tests a token and returns it or throws a syntax error.
     *
     * @return {Token}
     */

/**
     * Tests various css rules/browsers to determine if this element uses a border box
     * @return {Boolean}
     */

/**
     * Text
     */

/**
     * The CSS class that provides the ERROR icon image
     * @type String
     */

/**
     * The CSS class that provides the INFO icon image
     * @type String
     */

/**
     * The CSS class that provides the QUESTION icon image
     * @type String
     */

/**
     * The CSS class that provides the WARNING icon image
     * @type String
     */

/**
     * The DOM element
     * @type HTMLElement
     */

/**
     * The DOM element ID
     * @type String
     */

/**
     * The ID of the element that initiates the drag operation.  By default
     * this is the linked element, but could be changed to be a child of this
     * element.  This lets us do things like only starting the drag when the
     * header element within the linked html element is clicked.
     * @property handleElId
     * @type String
     * @private
     */

/**
     * The MixedCollection used internally for the component cache. An example usage may be subscribing to
     * events on the MixedCollection to monitor addition or removal.  Read-only.
     * @type {MixedCollection}
     */

/**
     * The added or removed feature for the `ADDFEATURE` and `REMOVEFEATURE` events, `undefined` otherwise.
     * @type {import("../Feature.js").default<Geometry>|undefined}
     * @api
     */

/**
     * The added or removed layer.
     * @type {BaseLayer}
     * @api
     */

/**
     * The animation duration in seconds - 
     * MUST BE less than Ext.dd.ScrollManager.frequency! (defaults to .4)
     * @type Number
     */

/**
     * The availabe property is false until the linked dom element is accessible.
     * @property available
     * @type boolean
     */

/**
     * The base constructor for creating `lodash` wrapper objects.
     *
     * @private
     * @param {*} value The value to wrap.
     * @param {boolean} [chainAll] Enable explicit method chain sequences.
     */

/**
     * The base implementation of  `_.pickBy` without support for iteratee shorthands.
     *
     * @private
     * @param {Object} object The source object.
     * @param {string[]} paths The property paths to pick.
     * @param {Function} predicate The function invoked per property.
     * @returns {Object} Returns the new object.
     */

/**
     * The base implementation of `_.assignIn` without support for multiple sources
     * or `customizer` functions.
     *
     * @private
     * @param {Object} object The destination object.
     * @param {Object} source The source object.
     * @returns {Object} Returns `object`.
     */

/**
     * The base implementation of `_.assign` without support for multiple sources
     * or `customizer` functions.
     *
     * @private
     * @param {Object} object The destination object.
     * @param {Object} source The source object.
     * @returns {Object} Returns `object`.
     */

/**
     * The base implementation of `_.at` without support for individual paths.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {string[]} paths The property paths to pick.
     * @returns {Array} Returns the picked elements.
     */

/**
     * The base implementation of `_.clamp` which doesn't coerce arguments.
     *
     * @private
     * @param {number} number The number to clamp.
     * @param {number} [lower] The lower bound.
     * @param {number} upper The upper bound.
     * @returns {number} Returns the clamped number.
     */

/**
     * The base implementation of `_.clone` and `_.cloneDeep` which tracks
     * traversed objects.
     *
     * @private
     * @param {*} value The value to clone.
     * @param {boolean} bitmask The bitmask flags.
     *  1 - Deep clone
     *  2 - Flatten inherited properties
     *  4 - Clone symbols
     * @param {Function} [customizer] The function to customize cloning.
     * @param {string} [key] The key of `value`.
     * @param {Object} [object] The parent object of `value`.
     * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
     * @returns {*} Returns the cloned value.
     */

/**
     * The base implementation of `_.conformsTo` which accepts `props` to check.
     *
     * @private
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property predicates to conform to.
     * @returns {boolean} Returns `true` if `object` conforms, else `false`.
     */

/**
     * The base implementation of `_.conforms` which doesn't clone `source`.
     *
     * @private
     * @param {Object} source The object of property predicates to conform to.
     * @returns {Function} Returns the new spec function.
     */

/**
     * The base implementation of `_.create` without support for assigning
     * properties to the created object.
     *
     * @private
     * @param {Object} proto The object to inherit from.
     * @returns {Object} Returns the new object.
     */

/**
     * The base implementation of `_.delay` and `_.defer` which accepts `args`
     * to provide to `func`.
     *
     * @private
     * @param {Function} func The function to delay.
     * @param {number} wait The number of milliseconds to delay invocation.
     * @param {Array} args The arguments to provide to `func`.
     * @returns {number|Object} Returns the timer id or timeout object.
     */

/**
     * The base implementation of `_.every` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} predicate The function invoked per iteration.
     * @returns {boolean} Returns `true` if all elements pass the predicate check,
     *  else `false`
     */

/**
     * The base implementation of `_.fill` without an iteratee call guard.
     *
     * @private
     * @param {Array} array The array to fill.
     * @param {*} value The value to fill `array` with.
     * @param {number} [start=0] The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns `array`.
     */

/**
     * The base implementation of `_.filter` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} predicate The function invoked per iteration.
     * @returns {Array} Returns the new filtered array.
     */

/**
     * The base implementation of `_.flatten` with support for restricting flattening.
     *
     * @private
     * @param {Array} array The array to flatten.
     * @param {number} depth The maximum recursion depth.
     * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
     * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
     * @param {Array} [result=[]] The initial result value.
     * @returns {Array} Returns the new flattened array.
     */

/**
     * The base implementation of `_.forEachRight` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Array|Object} Returns `collection`.
     */

/**
     * The base implementation of `_.forEach` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Array|Object} Returns `collection`.
     */

/**
     * The base implementation of `_.forOwnRight` without support for iteratee shorthands.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Object} Returns `object`.
     */

/**
     * The base implementation of `_.forOwn` without support for iteratee shorthands.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Object} Returns `object`.
     */

/**
     * The base implementation of `_.functions` which creates an array of
     * `object` function property names filtered from `props`.
     *
     * @private
     * @param {Object} object The object to inspect.
     * @param {Array} props The property names to filter.
     * @returns {Array} Returns the function names.
     */

/**
     * The base implementation of `_.get` without support for default values.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Array|string} path The path of the property to get.
     * @returns {*} Returns the resolved value.
     */

/**
     * The base implementation of `_.gt` which doesn't coerce arguments.
     *
     * @private
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is greater than `other`,
     *  else `false`.
     */

/**
     * The base implementation of `_.hasIn` without support for deep paths.
     *
     * @private
     * @param {Object} [object] The object to query.
     * @param {Array|string} key The key to check.
     * @returns {boolean} Returns `true` if `key` exists, else `false`.
     */

/**
     * The base implementation of `_.has` without support for deep paths.
     *
     * @private
     * @param {Object} [object] The object to query.
     * @param {Array|string} key The key to check.
     * @returns {boolean} Returns `true` if `key` exists, else `false`.
     */

/**
     * The base implementation of `_.inRange` which doesn't coerce arguments.
     *
     * @private
     * @param {number} number The number to check.
     * @param {number} start The start of the range.
     * @param {number} end The end of the range.
     * @returns {boolean} Returns `true` if `number` is in the range, else `false`.
     */

/**
     * The base implementation of `_.invert` and `_.invertBy` which inverts
     * `object` with values transformed by `iteratee` and set by `setter`.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} setter The function to set `accumulator` values.
     * @param {Function} iteratee The iteratee to transform values.
     * @param {Object} accumulator The initial inverted object.
     * @returns {Function} Returns `accumulator`.
     */

/**
     * The base implementation of `_.invoke` without support for individual
     * method arguments.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Array|string} path The path of the method to invoke.
     * @param {Array} args The arguments to invoke the method with.
     * @returns {*} Returns the result of the invoked method.
     */

/**
     * The base implementation of `_.isArguments`.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an `arguments` object,
     */

/**
     * The base implementation of `_.isArrayBuffer` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.
     */

/**
     * The base implementation of `_.isDate` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a date object, else `false`.
     */

/**
     * The base implementation of `_.isEqual` which supports partial comparisons
     * and tracks traversed objects.
     *
     * @private
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @param {boolean} bitmask The bitmask flags.
     *  1 - Unordered comparison
     *  2 - Partial comparison
     * @param {Function} [customizer] The function to customize comparisons.
     * @param {Object} [stack] Tracks traversed `value` and `other` objects.
     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
     */

/**
     * The base implementation of `_.isMap` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a map, else `false`.
     */

/**
     * The base implementation of `_.isMatch` without support for iteratee shorthands.
     *
     * @private
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property values to match.
     * @param {Array} matchData The property names, values, and compare flags to match.
     * @param {Function} [customizer] The function to customize comparisons.
     * @returns {boolean} Returns `true` if `object` is a match, else `false`.
     */

/**
     * The base implementation of `_.isNative` without bad shim checks.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a native function,
     *  else `false`.
     */

/**
     * The base implementation of `_.isRegExp` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.
     */

/**
     * The base implementation of `_.isSet` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a set, else `false`.
     */

/**
     * The base implementation of `_.isTypedArray` without Node.js optimizations.
     *
     * @private
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
     */

/**
     * The base implementation of `_.iteratee`.
     *
     * @private
     * @param {*} [value=_.identity] The value to convert to an iteratee.
     * @returns {Function} Returns the iteratee.
     */

/**
     * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     */

/**
     * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     */

/**
     * The base implementation of `_.lt` which doesn't coerce arguments.
     *
     * @private
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @returns {boolean} Returns `true` if `value` is less than `other`,
     *  else `false`.
     */

/**
     * The base implementation of `_.map` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @returns {Array} Returns the new mapped array.
     */

/**
     * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
     *
     * @private
     * @param {string} path The path of the property to get.
     * @param {*} srcValue The value to match.
     * @returns {Function} Returns the new spec function.
     */

/**
     * The base implementation of `_.matches` which doesn't clone `source`.
     *
     * @private
     * @param {Object} source The object of property values to match.
     * @returns {Function} Returns the new spec function.
     */

/**
     * The base implementation of `_.merge` without support for multiple sources.
     *
     * @private
     * @param {Object} object The destination object.
     * @param {Object} source The source object.
     * @param {number} srcIndex The index of `source`.
     * @param {Function} [customizer] The function to customize merged values.
     * @param {Object} [stack] Tracks traversed source values and their merged
     *  counterparts.
     */

/**
     * The base implementation of `_.nth` which doesn't coerce arguments.
     *
     * @private
     * @param {Array} array The array to query.
     * @param {number} n The index of the element to return.
     * @returns {*} Returns the nth element of `array`.
     */

/**
     * The base implementation of `_.orderBy` without param guards.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.
     * @param {string[]} orders The sort orders of `iteratees`.
     * @returns {Array} Returns the new sorted array.
     */

/**
     * The base implementation of `_.pick` without support for individual
     * property identifiers.
     *
     * @private
     * @param {Object} object The source object.
     * @param {string[]} paths The property paths to pick.
     * @returns {Object} Returns the new object.
     */

/**
     * The base implementation of `_.pullAllBy` without support for iteratee
     * shorthands.
     *
     * @private
     * @param {Array} array The array to modify.
     * @param {Array} values The values to remove.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns `array`.
     */

/**
     * The base implementation of `_.pullAt` without support for individual
     * indexes or capturing the removed elements.
     *
     * @private
     * @param {Array} array The array to modify.
     * @param {number[]} indexes The indexes of elements to remove.
     * @returns {Array} Returns `array`.
     */

/**
     * The base implementation of `_.random` without support for returning
     * floating-point numbers.
     *
     * @private
     * @param {number} lower The lower bound.
     * @param {number} upper The upper bound.
     * @returns {number} Returns the random number.
     */

/**
     * The base implementation of `_.range` and `_.rangeRight` which doesn't
     * coerce arguments.
     *
     * @private
     * @param {number} start The start of the range.
     * @param {number} end The end of the range.
     * @param {number} step The value to increment or decrement by.
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Array} Returns the range of numbers.
     */

/**
     * The base implementation of `_.repeat` which doesn't coerce arguments.
     *
     * @private
     * @param {string} string The string to repeat.
     * @param {number} n The number of times to repeat the string.
     * @returns {string} Returns the repeated string.
     */

/**
     * The base implementation of `_.rest` which doesn't validate or coerce arguments.
     *
     * @private
     * @param {Function} func The function to apply a rest parameter to.
     * @param {number} [start=func.length-1] The start position of the rest parameter.
     * @returns {Function} Returns the new function.
     */

/**
     * The base implementation of `_.sampleSize` without param guards.
     *
     * @private
     * @param {Array|Object} collection The collection to sample.
     * @param {number} n The number of elements to sample.
     * @returns {Array} Returns the random elements.
     */

/**
     * The base implementation of `_.sample`.
     *
     * @private
     * @param {Array|Object} collection The collection to sample.
     * @returns {*} Returns the random element.
     */

/**
     * The base implementation of `_.set`.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {*} value The value to set.
     * @param {Function} [customizer] The function to customize path creation.
     * @returns {Object} Returns `object`.
     */

/**
     * The base implementation of `_.shuffle`.
     *
     * @private
     * @param {Array|Object} collection The collection to shuffle.
     * @returns {Array} Returns the new shuffled array.
     */

/**
     * The base implementation of `_.slice` without an iteratee call guard.
     *
     * @private
     * @param {Array} array The array to slice.
     * @param {number} [start=0] The start position.
     * @param {number} [end=array.length] The end position.
     * @returns {Array} Returns the slice of `array`.
     */

/**
     * The base implementation of `_.some` without support for iteratee shorthands.
     *
     * @private
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} predicate The function invoked per iteration.
     * @returns {boolean} Returns `true` if any element passes the predicate check,
     *  else `false`.
     */

/**
     * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`
     * which invokes `iteratee` for `value` and each element of `array` to compute
     * their sort ranking. The iteratee is invoked with one argument; (value).
     *
     * @private
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @param {Function} iteratee The iteratee invoked per element.
     * @param {boolean} [retHighest] Specify returning the highest qualified index.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     */

/**
     * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which
     * performs a binary search of `array` to determine the index at which `value`
     * should be inserted into `array` in order to maintain its sort order.
     *
     * @private
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @param {boolean} [retHighest] Specify returning the highest qualified index.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     */

/**
     * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without
     * support for iteratee shorthands.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     */

/**
     * The base implementation of `_.toNumber` which doesn't ensure correct
     * conversions of binary, hexadecimal, or octal string values.
     *
     * @private
     * @param {*} value The value to process.
     * @returns {number} Returns the number.
     */

/**
     * The base implementation of `_.toString` which doesn't convert nullish
     * values to empty strings.
     *
     * @private
     * @param {*} value The value to process.
     * @returns {string} Returns the string.
     */

/**
     * The base implementation of `_.uniqBy` without support for iteratee shorthands.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     */

/**
     * The base implementation of `_.unset`.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {Array|string} path The property path to unset.
     * @returns {boolean} Returns `true` if the property is deleted, else `false`.
     */

/**
     * The base implementation of `_.update`.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to update.
     * @param {Function} updater The function to produce the updated value.
     * @param {Function} [customizer] The function to customize path creation.
     * @returns {Object} Returns `object`.
     */

/**
     * The base implementation of `assignValue` and `assignMergeValue` without
     * value checks.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {string} key The key of the property to assign.
     * @param {*} value The value to assign.
     */

/**
     * The base implementation of `baseForOwn` which iterates over `object`
     * properties returned by `keysFunc` and invokes `iteratee` for each property.
     * Iteratee functions may exit iteration early by explicitly returning `false`.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @param {Function} keysFunc The function to get the keys of `object`.
     * @returns {Object} Returns `object`.
     */

/**
     * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
     * `keysFunc` and `symbolsFunc` to get the enumerable property names and
     * symbols of `object`.
     *
     * @private
     * @param {Object} object The object to query.
     * @param {Function} keysFunc The function to get the keys of `object`.
     * @param {Function} symbolsFunc The function to get the symbols of `object`.
     * @returns {Array} Returns the array of property names and symbols.
     */

/**
     * The base implementation of `getTag` without fallbacks for buggy environments.
     *
     * @private
     * @param {*} value The value to query.
     * @returns {string} Returns the `toStringTag`.
     */

/**
     * The base implementation of `setData` without support for hot loop shorting.
     *
     * @private
     * @param {Function} func The function to associate metadata with.
     * @param {*} data The metadata.
     * @returns {Function} Returns `func`.
     */

/**
     * The base implementation of `setToString` without support for hot loop shorting.
     *
     * @private
     * @param {Function} func The function to modify.
     * @param {Function} string The `toString` result.
     * @returns {Function} Returns `func`.
     */

/**
     * The base implementation of `wrapperValue` which returns the result of
     * performing a sequence of actions on the unwrapped `value`, where each
     * successive action is supplied the return value of the previous.
     *
     * @private
     * @param {*} value The unwrapped value.
     * @param {Array} actions Actions to perform to resolve the unwrapped value.
     * @returns {*} Returns the resolved value.
     */

/**
     * The base implementation of methods like `_.difference` without support
     * for excluding multiple arrays or iteratee shorthands.
     *
     * @private
     * @param {Array} array The array to inspect.
     * @param {Array} values The values to exclude.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of filtered values.
     */

/**
     * The base implementation of methods like `_.dropWhile` and `_.takeWhile`
     * without support for iteratee shorthands.
     *
     * @private
     * @param {Array} array The array to query.
     * @param {Function} predicate The function invoked per iteration.
     * @param {boolean} [isDrop] Specify dropping elements instead of taking them.
     * @param {boolean} [fromRight] Specify iterating from right to left.
     * @returns {Array} Returns the slice of `array`.
     */

/**
     * The base implementation of methods like `_.intersection`, without support
     * for iteratee shorthands, that accepts an array of arrays to inspect.
     *
     * @private
     * @param {Array} arrays The arrays to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of shared values.
     */

/**
     * The base implementation of methods like `_.max` and `_.min` which accepts a
     * `comparator` to determine the extremum value.
     *
     * @private
     * @param {Array} array The array to iterate over.
     * @param {Function} iteratee The iteratee invoked per iteration.
     * @param {Function} comparator The comparator used to compare values.
     * @returns {*} Returns the extremum value.
     */

/**
     * The base implementation of methods like `_.xor`, without support for
     * iteratee shorthands, that accepts an array of arrays to inspect.
     *
     * @private
     * @param {Array} arrays The arrays to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new array of values.
     */

/**
     * The collection of components in this container as a {@link Ext.util.MixedCollection}
     * @type MixedCollection
     * @property items
     */

/**
     * The coordinate in the user projection corresponding to the original browser event.
     * @type {?import("./coordinate.js").Coordinate}
     */

/**
     * The coordinate of the drag event.
     * @const
     * @type {import("../coordinate.js").Coordinate}
     * @api
     */

/**
     * The default height in pixels of the message box's multiline textarea if displayed (defaults to 75)
     * @type Number
     */

/**
     * The default unit to append to CSS values where a unit isn't provided (defaults to px).
     * @type String
     */

/**
     * The down constraint
     * @property maxY
     * @type int
     * @private
     */

/**
     * The duration for the opacity transition.
     * @type {number}
     */

/**
     * The element that is added to or removed from the collection.
     * @type {T}
     * @api
     */

/**
     * The element's default display mode  (defaults to "")
     * @type String
     */

/**
     * The error text to display when the alpha validation function returns false.  Defaults to:
     * <tt>'This field should only contain letters and _'</tt>
     * @type String
     */

/**
     * The error text to display when the alphanumeric validation function returns false.  Defaults to:
     * <tt>'This field should only contain letters, numbers and _'</tt>
     * @type String
     */

/**
     * The error text to display when the email validation function returns false.  Defaults to:
     * <tt>'This field should be an e-mail address in the format "user@example.com"'</tt>
     * @type String
     */

/**
     * The error text to display when the url validation function returns false.  Defaults to:
     * <tt>'This field should be a URL in the format "http:/'+'/www.example.com"'</tt>
     * @type String
     */

/**
     * The event target.
     * @type {Object}
     * @api
     */

/**
     * The event type.
     * @type {string}
     * @api
     */

/**
     * The extent at the previous 'moveend' event.
     * @private
     * @type {import("./extent.js").Extent}
     */

/**
     * The frame state at the time of the event.
     * @type {?import("./Map.js").FrameState}
     * @api
     */

/**
     * The frequency of scrolls in milliseconds (defaults to 500)
     * @type Number
     */

/**
     * The function used to validate URLs
     * @param {String} value The URL
     * @return {Boolean} true if the RegExp test passed, and false if not.
     */

/**
     * The function used to validate alpha values
     * @param {String} value The value
     * @return {Boolean} true if the RegExp test passed, and false if not.
     */

/**
     * The function used to validate alphanumeric values
     * @param {String} value The value
     * @return {Boolean} true if the RegExp test passed, and false if not.
     */

/**
     * The function used to validate email addresses.  Note that this is a very basic validation -- complete
     * validation per the email RFC specifications is very complex and beyond the scope of this class, although
     * this function can be overridden if a more comprehensive validation scheme is desired.  See the validation
     * section of the <a href="http://en.wikipedia.org/wiki/E-mail_address">Wikipedia article on email addresses</a> 
     * for additional information.  This implementation is intended to validate the following emails:<tt>
     * 'barney@example.de', 'barney.rubble@example.com', 'barney-rubble@example.coop', 'barney+rubble@example.com'
     * </tt>.
     * @param {String} value The email address
     * @return {Boolean} true if the RegExp test passed, and false if not.
     */

/**
     * The function whose prototype chain sequence wrappers inherit from.
     *
     * @private
     */

/**
     * The group defines a logical collection of DragDrop objects that are
     * related.  Instances only get events when interacting with other
     * DragDrop object in the same group.  This lets us define multiple
     * groups using a single DragDrop subclass if we want.
     * @property groups
     * @type object An object in the format {'group1':true, 'group2':true}
     */

/**
     * The id of the element associated with this object.  This is what we
     * refer to as the "linked element" because the size and position of
     * this element is used to determine when the drag and drop objects have
     * interacted.
     * @property id
     * @type String
     */

/**
     * The id of the element that will be dragged.  By default this is same
     * as the linked element , but could be changed to another element. Ex:
     * Ext.dd.DDProxy
     * @property dragElId
     * @type String
     * @private
     */

/**
     * The id of the hidden field required for storing the current history token.
     * @type String
     * @property
     */

/**
     * The id of the iframe required by IE to manage the history stack.
     * @type String
     * @property
     */

/**
     * The index of the added or removed element.
     * @type {number}
     * @api
     */

/**
     * The inverse of `_.escape`; this method converts the HTML entities
     * `&amp;`, `&lt;`, `&gt;`, `&quot;`, and `&#39;` in `string` to
     * their corresponding characters.
     *
     * **Note:** No other HTML entities are unescaped. To unescape additional
     * HTML entities use a third-party library like [_he_](https://mths.be/he).
     *
     * @static
     * @memberOf _
     * @since 0.6.0
     * @category String
     * @param {string} [string=''] The string to unescape.
     * @returns {string} Returns the unescaped string.
     * @example
     *
     * _.unescape('fred, barney, &amp; pebbles');
     * // => 'fred, barney, & pebbles'
     */

/**
     * The inverse of `_.toPairs`; this method returns an object composed
     * from key-value `pairs`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} pairs The key-value pairs.
     * @returns {Object} Returns the new object.
     * @example
     *
     * _.fromPairs([['a', 1], ['b', 2]]);
     * // => { 'a': 1, 'b': 2 }
     */

/**
     * The keystroke filter mask to be applied on alpha input.  Defaults to:
     * <tt>/[a-z_]/i</tt>
     * @type RegExp
     */

/**
     * The keystroke filter mask to be applied on alphanumeric input.  Defaults to:
     * <tt>/[a-z0-9_]/i</tt>
     * @type RegExp
     */

/**
     * The keystroke filter mask to be applied on email input.  See the {@link #email} method for 
     * information about more complex email validation. Defaults to:
     * <tt>/[a-z0-9_\.\-@]/i</tt>
     * @type RegExp
     */

/**
     * The left constraint
     * @property minX
     * @type int
     * @private
     */

/**
     * The linked element's absolute X position at the time the drag was
     * started
     * @property startPageX
     * @type int
     * @private
     */

/**
     * The linked element's absolute X position at the time the drag was
     * started
     * @property startPageY
     * @type int
     * @private
     */

/**
     * The loaded features for the `FEATURESLOADED` event, `undefined` otherwise.
     * @type {Array<import("../Feature.js").default<Geometry>>|undefined}
     * @api
     */

/**
     * The map pixel relative to the viewport corresponding to the original browser event.
     * @type {?import("./pixel.js").Pixel}
     */

/**
     * The map where the event occurred.
     * @type {import("./Map.js").default}
     * @api
     */

/**
     * The maximum width in pixels of the message box (defaults to 600)
     * @type Number
     */

/**
     * The minimum width in pixels of the message box (defaults to 100)
     * @type Number
     */

/**
     * The minimum width in pixels of the message box if it is a progress-style dialog.  This is useful
     * for setting a different minimum width than text-only dialogs may need (defaults to 250).
     * @type Number
     */

/**
     * The minimum width in pixels of the message box if it is a prompt dialog.  This is useful
     * for setting a different minimum width than text-only dialogs may need (defaults to 250).
     * @type Number
     */

/**
     * The most recent "down" type event (or null if none have occurred).
     * Set on pointerdown.
     * @type {PointerEvent|null}
     * @private
     */

/**
     * The name of the property whose value is changing.
     * @type {string}
     * @api
     */

/**
     * The name of this zone.
     * @abstract
     * @type {string}
     */

/**
     * The number of delta values per zoom level
     * @private
     * @type {number}
     */

/**
     * The number of pixels from the right or left edge of a container the pointer needs to be to
     * trigger scrolling (defaults to 25)
     * @type Number
     */

/**
     * The number of pixels from the top or bottom edge of a container the pointer needs to be to
     * trigger scrolling (defaults to 25)
     * @type Number
     */

/**
     * The number of pixels to scroll in each scroll increment (defaults to 50)
     * @type Number
     */

/**
     * The number of records to display per page.  See also <tt>{@link #cursor}</tt>.
     * @type Number
     * @property pageSize
     */

/**
     * The object has already been disposed.
     * @type {boolean}
     * @protected
     */

/**
     * The old value. To get the new value use `e.target.get(e.key)` where
     * `e` is the event object.
     * @type {*}
     * @api
     */

/**
     * The opposite of `_.before`; this method creates a function that invokes
     * `func` once it's called `n` or more times.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Function
     * @param {number} n The number of calls before `func` is invoked.
     * @param {Function} func The function to restrict.
     * @returns {Function} Returns the new restricted function.
     * @example
     *
     * var saves = ['profile', 'settings'];
     *
     * var done = _.after(saves.length, function() {
     *   console.log('done saving!');
     * });
     *
     * _.forEach(saves, function(type) {
     *   asyncSave({ 'type': type, 'complete': done });
     * });
     * // => Logs 'done saving!' after the two async saves have completed.
     */

/**
     * The opposite of `_.filter`; this method returns the elements of `collection`
     * that `predicate` does **not** return truthy for.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new filtered array.
     * @see _.filter
     * @example
     *
     * var users = [
     *   { 'user': 'barney', 'age': 36, 'active': false },
     *   { 'user': 'fred',   'age': 40, 'active': true }
     * ];
     *
     * _.reject(users, function(o) { return !o.active; });
     * // => objects for ['fred']
     *
     * // The `_.matches` iteratee shorthand.
     * _.reject(users, { 'age': 40, 'active': true });
     * // => objects for ['barney']
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.reject(users, ['active', false]);
     * // => objects for ['fred']
     *
     * // The `_.property` iteratee shorthand.
     * _.reject(users, 'active');
     * // => objects for ['barney']
     */

/**
     * The opposite of `_.mapValues`; this method creates an object with the
     * same values as `object` and keys generated by running each own enumerable
     * string keyed property of `object` thru `iteratee`. The iteratee is invoked
     * with three arguments: (value, key, object).
     *
     * @static
     * @memberOf _
     * @since 3.8.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns the new mapped object.
     * @see _.mapValues
     * @example
     *
     * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {
     *   return key + value;
     * });
     * // => { 'a1': 1, 'b2': 2 }
     */

/**
     * The opposite of `_.method`; this method creates a function that invokes
     * the method at a given path of `object`. Any additional arguments are
     * provided to the invoked method.
     *
     * @static
     * @memberOf _
     * @since 3.7.0
     * @category Util
     * @param {Object} object The object to query.
     * @param {...*} [args] The arguments to invoke the method with.
     * @returns {Function} Returns the new invoker function.
     * @example
     *
     * var array = _.times(3, _.constant),
     *     object = { 'a': array, 'b': array, 'c': array };
     *
     * _.map(['a[2]', 'c[0]'], _.methodOf(object));
     * // => [2, 0]
     *
     * _.map([['a', '2'], ['c', '0']], _.methodOf(object));
     * // => [2, 0]
     */

/**
     * The opposite of `_.pickBy`; this method creates an object composed of
     * the own and inherited enumerable string keyed properties of `object` that
     * `predicate` doesn't return truthy for. The predicate is invoked with two
     * arguments: (value, key).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The source object.
     * @param {Function} [predicate=_.identity] The function invoked per property.
     * @returns {Object} Returns the new object.
     * @example
     *
     * var object = { 'a': 1, 'b': '2', 'c': 3 };
     *
     * _.omitBy(object, _.isNumber);
     * // => { 'b': '2' }
     */

/**
     * The opposite of `_.property`; this method creates a function that returns
     * the value at a given path of `object`.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Util
     * @param {Object} object The object to query.
     * @returns {Function} Returns the new accessor function.
     * @example
     *
     * var array = [0, 1, 2],
     *     object = { 'a': array, 'b': array, 'c': array };
     *
     * _.map(['a[2]', 'c[0]'], _.propertyOf(object));
     * // => [2, 0]
     *
     * _.map([['a', '2'], ['c', '0']], _.propertyOf(object));
     * // => [2, 0]
     */

/**
     * The original browser event.
     * @const
     * @type {EVENT}
     * @api
     */

/**
     * The original value of the field as configured in the {@link #value} configuration, or
     * as loaded by the last form load operation if the form's {@link Ext.form.BasicForm#trackResetOnLoad trackResetOnLoad}
     * setting is <code>true</code>.
     * @type mixed
     * @property originalValue
     */

/**
     * The padding configured for this drag and drop object for calculating
     * the drop zone intersection with this object.
     * @property padding
     * @type int[] An array containing the 4 padding values: [top, right, bottom, left]
     */

/**
     * The proxy Element that is resized in place of the real Element during the resize operation.
     * This may be queried using {@link Ext.Element#getBox} to provide the new area to resize to.
     * Read only.
     * @type Ext.Element.
     * @property proxy
     */

/**
     * The ptypes that have been registered with the component manager.
     * @type {Object}
     */

/**
     * The renderer is initialized and ready to render.
     * @type {boolean}
     */

/**
     * The right constraint
     * @property maxX
     * @type int
     * @private
     */

/**
     * The semantic version number.
     *
     * @static
     * @memberOf _
     * @type {string}
     */

/**
     * The starting z-index for windows in this WindowGroup (defaults to 9000)
     * @type Number The z-index value
     */

/**
     * The tile related to the event.
     * @type {import("../Tile.js").default}
     * @api
     */

/**
     * The transform for rendered pixels to viewport CSS pixels.  This transform must
     * be set when rendering a frame and may be used by other functions after rendering.
     * @protected
     * @type {import("../../transform.js").Transform}
     */

/**
     * The transform for viewport CSS pixels to rendered pixels.  This transform must
     * be set when rendering a frame and may be used by other functions after rendering.
     * @protected
     * @type {import("../../transform.js").Transform}
     */

/**
     * The type of zone
     * @abstract
     * @type {string}
     */

/**
     * The up constraint
     * @property minY
     * @type int
     * @type int
     * @private
     */

/**
     * The xtypes that have been registered with the component manager.
     * @type {Object}
     */

/**
     * The {@link Ext.data.Record Record} constructor as supplied to (or created by) the
     * {@link Ext.data.DataReader Reader}. Read-only.
     * <p>If the Reader was constructed by passing in an Array of {@link Ext.data.Field} definition objects,
     * instead of a Record constructor, it will implicitly create a Record constructor from that Array (see
     * {@link Ext.data.Record}.{@link Ext.data.Record#create create} for additional details).</p>
     * <p>This property may be used to create new Records of the type held in this Store, for example:</p><pre><code>
    // create the data store
    var store = new Ext.data.ArrayStore({
    autoDestroy: true,
    fields: [
       {name: 'company'},
       {name: 'price', type: 'float'},
       {name: 'change', type: 'float'},
       {name: 'pctChange', type: 'float'},
       {name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'}
    ]
    });
    store.loadData(myData);
    // create the Grid
    var grid = new Ext.grid.EditorGridPanel({
    store: store,
    colModel: new Ext.grid.ColumnModel({
        columns: [
            {id:'company', header: 'Company', width: 160, dataIndex: 'company'},
            {header: 'Price', renderer: 'usMoney', dataIndex: 'price'},
            {header: 'Change', renderer: change, dataIndex: 'change'},
            {header: '% Change', renderer: pctChange, dataIndex: 'pctChange'},
            {header: 'Last Updated', width: 85,
                renderer: Ext.util.Format.dateRenderer('m/d/Y'),
                dataIndex: 'lastChange'}
        ],
        defaults: {
            sortable: true,
            width: 75
        }
    }),
    autoExpandColumn: 'company', // match the id specified in the column model
    height:350,
    width:600,
    title:'Array Grid',
    tbar: [{
        text: 'Add Record',
        handler : function(){
            var defaultData = {
                change: 0,
                company: 'New Company',
                lastChange: (new Date()).clearTime(),
                pctChange: 0,
                price: 10
            };
            var recId = 3; // provide unique id
            var p = new store.recordType(defaultData, recId); // create new record
            grid.stopEditing();
            store.{@link #insert}(0, p); // insert a new record into the store (also see {@link #add})
            grid.startEditing(0, 0);
        }
    }]
    });
     * </code></pre>
     * @property recordType
     * @type Function
     */

/**
     * The {@link Ext.data.Store} to which this Record belongs.
     * @property store
     * @type {Ext.data.Store}
     */

/**
     * This Panel's Array of buttons as created from the <code>{@link #buttons}</code>
     * config property. Read only.
     * @type Array
     * @property buttons
     */

/**
     * This base implementation of `_.zipObject` which assigns values using `assignFunc`.
     *
     * @private
     * @param {Array} props The property identifiers.
     * @param {Array} values The property values.
     * @param {Function} assignFunc The function to assign values.
     * @returns {Object} Returns the new object.
     */

/**
     * This function is like
     * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
     * except that it includes inherited enumerable properties.
     *
     * @private
     * @param {Object} object The object to query.
     * @returns {Array} Returns the array of property names.
     */

/**
     * This function is like `assignValue` except that it doesn't assign
     * `undefined` values.
     *
     * @private
     * @param {Object} object The object to modify.
     * @param {string} key The key of the property to assign.
     * @param {*} value The value to assign.
     */

/**
     * This function is like `baseFor` except that it iterates over properties
     * in the opposite order.
     *
     * @private
     * @param {Object} object The object to iterate over.
     * @param {Function} iteratee The function invoked per iteration.
     * @param {Function} keysFunc The function to get the keys of `object`.
     * @returns {Object} Returns `object`.
     */

/**
     * This function is like `composeArgs` except that the arguments composition
     * is tailored for `_.partialRight`.
     *
     * @private
     * @param {Array} args The provided arguments.
     * @param {Array} partials The arguments to append to those provided.
     * @param {Array} holders The `partials` placeholder indexes.
     * @params {boolean} [isCurried] Specify composing for a curried function.
     * @returns {Array} Returns the new array of composed arguments.
     */

/**
     * This is an overrideable method which returns a reference to a default
     * renderer class if none is specified when creating the Ext.Updater.
     * Defaults to {@link Ext.Updater.BasicRenderer}
     */

/**
     * This is shorthand reference to {@link Ext.ComponentMgr#get}.
     * Looks up an existing {@link Ext.Component Component} by {@link Ext.Component#id id}
     * @param {String} id The component {@link Ext.Component#id id}
     * @return Ext.Component The Component, <tt>undefined</tt> if not found, or <tt>null</tt> if a
     * Class was found.
    */

/**
     * This is the element that we will listen to the real events on.
     * @type {import("./Map.js").default}
     * @private
     */

/**
     * This method invokes `interceptor` and returns `value`. The interceptor
     * is invoked with one argument; (value). The purpose of this method is to
     * "tap into" a method chain sequence in order to modify intermediate results.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Seq
     * @param {*} value The value to provide to `interceptor`.
     * @param {Function} interceptor The function to invoke.
     * @returns {*} Returns `value`.
     * @example
     *
     * _([1, 2, 3])
     *  .tap(function(array) {
     *    // Mutate input array.
     *    array.pop();
     *  })
     *  .reverse()
     *  .value();
     * // => [2, 1]
     */

/**
     * This method is like `_.assign` except that it iterates over own and
     * inherited source properties.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @alias extend
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @see _.assign
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     * }
     *
     * function Bar() {
     *   this.c = 3;
     * }
     *
     * Foo.prototype.b = 2;
     * Bar.prototype.d = 4;
     *
     * _.assignIn({ 'a': 0 }, new Foo, new Bar);
     * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }
     */

/**
     * This method is like `_.assign` except that it recursively merges own and
     * inherited enumerable string keyed properties of source objects into the
     * destination object. Source properties that resolve to `undefined` are
     * skipped if a destination value exists. Array and plain object properties
     * are merged recursively. Other objects and value types are overridden by
     * assignment. Source objects are applied from left to right. Subsequent
     * sources overwrite property assignments of previous sources.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 0.5.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = {
     *   'a': [{ 'b': 2 }, { 'd': 4 }]
     * };
     *
     * var other = {
     *   'a': [{ 'c': 3 }, { 'e': 5 }]
     * };
     *
     * _.merge(object, other);
     * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }
     */

/**
     * This method is like `_.cloneWith` except that it recursively clones `value`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to recursively clone.
     * @param {Function} [customizer] The function to customize cloning.
     * @returns {*} Returns the deep cloned value.
     * @see _.cloneWith
     * @example
     *
     * function customizer(value) {
     *   if (_.isElement(value)) {
     *     return value.cloneNode(true);
     *   }
     * }
     *
     * var el = _.cloneDeepWith(document.body, customizer);
     *
     * console.log(el === document.body);
     * // => false
     * console.log(el.nodeName);
     * // => 'BODY'
     * console.log(el.childNodes.length);
     * // => 20
     */

/**
     * This method is like `_.clone` except that it accepts `customizer` which
     * is invoked to produce the cloned value. If `customizer` returns `undefined`,
     * cloning is handled by the method instead. The `customizer` is invoked with
     * up to four arguments; (value [, index|key, object, stack]).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to clone.
     * @param {Function} [customizer] The function to customize cloning.
     * @returns {*} Returns the cloned value.
     * @see _.cloneDeepWith
     * @example
     *
     * function customizer(value) {
     *   if (_.isElement(value)) {
     *     return value.cloneNode(false);
     *   }
     * }
     *
     * var el = _.cloneWith(document.body, customizer);
     *
     * console.log(el === document.body);
     * // => false
     * console.log(el.nodeName);
     * // => 'BODY'
     * console.log(el.childNodes.length);
     * // => 0
     */

/**
     * This method is like `_.clone` except that it recursively clones `value`.
     *
     * @static
     * @memberOf _
     * @since 1.0.0
     * @category Lang
     * @param {*} value The value to recursively clone.
     * @returns {*} Returns the deep cloned value.
     * @see _.clone
     * @example
     *
     * var objects = [{ 'a': 1 }, { 'b': 2 }];
     *
     * var deep = _.cloneDeep(objects);
     * console.log(deep[0] === objects[0]);
     * // => false
     */

/**
     * This method is like `_.curry` except that arguments are applied to `func`
     * in the manner of `_.partialRight` instead of `_.partial`.
     *
     * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic
     * builds, may be used as a placeholder for provided arguments.
     *
     * **Note:** This method doesn't set the "length" property of curried functions.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Function
     * @param {Function} func The function to curry.
     * @param {number} [arity=func.length] The arity of `func`.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
     * @returns {Function} Returns the new curried function.
     * @example
     *
     * var abc = function(a, b, c) {
     *   return [a, b, c];
     * };
     *
     * var curried = _.curryRight(abc);
     *
     * curried(3)(2)(1);
     * // => [1, 2, 3]
     *
     * curried(2, 3)(1);
     * // => [1, 2, 3]
     *
     * curried(1, 2, 3);
     * // => [1, 2, 3]
     *
     * // Curried with placeholders.
     * curried(3)(1, _)(2);
     * // => [1, 2, 3]
     */

/**
     * This method is like `_.defaults` except that it recursively assigns
     * default properties.
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 3.10.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} [sources] The source objects.
     * @returns {Object} Returns `object`.
     * @see _.defaults
     * @example
     *
     * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });
     * // => { 'a': { 'b': 2, 'c': 3 } }
     */

/**
     * This method is like `_.difference` except that it accepts `iteratee` which
     * is invoked for each element of `array` and `values` to generate the criterion
     * by which they're compared. The order and references of result values are
     * determined by the first array. The iteratee is invoked with one argument:
     * (value).
     *
     * **Note:** Unlike `_.pullAllBy`, this method returns a new array.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {...Array} [values] The values to exclude.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns the new array of filtered values.
     * @example
     *
     * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);
     * // => [1.2]
     *
     * // The `_.property` iteratee shorthand.
     * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');
     * // => [{ 'x': 2 }]
     */

/**
     * This method is like `_.findIndex` except that it iterates over elements
     * of `collection` from right to left.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param {number} [fromIndex=array.length-1] The index to search from.
     * @returns {number} Returns the index of the found element, else `-1`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': true },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': false }
     * ];
     *
     * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });
     * // => 2
     *
     * // The `_.matches` iteratee shorthand.
     * _.findLastIndex(users, { 'user': 'barney', 'active': true });
     * // => 0
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.findLastIndex(users, ['active', false]);
     * // => 2
     *
     * // The `_.property` iteratee shorthand.
     * _.findLastIndex(users, 'active');
     * // => 0
     */

/**
     * This method is like `_.findKey` except that it iterates over elements of
     * a collection in the opposite order.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Object
     * @param {Object} object The object to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {string|undefined} Returns the key of the matched element,
     *  else `undefined`.
     * @example
     *
     * var users = {
     *   'barney':  { 'age': 36, 'active': true },
     *   'fred':    { 'age': 40, 'active': false },
     *   'pebbles': { 'age': 1,  'active': true }
     * };
     *
     * _.findLastKey(users, function(o) { return o.age < 40; });
     * // => returns 'pebbles' assuming `_.findKey` returns 'barney'
     *
     * // The `_.matches` iteratee shorthand.
     * _.findLastKey(users, { 'age': 36, 'active': true });
     * // => 'barney'
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.findLastKey(users, ['active', false]);
     * // => 'fred'
     *
     * // The `_.property` iteratee shorthand.
     * _.findLastKey(users, 'active');
     * // => 'pebbles'
     */

/**
     * This method is like `_.find` except that it iterates over elements of
     * `collection` from right to left.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param {number} [fromIndex=collection.length-1] The index to search from.
     * @returns {*} Returns the matched element, else `undefined`.
     * @example
     *
     * _.findLast([1, 2, 3, 4], function(n) {
     *   return n % 2 == 1;
     * });
     * // => 3
     */

/**
     * This method is like `_.find` except that it returns the index of the first
     * element `predicate` returns truthy for instead of the element itself.
     *
     * @static
     * @memberOf _
     * @since 1.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @param {number} [fromIndex=0] The index to search from.
     * @returns {number} Returns the index of the found element, else `-1`.
     * @example
     *
     * var users = [
     *   { 'user': 'barney',  'active': false },
     *   { 'user': 'fred',    'active': false },
     *   { 'user': 'pebbles', 'active': true }
     * ];
     *
     * _.findIndex(users, function(o) { return o.user == 'barney'; });
     * // => 0
     *
     * // The `_.matches` iteratee shorthand.
     * _.findIndex(users, { 'user': 'fred', 'active': false });
     * // => 1
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.findIndex(users, ['active', false]);
     * // => 0
     *
     * // The `_.property` iteratee shorthand.
     * _.findIndex(users, 'active');
     * // => 2
     */

/**
     * This method is like `_.find` except that it returns the key of the first
     * element `predicate` returns truthy for instead of the element itself.
     *
     * @static
     * @memberOf _
     * @since 1.1.0
     * @category Object
     * @param {Object} object The object to inspect.
     * @param {Function} [predicate=_.identity] The function invoked per iteration.
     * @returns {string|undefined} Returns the key of the matched element,
     *  else `undefined`.
     * @example
     *
     * var users = {
     *   'barney':  { 'age': 36, 'active': true },
     *   'fred':    { 'age': 40, 'active': false },
     *   'pebbles': { 'age': 1,  'active': true }
     * };
     *
     * _.findKey(users, function(o) { return o.age < 40; });
     * // => 'barney' (iteration order is not guaranteed)
     *
     * // The `_.matches` iteratee shorthand.
     * _.findKey(users, { 'age': 1, 'active': true });
     * // => 'pebbles'
     *
     * // The `_.matchesProperty` iteratee shorthand.
     * _.findKey(users, ['active', false]);
     * // => 'fred'
     *
     * // The `_.property` iteratee shorthand.
     * _.findKey(users, 'active');
     * // => 'barney'
     */

/**
     * This method is like `_.flatMap` except that it recursively flattens the
     * mapped results up to `depth` times.
     *
     * @static
     * @memberOf _
     * @since 4.7.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @param {number} [depth=1] The maximum recursion depth.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * function duplicate(n) {
     *   return [[[n, n]]];
     * }
     *
     * _.flatMapDepth([1, 2], duplicate, 2);
     * // => [[1, 1], [2, 2]]
     */

/**
     * This method is like `_.flatMap` except that it recursively flattens the
     * mapped results.
     *
     * @static
     * @memberOf _
     * @since 4.7.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array} Returns the new flattened array.
     * @example
     *
     * function duplicate(n) {
     *   return [[[n, n]]];
     * }
     *
     * _.flatMapDeep([1, 2], duplicate);
     * // => [1, 1, 2, 2]
     */

/**
     * This method is like `_.flow` except that it creates a function that
     * invokes the given functions from right to left.
     *
     * @static
     * @since 3.0.0
     * @memberOf _
     * @category Util
     * @param {...(Function|Function[])} [funcs] The functions to invoke.
     * @returns {Function} Returns the new composite function.
     * @see _.flow
     * @example
     *
     * function square(n) {
     *   return n * n;
     * }
     *
     * var addSquare = _.flowRight([square, _.add]);
     * addSquare(1, 2);
     * // => 9
     */

/**
     * This method is like `_.forEach` except that it iterates over elements of
     * `collection` from right to left.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @alias eachRight
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Array|Object} Returns `collection`.
     * @see _.forEach
     * @example
     *
     * _.forEachRight([1, 2], function(value) {
     *   console.log(value);
     * });
     * // => Logs `2` then `1`.
     */

/**
     * This method is like `_.forIn` except that it iterates over properties of
     * `object` in the opposite order.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns `object`.
     * @see _.forIn
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.forInRight(new Foo, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.
     */

/**
     * This method is like `_.forOwn` except that it iterates over properties of
     * `object` in the opposite order.
     *
     * @static
     * @memberOf _
     * @since 2.0.0
     * @category Object
     * @param {Object} object The object to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @returns {Object} Returns `object`.
     * @see _.forOwn
     * @example
     *
     * function Foo() {
     *   this.a = 1;
     *   this.b = 2;
     * }
     *
     * Foo.prototype.c = 3;
     *
     * _.forOwnRight(new Foo, function(value, key) {
     *   console.log(key);
     * });
     * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.
     */

/**
     * This method is like `_.fromPairs` except that it accepts two arrays,
     * one of property identifiers and one of corresponding values.
     *
     * @static
     * @memberOf _
     * @since 0.4.0
     * @category Array
     * @param {Array} [props=[]] The property identifiers.
     * @param {Array} [values=[]] The property values.
     * @returns {Object} Returns the new object.
     * @example
     *
     * _.zipObject(['a', 'b'], [1, 2]);
     * // => { 'a': 1, 'b': 2 }
     */

/**
     * This method is like `_.get` except that if the resolved value is a
     * function it's invoked with the `this` binding of its parent object and
     * its result is returned.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Object
     * @param {Object} object The object to query.
     * @param {Array|string} path The path of the property to resolve.
     * @param {*} [defaultValue] The value returned for `undefined` resolved values.
     * @returns {*} Returns the resolved value.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };
     *
     * _.result(object, 'a[0].b.c1');
     * // => 3
     *
     * _.result(object, 'a[0].b.c2');
     * // => 4
     *
     * _.result(object, 'a[0].b.c3', 'default');
     * // => 'default'
     *
     * _.result(object, 'a[0].b.c3', _.constant('default'));
     * // => 'default'
     */

/**
     * This method is like `_.indexOf` except that it iterates over elements of
     * `array` from right to left.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {*} value The value to search for.
     * @param {number} [fromIndex=array.length-1] The index to search from.
     * @returns {number} Returns the index of the matched value, else `-1`.
     * @example
     *
     * _.lastIndexOf([1, 2, 1, 2], 2);
     * // => 3
     *
     * // Search from the `fromIndex`.
     * _.lastIndexOf([1, 2, 1, 2], 2, 2);
     * // => 1
     */

/**
     * This method is like `_.indexOf` except that it performs a binary
     * search on a sorted `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {*} value The value to search for.
     * @returns {number} Returns the index of the matched value, else `-1`.
     * @example
     *
     * _.sortedIndexOf([4, 5, 5, 5, 6], 5);
     * // => 1
     */

/**
     * This method is like `_.intersection` except that it accepts `iteratee`
     * which is invoked for each element of each `arrays` to generate the criterion
     * by which they're compared. The order and references of result values are
     * determined by the first array. The iteratee is invoked with one argument:
     * (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns the new array of intersecting values.
     * @example
     *
     * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);
     * // => [2.1]
     *
     * // The `_.property` iteratee shorthand.
     * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
     * // => [{ 'x': 1 }]
     */

/**
     * This method is like `_.invert` except that the inverted object is generated
     * from the results of running each element of `object` thru `iteratee`. The
     * corresponding inverted value of each inverted key is an array of keys
     * responsible for generating the inverted value. The iteratee is invoked
     * with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.1.0
     * @category Object
     * @param {Object} object The object to invert.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Object} Returns the new inverted object.
     * @example
     *
     * var object = { 'a': 1, 'b': 2, 'c': 1 };
     *
     * _.invertBy(object);
     * // => { '1': ['a', 'c'], '2': ['b'] }
     *
     * _.invertBy(object, function(value) {
     *   return 'group' + value;
     * });
     * // => { 'group1': ['a', 'c'], 'group2': ['b'] }
     */

/**
     * This method is like `_.isArrayLike` except that it also checks if `value`
     * is an object.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to check.
     * @returns {boolean} Returns `true` if `value` is an array-like object,
     *  else `false`.
     * @example
     *
     * _.isArrayLikeObject([1, 2, 3]);
     * // => true
     *
     * _.isArrayLikeObject(document.body.children);
     * // => true
     *
     * _.isArrayLikeObject('abc');
     * // => false
     *
     * _.isArrayLikeObject(_.noop);
     * // => false
     */

/**
     * This method is like `_.isEqual` except that it accepts `customizer` which
     * is invoked to compare values. If `customizer` returns `undefined`, comparisons
     * are handled by the method instead. The `customizer` is invoked with up to
     * six arguments: (objValue, othValue [, index|key, object, other, stack]).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {*} value The value to compare.
     * @param {*} other The other value to compare.
     * @param {Function} [customizer] The function to customize comparisons.
     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
     * @example
     *
     * function isGreeting(value) {
     *   return /^h(?:i|ello)$/.test(value);
     * }
     *
     * function customizer(objValue, othValue) {
     *   if (isGreeting(objValue) && isGreeting(othValue)) {
     *     return true;
     *   }
     * }
     *
     * var array = ['hello', 'goodbye'];
     * var other = ['hi', 'goodbye'];
     *
     * _.isEqualWith(array, other, customizer);
     * // => true
     */

/**
     * This method is like `_.isMatch` except that it accepts `customizer` which
     * is invoked to compare values. If `customizer` returns `undefined`, comparisons
     * are handled by the method instead. The `customizer` is invoked with five
     * arguments: (objValue, srcValue, index|key, object, source).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Lang
     * @param {Object} object The object to inspect.
     * @param {Object} source The object of property values to match.
     * @param {Function} [customizer] The function to customize comparisons.
     * @returns {boolean} Returns `true` if `object` is a match, else `false`.
     * @example
     *
     * function isGreeting(value) {
     *   return /^h(?:i|ello)$/.test(value);
     * }
     *
     * function customizer(objValue, srcValue) {
     *   if (isGreeting(objValue) && isGreeting(srcValue)) {
     *     return true;
     *   }
     * }
     *
     * var object = { 'greeting': 'hello' };
     * var source = { 'greeting': 'hi' };
     *
     * _.isMatchWith(object, source, customizer);
     * // => true
     */

/**
     * This method is like `_.lastIndexOf` except that it performs a binary
     * search on a sorted `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {*} value The value to search for.
     * @returns {number} Returns the index of the matched value, else `-1`.
     * @example
     *
     * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);
     * // => 3
     */

/**
     * This method is like `_.max` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the criterion by which
     * the value is ranked. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {*} Returns the maximum value.
     * @example
     *
     * var objects = [{ 'n': 1 }, { 'n': 2 }];
     *
     * _.maxBy(objects, function(o) { return o.n; });
     * // => { 'n': 2 }
     *
     * // The `_.property` iteratee shorthand.
     * _.maxBy(objects, 'n');
     * // => { 'n': 2 }
     */

/**
     * This method is like `_.mean` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the value to be averaged.
     * The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.7.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {number} Returns the mean.
     * @example
     *
     * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];
     *
     * _.meanBy(objects, function(o) { return o.n; });
     * // => 5
     *
     * // The `_.property` iteratee shorthand.
     * _.meanBy(objects, 'n');
     * // => 5
     */

/**
     * This method is like `_.merge` except that it accepts `customizer` which
     * is invoked to produce the merged values of the destination and source
     * properties. If `customizer` returns `undefined`, merging is handled by the
     * method instead. The `customizer` is invoked with six arguments:
     * (objValue, srcValue, key, object, source, stack).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The destination object.
     * @param {...Object} sources The source objects.
     * @param {Function} customizer The function to customize assigned values.
     * @returns {Object} Returns `object`.
     * @example
     *
     * function customizer(objValue, srcValue) {
     *   if (_.isArray(objValue)) {
     *     return objValue.concat(srcValue);
     *   }
     * }
     *
     * var object = { 'a': [1], 'b': [2] };
     * var other = { 'a': [3], 'b': [4] };
     *
     * _.mergeWith(object, other, customizer);
     * // => { 'a': [1, 3], 'b': [2, 4] }
     */

/**
     * This method is like `_.min` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the criterion by which
     * the value is ranked. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {*} Returns the minimum value.
     * @example
     *
     * var objects = [{ 'n': 1 }, { 'n': 2 }];
     *
     * _.minBy(objects, function(o) { return o.n; });
     * // => { 'n': 1 }
     *
     * // The `_.property` iteratee shorthand.
     * _.minBy(objects, 'n');
     * // => { 'n': 1 }
     */

/**
     * This method is like `_.pullAll` except that it accepts `comparator` which
     * is invoked to compare elements of `array` to `values`. The comparator is
     * invoked with two arguments: (arrVal, othVal).
     *
     * **Note:** Unlike `_.differenceWith`, this method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 4.6.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {Array} values The values to remove.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];
     *
     * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);
     * console.log(array);
     * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]
     */

/**
     * This method is like `_.pullAll` except that it accepts `iteratee` which is
     * invoked for each element of `array` and `values` to generate the criterion
     * by which they're compared. The iteratee is invoked with one argument: (value).
     *
     * **Note:** Unlike `_.differenceBy`, this method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {Array} values The values to remove.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];
     *
     * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');
     * console.log(array);
     * // => [{ 'x': 2 }]
     */

/**
     * This method is like `_.pull` except that it accepts an array of values to remove.
     *
     * **Note:** Unlike `_.difference`, this method mutates `array`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to modify.
     * @param {Array} values The values to remove.
     * @returns {Array} Returns `array`.
     * @example
     *
     * var array = ['a', 'b', 'c', 'a', 'b', 'c'];
     *
     * _.pullAll(array, ['a', 'c']);
     * console.log(array);
     * // => ['b', 'b']
     */

/**
     * This method is like `_.range` except that it populates values in
     * descending order.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Util
     * @param {number} [start=0] The start of the range.
     * @param {number} end The end of the range.
     * @param {number} [step=1] The value to increment or decrement by.
     * @returns {Array} Returns the range of numbers.
     * @see _.inRange, _.range
     * @example
     *
     * _.rangeRight(4);
     * // => [3, 2, 1, 0]
     *
     * _.rangeRight(-4);
     * // => [-3, -2, -1, 0]
     *
     * _.rangeRight(1, 5);
     * // => [4, 3, 2, 1]
     *
     * _.rangeRight(0, 20, 5);
     * // => [15, 10, 5, 0]
     *
     * _.rangeRight(0, -4, -1);
     * // => [-3, -2, -1, 0]
     *
     * _.rangeRight(1, 4, 0);
     * // => [1, 1, 1]
     *
     * _.rangeRight(0);
     * // => []
     */

/**
     * This method is like `_.reduce` except that it iterates over elements of
     * `collection` from right to left.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Function} [iteratee=_.identity] The function invoked per iteration.
     * @param {*} [accumulator] The initial value.
     * @returns {*} Returns the accumulated value.
     * @see _.reduce
     * @example
     *
     * var array = [[0, 1], [2, 3], [4, 5]];
     *
     * _.reduceRight(array, function(flattened, other) {
     *   return flattened.concat(other);
     * }, []);
     * // => [4, 5, 2, 3, 0, 1]
     */

/**
     * This method is like `_.set` except that accepts `updater` to produce the
     * value to set. Use `_.updateWith` to customize `path` creation. The `updater`
     * is invoked with one argument: (value).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.6.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {Function} updater The function to produce the updated value.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 3 } }] };
     *
     * _.update(object, 'a[0].b.c', function(n) { return n * n; });
     * console.log(object.a[0].b.c);
     * // => 9
     *
     * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });
     * console.log(object.x[0].y.z);
     * // => 0
     */

/**
     * This method is like `_.set` except that it accepts `customizer` which is
     * invoked to produce the objects of `path`.  If `customizer` returns `undefined`
     * path creation is handled by the method instead. The `customizer` is invoked
     * with three arguments: (nsValue, key, nsObject).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {*} value The value to set.
     * @param {Function} [customizer] The function to customize assigned values.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = {};
     *
     * _.setWith(object, '[0][1]', 'a', Object);
     * // => { '0': { '1': 'a' } }
     */

/**
     * This method is like `_.sortBy` except that it allows specifying the sort
     * orders of the iteratees to sort by. If `orders` is unspecified, all values
     * are sorted in ascending order. Otherwise, specify an order of "desc" for
     * descending or "asc" for ascending sort order of corresponding values.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Collection
     * @param {Array|Object} collection The collection to iterate over.
     * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]
     *  The iteratees to sort by.
     * @param {string[]} [orders] The sort orders of `iteratees`.
     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.
     * @returns {Array} Returns the new sorted array.
     * @example
     *
     * var users = [
     *   { 'user': 'fred',   'age': 48 },
     *   { 'user': 'barney', 'age': 34 },
     *   { 'user': 'fred',   'age': 40 },
     *   { 'user': 'barney', 'age': 36 }
     * ];
     *
     * // Sort by `user` in ascending order and by `age` in descending order.
     * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);
     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]
     */

/**
     * This method is like `_.sortedIndex` except that it accepts `iteratee`
     * which is invoked for `value` and each element of `array` to compute their
     * sort ranking. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     * @example
     *
     * var objects = [{ 'x': 4 }, { 'x': 5 }];
     *
     * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
     * // => 0
     *
     * // The `_.property` iteratee shorthand.
     * _.sortedIndexBy(objects, { 'x': 4 }, 'x');
     * // => 0
     */

/**
     * This method is like `_.sortedIndex` except that it returns the highest
     * index at which `value` should be inserted into `array` in order to
     * maintain its sort order.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Array
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     * @example
     *
     * _.sortedLastIndex([4, 5, 5, 5, 6], 5);
     * // => 4
     */

/**
     * This method is like `_.sortedLastIndex` except that it accepts `iteratee`
     * which is invoked for `value` and each element of `array` to compute their
     * sort ranking. The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     * @example
     *
     * var objects = [{ 'x': 4 }, { 'x': 5 }];
     *
     * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
     * // => 1
     *
     * // The `_.property` iteratee shorthand.
     * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');
     * // => 1
     */

/**
     * This method is like `_.sum` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the value to be summed.
     * The iteratee is invoked with one argument: (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Math
     * @param {Array} array The array to iterate over.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {number} Returns the sum.
     * @example
     *
     * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];
     *
     * _.sumBy(objects, function(o) { return o.n; });
     * // => 20
     *
     * // The `_.property` iteratee shorthand.
     * _.sumBy(objects, 'n');
     * // => 20
     */

/**
     * This method is like `_.tap` except that it returns the result of `interceptor`.
     * The purpose of this method is to "pass thru" values replacing intermediate
     * results in a method chain sequence.
     *
     * @static
     * @memberOf _
     * @since 3.0.0
     * @category Seq
     * @param {*} value The value to provide to `interceptor`.
     * @param {Function} interceptor The function to invoke.
     * @returns {*} Returns the result of `interceptor`.
     * @example
     *
     * _('  abc  ')
     *  .chain()
     *  .trim()
     *  .thru(function(value) {
     *    return [value];
     *  })
     *  .value();
     * // => ['abc']
     */

/**
     * This method is like `_.union` except that it accepts `iteratee` which is
     * invoked for each element of each `arrays` to generate the criterion by
     * which uniqueness is computed. Result values are chosen from the first
     * array in which the value occurs. The iteratee is invoked with one argument:
     * (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {...Array} [arrays] The arrays to inspect.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns the new array of combined values.
     * @example
     *
     * _.unionBy([2.1], [1.2, 2.3], Math.floor);
     * // => [2.1, 1.2]
     *
     * // The `_.property` iteratee shorthand.
     * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');
     * // => [{ 'x': 1 }, { 'x': 2 }]
     */

/**
     * This method is like `_.uniqBy` except that it's designed and optimized
     * for sorted arrays.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [iteratee] The iteratee invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);
     * // => [1.1, 2.3]
     */

/**
     * This method is like `_.uniq` except that it accepts `comparator` which
     * is invoked to compare elements of `array`. The order of result values is
     * determined by the order they occur in the array.The comparator is invoked
     * with two arguments: (arrVal, othVal).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [comparator] The comparator invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];
     *
     * _.uniqWith(objects, _.isEqual);
     * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]
     */

/**
     * This method is like `_.uniq` except that it accepts `iteratee` which is
     * invoked for each element in `array` to generate the criterion by which
     * uniqueness is computed. The order of result values is determined by the
     * order they occur in the array. The iteratee is invoked with one argument:
     * (value).
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * _.uniqBy([2.1, 1.2, 2.3], Math.floor);
     * // => [2.1, 1.2]
     *
     * // The `_.property` iteratee shorthand.
     * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');
     * // => [{ 'x': 1 }, { 'x': 2 }]
     */

/**
     * This method is like `_.uniq` except that it's designed and optimized
     * for sorted arrays.
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category Array
     * @param {Array} array The array to inspect.
     * @returns {Array} Returns the new duplicate free array.
     * @example
     *
     * _.sortedUniq([1, 1, 2]);
     * // => [1, 2]
     */

/**
     * This method is like `_.unzip` except that it accepts `iteratee` to specify
     * how regrouped values should be combined. The iteratee is invoked with the
     * elements of each group: (...group).
     *
     * @static
     * @memberOf _
     * @since 3.8.0
     * @category Array
     * @param {Array} array The array of grouped elements to process.
     * @param {Function} [iteratee=_.identity] The function to combine
     *  regrouped values.
     * @returns {Array} Returns the new array of regrouped elements.
     * @example
     *
     * var zipped = _.zip([1, 2], [10, 20], [100, 200]);
     * // => [[1, 10, 100], [2, 20, 200]]
     *
     * _.unzipWith(zipped, _.add);
     * // => [3, 30, 300]
     */

/**
     * This method is like `_.update` except that it accepts `customizer` which is
     * invoked to produce the objects of `path`.  If `customizer` returns `undefined`
     * path creation is handled by the method instead. The `customizer` is invoked
     * with three arguments: (nsValue, key, nsObject).
     *
     * **Note:** This method mutates `object`.
     *
     * @static
     * @memberOf _
     * @since 4.6.0
     * @category Object
     * @param {Object} object The object to modify.
     * @param {Array|string} path The path of the property to set.
     * @param {Function} updater The function to produce the updated value.
     * @param {Function} [customizer] The function to customize assigned values.
     * @returns {Object} Returns `object`.
     * @example
     *
     * var object = {};
     *
     * _.updateWith(object, '[0][1]', _.constant('a'), Object);
     * // => { '0': { '1': 'a' } }
     */

/**
     * This method is like `_.zipObject` except that it supports property paths.
     *
     * @static
     * @memberOf _
     * @since 4.1.0
     * @category Array
     * @param {Array} [props=[]] The property identifiers.
     * @param {Array} [values=[]] The property values.
     * @returns {Object} Returns the new object.
     * @example
     *
     * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);
     * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }
     */

/**
     * This method is like `_.zip` except that it accepts `iteratee` to specify
     * how grouped values should be combined. The iteratee is invoked with the
     * elements of each group: (...group).
     *
     * @static
     * @memberOf _
     * @since 3.8.0
     * @category Array
     * @param {...Array} [arrays] The arrays to process.
     * @param {Function} [iteratee=_.identity] The function to combine
     *  grouped values.
     * @returns {Array} Returns the new array of grouped elements.
     * @example
     *
     * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {
     *   return a + b + c;
     * });
     * // => [111, 222]
     */

/**
     * This method is like `_.zip` except that it accepts an array of grouped
     * elements and creates an array regrouping the elements to their pre-zip
     * configuration.
     *
     * @static
     * @memberOf _
     * @since 1.2.0
     * @category Array
     * @param {Array} array The array of grouped elements to process.
     * @returns {Array} Returns the new array of regrouped elements.
     * @example
     *
     * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);
     * // => [['a', 1, true], ['b', 2, false]]
     *
     * _.unzip(zipped);
     * // => [['a', 'b'], [1, 2], [true, false]]
     */

/**
     * This method is the wrapper version of `_.at`.
     *
     * @name at
     * @memberOf _
     * @since 1.0.0
     * @category Seq
     * @param {...(string|string[])} [paths] The property paths to pick.
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
     *
     * _(object).at(['a[0].b.c', 'a[1]']).value();
     * // => [3, 4]
     */

/**
     * This method is the wrapper version of `_.reverse`.
     *
     * **Note:** This method mutates the wrapped array.
     *
     * @name reverse
     * @memberOf _
     * @since 0.1.0
     * @category Seq
     * @returns {Object} Returns the new `lodash` wrapper instance.
     * @example
     *
     * var array = [1, 2, 3];
     *
     * _(array).reverse().value()
     * // => [3, 2, 1]
     *
     * console.log(array);
     * // => [3, 2, 1]
     */

/**
     * This method is used internally by <tt>{@link Ext.data.DataProxy DataProxy}</tt> and should not generally need to be used directly.
     * Each action of a DataProxy api can be initially defined as either a String or an Object.  When specified as an object,
     * one can explicitly define the HTTP method (GET|POST) to use for each CRUD action.  This method will prepare the supplied API, setting
     * each action to the Object form.  If your API-actions do not explicitly define the HTTP method, the "method" configuration-parameter will
     * be used.  If the method configuration parameter is not specified, POST will be used.
     <pre><code>
    new Ext.data.HttpProxy({
    method: "POST",     // <-- default HTTP method when not specified.
    api: {
    create: 'create.php',
    load: 'read.php',
    save: 'save.php',
    destroy: 'destroy.php'
    }
    });
    // Alternatively, one can use the object-form to specify the API
    new Ext.data.HttpProxy({
    api: {
    load: {url: 'read.php', method: 'GET'},
    create: 'create.php',
    destroy: 'destroy.php',
    save: 'update.php'
    }
    });
    </code></pre>
     *
     * @param {Ext.data.DataProxy} proxy
     */

/**
     * This method returns `false`.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {boolean} Returns `false`.
     * @example
     *
     * _.times(2, _.stubFalse);
     * // => [false, false]
     */

/**
     * This method returns `true`.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {boolean} Returns `true`.
     * @example
     *
     * _.times(2, _.stubTrue);
     * // => [true, true]
     */

/**
     * This method returns `undefined`.
     *
     * @static
     * @memberOf _
     * @since 2.3.0
     * @category Util
     * @example
     *
     * _.times(2, _.noop);
     * // => [undefined, undefined]
     */

/**
     * This method returns a new empty array.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {Array} Returns the new empty array.
     * @example
     *
     * var arrays = _.times(2, _.stubArray);
     *
     * console.log(arrays);
     * // => [[], []]
     *
     * console.log(arrays[0] === arrays[1]);
     * // => false
     */

/**
     * This method returns a new empty object.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {Object} Returns the new empty object.
     * @example
     *
     * var objects = _.times(2, _.stubObject);
     *
     * console.log(objects);
     * // => [{}, {}]
     *
     * console.log(objects[0] === objects[1]);
     * // => false
     */

/**
     * This method returns an empty string.
     *
     * @static
     * @memberOf _
     * @since 4.13.0
     * @category Util
     * @returns {string} Returns the empty string.
     * @example
     *
     * _.times(2, _.stubString);
     * // => ['', '']
     */

/**
     * This method returns the first argument it receives.
     *
     * @static
     * @since 0.1.0
     * @memberOf _
     * @category Util
     * @param {*} value Any value.
     * @returns {*} Returns `value`.
     * @example
     *
     * var object = { 'a': 1 };
     *
     * console.log(_.identity(object) === object);
     * // => true
     */

/**
     * This source is currently loading data. Sources that defer loading to the
     * map's tile queue never set this to `true`.
     * @type {boolean}
     */

/**
     * Toggles the element's visibility or display, depending on visibility mode.
     * @param {Boolean/Object} animate (optional) True for the default animation, or a standard Element animation config object
     * @return {Ext.Element} this
     */

/**
     * Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).
     * @param {String} className The CSS class to toggle
     * @return {Ext.Element} this
     */

/**
     * Tokenize a source into a list of tokens.
     *
     * @param {string} source
     *
     * @return {Token[]}
     */

/**
     * Tokenizes a source code.
     *
     * @param {TwingSource} source The source to tokenize
     * @return {TwingTokenStream}
     *
     * @throws {TwingErrorSyntax} When the code is syntactically wrong
     */

/**
     * Trackpad events separated by this delay will be considered separate
     * interactions.
     * @type {number}
     */

/**
     * Transform from CSS pixels (relative to the top-left corner of the map viewport)
     * to rendered pixels on this event's `context`. Only available when a Canvas renderer is used, null otherwise.
     * @type {import("../transform.js").Transform|undefined}
     * @api
     */

/**
     * Translates the passed page coordinates into left/top css values for this element
     * @param {Number/Array} x The page x or an array containing [x, y]
     * @param {Number} y (optional) The page y, required if x is not an array
     * @return {Object} An object with left and top properties. e.g. {left: (value), top: (value)}
     */

/**
     * Traverse the stream using a visitor.
     *
     * @param {TokenVisitor} visitor
     * @return {Token[]}
     */

/**
     * Traverses a node and calls the registered visitors.
     *
     * @return TwingNode
     */

/**
     * Tries to blur the element. Any exceptions are caught and ignored.
     * @return {Ext.Element} this
     */

/**
     * Tries to focus the element. Any exceptions are caught and ignored.
     * @param {Number} defer (optional) Milliseconds to defer the focus
     * @return {Ext.Element} this
     */

/**
     * Tries to load templates consecutively from an array.
     *
     * Similar to loadTemplate() but it also accepts instances of TwingTemplate and an array of templates where each is tried to be loaded.
     *
     * @param {string|TwingTemplate|Array<string|TwingTemplate>} names A template or an array of templates to try consecutively
     * @param {TwingSource} from The source of the template that initiated the resolving.
     *
     * @return {Promise<TwingTemplate>}
     *
     * @throws {TwingErrorLoader} When none of the templates can be found
     * @throws {TwingErrorSyntax} When an error occurred during compilation
     */

/**
     * Trims any whitespace from either side of a string
     * @param {String} value The text to trim
     * @return {String} The trimmed text
     */

/**
     * True if the browser is in strict (standards-compliant) mode, as opposed to quirks mode
     * @type Boolean
     */

/**
     * True if the detected browser is Chrome.
     * @type Boolean
     */

/**
     * True if the detected browser is Internet Explorer 6.x.
     * @type Boolean
     */

/**
     * True if the detected browser is Internet Explorer 7.x.
     * @type Boolean
     */

/**
     * True if the detected browser is Internet Explorer 8.x.
     * @type Boolean
     */

/**
     * True if the detected browser is Internet Explorer running in non-strict mode.
     * @type Boolean
     */

/**
     * True if the detected browser is Internet Explorer.
     * @type Boolean
     */

/**
     * True if the detected browser is Opera.
     * @type Boolean
     */

/**
     * True if the detected browser is Safari 2.x.
     * @type Boolean
     */

/**
     * True if the detected browser is Safari 3.x.
     * @type Boolean
     */

/**
     * True if the detected browser is Safari 4.x.
     * @type Boolean
     */

/**
     * True if the detected browser is Safari.
     * @type Boolean
     */

/**
     * True if the detected browser uses WebKit.
     * @type Boolean
     */

/**
     * True if the detected browser uses a Gecko 1.9+ layout engine (e.g. Firefox 3.x).
     * @type Boolean
     */

/**
     * True if the detected browser uses a pre-Gecko 1.9 layout engine (e.g. Firefox 2.x).
     * @type Boolean
     */

/**
     * True if the detected browser uses the Gecko layout engine (e.g. Mozilla, Firefox).
     * @type Boolean
     */

/**
     * True if the detected platform is Adobe Air.
     * @type Boolean
     */

/**
     * True if the detected platform is Linux.
     * @type Boolean
     */

/**
     * True if the detected platform is Mac OS.
     * @type Boolean
     */

/**
     * True if the detected platform is Windows.
     * @type Boolean
     */

/**
     * True if the page is running over SSL
     * @type Boolean
     */

/**
     * True if the {@link Ext.Fx} Class is available
     * @type Boolean
     * @property enableFx
     */

/**
     * True to animate the scroll (defaults to true)
     * @type Boolean
     */

/**
     * True to automatically purge event listeners during garbageCollection (defaults to false).
     * @type Boolean
     */

/**
     * True to automatically uncache orphaned Ext.Elements periodically (defaults to true)
     * @type Boolean
     */

/**
     * True when the document is fully initialized and ready for action
     * @type Boolean
     */

/**
     * Truncate a string and add an ellipsis ('...') to the end if it exceeds the specified length
     * @param {String} value The string to truncate
     * @param {Number} length The maximum length to allow before truncating
     * @param {Boolean} word True to try to find a common work break
     * @return {String} The converted text
     */

/**
     * Truncates `string` if it's longer than the given maximum string length.
     * The last characters of the truncated string are replaced with the omission
     * string which defaults to "...".
     *
     * @static
     * @memberOf _
     * @since 4.0.0
     * @category String
     * @param {string} [string=''] The string to truncate.
     * @param {Object} [options={}] The options object.
     * @param {number} [options.length=30] The maximum string length.
     * @param {string} [options.omission='...'] The string to indicate text is omitted.
     * @param {RegExp|string} [options.separator] The separator pattern to truncate to.
     * @returns {string} Returns the truncated string.
     * @example
     *
     * _.truncate('hi-diddly-ho there, neighborino');
     * // => 'hi-diddly-ho there, neighbo...'
     *
     * _.truncate('hi-diddly-ho there, neighborino', {
     *   'length': 24,
     *   'separator': ' '
     * });
     * // => 'hi-diddly-ho there,...'
     *
     * _.truncate('hi-diddly-ho there, neighborino', {
     *   'length': 24,
     *   'separator': /,? +/
     * });
     * // => 'hi-diddly-ho there...'
     *
     * _.truncate('hi-diddly-ho there, neighborino', {
     *   'omission': ' [...]'
     * });
     * // => 'hi-diddly-ho there, neig [...]'
     */

/**
     * Turn on Output Buffering (specifying an optional output handler).
     *
     * @returns {boolean}
     */

/**
     * Tweaks the error message to include suggestions.
     *
     * @param {string} name The original name of the item that does not exist
     * @param {Array<string>} items An array of possible items
     */

/**
     * TwingSourceMapNode constructor
     *
     * @param {number} line 0-based
     * @param {number} column 0-based
     * @param {TwingSource} source
     * @param {string} name
     */

/**
     * TwingSourceMapNodeSpaceless constructor
     *
     * @param {number} line 0-based
     * @param {number} column 0-based
     * @param {TwingSource} source
     */

/**
     * URL to a 1x1 transparent gif image used by Ext to create inline icons with CSS background images. 
     * In older versions of IE, this defaults to "http://extjs.com/s.gif" and you should change this to a URL on your server.
     * For other browsers it uses an inline data URL.
     * @type String
     */

/**
     * URL to a blank file used by Ext when in secure mode for iframe src and onReady src to prevent
     * the IE insecure content warning (<tt>'about:blank'</tt>, except for IE in secure mode, which is <tt>'javascript:""'</tt>).
     * @type String
     */

/**
     * Unbinds the paging toolbar from the specified {@link Ext.data.Store} <b>(deprecated)</b>
     * @param {Ext.data.Store} store The data store to unbind
     */

/**
     * Units of projected coordinates. When set to `TILE_PIXELS`, a
     * `this.extent_` and `this.worldExtent_` must be configured properly for each
     * tile.
     * @private
     * @type {import("./Units.js").Units}
     */

/**
     * Unlock this instace
     * @method unlock
     */

/**
     * Unregister a drag drop element
     * @param {String/HTMLElement) element The id or DOM node to unregister
     */

/**
     * Unregisters a component.
     * @param {Ext.Component} c The component
     */

/**
     * Unregisters overflow element(s) so they are no longer scrolled
     * @param {Mixed/Array} el The id of or the element to be removed or an array of either
     */

/**
     * Unsets an excluded tag name set by addInvalidHandleType
     * @method removeInvalidHandleType
     * @param {string} tagName the type of element to unexclude
     */

/**
     * Unsets an invalid css class
     * @method removeInvalidHandleClass
     * @param {string} cssClass the class of the element(s) you wish to
     * re-enable
     */

/**
     * Unsets an invalid handle id
     * @method removeInvalidHandleId
     * @param {string} id the id of the element to re-enable
     */

/**
     * Unwraps and returns the current value of the chain.
     *
     * @returns {*|Array} The processed target(s).
     *
     * @example
     * ripple("  hello  ").apply(trim).value();
     * // → "hello"
     */

/**
     * Updates a progress-style message box's text and progress bar. Only relevant on message boxes
     * initiated via {@link Ext.MessageBox#progress} or {@link Ext.MessageBox#wait},
     * or by calling {@link Ext.MessageBox#show} with progress: true.
     * @param {Number} value Any number between 0 and 1 (e.g., .5, defaults to 0)
     * @param {String} progressText The progress text to display inside the progress bar (defaults to '')
     * @param {String} msg The message box's body text is replaced with the specified string (defaults to undefined
     * so that any existing body text will not get overwritten by default unless a new value is passed in)
     * @return {Ext.MessageBox} this
     */

/**
     * Updates a rule property
     * @param {String/Array} selector If it's an array it tries each selector until it finds one. Stops immediately once one is found.
     * @param {String} property The css property
     * @param {String} value The new value for the property
     * @return {Boolean} true If a rule was found and updated
     */

/**
     * Updates the message box body text
     * @param {String} text (optional) Replaces the message box element's innerHTML with the specified string (defaults to
     * the XHTML-compliant non-breaking space character '&amp;#160;')
     * @return {Ext.MessageBox} this
     */

/**
     * Updates this item's text, setting the text to be used as innerHTML.
     * @param {String} t The text to display (html accepted).
     */

/**
     * Updates wrapper `details` based on `bitmask` flags.
     *
     * @private
     * @returns {Array} details The details to modify.
     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.
     * @returns {Array} Returns `details`.
     */

/**
     * Url used for onDocumentReady with using SSL (defaults to Ext.SSL_SECURE_URL)
     */

/**
     * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source
     * objects into destination objects that are passed thru.
     *
     * @private
     * @param {*} objValue The destination value.
     * @param {*} srcValue The source value.
     * @param {string} key The key of the property to merge.
     * @param {Object} object The parent object of `objValue`.
     * @param {Object} source The parent object of `srcValue`.
     * @param {Object} [stack] Tracks traversed source values and their merged
     *  counterparts.
     * @returns {*} Returns the value to assign.
     */

/**
     * Used by `_.defaults` to customize its `_.assignIn` use to assign properties
     * of source objects to the destination object for all destination properties
     * that resolve to `undefined`.
     *
     * @private
     * @param {*} objValue The destination value.
     * @param {*} srcValue The source value.
     * @param {string} key The key of the property to assign.
     * @param {Object} object The parent object of `objValue`.
     * @returns {*} Returns the value to assign.
     */

/**
     * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain
     * objects.
     *
     * @private
     * @param {*} value The value to inspect.
     * @param {string} key The key of the property to inspect.
     * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
     */

/**
     * Used by `_.orderBy` to compare multiple properties of a value to another
     * and stable sort them.
     *
     * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,
     * specify an order of "desc" for descending or "asc" for ascending sort order
     * of corresponding values.
     *
     * @private
     * @param {Object} object The object to compare.
     * @param {Object} other The other object to compare.
     * @param {boolean[]|string[]} orders The order to sort by for each property.
     * @returns {number} Returns the sort order indicator for `object`.
     */

/**
     * Used to determine if an attribution already exists.
     * @type {!Object<string, boolean>}
     */

/**
     * User provided style.
     * @private
     * @type {import("./style/Style.js").StyleLike}
     */

/**
     * User provided style.
     * @type {import("../style/Style.js").StyleLike}
     * @private
     */

/**
     * Uses a binary search to determine the lowest index at which `value`
     * should be inserted into `array` in order to maintain its sort order.
     *
     * @static
     * @memberOf _
     * @since 0.1.0
     * @category Array
     * @param {Array} array The sorted array to inspect.
     * @param {*} value The value to evaluate.
     * @returns {number} Returns the index at which `value` should be inserted
     *  into `array`.
     * @example
     *
     * _.sortedIndex([30, 50], 40);
     * // => 1
     */

/**
     * Utility method for getting the width of the browser scrollbar. This can differ depending on
     * operating system settings, such as the theme or font size.
     * @param {Boolean} force (optional) true to force a recalculation of the value.
     * @return {Number} The width of the scrollbar.
     */

/**
     * Utility method for validating that a value is numeric, returning the specified default value if it is not.
     * @param {Mixed} value Should be a number, but any type will be handled appropriately
     * @param {Number} defaultValue The value to return if the original value is non-numeric
     * @return {Number} Value, if numeric, else defaultValue
     */

/**
     * Validity extent of the projection in projected coordinates. For projections
     * with `TILE_PIXELS` units, this is the extent of the tile in
     * tile pixel space.
     * @private
     * @type {import("../extent.js").Extent}
     */

/**
     * Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child).
     * This is a shortcut for findParentNode() that always returns an Ext.Element.
     * @param {String} selector The simple selector to test
     * @param {Number/Mixed} maxDepth (optional) The max depth to
            search as a number or element (defaults to 10 || document.body)
     * @return {Ext.Element} The matching DOM node (or null if no match was found)
     */

/**
     * When set to true, other DD objects in cooperating DDGroups do not receive
     * notification events when this DD object is dragged over them. Defaults to false.
     * @property moveOnly
     * @type boolean
     */

/**
     * Wrapper for setting style properties, also takes single object parameter of multiple styles.
     * @param {String/Object} property The style property to be set, or an object of multiple styles.
     * @param {String} value (optional) The value to apply to the given property, or null if an object was passed.
     * @return {Ext.Element} this
     */

/**
     * Writes a string to the compiled code by adding indentation.
     *
     * @returns {TwingCompiler}
     */

/**
     * adds registered plugins for given component. helper fn to be called during initComponent in a specific component which
     * want's to use this pluginRegistry
     *
     * @param {Ext.Component} cmp
     * @param {String} name optional, defaults to canonical name
     */

/**
     * check if a column is explicitly registered
     *
     * @param {String/Tine.Tinebase.Application} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {String} category {editDialog|mainScreen} optional.
     * @return {Boolean}
     */

/**
     * check if a field is explicitly registered
     *
     * @param {String/Tine.Tinebase.Application} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {String} category {editDialog|propertyGrid} optional.
     * @return {Boolean}
     */

/**
     * check if a renderer is explicitly registered
     *
     * @param {String/Tine.Tinebase.Application} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {String} category {gridPanel|displayPanel} optional.
     * @return {Boolean}
     */

/**
     * check if a renderer is explicitly registered
     * 
     * @param {String/Tine.Tinebase.Application} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {String} category {gridPanel|displayPanel} optional.
     * @return {Boolean}
     */

/**
     * checks if a application exception handler has been registered already
     * 
     * @param {String} appName
     * @return {Bool}
     */

/**
     * const for category displayPanel
     */

/**
     * const for category editDialog
     */

/**
     * const for category gridPanel
     */

/**
     * const for category mainScreen
     */

/**
     * const for category propertyGrid
     */

/**
     * creates the relations config if found in registry
     * @param Tine.Tinebase.data.Record recordClass
     * @param {String} key
     * @return {Boolean}
     */

/**
     * default grants
     *
     * @return Array
     */

/**
     * default renderer - quote content
     */

/**
     * fix timezone handling for date picker
     *
     * The getValue function always returns 00:00:00 as time. So if a form got filled
     * with a date like 2008-10-01T21:00:00 the form returns 2008-10-01T00:00:00 although
     * the user did not change the fieled.
     *
     * In a multi timezone context this is fatal! When a user in a certain timezone set
     * a date (just a date and no time information), this means in his timezone the
     * time range from 2008-10-01T00:00:00 to 2008-10-01T23:59:59.
     * _BUT_ for an other user sitting in a different timezone it means e.g. the
     * time range from 2008-10-01T02:00:00 to 2008-10-02T21:59:59.
     *
     * So on the one hand we need to make sure, that the date picker only returns
     * changed datetime information when the user did a change.
     *
     * @todo On the other hand we
     * need adjust the day +/- one day according to the timeshift.
     */

/**
     * get column by data type
     *
     * @param {String} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {String} category {editDialog|mainScreen} optional.
     * @param {Object} config
     * @return {Object}
     */

/**
     * get column of well known column names
     *
     * @param {String} columnName
     * @return {Object}
     */

/**
     * get container grants for specific container
     *
     * @param {Tine.Tinebase.Model.Container} container
     * @return Array
     */

/**
     * get definition by id
     * 
     * @param {String|Tine.Tinebase.Application} app
     * @param {String} id
     * @return {Tine.Tinebase.Model.ImportExportDefinition}
     */

/**
     * get form field by data type
     *
     * @param {String} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {String} category {editDialog|propertyGrid} optional.
     * @param {Object} config
     * @return {Object}
     */

/**
     * get form field of well known field names
     *
     * @param {String} fieldName
     * @param {Object} config
     * @return {Object}
     */

/**
     * get operator value
     *
     * NOTE: operator filed is composed of "<operator>[?<option1>=<value1>[&<optionN>=<valueN]]
     *     operator can be definedBy and notDefinedBy
     *     options (urlencoded) options
     *          condition: condition of the subfiltergroup (and or or)
     *          setOperator: result of subfilter must match oneOf or allOf our records
     *                      (allOf makes sense if our field is of type records (1:n n:m))
     *
     * NOTE: for historic reasons operator might be AND, which means definedBy?condition=and&setOperator=oneOf
     *
     * @return {string}
     */

/**
     * get registered plugins
     *
     * @param name
     * @return {Array}
     */

/**
     * get renderer by data type
     *
     * @param {String} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {boolean} cf
     * @return {Function}
     */

/**
     * get renderer of well known field names
     *
     * @param {String} fieldName
     * @return Function/null
     */

/**
     * hash node is also an array node.
     *
     * @param type
     */

/**
     * inspect all requests done via the ajax singleton
     *
     * - send custom headers
     * - send json key
     * - implicitly transform non jsonrpc requests
     *
     * NOTE: implicitly transformed reqeusts get their callback fn's proxied
     *       through generic response inspectors as defined below
     */

/**
     * inspect completed responses => staus code == 200
     *
     * - detect resoponse errors (e.g. html from xdebug) and convert to exceptional states
     * - implicitly transform requests from JSONRPC
     *
     *  NOTE: All programatically catchable exceptions lead to successfull requests
     *        with the jsonprc protocol. For implicitly converted jsonprc requests we
     *        transform error states here and route them to the error methods defined
     *        in the request options
     *
     *  NOTE: Illegal json data responses are mapped to error code 530
     *        Empty resonses (Ext.Decode can't deal with them) are maped to 540
     *        Memory exhausted to 550
     */

/**
     * inspect request exceptions
     *  - convert to jsonrpc compatiple exceptional states
     *  - call generic exception handler if no handler is defined in request options
     *
     * NOTE: Request exceptions are exceptional state from web-server:
     *       -> status codes != 200 : This kind of exceptions are not part of the jsonrpc protocol
     *       -> timeouts: status code 520
     */

/**
     * null-coallesce node is also a conditional node.
     *
     * @param type
     */

/**
     * register a custom renderer
     * 
     * @param {String/Application}  app
     * @param {Record}              cfConfig 
     * @param {Function}            renderer
     */

/**
     * register a custom renderer
     * 
     * @param {String/Application}  app
     * @param {String}              keyFieldName 
     * @param {Function}            renderer
     */

/**
     * register checkState provider
     * @param {String} field
     * @param {Funciton} fn check state function
     */

/**
     * register grants or grants function for given model
     *
     * @param {Record/String} modelName
     * @param {Array|Function} grants
     */

/**
     * register plugin
     *
     * @param name
     * @param plugin
     */

/**
     * register renderer for given column
     *
     * @param {String/Tine.Tinebase.Application} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {Object} column
     * @param {String} category {editDialog|mainScreen} optional.
     */

/**
     * register renderer for given field
     *
     * @param {String/Tine.Tinebase.Application} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {Function} renderer
     * @param {String} category {gridPanel|displayPanel} optional.
     * @param {Object} scope to call renderer in, optional.
     */

/**
     * register renderer for given field
     *
     * @param {String/Tine.Tinebase.Application} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {Object} field
     * @param {String} category {editDialog|propertyGrid} optional.
     */

/**
     * register renderer for given field
     * 
     * @param {String/Tine.Tinebase.Application} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {Function} renderer
     * @param {String} category {gridPanel|displayPanel} optional.
     * @param {Object} scope to call renderer in, optional.
     */

/**
     * registers a handler
     * 
     * @param {String} appName
     * @param {Function} handler
     */

/**
     * registers the menuitem. just add the config for this action as item.
     * @param {String} appName
     * @param {String} modelName
     * @param {Object} itemConfig
     */

/**
     * render a given value
     * 
     * @param {String/Application}  app
     * @param {Record}              cfConfig 
     * @return Ext.data.Store
     */

/**
     * render a given value
     * 
     * @param {String/Application}  app
     * @param {String}              keyFieldName 
     * @return Ext.data.Store
     */

/**
     * render proxy which gets replaced after with rendered content
     *
     * @param context
     * @param buffer
     * @returns {HTMLProxy}
     */

/**
     * resetConstraints must be called if you manually reposition a dd element.
     * @method resetConstraints
     * @param {boolean} maintainOffset
     */

/**
     * returns a handler for an application
     * 
     * @param {String} appName
     * @return {Function}
     */

/**
     * returns a key by joining the array values
     *
     * @param {Array} params
     * @return {String}
     */

/**
     * returns a registered recordpicker or creates the default one
     * @param {String/Tinebase.Application} appName      expands to recordClass: Tine[appName].Model[modelName],
     * @param {String/Tinebase.data.Record} modelName               recordProxy: Tine[appName][modelName.toLowerCase() + 'Backend'])
     * @param {Object} config       additional Configuration
     * @return {Object} recordpicker
     */

/**
     * returns a single field config
     * 
     * @param {String/Application}  app
     * @param {String}              model
     * @param {Boolean}             asFields
     * @return {Array}
     */

/**
     * returns a single field config
     * 
     * @param {String/Application}  app
     * @param {String}              model
     * @param {String}              name
     * @param {Boolean}             asField
     * @return {Record}
     */

/**
     * returns column for given column
     *
     * @param {String/Tine.Tinebase.Application} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {String} category {editDialog|mainScreen} optional.
     * @param {Object} config
     * @return {Object}
     */

/**
     * returns form field for given field
     *
     * @param {String/Tine.Tinebase.Application} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {String} category {editDialog|propertyGrid} optional.
     * @param {Object} config
     * @return {Object}
     */

/**
     * returns key field record renderer
     * 
     * @param {String/Application}  app
     * @param {Record}              cfConfig 
     * @param {String}              what pipe seperated field with text|icon
     * @return Ext.data.Store
     */

/**
     * returns key field record renderer
     * 
     * @param {String/Application}  app
     * @param {String}              keyFieldName 
     * @param {String}              what pipe seperated field with text|icon
     * @return Ext.data.Store
     */

/**
     * returns key field record store
     * 
     * @param {String/Application} app
     * @param {String} keyFieldName 
     * @return Ext.data.Store
     */

/**
     * returns main window of this window group
     * 
     * @return window
     */

/**
     * returns registered menuitems. add runtime config here.
     * @param {String} appName
     * @param {String} modelName
     * @param {Object} config
     * @return {Array}
     */

/**
     * returns renderer for given field
     *
     * @param {String/Tine.Tinebase.Application} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {String} category {gridPanel|displayPanel} optional.
     * @return {Function}
     */

/**
     * returns renderer for given field
     * 
     * @param {String/Tine.Tinebase.Application} appName
     * @param {Record/String} modelName
     * @param {String} fieldName
     * @param {String} category {gridPanel|displayPanel} optional.
     * @return {Function}
     */

/**
     * returns single field config by id
     *
     * @param customfieldId
     * @param asField
     * @return {Record}
     */

/**
     * returns the ids of all records by appName and modelName as array
     * 
     * @return array
     */

/**
     * returns the key (appName + modelName)
     * @param {String/Tine.Tinebase.Application} appName
     * @param {String/Tine.Tinebase.data.Record} modelName
     * @return {String}
     */

/**
     * returns the modelName by appName or application instance
     *
     * @param {String/Tine.Tinebase.Application} appName
     * @return {String}
     */

/**
     * returns the modelName by modelName or record
     *
     * @param {Record/String} modelName
     * @return {String}
     */

/**
     * returns the relations config
     * @param {String/Tine.Tinebase.Application} app
     * @param {String/Tine.Tinebase.data.Record} recordClass
     * @param {Array} ignoreModels the php model names to ignore (they won't be returned)
     */

/**
     * returns the relations config existence
     * @param {String/Tine.Tinebase.Application} app
     * @param {String/Tine.Tinebase.data.Record} recordClass
     * @return {Boolean}
     */

/**
     * toString method
     * @method toString
     * @return {string} string representation of the dd obj
     */

/**
     * wrap emojis like 😊 in value with <em class="emoji">😊</em>
     * usefull for dark mode
     * @param value
     * @returns {*|string}
     */

/**
     * zDirection hint, read by the renderer. Indicates which resolution should be used
     * by a renderer if the views resolution does not match any resolution of the tile source.
     * If 0, the nearest resolution will be used. If 1, the nearest lower resolution
     * will be used. If -1, the nearest higher resolution will be used.
     * @type {number|import("../array.js").NearestDirectionFunction}
     */

/**
     * {@link toLocaleString} format like '09:30 AM'. Only 12-hour if the locale is.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like '09:30', always 24-hour.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like '09:30:23 AM EDT'. Only 12-hour if the locale is.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like '09:30:23 AM Eastern Daylight Time'. Only 12-hour if the locale is.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like '09:30:23 AM'. Only 12-hour if the locale is.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like '09:30:23 EDT', always 24-hour.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like '09:30:23 Eastern Daylight Time', always 24-hour.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like '09:30:23', always 24-hour.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like '10/14/1983, 9:30 AM'. Only 12-hour if the locale is.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like '10/14/1983, 9:30:33 AM'. Only 12-hour if the locale is.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like 'Fri, 14 Oct 1983, 9:30 AM'. Only 12-hour if the locale is.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like 'Friday, October 14, 1983, 9:30 AM Eastern Daylight Time'. Only 12-hour if the locale is.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like 'Friday, October 14, 1983, 9:30:33 AM Eastern Daylight Time'. Only 12-hour if the locale is.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like 'Oct 14, 1983'
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like 'Oct 14, 1983, 9:30 AM'. Only 12-hour if the locale is.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like 'Oct 14, 1983, 9:30:33 AM'. Only 12-hour if the locale is.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like 'October 14, 1983'
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like 'October 14, 1983, 9:30 AM EDT'. Only 12-hour if the locale is.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like 'October 14, 1983, 9:30:33 AM EDT'. Only 12-hour if the locale is.
     * @type {Object}
     */

/**
     * {@link toLocaleString} format like 'Tuesday, October 14, 1983'
     * @type {Object}
     */

/**
    * <p>Returns the dimensions of the element available to lay content out in.<p>
    *
    * getStyleSize utilizes prefers style sizing if present, otherwise it chooses the larger of offsetHeight/clientHeight and offsetWidth/clientWidth.
    * To obtain the size excluding scrollbars, use getViewSize
    *
    * Sizing of the document body is handled at the adapter level which handles special cases for IE and strict modes, etc.
    */

/**
    * <p>This method returns an Array which provides substitution parameters for the {@link #template Template} used
    * to create this Button's DOM structure.</p>
    * <p>Instances or subclasses which use a different Template to create a different DOM structure may need to provide their
    * own implementation of this method.</p>
    * <p>The default implementation which provides data for the default {@link #template} returns an Array containing the
    * following items:</p><div class="mdetail-params"><ul>
    * <li>The &lt;button&gt;'s {@link #type}</li>
    * <li>A CSS class name applied to the Button's main &lt;tbody&gt; element which determines the button's scale and icon alignment.</li>
    * <li>A CSS class to determine the presence and position of an arrow icon. (<code>'x-btn-arrow'</code> or <code>'x-btn-arrow-bottom'</code> or <code>''</code>)</li>
    * <li>The {@link #cls} CSS class name applied to the button's wrapping &lt;table&gt; element.</li>
    * <li>The Component id which is applied to the button's wrapping &lt;table&gt; element.</li>
    * </ul></div>
    * @return {Array} Substitution data for a Template.
   */

/**
    * @event append
    * Fires when a new child node is appended to a node in this tree.
    * @param {Tree} tree The owner tree
    * @param {Node} parent The parent node
    * @param {Node} node The newly appended node
    * @param {Number} index The index of the newly appended node
    */

/**
    * @event beforechildrenrendered
    * Fires right before the child nodes for a node are rendered
    * @param {Node} node The node
    */

/**
    * @event beforeclick
    * Fires before click processing on a node. Return false to cancel the default action.
    * @param {Node} node The node
    * @param {Ext.EventObject} e The event object
    */

/**
    * @event beforecollapsenode
    * Fires before a node is collapsed, return false to cancel.
    * @param {Node} node The node
    * @param {Boolean} deep
    * @param {Boolean} anim
    */

/**
    * @event beforedblclick
    * Fires before double click processing on a node. Return false to cancel the default action.
    * @param {Node} node The node
    * @param {Ext.EventObject} e The event object
    */

/**
    * @event beforeexpandnode
    * Fires before a node is expanded, return false to cancel.
    * @param {Node} node The node
    * @param {Boolean} deep
    * @param {Boolean} anim
    */

/**
    * @event beforeload
    * Fires before a node is loaded, return false to cancel
    * @param {Node} node The node being loaded
    */

/**
    * @event beforepush
    * Fires before the iframe editor is updated with content from the textarea. Return false
    * to cancel the push.
    * @param {HtmlEditor} this
    * @param {String} html
    */

/**
    * @event beforesync
    * Fires before the textarea is updated with content from the editor iframe. Return false
    * to cancel the sync.
    * @param {HtmlEditor} this
    * @param {String} html
    */

/**
    * @event checkchange
    * Fires when a node with a checkbox's checked property changes
    * @param {Node} this This node
    * @param {Boolean} checked
    */

/**
    * @event click
    * Fires when a node is clicked
    * @param {Node} node The node
    * @param {Ext.EventObject} e The event object
    */

/**
    * @event collapsenode
    * Fires when a node is collapsed
    * @param {Node} node The node
    */

/**
    * @event containerclick
    * Fires when the tree container is clicked
    * @param {Tree} this
    * @param {Ext.EventObject} e The event object
    */

/**
    * @event containercontextmenu
    * Fires when the tree container is right clicked
    * @param {Tree} this
    * @param {Ext.EventObject} e The event object
    */

/**
    * @event containerdblclick
    * Fires when the tree container is double clicked
    * @param {Tree} this
    * @param {Ext.EventObject} e The event object
    */

/**
    * @event contextmenu
    * Fires when a node is right clicked. To display a context menu in response to this
    * event, first create a Menu object (see {@link Ext.menu.Menu} for details), then add
    * a handler for this event:<pre><code>
    new Ext.tree.TreePanel({
    title: 'My TreePanel',
    root: new Ext.tree.AsyncTreeNode({
    text: 'The Root',
    children: [
    { text: 'Child node 1', leaf: true },
    { text: 'Child node 2', leaf: true }
    ]
    }),
    contextMenu: new Ext.menu.Menu({
    items: [{
    id: 'delete-node',
    text: 'Delete Node'
    }],
    listeners: {
    itemclick: function(item) {
        switch (item.id) {
            case 'delete-node':
                var n = item.parentMenu.contextNode;
                if (n.parentNode) {
                    n.remove();
                }
                break;
        }
    }
    }
    }),
    listeners: {
    contextmenu: function(node, e) {
    //          Register the context node with the menu so that a Menu Item's handler function can access
    //          it via its {@link Ext.menu.BaseItem#parentMenu parentMenu} property.
    node.select();
    var c = node.getOwnerTree().contextMenu;
    c.contextNode = node;
    c.showAt(e.getXY());
    }
    }
    });
    </code></pre>
    * @param {Node} node The node
    * @param {Ext.EventObject} e The event object
    */

/**
    * @event dblclick
    * Fires when a node is double clicked
    * @param {Node} node The node
    * @param {Ext.EventObject} e The event object
    */

/**
    * @event disabledchange
    * Fires when the disabled status of a node changes
    * @param {Node} node The node
    * @param {Boolean} disabled
    */

/**
    * @event editmodechange
    * Fires when the editor switches edit modes
    * @param {HtmlEditor} this
    * @param {Boolean} sourceEdit True if source edit, false if standard editing.
    */

/**
    * @event expandnode
    * Fires when a node is expanded
    * @param {Node} node The node
    */

/**
    * @event load
    * Fires when a node is loaded
    * @param {Node} node The node that was loaded
    */

/**
    * @event nodedragover
    * Fires when a tree node is being targeted for a drag drop, return false to signal drop not allowed. The dragOverEvent
    * passed to handlers has the following properties:<br />
    * <ul style="padding:5px;padding-left:16px;">
    * <li>tree - The TreePanel</li>
    * <li>target - The node being targeted for the drop</li>
    * <li>data - The drag data from the drag source</li>
    * <li>point - The point of the drop - append, above or below</li>
    * <li>source - The drag source</li>
    * <li>rawEvent - Raw mouse event</li>
    * <li>dropNode - Drop node(s) provided by the source.</li>
    * <li>cancel - Set this to true to signal drop not allowed.</li>
    * </ul>
    * @param {Object} dragOverEvent
    */

/**
    * @event push
    * Fires when the iframe editor is updated with content from the textarea.
    * @param {HtmlEditor} this
    * @param {String} html
    */

/**
    * @event sync
    * Fires when the textarea is updated with content from the editor iframe.
    * @param {HtmlEditor} this
    * @param {String} html
    */

/**
    * @event textchange
    * Fires when the text for a node is changed
    * @param {Node} node The node
    * @param {String} text The new text
    * @param {String} oldText The old text
    */

/**
    * A reusable empty function
    * @property
    * @type Function
    */

/**
    * An Array of {@link Ext.grid.Column Column definition} objects representing the configuration
    * of this ColumnModel.  See {@link Ext.grid.Column} for the configuration properties that may
    * be specified.
    * @property config
    * @type Array
    */

/**
    * Arbitrary data that can be associated with this tree and will be included in the event object that gets
    * passed to any nodedragover event handler (defaults to {})
    * @type Ext.tree.TreePanel
    * @property
    */

/**
    * Clear positioning back to the default when the document was loaded
    * @param {String} value (optional) The value to use for the left,right,top,bottom, defaults to '' (empty string). You could use 'auto'.
    * @return {Ext.Element} this
     */

/**
    * Configures the padding for the target zone in px.  Effectively expands
    * (or reduces) the virtual object size for targeting calculations.
    * Supports css-style shorthand; if only one parameter is passed, all sides
    * will have that padding, and if only two are passed, the top and bottom
    * will have the first param, the left and right the second.
    * @method setPadding
    * @param {int} iTop    Top pad
    * @param {int} iRight  Right pad
    * @param {int} iBot    Bot pad
    * @param {int} iLeft   Left pad
    */

/**
    * Gets an an individual CSS rule by selector(s)
    * @param {String/Array} selector The CSS selector or an array of selectors to try. The first selector that is found is returned.
    * @param {Boolean} refreshCache true to refresh the internal cache if you have recently updated any rules or added styles dynamically
    * @return {CSSRule} The CSS rule or null if one is not found
    */

/**
    * Gets an object with all CSS positioning properties. Useful along with setPostioning to get
    * snapshot before performing an update and then restoring the element.
    * @return {Object}
    */

/**
    * Gets the next sibling, skipping text nodes
    * @param {String} selector (optional) Find the next sibling that matches the passed simple selector
    * @param {Boolean} returnDom (optional) True to return a raw dom node instead of an Ext.Element
    * @return {Ext.Element/HTMLElement} The next sibling or null
    */

/**
    * Initializes positioning on this element. If a desired position is not passed, it will make the
    * the element positioned relative IF it is not already positioned.
    * @param {String} pos (optional) Positioning to use "relative", "absolute" or "fixed"
    * @param {Number} zIndex (optional) The zIndex to apply
    * @param {Number} x (optional) Set the page X position
    * @param {Number} y (optional) Set the page Y position
    */

/**
    * MixedCollection has a generic way to fetch keys if you implement getKey.  The default implementation
    * simply returns <b><code>item.id</code></b> but you can provide your own implementation
    * to return a different value as in the following examples:<pre><code>
  // normal way
  var mc = new Ext.util.MixedCollection();
  mc.add(someEl.dom.id, someEl);
  mc.add(otherEl.dom.id, otherEl);
  //and so on
  // using getKey
  var mc = new Ext.util.MixedCollection();
  mc.getKey = function(el){
  return el.dom.id;
  };
  mc.add(someEl);
  mc.add(otherEl);
  // or via the constructor
  var mc = new Ext.util.MixedCollection(false, function(el){
  return el.dom.id;
  });
  mc.add(someEl);
  mc.add(otherEl);
   * </code></pre>
   * @param {Object} item The item for which to find the key.
   * @return {Object} The key for the passed item.
   */

/**
    * Returns true if the target of this event is a child of el.  Unless the allowEl parameter is set, it will return false if if the target is el.
    * Example usage:<pre><code>
    // Handle click on any child of an element
    Ext.getBody().on('click', function(e){
        if(e.within('some-el')){
            alert('Clicked on a child of some-el!');
        }
    });
      // Handle click directly on an element, ignoring clicks on child nodes
    Ext.getBody().on('click', function(e,t){
        if((t.id == 'some-el') && !e.within(t, true)){
            alert('Clicked directly on some-el!');
        }
    });
    </code></pre>
     * @param {Mixed} el The id, DOM element or Ext.Element to check
     * @param {Boolean} related (optional) true to test if the related target is within el instead of the target
     * @param {Boolean} allowEl {optional} true to also check if the passed element is the target or related target
     * @return {Boolean}
     */

/**
    * Set positioning with an object returned by getPositioning().
    * @param {Object} posCfg
    * @return {Ext.Element} this
     */

/**
    * Show this element - Uses display mode to determine whether to use "display" or "visibility". See {@link #setVisible}.
    * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
     * @return {Ext.Element} this
     */

/**
    * The TreePanel for this drag zone
    * @type Ext.tree.TreePanel
    * @property
    */

/**
    * The TreePanel for this drop zone
    * @type Ext.tree.TreePanel
    * @property
    */

/**
    * The frequency, in milliseconds, to check for text resize events (defaults to 50)
    */

/**
    * The root node of this tree.
    * @type Ext.tree.TreeNode
    * @property root
    */

/**
    * Timeout for requests or form posts in seconds (defaults to 30 seconds).
    * @type Number
    */

/**
    * Update the innerHTML of this element
    * @param {String} html The new HTML
    * @return {Ext.Element} this
     */

/**
    * Updates a rule property
    * @param {String/Array} selector If it's an array it tries each selector until it finds one. Stops immediately once one is found.
    * @param {String} property The css property
    * @param {String} value The new value for the property
    * @return {Boolean} true If a rule was found and updated
    */

/**
   *
   * @param {String} part
   */

/**
   *
   * @param {String} selector
   * @param {Ext.Element} maskEl
   */

/**
   *
   * @param {String} show
   * @param {String} iconCls
   *
   */

/**
   *
   * @param {} btn
   * @param {} dialog
   */

/**
   *
   * @type {String}
   */

/**
   *
   * Clean up.
   */

/**
   * 
   * @cfg {Array} of filter objects for search method 
   */

/**
   * 
   * @cfg {String} method
   */

/**
   * 
   * @param config
   *  account: user to create this panel for
   */

/**
   * 
   * @param {Ext.tree.TreeNode}
   *            node
   * @param {Function}
   *            callback Function to call after the node has been
   *            loaded. The function is passed the TreeNode which was
   *            requested to be loaded.
   * @param (Object)
   *            scope The cope (this reference) in which the callback
   *            is executed. defaults to the loaded TreeNode.
   */

/**
   * 
   * @return {Array} of containerData
   */

/**
   *  @cfg {Boolean} nocache (optional) Defaults to true. Disable caching by adding a unique parameter
   * name to the request.
   */

/**
   *  @cfg {Number} trigger2width
   */

/**
   *  @private
   */

/**
   *  add task to worker channel
   *  - execute when a task is completed
   *  - execute once a task is queued in main channel
   *  - it scans all worker channels , collect empty channels and add tasks
   *
   * @returns {Promise<void>}
   */

/**
   *  max number of upload retries
   */

/**
   *  retry timeout in milliseconds
   */

/**
   *  store to apply to all status og every batch uploads
   */

/**
   * "Set" the DateTime's zone to UTC. Returns a newly-constructed DateTime.
   *
   * Equivalent to {@link setZone}('utc')
   * @param {number} [offset=0] - optionally, an offset from UTC in minutes
   * @param {Object} [opts={}] - options to pass to `setZone()`
   * @return {DateTime}
   */

/**
   * "Set" the DateTime's zone to specified zone. Returns a newly-constructed DateTime.
   *
   * By default, the setter keeps the underlying time the same (as in, the same timestamp), but the new instance will report different local times and consider DSTs when making computations, as with {@link plus}. You may wish to use {@link toLocal} and {@link toUTC} which provide simple convenience wrappers for commonly used zones.
   * @param {string|Zone} [zone='local'] - a zone identifier. As a string, that can be any IANA zone supported by the host environment, or a fixed-offset name of the form 'UTC+3', or the strings 'local' or 'utc'. You may also supply an instance of a {@link Zone} class.
   * @param {Object} opts - options
   * @param {boolean} [opts.keepLocalTime=false] - If true, adjust the underlying time so that the local time stays the same, but in the target zone. You should rarely need this.
   * @return {DateTime}
   */

/**
   * "Set" the DateTime's zone to the host's local zone. Returns a newly-constructed DateTime.
   *
   * Equivalent to `setZone('local')`
   * @return {DateTime}
   */

/**
   * "Set" the locale and/or numberingSystem.  Returns a newly-constructed Duration.
   * @example dur.reconfigure({ locale: 'en-GB' })
   * @return {Duration}
   */

/**
   * "Set" the locale, numberingSystem, or outputCalendar. Returns a newly-constructed DateTime.
   * @param {Object} properties - the properties to set
   * @example DateTime.local(2017, 5, 25).reconfigure({ locale: 'en-GB' })
   * @return {DateTime}
   */

/**
   * "Set" the locale. Returns a newly-constructed DateTime.
   * Just a convenient alias for reconfigure({ locale })
   * @example DateTime.local(2017, 5, 25).setLocale('en-GB')
   * @return {DateTime}
   */

/**
   * "Set" the values of specified units. Return a newly-constructed Duration.
   * @param {Object} values - a mapping of units to numbers
   * @example dur.set({ years: 2017 })
   * @example dur.set({ hours: 8, minutes: 30 })
   * @return {Duration}
   */

/**
   * "Set" the values of specified units. Returns a newly-constructed DateTime.
   * You can only set units with this method; for "setting" metadata, see {@link reconfigure} and {@link setZone}.
   * @param {Object} values - a mapping of units to numbers
   * @example dt.set({ year: 2017 })
   * @example dt.set({ hour: 8, minute: 30 })
   * @example dt.set({ weekday: 5 })
   * @example dt.set({ year: 2005, ordinal: 234 })
   * @return {DateTime}
   */

/**
   * "Set" this DateTime to the beginning of a unit of time.
   * @param {string} unit - The unit to go to the beginning of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.
   * @example DateTime.local(2014, 3, 3).startOf('month').toISODate(); //=> '2014-03-01'
   * @example DateTime.local(2014, 3, 3).startOf('year').toISODate(); //=> '2014-01-01'
   * @example DateTime.local(2014, 3, 3, 5, 30).startOf('day').toISOTime(); //=> '00:00.000-05:00'
   * @example DateTime.local(2014, 3, 3, 5, 30).startOf('hour').toISOTime(); //=> '05:00:00.000-05:00'
   * @return {DateTime}
   */

/**
   * "Set" this DateTime to the end (meaning the last millisecond) of a unit of time
   * @param {string} unit - The unit to go to the end of. Can be 'year', 'month', 'day', 'hour', 'minute', 'second', or 'millisecond'.
   * @example DateTime.local(2014, 3, 3).endOf('month').toISO(); //=> '2014-03-31T23:59:59.999-05:00'
   * @example DateTime.local(2014, 3, 3).endOf('year').toISO(); //=> '2014-12-31T23:59:59.999-05:00'
   * @example DateTime.local(2014, 3, 3, 5, 30).endOf('day').toISO(); //=> '2014-03-03T23:59:59.999-05:00'
   * @example DateTime.local(2014, 3, 3, 5, 30).endOf('hour').toISO(); //=> '2014-03-03T05:59:59.999-05:00'
   * @return {DateTime}
   */

/**
   * "Sets" the start and/or end dates. Returns a newly-constructed Interval.
   * @param {Object} values - the values to set
   * @param {DateTime} values.start - the starting DateTime
   * @param {DateTime} values.end - the ending DateTime
   * @return {Interval}
   */

/**
   * $cfg {String} baseUnit minutes|seconds
   */

/**
   * (Local sort only) Inserts the passed Record into the Store at the index where it
   * should go based on the current sort information.
   * @param {Ext.data.Record} record
   */

/**
   * 2010-01-26 Current Browsers implemetation state of:
   *  http://www.w3.org/TR/FileAPI
   *  
   *  Interface: File | Blob | FileReader | FileReaderSync | FileError
   *  FF       : yes  | no   | no         | no             | no       
   *  safari   : yes  | no   | no         | no             | no       
   *  chrome   : yes  | no   | no         | no             | no       
   *  
   *  => no json rpc style upload possible
   *  => no chunked uploads posible
   *  
   *  But all of them implement XMLHttpRequest Level 2:
   *   http://www.w3.org/TR/XMLHttpRequest2/
   *  => the only way of uploading is using the XMLHttpRequest Level 2.
   */

/**
   * <b>Deprecated</b> load method using old method signature. See {@doRequest} for preferred method.
   * @deprecated
   * @param {Object} params
   * @param {Object} reader
   * @param {Object} callback
   * @param {Object} scope
   * @param {Object} arg
   */

/**
   * <b>Experimental</b>. Shows this tip at a position relative to another element using a standard {@link Ext.Element#alignTo}
   * anchor position value.  Example usage:
   * <pre><code>
  // Show the tip at the default position ('tl-br?')
  tip.showBy('my-el');
  // Show the tip's top-left corner anchored to the element's top-right corner
  tip.showBy('my-el', 'tl-tr');
  </code></pre>
   * @param {Mixed} el An HTMLElement, Ext.Element or string id of the target element to align to
   * @param {String} position (optional) A valid {@link Ext.Element#alignTo} anchor position (defaults to 'tl-br?' or
   * {@link #defaultAlign} if specified).
   */

/**
   * <p><b>Only present if this Record was created by an {@link Ext.data.ArrayReader ArrayReader} or a {@link Ext.data.JsonReader JsonReader}</b>.</p>
   * <p>The Array or object which was the source of the data for this Record.</p>
   * @property json
   * @type {Array|Object}
   */

/**
   * <p><b>Only present if this Record was created by an {@link Ext.data.XmlReader XmlReader}</b>.</p>
   * <p>The XML element which was the source of the data for this Record.</p>
   * @property node
   * @type {XMLElement}
   */

/**
   * <p><b>This property is stored in the Record definition's <u>prototype</u></b></p>
   * A MixedCollection containing the defined {@link Ext.data.Field Field}s for this Record.  Read-only.
   * @property fields
   * @type Ext.util.MixedCollection
   */

/**
   * <p>A customized implementation of a {@link Ext.dd.DragZone DragZone} which provides default implementations
   * of the template methods of DragZone to enable dragging of the selected rows of a GridPanel.
   * See {@link Ext.grid.GridDragZone} for details.</p>
   * <p>This will <b>only</b> be present:<div class="mdetail-params"><ul>
   * <li><i>if</i> the owning GridPanel was configured with {@link Ext.grid.GridPanel#enableDragDrop enableDragDrop}: <tt>true</tt>.</li>
   * <li><i>after</i> the owning GridPanel has been rendered.</li>
   * </ul></div>
   * @property dragZone
   * @type {Ext.grid.GridDragZone}
   */

/**
   * <p>Adds listeners to any Observable object (or Elements) which are automatically removed when this Component
   * is destroyed. Usage:</p><code><pre>
  myGridPanel.mon(myGridPanel.getSelectionModel(), 'selectionchange', handleSelectionChange, null, {buffer: 50});
  </pre></code>
   * <p>or:</p><code><pre>
  myGridPanel.mon(myGridPanel.getSelectionModel(), {
  selectionchange: handleSelectionChange,
  buffer: 50
  });
  </pre></code>
   * @param {Observable|Element} item The item to which to add a listener/listeners.
   * @param {Object|String} ename The event name, or an object containing event name properties.
   * @param {Function} fn Optional. If the <code>ename</code> parameter was an event name, this
   * is the handler function.
   * @param {Object} scope Optional. If the <code>ename</code> parameter was an event name, this
   * is the scope (<code>this</code> reference) in which the handler function is executed.
   * @param {Object} opt Optional. If the <code>ename</code> parameter was an event name, this
   * is the {@link Ext.util.Observable#addListener addListener} options.
   */

/**
   * <p>Adds {@link Ext.Component Component}(s) to this Container.</p>
   * <br><p><b>Description</b></u> :
   * <div><ul class="mdetail-params">
   * <li>Fires the {@link #beforeadd} event before adding</li>
   * <li>The Container's {@link #defaults default config values} will be applied
   * accordingly (see <code>{@link #defaults}</code> for details).</li>
   * <li>Fires the {@link #add} event after the component has been added.</li>
   * </ul></div>
   * <br><p><b>Notes</b></u> :
   * <div><ul class="mdetail-params">
   * <li>If the Container is <i>already rendered</i> when <code>add</code>
   * is called, you may need to call {@link #doLayout} to refresh the view which causes
   * any unrendered child Components to be rendered. This is required so that you can
   * <code>add</code> multiple child components if needed while only refreshing the layout
   * once. For example:<pre><code>
  var tb = new {@link Ext.Toolbar}();
  tb.render(document.body);  // toolbar is rendered
  tb.add({text:'Button 1'}); // add multiple items ({@link #defaultType} for {@link Ext.Toolbar Toolbar} is 'button')
  tb.add({text:'Button 2'});
  tb.{@link #doLayout}();             // refresh the layout
   * </code></pre></li>
   * <li><i>Warning:</i> Containers directly managed by the BorderLayout layout manager
   * may not be removed or added.  See the Notes for {@link Ext.layout.BorderLayout BorderLayout}
   * for more details.</li>
   * </ul></div>
   * @param {Object/Array} component
   * <p>Either a single component or an Array of components to add.  See
   * <code>{@link #items}</code> for additional information.</p>
   * @param {Object} (Optional) component_2
   * @param {Object} (Optional) component_n
   * @return {Ext.Component} component The Component (or config object) that was added.
   */

/**
   * <p>An array of 6-digit color hex code strings (without the # symbol).  This array can contain any number
   * of colors, and each hex code should be unique.  The width of the palette is controlled via CSS by adjusting
   * the width property of the 'x-color-palette' class (or assigning a custom class), so you can balance the number
   * of colors with the width setting until the box is symmetrical.</p>
   * <p>You can override individual colors if needed:</p>
   * <pre><code>
  var cp = new Ext.ColorPalette();
  cp.colors[0] = 'FF0000';  // change the first box to red
  </code></pre>
  Or you can provide a custom array of your own for complete control:
  <pre><code>
  var cp = new Ext.ColorPalette();
  cp.colors = ['000000', '993300', '333300'];
  </code></pre>
   * @type Array
   */

/**
   * <p>An empty implementation. Implement this to provide coordinates for the drag proxy to slide back to after an invalid drop.</p>
   * <p>Called before a repair of an invalid drop to get the XY to animate to.</p>
   * @param {EventObject} e The mouse up event
   * @return {Array} The xy location (e.g. [100, 200])
   */

/**
   * <p>An object hash containing default date values used during date parsing.</p>
   * <p>The following properties are available:<div class="mdetail-params"><ul>
   * <li><code>y</code> : Number<div class="sub-desc">The default year value. (defaults to undefined)</div></li>
   * <li><code>m</code> : Number<div class="sub-desc">The default 1-based month value. (defaults to undefined)</div></li>
   * <li><code>d</code> : Number<div class="sub-desc">The default day value. (defaults to undefined)</div></li>
   * <li><code>h</code> : Number<div class="sub-desc">The default hour value. (defaults to undefined)</div></li>
   * <li><code>i</code> : Number<div class="sub-desc">The default minute value. (defaults to undefined)</div></li>
   * <li><code>s</code> : Number<div class="sub-desc">The default second value. (defaults to undefined)</div></li>
   * <li><code>ms</code> : Number<div class="sub-desc">The default millisecond value. (defaults to undefined)</div></li>
   * </ul></div></p>
   * <p>Override these properties to customize the default date values used by the {@link #parseDate} method.</p>
   * <p><b>Note: In countries which experience Daylight Saving Time (i.e. DST), the <tt>h</tt>, <tt>i</tt>, <tt>s</tt>
   * and <tt>ms</tt> properties may coincide with the exact time in which DST takes effect.
   * It is the responsiblity of the developer to account for this.</b></p>
   * Example Usage:
   * <pre><code>
  // set default day value to the first day of the month
  Date.defaults.d = 1;
  // parse a February date string containing only year and month values.
  // setting the default day value to 1 prevents weird date rollover issues
  // when attempting to parse the following date string on, for example, March 31st 2009.
  Date.parseDate('2009-02', 'Y-m'); // returns a Date object representing February 1st 2009
  </code></pre>
   * @property defaults
   * @static
   * @type Object
   */

/**
   * <p>An object hash in which each property is a date formatting function. The property name is the
   * format string which corresponds to the produced formatted date string.</p>
   * <p>This object is automatically populated with date formatting functions as
   * date formats are requested for Ext standard formatting strings.</p>
   * <p>Custom formatting functions may be inserted into this object, keyed by a name which from then on
   * may be used as a format string to {@link #format}. Example:</p><pre><code>
  Date.formatFunctions['x-date-format'] = myDateFormatter;
  </code></pre>
   * <p>A formatting function should return a string repesentation of the passed Date object:<div class="mdetail-params"><ul>
   * <li><code>date</code> : Date<div class="sub-desc">The Date to format.</div></li>
   * </ul></div></p>
   * <p>To enable date strings to also be <i>parsed</i> according to that format, a corresponding
   * parsing function must be placed into the {@link #parseFunctions} property.
   * @property formatFunctions
   * @static
   * @type Object
   */

/**
   * <p>An object hash in which each property is a date parsing function. The property name is the
   * format string which that function parses.</p>
   * <p>This object is automatically populated with date parsing functions as
   * date formats are requested for Ext standard formatting strings.</p>
   * <p>Custom parsing functions may be inserted into this object, keyed by a name which from then on
   * may be used as a format string to {@link #parseDate}.<p>
   * <p>Example:</p><pre><code>
  Date.parseFunctions['x-date-format'] = myDateParser;
  </code></pre>
   * <p>A parsing function should return a Date object, and is passed the following parameters:<div class="mdetail-params"><ul>
   * <li><code>date</code> : String<div class="sub-desc">The date string to parse.</div></li>
   * <li><code>strict</code> : Boolean<div class="sub-desc">True to validate date strings while parsing
   * (i.e. prevent javascript Date "rollover") (The default must be false).
   * Invalid date strings should return null when parsed.</div></li>
   * </ul></div></p>
   * <p>To enable Dates to also be <i>formatted</i> according to that format, a corresponding
   * formatting function must be placed into the {@link #formatFunctions} property.
   * @property parseFunctions
   * @static
   * @type Object
   */

/**
   * <p>Calls the passed function for each element in this composite.</p>
   * @param {Function} fn The function to call. The function is passed the following parameters:<ul>
   * <li><b>el</b> : Element<div class="sub-desc">The current Element in the iteration.
   * <b>This is the flyweight (shared) Ext.Element instance, so if you require a
   * a reference to the dom node, use el.dom.</b></div></li>
   * <li><b>c</b> : Composite<div class="sub-desc">This Composite object.</div></li>
   * <li><b>idx</b> : Number<div class="sub-desc">The zero-based index in the iteration.</div></li>
   * </ul>
   * @param {Object} scope (optional) The scope (<i>this</i> reference) in which the function is executed. (defaults to the Element)
   * @return {CompositeElement} this
   */

/**
   * <p>Closes the Window, removes it from the DOM, {@link Ext.Component#destroy destroy}s
   * the Window object and all its descendant Components. The {@link Ext.Panel#beforeclose beforeclose}
   * event is fired before the close happens and will cancel the close action if it returns false.<p>
   * <p><b>Note:</b> This method is not affected by the {@link #closeAction} setting which
   * only affects the action triggered when clicking the {@link #closable 'close' tool in the header}.
   * To hide the Window without destroying it, call {@link #hide}.</p>
   */

/**
   * <p>Creates a delegate function, optionally with a bound scope which, when called, buffers
   * the execution of the passed function for the configured number of milliseconds.
   * If called again within that period, the impending invocation will be canceled, and the
   * timeout period will begin again.</p>
   *
   * @param {Function} fn The function to invoke on a buffered timer.
   * @param {Number} buffer The number of milliseconds by which to buffer the invocation of the
   * function.
   * @param {Object} scope (optional) The scope (<code><b>this</b></code> reference) in which
   * the passed function is executed. If omitted, defaults to the scope specified by the caller.
   * @param {Array} args (optional) Override arguments for the call. Defaults to the arguments
   * passed by the caller.
   * @return {Function} A function which invokes the passed function after buffering for the specified time.
   */

/**
   * <p>Display an error message associated with this field, using {@link #msgTarget} to determine how to
   * display the message and applying {@link #invalidClass} to the field's UI element.</p>
   * <p><b>Note</b>: this method does not cause the Field's {@link #validate} method to return <code>false</code>
   * if the value does <i>pass</i> validation. So simply marking a Field as invalid will not prevent
   * submission of forms submitted with the {@link Ext.form.Action.Submit#clientValidation} option set.</p>
   * {@link #isValid invalid}.
   * @param {String} msg (optional) The validation message (defaults to {@link #invalidText})
   */

/**
   * <p>Encodes a Date. This returns the actual string which is inserted into the JSON string as the literal expression.
   * <b>The returned value includes enclosing double quotation marks.</b></p>
   * <p>The default return format is "yyyy-mm-ddThh:mm:ss".</p>
   * <p>To override this:</p><pre><code>
  Ext.util.JSON.encodeDate = function(d) {
  return d.format('"Y-m-d"');
  };
  </code></pre>
   * @param {Date} d The Date to encode
   * @return {String} The string literal to use in a JSON string.
   */

/**
   * <p>Fires the specified event with the passed parameters (minus the event name).</p>
   * <p>An event may be set to bubble up an Observable parent hierarchy (See {@link Ext.Component#getBubbleTarget})
   * by calling {@link #enableBubble}.</p>
   * @param {String} eventName The name of the event to fire.
   * @param {Object...} args Variable number of parameters are passed to handlers.
   * @return {Boolean} returns false if any of the handlers return false otherwise it returns true.
   */

/**
   * <p>Function which can be overridden which returns the data object passed to this
   * DataView's {@link #tpl template} to render the whole DataView.</p>
   * <p>This is usually an Array of data objects, each element of which is processed by an
   * {@link Ext.XTemplate XTemplate} which uses <tt>'&lt;tpl for="."&gt;'</tt> to iterate over its supplied
   * data object as an Array. However, <i>named</i> properties may be placed into the data object to
   * provide non-repeating data such as headings, totals etc.</p>
   * @param {Array} records An Array of {@link Ext.data.Record}s to be rendered into the DataView.
   * @param {Number} startIndex the index number of the Record being prepared for rendering.
   * @return {Array} An Array of data objects to be processed by a repeating XTemplate. May also
   * contain <i>named</i> properties.
   */

/**
   * <p>Function which can be overridden which returns the data object passed to this
   * view's {@link #tpl template} to render the whole ListView. The returned object 
   * shall contain the following properties:</p>
   * <div class="mdetail-params"><ul>
   * <li><b>columns</b> : String<div class="sub-desc">See <tt>{@link #columns}</tt></div></li>
   * <li><b>rows</b> : String<div class="sub-desc">See
   * <tt>{@link Ext.DataView}.{@link Ext.DataView#collectData collectData}</div></li>
   * </ul></div>
   * @param {Array} records An Array of {@link Ext.data.Record}s to be rendered into the DataView.
   * @param {Number} startIndex the index number of the Record being prepared for rendering.
   * @return {Object} A data object containing properties to be processed by a repeating
   * XTemplate as described above.
   */

/**
   * <p>Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -
   * the dom node can be overwritten by other code. Shorthand of {@link Ext.Element#fly}</p>
   * <p>Use this to make one-time references to DOM elements which are not going to be accessed again either by
   * application code, or by Ext's classes. If accessing an element which will be processed regularly, then {@link Ext#get}
   * will be more appropriate to take advantage of the caching provided by the Ext.Element class.</p>
   * @param {String/HTMLElement} el The dom node or id
   * @param {String} named (optional) Allows for creation of named reusable flyweights to prevent conflicts
   * (e.g. internally Ext uses "_global")
   * @return {Element} The shared Element object (or null if no matching element was found)
   * @member Ext
   * @method fly
   */

/**
   * <p>Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -
   * the dom node can be overwritten by other code. Shorthand of {@link Ext.Element#fly}</p>
   * <p>Use this to make one-time references to DOM elements which are not going to be accessed again either by
   * application code, or by Ext's classes. If accessing an element which will be processed regularly, then {@link Ext#get}
   * will be more appropriate to take advantage of the caching provided by the Ext.Element class.</p>
   * @param {String/HTMLElement} el The dom node or id
   * @param {String} named (optional) Allows for creation of named reusable flyweights to prevent conflicts
   * (e.g. internally Ext uses "_global")
   * @return {Element} The shared Element object (or null if no matching element was found)
   * @member Ext.Element
   * @method fly
   */

/**
   * <p>Loads the Record cache from the configured <tt>{@link #proxy}</tt> using the configured <tt>{@link #reader}</tt>.</p>
   * <br><p>Notes:</p><div class="mdetail-params"><ul>
   * <li><b><u>Important</u></b>: loading is asynchronous! This call will return before the new data has been
   * loaded. To perform any post-processing where information from the load call is required, specify
   * the <tt>callback</tt> function to be called, or use a {@link Ext.util.Observable#listeners a 'load' event handler}.</li>
   * <li>If using {@link Ext.PagingToolbar remote paging}, the first load call must specify the <tt>start</tt> and <tt>limit</tt>
   * properties in the <code>options.params</code> property to establish the initial position within the
   * dataset, and the number of Records to cache on each read from the Proxy.</li>
   * <li>If using {@link #remoteSort remote sorting}, the configured <code>{@link #sortInfo}</code>
   * will be automatically included with the posted parameters according to the specified
   * <code>{@link #paramNames}</code>.</li>
   * </ul></div>
   * @param {Object} options An object containing properties which control loading options:<ul>
   * <li><b><tt>params</tt></b> :Object<div class="sub-desc"><p>An object containing properties to pass as HTTP
   * parameters to a remote data source. <b>Note</b>: <code>params</code> will override any
   * <code>{@link #baseParams}</code> of the same name.</p>
   * <p>Parameters are encoded as standard HTTP parameters using {@link Ext#urlEncode}.</p></div></li>
   * <li><b>callback</b> : Function<div class="sub-desc"><p>A function to be called after the Records
   * have been loaded. The callback is called after the load event is fired, and is passed the following arguments:<ul>
   * <li>r : Ext.data.Record[] An Array of Records loaded.</li>
   * <li>options : Options object from the load call.</li>
   * <li>success : Boolean success indicator.</li></ul></p></div></li>
   * <li><b>scope</b> : Object<div class="sub-desc"><p>Scope with which to call the callback (defaults
   * to the Store object)</p></div></li>
   * <li><b>add</b> : Boolean<div class="sub-desc"><p>Indicator to append loaded records rather than
   * replace the current cache.  <b>Note</b>: see note for <tt>{@link #loadData}</tt></p></div></li>
   * </ul>
   * @return {Boolean} If the <i>developer</i> provided <tt>{@link #beforeload}</tt> event handler returns
   * <tt>false</tt>, the load call will abort and will return <tt>false</tt>; otherwise will return <tt>true</tt>.
   */

/**
   * <p>Marks this <b>Record</b> as <code>{@link #dirty}</code>.  This method
   * is used interally when adding <code>{@link #phantom}</code> records to a
   * {@link Ext.data.Store#writer writer enabled store}.</p>
   * <br><p>Marking a record <code>{@link #dirty}</code> causes the phantom to
   * be returned by {@link Ext.data.Store#getModifiedRecords} where it will
   * have a create action composed for it during {@link Ext.data.Store#save store save}
   * operations.</p>
   */

/**
   * <p>Performs resizing of the associated Element. This method is called internally by this
   * class, and should not be called by user code.</p>
   * <p>If a Resizable is being used to resize an Element which encapsulates a more complex UI
   * component such as a Panel, this method may be overridden by specifying an implementation
   * as a config option to provide appropriate behaviour at the end of the resize operation on
   * mouseup, for example resizing the Panel, and relaying the Panel's content.</p>
   * <p>The new area to be resized to is available by examining the state of the {@link #proxy}
   * Element. Example:
  <pre><code>
  new Ext.Panel({
  title: 'Resize me',
  x: 100,
  y: 100,
  renderTo: Ext.getBody(),
  floating: true,
  frame: true,
  width: 400,
  height: 200,
  listeners: {
      render: function(p) {
          new Ext.Resizable(p.getEl(), {
              handles: 'all',
              pinned: true,
              transparent: true,
              resizeElement: function() {
                  var box = this.proxy.getBox();
                  p.updateBox(box);
                  if (p.layout) {
                      p.doLayout();
                  }
                  return box;
              }
         });
     }
  }
  }).show();
  </code></pre>
   */

/**
   * <p>Provides template arguments for rendering a tab selector item in the tab strip.</p>
   * <p>This method returns an object hash containing properties used by the TabPanel's <tt>{@link #itemTpl}</tt>
   * to create a formatted, clickable tab selector element. The properties which must be returned
   * are:</p><div class="mdetail-params"><ul>
   * <li><b>id</b> : String<div class="sub-desc">A unique identifier which links to the item</div></li>
   * <li><b>text</b> : String<div class="sub-desc">The text to display</div></li>
   * <li><b>cls</b> : String<div class="sub-desc">The CSS class name</div></li>
   * <li><b>iconCls</b> : String<div class="sub-desc">A CSS class to provide appearance for an icon.</div></li>
   * </ul></div>
   * @param {BoxComponent} item The {@link Ext.BoxComponent BoxComponent} for which to create a selector element in the tab strip.
   * @return {Object} An object hash containing the properties required to render the selector element.
   */

/**
   * <p>Provides template arguments for rendering the fully wrapped, labeled and styled form Field.</p>
   * <p>This method returns an object hash containing properties used by the layout's {@link #fieldTpl}
   * to create a correctly wrapped, labeled and styled form Field. This may be overriden to
   * create custom layouts. The properties which must be returned are:</p><div class="mdetail-params"><ul>
   * <li><b><tt>itemCls</tt></b> : String<div class="sub-desc">The CSS class applied to the outermost div wrapper
   * that contains this field label and field element (the default class is <tt>'x-form-item'</tt> and <tt>itemCls</tt>
   * will be added to that). If supplied, <tt>itemCls</tt> at the field level will override the default <tt>itemCls</tt>
   * supplied at the container level.</div></li>
   * <li><b><tt>id</tt></b> : String<div class="sub-desc">The id of the Field</div></li>
   * <li><b><tt>{@link #labelStyle}</tt></b> : String<div class="sub-desc">
   * A CSS style specification string to add to the field label for this field (defaults to <tt>''</tt> or the
   * {@link #labelStyle layout's value for <tt>labelStyle</tt>}).</div></li>
   * <li><b><tt>label</tt></b> : String<div class="sub-desc">The text to display as the label for this
   * field (defaults to <tt>''</tt>)</div></li>
   * <li><b><tt>{@link #labelSeparator}</tt></b> : String<div class="sub-desc">The separator to display after
   * the text of the label for this field (defaults to a colon <tt>':'</tt> or the
   * {@link #labelSeparator layout's value for labelSeparator}). To hide the separator use empty string ''.</div></li>
   * <li><b><tt>elementStyle</tt></b> : String<div class="sub-desc">The styles text for the input element's wrapper.</div></li>
   * <li><b><tt>clearCls</tt></b> : String<div class="sub-desc">The CSS class to apply to the special clearing div
   * rendered directly after each form field wrapper (defaults to <tt>'x-form-clear-left'</tt>)</div></li>
   * </ul></div>
   * @param (Ext.form.Field} field The {@link Ext.form.Field Field} being rendered.
   * @return An object hash containing the properties required to render the Field.
   */

/**
   * <p>Reconfigures the grid to use a different Store and Column Model
   * and fires the 'reconfigure' event. The View will be bound to the new
   * objects and refreshed.</p>
   * <p>Be aware that upon reconfiguring a GridPanel, certain existing settings <i>may</i> become
   * invalidated. For example the configured {@link #autoExpandColumn} may no longer exist in the
   * new ColumnModel. Also, an existing {@link Ext.PagingToolbar PagingToolbar} will still be bound
   * to the old Store, and will need rebinding. Any {@link #plugins} might also need reconfiguring
   * with the new data.</p>
   * @param {Ext.data.Store} store The new {@link Ext.data.Store} object
   * @param {Ext.grid.ColumnModel} colModel The new {@link Ext.grid.ColumnModel} object
   */

/**
   * <p>Reconfigures this column model according to the passed Array of column definition objects.
   * For a description of the individual properties of a column definition object, see the
   * <a href="#Ext.grid.ColumnModel-configs">Config Options</a>.</p>
   * <p>Causes the {@link #configchange} event to be fired. A {@link Ext.grid.GridPanel GridPanel}
   * using this ColumnModel will listen for this event and refresh its UI automatically.</p>
   * @param {Array} config Array of Column definition objects.
   * @param {Boolean} initial Specify <tt>true</tt> to bypass cleanup which deletes the <tt>totalWidth</tt>
   * and destroys existing editors.
   */

/**
   * <p>Redefines the Proxy's API or a single action of an API. Can be called with two method signatures.</p>
   * <p>If called with an object as the only parameter, the object should redefine the <b>entire</b> API, e.g.:</p><pre><code>
  proxy.setApi({
  read    : '/users/read',
  create  : '/users/create',
  update  : '/users/update',
  destroy : '/users/destroy'
  });
  </code></pre>
   * <p>If called with two parameters, the first parameter should be a string specifying the API action to
   * redefine and the second parameter should be the URL (or function if using DirectProxy) to call for that action, e.g.:</p><pre><code>
  proxy.setApi(Ext.data.Api.actions.read, '/users/new_load_url');
  </code></pre>
   * @param {String/Object} api An API specification object, or the name of an action.
   * @param {String/Function} url The URL (or function if using DirectProxy) to call for the action.
   */

/**
   * <p>Reloads the Record cache from the configured Proxy using the configured
   * {@link Ext.data.Reader Reader} and the options from the last load operation
   * performed.</p>
   * <p><b>Note</b>: see the Important note in {@link #load}.</p>
   * @param {Object} options <p>(optional) An <tt>Object</tt> containing
   * {@link #load loading options} which may override the {@link #lastOptions options}
   * used in the last {@link #load} operation. See {@link #load} for details
   * (defaults to <tt>null</tt>, in which case the {@link #lastOptions} are
   * used).</p>
   * <br><p>To add new params to the existing params:</p><pre><code>
  lastOptions = myStore.lastOptions;
  Ext.apply(lastOptions.params, {
  myNewParam: true
  });
  myStore.reload(lastOptions);
   * </code></pre>
   */

/**
   * <p>Render this Component into the passed HTML element.</p>
   * <p><b>If you are using a {@link Ext.Container Container} object to house this Component, then
   * do not use the render method.</b></p>
   * <p>A Container's child Components are rendered by that Container's
   * {@link Ext.Container#layout layout} manager when the Container is first rendered.</p>
   * <p>Certain layout managers allow dynamic addition of child components. Those that do
   * include {@link Ext.layout.CardLayout}, {@link Ext.layout.AnchorLayout},
   * {@link Ext.layout.FormLayout}, {@link Ext.layout.TableLayout}.</p>
   * <p>If the Container is already rendered when a new child Component is added, you may need to call
   * the Container's {@link Ext.Container#doLayout doLayout} to refresh the view which causes any
   * unrendered child Components to be rendered. This is required so that you can add multiple
   * child components if needed while only refreshing the layout once.</p>
   * <p>When creating complex UIs, it is important to remember that sizing and positioning
   * of child items is the responsibility of the Container's {@link Ext.Container#layout layout} manager.
   * If you expect child items to be sized in response to user interactions, you must
   * configure the Container with a layout manager which creates and manages the type of layout you
   * have in mind.</p>
   * <p><b>Omitting the Container's {@link Ext.Container#layout layout} config means that a basic
   * layout manager is used which does nothing but render child components sequentially into the
   * Container. No sizing or positioning will be performed in this situation.</b></p>
   * @param {Element/HTMLElement/String} container (optional) The element this Component should be
   * rendered into. If it is being created from existing markup, this should be omitted.
   * @param {String/Number} position (optional) The element ID or DOM node index within the container <b>before</b>
   * which this component will be inserted (defaults to appending to the end of the container)
   */

/**
   * <p>Return the index of the grid column which contains the passed HTMLElement.</p>
   * See also {@link #findRowIndex}
   * @param {HTMLElement} el The target element
   * @return {Number} The column index, or <b>false</b> if the target element is not within a row of this GridView.
   */

/**
   * <p>Return the index of the grid row which contains the passed HTMLElement.</p>
   * See also {@link #findCellIndex}
   * @param {HTMLElement} el The target HTMLElement
   * @return {Number} The row index, or <b>false</b> if the target element is not within a row of this GridView.
   */

/**
   * <p>Returns the Element to be used to contain the child Components of this Container.</p>
   * <p>An implementation is provided which returns the Container's {@link #getEl Element}, but
   * if there is a more complex structure to a Container, this may be overridden to return
   * the element into which the {@link #layout layout} renders child Components.</p>
   * @return {Ext.Element} The Element to render child Components into.
   */

/**
   * <p>Returns the element used to house this ComboBox's pop-up layer. Defaults to the document body.</p>
   * A custom implementation may be provided as a configuration option if the floating layer needs to be rendered
   * to a different Element. An example might be rendering the layer inside a Menu so that clicking
   * the layer does not hide the Menu
   */

/**
   * <p>Returns the element used to house this ComboBox's pop-up list. Defaults to the document body.</p>
   * A custom implementation may be provided as a configuration option if the floating list needs to be rendered
   * to a different Element. An example might be rendering the list inside a Menu so that clicking
   * the list does not hide the Menu:<pre><code>
  var store = new Ext.data.ArrayStore({
  autoDestroy: true,
  fields: ['initials', 'fullname'],
  data : [
      ['FF', 'Fred Flintstone'],
      ['BR', 'Barney Rubble']
  ]
  });
  var combo = new Ext.form.ComboBox({
  store: store,
  displayField: 'fullname',
  emptyText: 'Select a name...',
  forceSelection: true,
  getListParent: function() {
      return this.el.up('.x-menu');
  },
  iconCls: 'no-icon', //use iconCls if placing within menu to shift to right side of menu
  mode: 'local',
  selectOnFocus: true,
  triggerAction: 'all',
  typeAhead: true,
  width: 135
  });
  var menu = new Ext.menu.Menu({
  id: 'mainMenu',
  items: [
      combo // A Field in a Menu
  ]
  });
  </code></pre>
   */

/**
   * <p>Returns the fields in this form as an object with key/value pairs as they would be submitted using a standard form submit.
   * If multiple fields exist with the same name they are returned as an array.</p>
   * <p><b>Note:</b> The values are collected from all enabled HTML input elements within the form, <u>not</u> from
   * the Ext Field objects. This means that all returned values are Strings (or Arrays of Strings) and that the
   * value can potentially be the emptyText of a field.</p>
   * @param {Boolean} asString (optional) Pass true to return the values as a string. (defaults to false, returning an Object)
   * @return {String/Object}
   */

/**
   * <p>Returns the outermost Element of this Component which defines the Components overall size.</p>
   * <p><i>Usually</i> this will return the same Element as <code>{@link #getEl}</code>,
   * but in some cases, a Component may have some more wrapping Elements around its main
   * active Element.</p>
   * <p>An example is a ComboBox. It is encased in a <i>wrapping</i> Element which
   * contains both the <code>&lt;input></code> Element (which is what would be returned
   * by its <code>{@link #getEl}</code> method, <i>and</i> the trigger button Element.
   * This Element is returned as the <code>resizeEl</code>.
   * @return {Ext.Element} The Element which is to be resized by size managing layouts.
   */

/**
   * <p>Returns the {@link Ext.Element} which encapsulates this Component.</p>
   * <p>This will <i>usually</i> be a &lt;DIV> element created by the class's onRender method, but
   * that may be overridden using the {@link #autoEl} config.</p>
   * <br><p><b>Note</b>: this element will not be available until this Component has been rendered.</p><br>
   * <p>To add listeners for <b>DOM events</b> to this Component (as opposed to listeners
   * for this Component's own Observable events), see the {@link #listeners} config for a suggestion,
   * or use a render listener directly:</p><pre><code>
  new Ext.Panel({
  title: 'The Clickable Panel',
  listeners: {
      render: function(p) {
          // Append the Panel to the click handler&#39;s argument list.
          p.getEl().on('click', handlePanelClick.createDelegate(null, [p], true));
      },
      single: true  // Remove the listener after first invocation
  }
  });
  </code></pre>
   * @return {Ext.Element} The Element which encapsulates this Component.
   */

/**
   * <p>Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
   * available xtypes, see the {@link Ext.Component} header.</p>
   * <p><b>If using your own subclasses, be aware that a Component must register its own xtype
   * to participate in determination of inherited xtypes.</b></p>
   * <p>Example usage:</p>
   * <pre><code>
  var t = new Ext.form.TextField();
  alert(t.getXTypes());  // alerts 'component/box/field/textfield'
  </code></pre>
   * @return {String} The xtype hierarchy string
   */

/**
   * <p>Returns true if any fields in this form have changed from their original values.</p>
   * <p>Note that if this BasicForm was configured with {@link #trackResetOnLoad} then the
   * Fields' <i>original values</i> are updated when the values are loaded by {@link #setValues}
   * or {@link #loadRecord}.</p>
   * @return Boolean
   */

/**
   * <p>Returns true if the value of this Field has been changed from its original value.
   * Will return false if the field is disabled or has not been rendered yet.</p>
   * <p>Note that if the owning {@link Ext.form.BasicForm form} was configured with
   * {@link Ext.form.BasicForm}.{@link Ext.form.BasicForm#trackResetOnLoad trackResetOnLoad}
   * then the <i>original value</i> is updated when the values are loaded by
   * {@link Ext.form.BasicForm}.{@link Ext.form.BasicForm#setValues setValues}.</p>
   * @return {Boolean} True if this field has been changed from its original value (and
   * is not disabled), false otherwise.
   */

/**
   * <p>Sets the title text for the panel and optionally the {@link #iconCls icon class}.</p>
   * <p>In order to be able to set the title, a header element must have been created
   * for the Panel. This is triggered either by configuring the Panel with a non-blank <code>{@link #title}</code>,
   * or configuring it with <code><b>{@link #header}: true</b></code>.</p>
   * @param {String} title The title text to set
   * @param {String} iconCls (optional) {@link #iconCls iconCls} A user-defined CSS class that provides the icon image for this panel
   */

/**
   * <p>Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
   * from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
   * <p><b>If using your own subclasses, be aware that a Component must register its own xtype
   * to participate in determination of inherited xtypes.</b></p>
   * <p>For a list of all available xtypes, see the {@link Ext.Component} header.</p>
   * <p>Example usage:</p>
   * <pre><code>
  var t = new Ext.form.TextField();
  var isText = t.isXType('textfield');        // true
  var isBoxSubclass = t.isXType('box');       // true, descended from BoxComponent
  var isBoxInstance = t.isXType('box', true); // false, not a direct BoxComponent instance
  </code></pre>
   * @param {String} xtype The xtype to check for this Component
   * @param {Boolean} shallow (optional) False to check whether this Component is descended from the xtype (this is
   * the default), or true to check whether this Component is directly of the specified xtype.
   * @return {Boolean} True if this component descends from the specified xtype, false otherwise.
   */

/**
   * <p>The Array of DOM elements which this CompositeElement encapsulates. Read-only.</p>
   * <p>This will not <i>usually</i> be accessed in developers' code, but developers wishing
   * to augment the capabilities of the CompositeElementLite class may use it when adding
   * methods to the class.</p>
   * <p>For example to add the <code>nextAll</code> method to the class to <b>add</b> all
   * following siblings of selected elements, the code would be</p><code><pre>
  Ext.override(Ext.CompositeElementLite, {
  nextAll: function() {
      var els = this.elements, i, l = els.length, n, r = [], ri = -1;
  //      Loop through all elements in this Composite, accumulating
  //      an Array of all siblings.
      for (i = 0; i < l; i++) {
          for (n = els[i].nextSibling; n; n = n.nextSibling) {
              r[++ri] = n;
          }
      }
  //      Add all found siblings to this Composite
      return this.add(r);
  }
  });</pre></code>
   * @type Array
   * @property elements
   */

/**
   * <p>The label Element associated with this Field. <b>Only available after this Field has been rendered by a
   * {@link form Ext.layout.FormLayout} layout manager.</b></p>
   * @type Ext.Element
   * @property label
   */

/**
   * <p>The provided implementation of the getDragData method which collects the data to be dragged from the GridPanel on mousedown.</p>
   * <p>This data is available for processing in the {@link Ext.dd.DropZone#onNodeEnter onNodeEnter}, {@link Ext.dd.DropZone#onNodeOver onNodeOver},
   * {@link Ext.dd.DropZone#onNodeOut onNodeOut} and {@link Ext.dd.DropZone#onNodeDrop onNodeDrop} methods of a cooperating {@link Ext.dd.DropZone DropZone}.</p>
   * <p>The data object contains the following properties:<ul>
   * <li><b>grid</b> : Ext.Grid.GridPanel<div class="sub-desc">The GridPanel from which the data is being dragged.</div></li>
   * <li><b>ddel</b> : htmlElement<div class="sub-desc">An htmlElement which provides the "picture" of the data being dragged.</div></li>
   * <li><b>rowIndex</b> : Number<div class="sub-desc">The index of the row which receieved the mousedown gesture which triggered the drag.</div></li>
   * <li><b>selections</b> : Array<div class="sub-desc">An Array of the selected Records which are being dragged from the GridPanel.</div></li>
   * </ul></p>
   */

/**
   * <p>The provided implementation of the onInitDrag method. Sets the <tt>innerHTML</tt> of the drag proxy which provides the "picture"
   * of the data being dragged.</p>
   * <p>The <tt>innerHTML</tt> data is found by calling the owning GridPanel's {@link Ext.grid.GridPanel#getDragDropText getDragDropText}.</p>
   */

/**
   * <p>The {@link Ext.Element} which encapsulates this Component. Read-only.</p>
   * <p>This will <i>usually</i> be a &lt;DIV> element created by the class's onRender method, but
   * that may be overridden using the <code>{@link #autoEl}</code> config.</p>
   * <br><p><b>Note</b>: this element will not be available until this Component has been rendered.</p><br>
   * <p>To add listeners for <b>DOM events</b> to this Component (as opposed to listeners
   * for this Component's own Observable events), see the {@link Ext.util.Observable#listeners listeners}
   * config for a suggestion, or use a render listener directly:</p><pre><code>
  new Ext.Panel({
  title: 'The Clickable Panel',
  listeners: {
      render: function(p) {
          // Append the Panel to the click handler&#39;s argument list.
          p.getEl().on('click', handlePanelClick.createDelegate(null, [p], true));
      },
      single: true  // Remove the listener after first invocation
  }
  });
  </code></pre>
   * <p>See also <tt>{@link #getEl getEl}</p>
   * @type Ext.Element
   * @property el
   */

/**
   * <p>Validates a value according to the field's validation rules and marks the field as invalid
   * if the validation fails. Validation rules are processed in the following order:</p>
   * <div class="mdetail-params"><ul>
   * 
   * <li><b>1. Field specific validator</b>
   * <div class="sub-desc">
   * <p>A validator offers a way to customize and reuse a validation specification.
   * If a field is configured with a <code>{@link #validator}</code>
   * function, it will be passed the current field value.  The <code>{@link #validator}</code>
   * function is expected to return either:
   * <div class="mdetail-params"><ul>
   * <li>Boolean <tt>true</tt> if the value is valid (validation continues).</li>
   * <li>a String to represent the invalid message if invalid (validation halts).</li>
   * </ul></div>
   * </div></li>
   * 
   * <li><b>2. Basic Validation</b>
   * <div class="sub-desc">
   * <p>If the <code>{@link #validator}</code> has not halted validation,
   * basic validation proceeds as follows:</p>
   * 
   * <div class="mdetail-params"><ul>
   * 
   * <li><code>{@link #allowBlank}</code> : (Invalid message =
   * <code>{@link #emptyText}</code>)<div class="sub-desc">
   * Depending on the configuration of <code>{@link #allowBlank}</code>, a
   * blank field will cause validation to halt at this step and return
   * Boolean true or false accordingly.  
   * </div></li>
   * 
   * <li><code>{@link #minLength}</code> : (Invalid message =
   * <code>{@link #minLengthText}</code>)<div class="sub-desc">
   * If the passed value does not satisfy the <code>{@link #minLength}</code>
   * specified, validation halts.
   * </div></li>
   * 
   * <li><code>{@link #maxLength}</code> : (Invalid message =
   * <code>{@link #maxLengthText}</code>)<div class="sub-desc">
   * If the passed value does not satisfy the <code>{@link #maxLength}</code>
   * specified, validation halts.
   * </div></li>
   * 
   * </ul></div>
   * </div></li>
   * 
   * <li><b>3. Preconfigured Validation Types (VTypes)</b>
   * <div class="sub-desc">
   * <p>If none of the prior validation steps halts validation, a field
   * configured with a <code>{@link #vtype}</code> will utilize the
   * corresponding {@link Ext.form.VTypes VTypes} validation function.
   * If invalid, either the field's <code>{@link #vtypeText}</code> or
   * the VTypes vtype Text property will be used for the invalid message.
   * Keystrokes on the field will be filtered according to the VTypes
   * vtype Mask property.</p>
   * </div></li>
   * 
   * <li><b>4. Field specific regex test</b>
   * <div class="sub-desc">
   * <p>If none of the prior validation steps halts validation, a field's
   * configured <code>{@link #regex}</code> test will be processed.
   * The invalid message for this test is configured with
   * <code>{@link #regexText}</code>.</p>
   * </div></li>
   * 
   * @param {Mixed} value The value to validate
   * @return {Boolean} True if the value is valid, else false
   */

/**
   * <pre><code>
  grid.on('afteredit', function(){
  var groupValue = 'Ext Forms: Field Anchoring';
  summary.showSummaryMsg(groupValue, 'Updating Summary...');
  setTimeout(function(){ // simulate server call
      // HybridSummary class implements updateSummaryData
      summary.updateSummaryData(groupValue,
          // create data object based on configured dataIndex
          {description: 22, estimate: 888, rate: 888, due: new Date(), cost: 8});
  }, 2000);
  });
   * </code></pre>
   * @param {String} groupValue
   * @param {Object} data data object
   * @param {Boolean} skipRefresh (Optional) Defaults to false
   */

/**
   * <tt>true</tt> when the record does not yet exist in a server-side database (see
   * {@link #markDirty}).  Any record which has a real database pk set as its id property
   * is NOT a phantom -- it's real.
   * @property phantom
   * @type {Boolean}
   */

/**
   * @abstract
   * @param {!Array<*>} coordinates Coordinates.
   * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
   */

/**
   * @abstract
   * @param {Array<import("./Layer.js").State>} [states] Optional list of layer
   *     states (to be modified in place).
   * @return {Array<import("./Layer.js").State>} List of layer states.
   */

/**
   * @abstract
   * @param {Array<import("./Layer.js").default>} [array] Array of layers (to be
   *     modified in place).
   * @return {Array<import("./Layer.js").default>} Array of layers.
   */

/**
   * @abstract
   * @param {function(import("../events/Event.js").default): void} listener Listener function.
   */

/**
   * @abstract
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {import("../Map.js").FrameState} frameState Frame state.
   * @param {number} hitTolerance Hit tolerance in pixels.
   * @param {import("./vector.js").FeatureCallback<T>} callback Feature callback.
   * @param {Array<import("./Map.js").HitMatch<T>>} matches The hit detected matches with tolerance.
   * @return {T|undefined} Callback result.
   * @template T
   */

/**
   * @abstract
   * @param {import("../extent.js").Extent} extent Extent.
   * @protected
   * @return {import("../extent.js").Extent} extent Extent.
   */

/**
   * @abstract
   * @param {import("../render/EventType.js").default} type Event type.
   * @param {import("../Map.js").FrameState} frameState Frame state.
   */

/**
   * @abstract
   * @param {number} x X.
   * @param {number} y Y.
   * @param {import("../coordinate.js").Coordinate} closestPoint Closest point.
   * @param {number} minSquaredDistance Minimum squared distance.
   * @return {number} Minimum squared distance.
   */

/**
   * @abstract
   * @param {number} z Tile coordinate z.
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   * @param {number} pixelRatio Pixel ratio.
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {!import("../Tile.js").default} Tile.
   */

/**
   * @abstract
   * @return {Array<*> | null} Coordinates.
   */

/**
   * @abstract
   * @return {HTMLCanvasElement|HTMLVideoElement|HTMLImageElement} Image element.
   */

/**
   * @abstract
   * @return {import("../ImageState.js").default} Image state.
   */

/**
   * @abstract
   * @return {import("../size.js").Size} Image size.
   */

/**
   * @abstract
   * @return {import("../source/Source.js").State} Source state.
   */

/**
   * @access private
   */

/**
   * @cfg
   * @type String
   */

/**
   * @cfg    {String}
   * @param  {String} url
   * @desc   url to open
   */

/**
   * @cfg (String) upload id prefix
   */

/**
   * @cfg String  initialCardName to select after render
   */

/**
   * @cfg String  initialNodeId to select after render
   */

/**
   * @cfg cm
   * @hide
   */

/**
   * @cfg colModel
   * @hide
   */

/**
   * @cfg columns
   * @hide
   */

/**
   * @cfg dateFilterSupportsPeriod
   * @type Boolean
   */

/**
   * @cfg defaultOperator
   * @type String
   */

/**
   * @cfg defaultValue
   * @type String
   */

/**
   * @cfg field
   * @type String
   */

/**
   * @cfg filesProperty
   * @type String
   */

/**
   * @cfg for FileUploadGrid
   */

/**
   * @cfg for PickerGridPanel
   */

/**
   * @cfg handler
   * @type Function
   * The handler originally defined for the Ext.Button during construction using the "handler" config option.
   * We need to null out the "handler" property so that it is only called when a file is selected.
   * @private
   */

/**
   * @cfg label
   * @type String
   */

/**
   * @cfg multiselectField
   */

/**
   * @cfg nodeAttributeField
   * @type String
   */

/**
   * @cfg quickaddMode (header|inline|sorted)
   */

/**
   * @cfg scope
   * @type Object
   * The scope originally defined for the Ext.Button during construction using the "scope" config option.
   * While the "scope" property doesn't need to be nulled, to be consistent with handler, we do.
   * @private
   */

/**
   * @cfg selectNodes
   * @type Boolean
   */

/**
   * @cfg showTopToolbar
   * @type Boolean
   * TODO     think about that -> when we deactivate the top toolbar, we lose the dropzone for files!
   */

/**
   * @cfg singleNodeOperator
   * @type String
   */

/**
   * @cfg store
   * @hide
   */

/**
   * @cfg title
   * @hide
   */

/**
   * @cfg {"primary" | "secondary" | "success" | "danger" | "warning" | "info" | "light" | "dark" | null | undefined} alertVariant
   */

/**
   * @cfg {?} defaultContainer
   */

/**
   * @cfg {Admin.Model.Config} ConfigRecord
   */

/**
   * @cfg {Application} app (required)
   */

/**
   * @cfg {Array/Object} data
   */

/**
   * @cfg {Array/Object} fields
   * <p>Either an Array of {@link Ext.data.Field Field} definition objects (which
   * will be passed to {@link Ext.data.Record#create}, or a {@link Ext.data.Record Record}
   * constructor created from {@link Ext.data.Record#create}.</p>
   */

/**
   * @cfg {Array/String} adjustments String 'auto' or an array [width, height] with values to be <b>added</b> to the
   * resize operation's new size (defaults to <tt>[0, 0]</tt>)
   */

/**
   * @cfg {Array/String} paramOrder <p>A list of params to be executed server side.
   * Defaults to <tt>undefined</tt>. Only used for the <code>{@link #api}</code>
   * <code>load</code> configuration.</p>
   * <br><p>Specify the params in the order in which they must be executed on the
   * server-side as either (1) an Array of String values, or (2) a String of params
   * delimited by either whitespace, comma, or pipe. For example,
   * any of the following would be acceptable:</p><pre><code>
  paramOrder: ['param1','param2','param3']
  paramOrder: 'param1 param2 param3'
  paramOrder: 'param1,param2,param3'
  paramOrder: 'param1|param2|param'
   </code></pre>
   */

/**
   * @cfg {Array/String} paramOrder Defaults to <tt>undefined</tt>. A list of params to be executed
   * server side.  Specify the params in the order in which they must be executed on the server-side
   * as either (1) an Array of String values, or (2) a String of params delimited by either whitespace,
   * comma, or pipe. For example,
   * any of the following would be acceptable:<pre><code>
  paramOrder: ['param1','param2','param3']
  paramOrder: 'param1 param2 param3'
  paramOrder: 'param1,param2,param3'
  paramOrder: 'param1|param2|param'
   </code></pre>
   */

/**
   * @cfg {Array/String} paramOrder Defaults to <tt>undefined</tt>. Only used when using directFn.
   * Specifies the params in the order in which they must be passed to the server-side Direct method
   * as either (1) an Array of String values, or (2) a String of params delimited by either whitespace,
   * comma, or pipe. For example,
   * any of the following would be acceptable:<pre><code>
  nodeParameter: 'node',
  paramOrder: ['param1','param2','param3']
  paramOrder: 'node param1 param2 param3'
  paramOrder: 'param1,node,param2,param3'
  paramOrder: 'param1|param2|param|node'
   </code></pre>
   */

/**
   * @cfg {Array|Toolbar} actions
   * all actions to update
   */

/**
   * @cfg {Array|null}
   * default/initial value, null for any
   */

/**
   * @cfg {Array} Array of column's config objects where the config options are in
   */

/**
   * @cfg {Array} actionToolbarItems
   * additional items for actionToolbar
   */

/**
   * @cfg {Array} additional toolbar items
   */

/**
   * @cfg {Array} allowedTypes
   * array with allowed file types (for example: ['jpg', 'gif', 'png']
   */

/**
   * @cfg {Array} array of filter models (possible filters in this toolbar)
   */

/**
   * @cfg {Array} bubbleEvents
   * <p>An array of events that, when fired, should be bubbled to any parent container.
   * See {@link Ext.util.Observable#enableBubble}.
   * Defaults to <code>['add', 'remove']</code>.
   */

/**
   * @cfg {Array} bubbleEvents
   * <p>An array of events that, when fired, should be bubbled to any parent container.
   * See {@link Ext.util.Observable#enableBubble}.
   * Defaults to <tt>[]</tt>.
   */

/**
   * @cfg {Array} bubbleEvents
   * <p>An array of events that, when fired, should be bubbled to any parent container.
   * See {@link Ext.util.Observable#enableBubble}. 
   * Defaults to <tt>[]</tt>.
   */

/**
   * @cfg {Array} buttons
   * <code>buttons</code> will be used as <code>{@link Ext.Container#items items}</code> for the toolbar in
   * the footer (<code>{@link #fbar}</code>). Typically the value of this configuration property will be
   * an array of {@link Ext.Button}s or {@link Ext.Button} configuration objects.
   * If an item is configured with <code>minWidth</code> or the Panel is configured with <code>minButtonWidth</code>,
   * that width will be applied to the item.
   */

/**
   * @cfg {Array} buttons
   * An array of {@link Ext.Button}s or {@link Ext.Button} configs used to add buttons to the footer of this FormPanel.<br>
   * <p>Buttons in the footer of a FormPanel may be configured with the option <tt>formBind: true</tt>. This causes
   * the form's {@link #monitorValid valid state monitor task} to enable/disable those Buttons depending on
   * the form's valid/invalid state.</p>
   */

/**
   * @cfg {Array} charRange
   * Two numbers specifying a range of ASCII HTML Characters to display for user selection. Defaults to <tt>[160, 256]</tt>.
   */

/**
   * @cfg {Array} color
   * Color values for use in {@link Ext.ColorPalette}
   */

/**
   * @cfg {Array} columns An Array of object literals.  The config options defined by
   * <b>{@link Ext.grid.Column}</b> are the options which may appear in the object literal for each
   * individual column definition.
   */

/**
   * @cfg {Array} columns An array of column configuration objects, for example:
   * <pre><code>
  {
  align: 'right',
  dataIndex: 'size',
  header: 'Size',
  tpl: '{size:fileSize}',
  width: .35
  }
   * </code></pre> 
   * Acceptable properties for each column configuration object are:
   * <div class="mdetail-params"><ul>
   * <li><b><tt>align</tt></b> : String<div class="sub-desc">Set the CSS text-align property
   * of the column. Defaults to <tt>'left'</tt>.</div></li>
   * <li><b><tt>dataIndex</tt></b> : String<div class="sub-desc">See {@link Ext.grid.Column}.
   * {@link Ext.grid.Column#dataIndex dataIndex} for details.</div></li>
   * <li><b><tt>header</tt></b> : String<div class="sub-desc">See {@link Ext.grid.Column}.
   * {@link Ext.grid.Column#header header} for details.</div></li>
   * <li><b><tt>tpl</tt></b> : String<div class="sub-desc">Specify a string to pass as the
   * configuration string for {@link Ext.XTemplate}.  By default an {@link Ext.XTemplate}
   * will be implicitly created using the <tt>dataIndex</tt>.</div></li>
   * <li><b><tt>width</tt></b> : Number<div class="sub-desc">Percentage of the container width
   * this column should be allocated.  Columns that have no width specified will be
   * allocated with an equal percentage to fill 100% of the container width.  To easily take
   * advantage of the full container width, leave the width of at least one column undefined.
   * Note that if you do not want to take up the full width of the container, the width of
   * every column needs to be explicitly defined.</div></li>
   * </ul></div>
   */

/**
   * @cfg {Array} columns An array of {@link Ext.grid.Column columns} to auto create a
   * {@link Ext.grid.ColumnModel}.  The ColumnModel may be explicitly created via the
   * <tt>{@link #colModel}</tt> configuration property.
   */

/**
   * @cfg {Array} contentTypes
   * Array of Objects
   * Object Properties: "model", "requiredRight"
   * Prop. model (e.g. "Abc") will be expanded to Tine.Application.Model.Abc
   * Prop. requiredRight (e.g. "read") will be expanded to Tine.Tinebase.common.hasRight('read', this.app.appName, recordClass.getMeta('recordsName').toLowerCase())
   * Prop. singularContainerMode (bool): when true, the records of the model doesn't have containers, so no containertreepanel is rendered
   *                                     but a containertreenode must be defined in Application.js
   * Prop. genericCtxActions (Array of Strings e.g. "['rename','grant']") Creates a Tine.widgets.tree.ContextMenu with the actions in this array                                    
   */

/**
   * @cfg {Array} contentTypes
   */

/**
   * @cfg {Array} contextMenuItems
   * additional items for contextMenu
   */

/**
   * @cfg {Array} criterias to ignore
   */

/**
   * @cfg {Array} customColumnData
   * Config Array for customizing column model columns
   */

/**
   * @cfg {Array} customOperators
   * define custom operators
   */

/**
   * @cfg {Array} data An inline data object readable by the <code>{@link #reader}</code>.
   * Typically this option, or the <code>{@link #url}</code> option will be specified.
   */

/**
   * @cfg {Array} data of Tine.Tinebase.Model.Container
   * Container to manage grants for
   */

/**
   * @cfg {Array} dayNames
   * An array of textual day names which can be overriden for localization support (defaults to Date.dayNames)
   */

/**
   * @cfg {Array} defaultOffsets An array specifying the [x, y] offset in pixels by which to
   * change the default Menu popup position after aligning according to the {@link #defaultAlign}
   * configuration. Defaults to <tt>[0, 0]</tt>.
   */

/**
   * @cfg {Array} disabledDates
   * An array of "dates" to disable, as strings. These strings will be used to build a dynamic regular
   * expression so they are very powerful. Some examples:<pre><code>
  // disable these exact dates:
  disabledDates: ["03/08/2003", "09/16/2003"]
  // disable these days for every year:
  disabledDates: ["03/08", "09/16"]
  // only match the beginning (useful if you are using short years):
  disabledDates: ["^03/08"]
  // disable every day in March 2006:
  disabledDates: ["03/../2006"]
  // disable every day in every March:
  disabledDates: ["^03"]
   * </code></pre>
   * Note that the format of the dates included in the array should exactly match the {@link #format} config.
   * In order to support regular expressions, if you are using a {@link #format date format} that has "." in
   * it, you will have to escape the dot when restricting dates. For example: <tt>["03\\.08\\.03"]</tt>.
   */

/**
   * @cfg {Array} disabledDates
   * An array of 'dates' to disable, as strings. These strings will be used to build a dynamic regular
   * expression so they are very powerful. Some examples:
   * <ul>
   * <li>['03/08/2003', '09/16/2003'] would disable those exact dates</li>
   * <li>['03/08', '09/16'] would disable those days for every year</li>
   * <li>['^03/08'] would only match the beginning (useful if you are using short years)</li>
   * <li>['03/../2006'] would disable every day in March 2006</li>
   * <li>['^03'] would disable every day in every March</li>
   * </ul>
   * Note that the format of the dates included in the array should exactly match the {@link #format} config.
   * In order to support regular expressions, if you are using a date format that has '.' in it, you will have to
   * escape the dot when restricting dates. For example: ['03\\.08\\.03'].
   */

/**
   * @cfg {Array} disabledDays
   * An array of days to disable, 0 based (defaults to null). Some examples:<pre><code>
  // disable Sunday and Saturday:
  disabledDays:  [0, 6]
  // disable weekdays:
  disabledDays: [1,2,3,4,5]
   * </code></pre>
   */

/**
   * @cfg {Array} disabledDays
   * An array of days to disable, 0-based. For example, [0, 6] disables Sunday and Saturday (defaults to null).
   */

/**
   * @cfg {Array} duplicates
   * array of Objects or Records
   */

/**
   * @cfg {Array} extra context actions
   */

/**
   * @cfg {Array} fixedGroups
   * if present, this is the fixed set of groups
   */

/**
   * @cfg {Array} fontFamilies An array of available font families
   */

/**
   * @cfg {Array} i18nDeleteQuestion 
   * spechialised strings for deleteQuestion
   */

/**
   * @cfg {Array} i18nDeleteRecordAction 
   * specialised strings for delete action button
   */

/**
   * @cfg {Array} items An Array of {@link Ext.form.Checkbox Checkbox}es or Checkbox config objects
   * to arrange in the group.
   */

/**
   * @cfg {Array} items An Array of {@link Ext.form.Radio Radio}s or Radio config objects
   * to arrange in the group.
   */

/**
   * @cfg {Array} items An array of {@link Ext.menu.CheckItem} <b>config</b> objects to be used when creating the
   * button's menu items (e.g., {text:'Foo', iconCls:'foo-icon'})
   */

/**
   * @cfg {Array} monthNames
   * An array of textual month names which can be overriden for localization support (defaults to Date.monthNames)
   */

/**
   * @cfg {Array} mouseOffset An XY offset from the mouse position where the
   * tooltip should be shown (defaults to [15,18]).
   */

/**
   * @cfg {Array} of Strings currentTab ids
   */

/**
   * @cfg {Array} offsets
   * The offsets to use when aligning (see {@link Ext.Element#alignTo} for more details. Defaults to <tt>[0, 0]</tt>.
   */

/**
   * @cfg {Array} operators
   * valid operators
   */

/**
   * @cfg {Array} operators allowed operators
   */

/**
   * @cfg {Array} options
   * @see {Ext.fom.CheckBoxGroup}
   */

/**
   * @cfg {Array} requiredGrants
   * grants which are required to select leaf node(s)
   */

/**
   * @cfg {Array} sortClasses
   * The CSS classes applied to a header when it is sorted. (defaults to <tt>["sort-asc", "sort-desc"]</tt>)
   */

/**
   * @cfg {Array} sortClasses The CSS classes applied to a header when it is sorted. (defaults to <tt>['sort-asc', 'sort-desc']</tt>)
   */

/**
   * @cfg {Array} specialChars
   * An array of additional characters to display for user selection.  Uses numeric portion of the ASCII HTML Character Code only. For example, to use the Copyright symbol, which is &#169; we would just specify <tt>169</tt> (ie: <tt>specialChars:[169]</tt>).
   */

/**
   * @cfg {Array} stateEvents
   * <p>An array of events that, when fired, should trigger this component to
   * save its state (defaults to none). <code>stateEvents</code> may be any type
   * of event supported by this component, including browser or custom events
   * (e.g., <tt>['click', 'customerchange']</tt>).</p>
   * <p>See <code>{@link #stateful}</code> for an explanation of saving and
   * restoring Component state.</p>
   */

/**
   * @cfg {Array} stateEvents
   * An array of events that, when fired, should trigger this component to save its state.
   * Defaults to:<pre><code>
   * stateEvents: ['columnmove', 'columnresize', 'sortchange', 'groupchange']
   * </code></pre>
   * <p>These can be any types of events supported by this component, including browser or
   * custom events (e.g., <tt>['click', 'customerchange']</tt>).</p>
   * <p>See {@link Ext.Component#stateful} for an explanation of saving and restoring
   * Component state.</p>
   */

/**
   * @cfg {Array} tableBorderOptions
   * A nested array of value/display options to present to the user for table border style. Defaults to a simple list of 5 varrying border types.
   */

/**
   * @cfg {Array} tags Initial tags
   */

/**
   * @cfg {Array} tbarItems
   * additional toolbar items (defaults to false)
   */

/**
   * @cfg {Array} toolTemplate
   * @hide
   */

/**
   * @cfg {Array} tools
   * @hide
   */

/**
   * @cfg {Array} tools
   * An array of tool button configs to be added to the header tool area. When rendered, each tool is
   * stored as an {@link Ext.Element Element} referenced by a public property called <code><b></b>tools.<i>&lt;tool-type&gt;</i></code>
   * <p>Each tool config may contain the following properties:
   * <div class="mdetail-params"><ul>
   * <li><b>id</b> : String<div class="sub-desc"><b>Required.</b> The type
   * of tool to create. By default, this assigns a CSS class of the form <code>x-tool-<i>&lt;tool-type&gt;</i></code> to the
   * resulting tool Element. Ext provides CSS rules, and an icon sprite containing images for the tool types listed below.
   * The developer may implement custom tools by supplying alternate CSS rules and background images:
   * <ul>
   * <div class="x-tool x-tool-toggle" style="float:left; margin-right:5;"> </div><div><code> toggle</code> (Created by default when {@link #collapsible} is <code>true</code>)</div>
   * <div class="x-tool x-tool-close" style="float:left; margin-right:5;"> </div><div><code> close</code></div>
   * <div class="x-tool x-tool-minimize" style="float:left; margin-right:5;"> </div><div><code> minimize</code></div>
   * <div class="x-tool x-tool-maximize" style="float:left; margin-right:5;"> </div><div><code> maximize</code></div>
   * <div class="x-tool x-tool-restore" style="float:left; margin-right:5;"> </div><div><code> restore</code></div>
   * <div class="x-tool x-tool-gear" style="float:left; margin-right:5;"> </div><div><code> gear</code></div>
   * <div class="x-tool x-tool-pin" style="float:left; margin-right:5;"> </div><div><code> pin</code></div>
   * <div class="x-tool x-tool-unpin" style="float:left; margin-right:5;"> </div><div><code> unpin</code></div>
   * <div class="x-tool x-tool-right" style="float:left; margin-right:5;"> </div><div><code> right</code></div>
   * <div class="x-tool x-tool-left" style="float:left; margin-right:5;"> </div><div><code> left</code></div>
   * <div class="x-tool x-tool-up" style="float:left; margin-right:5;"> </div><div><code> up</code></div>
   * <div class="x-tool x-tool-down" style="float:left; margin-right:5;"> </div><div><code> down</code></div>
   * <div class="x-tool x-tool-refresh" style="float:left; margin-right:5;"> </div><div><code> refresh</code></div>
   * <div class="x-tool x-tool-minus" style="float:left; margin-right:5;"> </div><div><code> minus</code></div>
   * <div class="x-tool x-tool-plus" style="float:left; margin-right:5;"> </div><div><code> plus</code></div>
   * <div class="x-tool x-tool-help" style="float:left; margin-right:5;"> </div><div><code> help</code></div>
   * <div class="x-tool x-tool-search" style="float:left; margin-right:5;"> </div><div><code> search</code></div>
   * <div class="x-tool x-tool-save" style="float:left; margin-right:5;"> </div><div><code> save</code></div>
   * <div class="x-tool x-tool-print" style="float:left; margin-right:5;"> </div><div><code> print</code></div>
   * </ul></div></li>
   * <li><b>handler</b> : Function<div class="sub-desc"><b>Required.</b> The function to
   * call when clicked. Arguments passed are:<ul>
   * <li><b>event</b> : Ext.EventObject<div class="sub-desc">The click event.</div></li>
   * <li><b>toolEl</b> : Ext.Element<div class="sub-desc">The tool Element.</div></li>
   * <li><b>panel</b> : Ext.Panel<div class="sub-desc">The host Panel</div></li>
   * <li><b>tc</b> : Object<div class="sub-desc">The tool configuration object</div></li>
   * </ul></div></li>
   * <li><b>stopEvent</b> : Boolean<div class="sub-desc">Defaults to true. Specify as false to allow click event to propagate.</div></li>
   * <li><b>scope</b> : Object<div class="sub-desc">The scope in which to call the handler.</div></li>
   * <li><b>qtip</b> : String/Object<div class="sub-desc">A tip string, or
   * a config argument to {@link Ext.QuickTip#register}</div></li>
   * <li><b>hidden</b> : Boolean<div class="sub-desc">True to initially render hidden.</div></li>
   * <li><b>on</b> : Object<div class="sub-desc">A listener config object specifiying
   * event listeners in the format of an argument to {@link #addListener}</div></li>
   * </ul></div>
   * <p>Note that, apart from the toggle tool which is provided when a panel is collapsible, these
   * tools only provide the visual button. Any required functionality must be provided by adding
   * handlers that implement the necessary behavior.</p>
   * <p>Example usage:</p>
   * <pre><code>
  tools:[{
  id:'refresh',
  qtip: 'Refresh form Data',
  // hidden:true,
  handler: function(event, toolEl, panel){
      // refresh logic
  }
  },
  {
  id:'help',
  qtip: 'Get Help',
  handler: function(event, toolEl, panel){
      // whatever
  }
  }]
  </code></pre>
   * <p>For the custom id of <code>'help'</code> define two relevant css classes with a link to
   * a 15x15 image:</p>
   * <pre><code>
  .x-tool-help {background-image: url(images/help.png);}
  .x-tool-help-over {background-image: url(images/help_over.png);}
  // if using an image sprite:
  .x-tool-help {background-image: url(images/help.png) no-repeat 0 0;}
  .x-tool-help-over {background-position:-15px 0;}
  </code></pre>
   */

/**
   * @cfg {Array} tools  @hide
   */

/**
   * @cfg {Bolean}
   */

/**
   * @cfg {Boolean/Number} autoStart
  * Defaults to <tt>false</tt>. Specify <tt>true</tt> to defer trigger start by 1000 ms.
  * Specify a Number for the number of milliseconds to defer trigger start.
  */

/**
   * @cfg {Boolean/Number} bufferResize
   * @hide
   */

/**
   * @cfg {Boolean/Number} bufferResize
   * When set to true (50 milliseconds) or a number of milliseconds, the layout assigned for this container will buffer
   * the frequency it calculates and does a re-layout of components. This is useful for heavy containers or containers
   * with a large quantity of sub-components for which frequent layout calls would be expensive. Defaults to <code>50</code>.
   */

/**
   * @cfg {Boolean/Object} autoLoad If <tt>{@link #data}</tt> is not specified, and if <tt>autoLoad</tt>
   * is <tt>true</tt> or an <tt>Object</tt>, this store's {@link #load} method is automatically called
   * after creation. If the value of <tt>autoLoad</tt> is an <tt>Object</tt>, this <tt>Object</tt> will
   * be passed to the store's {@link #load} method.
   */

/**
   * @cfg {Boolean/Object} columnResize
   * Specify <tt>true</tt> or specify a configuration object for {@link Ext.list.ListView.ColumnResizer}
   * to enable the columns to be resizable (defaults to <tt>true</tt>).
   */

/**
   * @cfg {Boolean/Object} columnSort
   * Specify <tt>true</tt> or specify a configuration object for {@link Ext.list.ListView.Sorter}
   * to enable the columns to be sortable (defaults to <tt>true</tt>).
   */

/**
   * @cfg {Boolean/Object} draggable
   * <p><code>true</code> to enable dragging of this Panel (defaults to <code>false</code>).</p>
   * <p>For custom drag/drop implementations, an <b>Ext.Panel.DD</b> config could also be passed
   * in this config instead of <code>true</code>. Ext.Panel.DD is an internal, undocumented class which
   * moves a proxy Element around in place of the Panel's element, but provides no other behaviour
   * during dragging or on drop. It is a subclass of {@link Ext.dd.DragSource}, so behaviour may be
   * added by implementing the interface methods of {@link Ext.dd.DragDrop} e.g.:
   * <pre><code>
  new Ext.Panel({
  title: 'Drag me',
  x: 100,
  y: 100,
  renderTo: Ext.getBody(),
  floating: true,
  frame: true,
  width: 400,
  height: 200,
  draggable: {
  //      Config option of Ext.Panel.DD class.
  //      It&#39;s a floating Panel, so do not show a placeholder proxy in the original position.
      insertProxy: false,
  //      Called for each mousemove event while dragging the DD object.
      onDrag : function(e){
  //          Record the x,y position of the drag proxy so that we can
  //          position the Panel at end of drag.
          var pel = this.proxy.getEl();
          this.x = pel.getLeft(true);
          this.y = pel.getTop(true);
  //          Keep the Shadow aligned if there is one.
          var s = this.panel.getEl().shadow;
          if (s) {
              s.realign(this.x, this.y, pel.getWidth(), pel.getHeight());
          }
      },
  //      Called on the mouseup event.
      endDrag : function(e){
          this.panel.setPosition(this.x, this.y);
      }
  }
  }).show();
  </code></pre>
   */

/**
   * @cfg {Boolean/String/Element} resizeChild True to resize the first child, or id/element to resize (defaults to false) 
   */

/**
   * @cfg {Boolean/String} autoSize
   * True for the editor to automatically adopt the size of the underlying field, "width" to adopt the width only,
   * or "height" to adopt the height only, "none" to always use the field dimensions. (defaults to false)
   */

/**
   * @cfg {Boolean/String} shadow
   * <code>true</code> (or a valid Ext.Shadow {@link Ext.Shadow#mode} value) to display a shadow behind the
   * panel, <code>false</code> to display no shadow (defaults to <code>'sides'</code>).  Note that this option
   * only applies when <code>{@link #floating} = true</code>.
   */

/**
   * @cfg {Boolean/String} shadow
   * @hide
   */

/**
   * @cfg {Boolean/String} shadow "sides" for sides/bottom only, "frame" for 4-way shadow, and "drop"
   * for bottom-right shadow (defaults to "frame")
   */

/**
   * @cfg {Boolean/String} shadow <tt>true</tt> or <tt>"sides"</tt> for the default effect, <tt>"frame"</tt> for
   * 4-way shadow, and <tt>"drop"</tt> for bottom-right
   */

/**
   * @cfg {Boolean/String} shadow True or "sides" for the default effect, "frame" for 4-way shadow, and "drop"
   * for bottom-right shadow (defaults to "sides").
   */

/**
   * @cfg {Boolean/String} shadow True or 'sides' for the default effect, 'frame' for 4-way shadow, and 'drop'
   * for bottom-right shadow (defaults to 'sides')
   */

/**
   * @cfg {Boolean}
   * always show the admin grant (default: false)
   */

/**
   * @cfg {Boolean}     disableResponsiveLayout
   */

/**
   * @cfg {Boolean} active
  * Defaults to <tt>false</tt>.
  */

/**
   * @cfg {Boolean} activeOnTop
   * Only valid when {@link #multi} is `false` and {@link #animate} is `false`.
   *
   * True to swap the position of each panel as it is expanded so that it becomes the first item in the container,
   * false to keep the panels in the rendered order.
   */

/**
   * @cfg {Boolean} activeOnTop
   * True to swap the position of each panel as it is expanded so that it becomes the first item in the container,
   * false to keep the panels in the rendered order. <b>This is NOT compatible with "animate:true"</b> (defaults to false).
   */

/**
   * @cfg {Boolean} adminMode activated?
   */

/**
   * @cfg {Boolean} allowBlank
   * (Optional) Used for validating a {@link Ext.data.Record record}, defaults to <tt>true</tt>.
   * An empty value here will cause {@link Ext.data.Record}.{@link Ext.data.Record#isValid isValid}
   * to evaluate to <tt>false</tt>.
   */

/**
   * @cfg {Boolean} allowBlank False to validate that at least one item in the group is checked (defaults to true).
   * If no items are selected at validation time, {@link @blankText} will be used as the error text.
   */

/**
   * @cfg {Boolean} allowBlank Specify <tt>false</tt> to validate that the value's length is > 0 (defaults to
   * <tt>true</tt>)
   */

/**
   * @cfg {Boolean} allowBlank True to allow every item in the group to be blank (defaults to true).
   * If allowBlank = false and no items are selected at validation time, {@link @blankText} will
   * be used as the error text.
   */

/**
   * @cfg {Boolean} allowBlur
   * True to {@link #completeEdit complete the editing process} if in edit mode when the
   * field is blurred. Defaults to <tt>false</tt>.
   */

/**
   * @cfg {Boolean} allowBrowserPasswordManager
   */

/**
   * @cfg {Boolean} allowCancel
   */

/**
   * @cfg {Boolean} allowDecimals False to disallow decimal values (defaults to true)
   */

/**
   * @cfg {Boolean} allowDepress
   * False to not allow a pressed Button to be depressed (defaults to undefined). Only valid when {@link #enableToggle} is true.
   */

/**
   * @cfg {Boolean} allowDomMove
   * Whether the component can move the Dom node when rendering (defaults to true).
   */

/**
   * @cfg {Boolean} allowDomMove @hide
   */

/**
   * @cfg {Boolean} allowEmpty selection
   */

/**
   * @cfg {Boolean} allowEmptyPassword
   * Allow to proceed with an empty password
   */

/**
   * @cfg {Boolean} allowFolder
   * allow folder to be selected (HTML 5 only)
   */

/**
   * @cfg {Boolean} allowFunctions Specify <tt>true</tt> if the {@link #addAll}
   * function should add function references to the collection. Defaults to
   * <tt>false</tt>.
   */

/**
   * @cfg {Boolean} allowMultiSelection (defaults to true)
   */

/**
   * @cfg {Boolean} allowMultiple
   * allow to select multiple fiels at once (source mode only)
   */

/**
   * @cfg {Boolean} allowMultiple options at once
   */

/**
   * @cfg {Boolean} allowNegative False to prevent entering a negative sign (defaults to true)
   */

/**
   * @cfg {Boolean} allowNodeSelect
   */

/**
   * @cfg {Boolean} allowOtherMenus True to allow multiple menus to be displayed at the same time (defaults to false)
   */

/**
   * @cfg {Boolean} allowReselect If set to true then reselecting a color that is already selected fires the {@link #select} event
   */

/**
   * @cfg {Boolean} allowToplevelNodeSelect
   */

/**
   * @cfg {Boolean} anchorToTarget True to anchor the tooltip to the target
   * element, false to anchor it relative to the mouse coordinates (defaults
   * to true).  When <code>anchorToTarget</code> is true, use
   * <code>{@link #defaultAlign}</code> to control tooltip alignment to the
   * target element.  When <code>anchorToTarget</code> is false, use
   * <code>{@link #anchorPosition}</code> instead to control alignment.
   */

/**
   * @cfg {Boolean} animCollapse
   * <code>true</code> to animate the transition when the panel is collapsed, <code>false</code> to skip the
   * animation (defaults to <code>true</code> if the {@link Ext.Fx} class is available, otherwise <code>false</code>).
   */

/**
   * @cfg {Boolean} animCollapse
   * <tt>true</tt> to animate the transition when the panel is collapsed, <tt>false</tt> to skip the
   * animation (defaults to <tt>false</tt>).
   */

/**
   * @cfg {Boolean} animFloat
   * When a collapsed region's bar is clicked, the region's panel will be displayed as a floated
   * panel that will close again once the user mouses out of that panel (or clicks out if
   * <tt>{@link #autoHide} = false</tt>).  Setting <tt>{@link #animFloat} = false</tt> will
   * prevent the open and close of these floated panels from being animated (defaults to <tt>true</tt>).
   */

/**
   * @cfg {Boolean} animScroll True to animate tab scrolling so that hidden tabs slide smoothly into view (defaults
   * to <tt>true</tt>).  Only applies when <tt>{@link #enableTabScroll} = true</tt>.
   */

/**
   * @cfg {Boolean} animate
   * True to slide the contained panels open and closed during expand/collapse using animation, false to open and
   * close directly with no animation (defaults to false).  Note: to defer to the specific config setting of each
   * contained panel for this property, set this to undefined at the layout level.
   */

/**
   * @cfg {Boolean} animate
   * True to slide the contained panels open and closed during expand/collapse using animation, false to open and
   * close directly with no animation. Note: The layout performs animated collapsing
   * and expanding, *not* the child Panels.
   */

/**
   * @cfg {Boolean} animate True to animate the resize (not compatible with dynamic sizing, defaults to false)
   */

/**
   * @cfg {Boolean} animate Turn on or off animation. Defaults to true
   */

/**
   * @cfg {Boolean} asAdminModule is the panel in an admin context? this is passed to the edit dialog, too
   */

/**
   * @cfg {Boolean} autoAbort (Optional) @hide
   */

/**
   * @cfg {Boolean} autoDestroy
   * @hide
   */

/**
   * @cfg {Boolean} autoDestroy <tt>true</tt> to destroy the store when the component the store is bound
   * to is destroyed (defaults to <tt>false</tt>).
   * <p><b>Note</b>: this should be set to true when using stores that are bound to only 1 component.</p>
   */

/**
   * @cfg {Boolean} autoEncode
   * True to automatically HTML encode and decode values pre and post edit (defaults to false)
   */

/**
   * @cfg {Boolean} autoFill
   * Defaults to <tt>false</tt>.  Specify <tt>true</tt> to have the column widths re-proportioned
   * when the grid is <b>initially rendered</b>.  The 
   * {@link Ext.grid.Column#width initially configured width}</tt> of each column will be adjusted
   * to fit the grid width and prevent horizontal scrolling. If columns are later resized (manually
   * or programmatically), the other columns in the grid will <b>not</b> be resized to fit the grid width.
   * See <tt>{@link #forceFit}</tt> also.
   */

/**
   * @cfg {Boolean} autoHeight
   * <code>true</code> to use height:'auto', <code>false</code> to use fixed height (defaults to <code>false</code>).
   * <b>Note</b>: Setting <code>autoHeight: true</code> means that the browser will manage the panel's height
   * based on its contents, and that Ext will not manage it at all. If the panel is within a layout that
   * manages dimensions (<code>fit</code>, <code>border</code>, etc.) then setting <code>autoHeight: true</code>
   * can cause issues with scrolling and will not generally work as expected since the panel will take
   * on the height of its contents rather than the height required by the Ext layout.
   */

/**
   * @cfg {Boolean} autoHeight
   * <p>True to use height:'auto', false to use fixed height (or allow it to be managed by its parent
   * Container's {@link Ext.Container#layout layout manager}. Defaults to false.</p>
   * <p><b>Note</b>: Although many components inherit this config option, not all will
   * function as expected with a height of 'auto'. Setting autoHeight:true means that the
   * browser will manage height based on the element's contents, and that Ext will not manage it at all.</p>
   * <p>If the <i>browser</i> is managing the height, be aware that resizes performed by the browser in response
   * to changes within the structure of the Component cannot be detected. Therefore changes to the height might
   * result in elements needing to be synchronized with the new height. Example:</p><pre><code>
  var w = new Ext.Window({
  title: 'Window',
  width: 600,
  autoHeight: true,
  items: {
      title: 'Collapse Me',
      height: 400,
      collapsible: true,
      border: false,
      listeners: {
          beforecollapse: function() {
              w.el.shadow.hide();
          },
          beforeexpand: function() {
              w.el.shadow.hide();
          },
          collapse: function() {
              w.syncShadow();
          },
          expand: function() {
              w.syncShadow();
          }
      }
  }
  }).show();
  </code></pre>
   */

/**
   * @cfg {Boolean} autoHeight @hide
   */

/**
   * @cfg {Boolean} autoHide
   * When a collapsed region's bar is clicked, the region's panel will be displayed as a floated
   * panel.  If <tt>autoHide = true</tt>, the panel will automatically hide after the user mouses
   * out of the panel.  If <tt>autoHide = false</tt>, the panel will continue to display until the
   * user clicks outside of the panel (defaults to <tt>true</tt>).
   */

/**
   * @cfg {Boolean} autoHide True to automatically hide the tooltip after the
   * mouse exits the target element or after the <code>{@link #dismissDelay}</code>
   * has expired if set (defaults to true).  If <code>{@link closable} = true</code>
   * a close tool button will be rendered into the tooltip header.
   */

/**
   * @cfg {Boolean} autoSave
   * <p>Defaults to <tt>true</tt> causing the store to automatically {@link #save} records to
   * the server when a record is modified (ie: becomes 'dirty'). Specify <tt>false</tt> to manually call {@link #save}
   * to send all modifiedRecords to the server.</p>
   * <br><p><b>Note</b>: each CRUD action will be sent as a separate request.</p>
   */

/**
   * @cfg {Boolean} autoScroll
   * <code>true</code> to use overflow:'auto' on the components layout element and show scroll bars automatically when
   * necessary, <code>false</code> to clip any overflowing content (defaults to <code>false</code>).
   */

/**
   * @cfg {Boolean} autoSelect <tt>true</tt> to select the first result gathered by the data store (defaults
   * to <tt>true</tt>).  A false value would require a manual selection from the dropdown list to set the components value
   * unless the value of ({@link #typeAheadDelay}) were true.
   */

/**
   * @cfg {Boolean} autoShow
   * True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove
   * them on render (defaults to false).
   */

/**
   * @cfg {Boolean} autoTabs
   * <p><tt>true</tt> to query the DOM for any divs with a class of 'x-tab' to be automatically converted
   * to tabs and added to this panel (defaults to <tt>false</tt>).  Note that the query will be executed within
   * the scope of the container element only (so that multiple tab panels from markup can be supported via this
   * method).</p>
   * <p>This method is only possible when the markup is structured correctly as a container with nested divs
   * containing the class <tt>'x-tab'</tt>. To create TabPanels without these limitations, or to pull tab content
   * from other elements on the page, see the example at the top of the class for generating tabs from markup.</p>
   * <p>There are a couple of things to note when using this method:<ul>
   * <li>When using the <tt>autoTabs</tt> config (as opposed to passing individual tab configs in the TabPanel's
   * {@link #items} collection), you must use <tt>{@link #applyTo}</tt> to correctly use the specified <tt>id</tt>
   * as the tab container. The <tt>autoTabs</tt> method <em>replaces</em> existing content with the TabPanel
   * components.</li>
   * <li>Make sure that you set <tt>{@link #deferredRender}: false</tt> so that the content elements for each
   * tab will be rendered into the TabPanel immediately upon page load, otherwise they will not be transformed
   * until each tab is activated and will be visible outside the TabPanel.</li>
   * </ul>Example usage:</p>
   * <pre><code>
  var tabs = new Ext.TabPanel({
  applyTo: 'my-tabs',
  activeTab: 0,
  deferredRender: false,
  autoTabs: true
  });
  // This markup will be converted to a TabPanel from the code above
  &lt;div id="my-tabs">
  &lt;div class="x-tab" title="Tab 1">A simple tab&lt;/div>
  &lt;div class="x-tab" title="Tab 2">Another one&lt;/div>
  &lt;/div>
  </code></pre>
   */

/**
   * @cfg {Boolean} autoWidth
   * <p>True to use width:'auto', false to use fixed width (or allow it to be managed by its parent
   * Container's {@link Ext.Container#layout layout manager}. Defaults to false.</p>
   * <p><b>Note</b>: Although many components  inherit this config option, not all will
   * function as expected with a width of 'auto'. Setting autoWidth:true means that the
   * browser will manage width based on the element's contents, and that Ext will not manage it at all.</p>
   * <p>If the <i>browser</i> is managing the width, be aware that resizes performed by the browser in response
   * to changes within the structure of the Component cannot be detected. Therefore changes to the width might
   * result in elements needing to be synchronized with the new width. For example, where the target element is:</p><pre><code>
  &lt;div id='grid-container' style='margin-left:25%;width:50%'>&lt;/div>
  </code></pre>
   * A Panel rendered into that target element must listen for browser window resize in order to relay its
    * child items when the browser changes its width:<pre><code>
  var myPanel = new Ext.Panel({
  renderTo: 'grid-container',
  monitorResize: true, // relay on browser resize
  title: 'Panel',
  height: 400,
  autoWidth: true,
  layout: 'hbox',
  layoutConfig: {
      align: 'stretch'
  },
  defaults: {
      flex: 1
  },
  items: [{
      title: 'Box 1',
  }, {
      title: 'Box 2'
  }, {
      title: 'Box 3'
  }],
  });
  </code></pre>
   */

/**
   * @cfg {Boolean} autoWidth
   * @hide
   */

/**
   * @cfg {Boolean} autoWidth
   * Child Panels have their width actively managed to fit within the accordion's width.
   * @removed This config is ignored in ExtJS 4
   */

/**
   * @cfg {Boolean} autoWidth
   * True to set each contained item's width to 'auto', false to use the item's current width (defaults to true).
   * Note that some components, in particular the {@link Ext.grid.GridPanel grid}, will not function properly within
   * layouts if they have auto width, so in such cases this config should be set to false.
   */

/**
   * @cfg {Boolean} autoWidth @hide
   **/

/**
   * @cfg {Boolean} autoWidth @hide
   */

/**
   * @cfg {Boolean} batch
   * <p>Defaults to <tt>true</tt> (unless <code>{@link #restful}:true</code>). Multiple
   * requests for each CRUD action (CREATE, READ, UPDATE and DESTROY) will be combined
   * and sent as one transaction. Only applies when <code>{@link #autoSave}</code> is set
   * to <tt>false</tt>.</p>
   * <br><p>If Store is RESTful, the DataProxy is also RESTful, and a unique transaction is
   * generated for each record.</p>
   */

/**
   * @cfg {Boolean} bodyBorder
   * @hide
   */

/**
   * @cfg {Boolean} bodyBorder
   * True to display an interior border on the body element of the panel, false to hide it (defaults to true).
   * This only applies when {@link #border} == true.  If border == true and bodyBorder == false, the border will display
   * as a 1px wide inset border, giving the entire body element an inset appearance.
   */

/**
   * @cfg {Boolean} border
   * @hide
   */

/**
   * @cfg {Boolean} border
   * True to display the borders of the panel's body element, false to hide them (defaults to true).  By default,
   * the border is a 2px wide inset border, but this can be further altered by setting {@link #bodyBorder} to false.
   */

/**
   * @cfg {Boolean} canActivate True if this item can be visually activated (defaults to false)
   */

/**
   * @cfg {Boolean} canActivate True if this item can be visually activated (defaults to true)
   */

/**
   * @cfg {Boolean} cancelOnEsc True to cancel the edit when the escape key is pressed. Defaults to <tt>true</tt>.
   */

/**
   * @cfg {Boolean} caseSensitive true for case-sensitive sort (defaults to false)
   */

/**
   * @cfg {Boolean} checkOnly <tt>true</tt> if rows can only be selected by clicking on the
   * checkbox column (defaults to <tt>false</tt>).
   */

/**
   * @cfg {Boolean} checked <tt>true</tt> if the checkbox should render initially checked (defaults to <tt>false</tt>)
   */

/**
   * @cfg {Boolean} checked True to initialize this checkbox as checked (defaults to false).  Note that
   * if this checkbox is part of a radio group (group = true) only the last item in the group that is
   * initialized with checked = true will be rendered as checked.
   */

/**
   * @cfg {Boolean} clearFilterOnReset <tt>true</tt> to clear any filters on the store (when in local mode) when reset is called
   * (defaults to <tt>true</tt>)
   */

/**
   * @cfg {Boolean} clickToChange Determines whether or not clicking on the Slider axis will change the slider. Defaults to true
   */

/**
   * @cfg {Boolean} clipboard: true,
   */

/**
   * @cfg {Boolean} closable
   * <p>True to display the 'close' tool button and allow the user to close the window, false to
   * hide the button and disallow closing the window (defaults to true).</p>
   * <p>By default, when close is requested by either clicking the close button in the header
   * or pressing ESC when the Window has focus, the {@link #close} method will be called. This
   * will <i>{@link Ext.Component#destroy destroy}</i> the Window and its content meaning that
   * it may not be reused.</p>
   * <p>To make closing a Window <i>hide</i> the Window so that it may be reused, set
   * {@link #closeAction} to 'hide'.
   */

/**
   * @cfg {Boolean} closable
   * Panels themselves do not directly support being closed, but some Panel subclasses do (like
   * {@link Ext.Window}) or a Panel Class within an {@link Ext.TabPanel}.  Specify <code>true</code>
   * to enable closing in such situations. Defaults to <code>false</code>.
   */

/**
   * @cfg {Boolean} closable True to render a close tool button into the tooltip header (defaults to false).
   */

/**
   * @cfg {Boolean} collapseFirst
   * <code>true</code> to make sure the collapse/expand toggle button always renders first (to the left of)
   * any other tools in the panel's title bar, <code>false</code> to render it last (defaults to <code>true</code>).
   */

/**
   * @cfg {Boolean} collapseFirst
   * @hide
   */

/**
   * @cfg {Boolean} collapseFirst
   * True to make sure the collapse/expand toggle button always renders first (to the left of) any other tools
   * in the contained Panels' title bars, false to render it last. By default, this will use the
   * {@link Ext.panel.Panel#collapseFirst} setting on the panel. If the config option is specified on the layout,
   * it will override the panel value.
   */

/**
   * @cfg {Boolean} collapseFirst
   * True to make sure the collapse/expand toggle button always renders first (to the left of) any other tools
   * in the contained panels' title bars, false to render it last (defaults to false).
   */

/**
   * @cfg {Boolean} collapsed
   * <code>true</code> to render the panel collapsed, <code>false</code> to render it expanded (defaults to
   * <code>false</code>).
   */

/**
   * @cfg {Boolean} collapsed
   * @hide
   */

/**
   * @cfg {Boolean} collapsed
   * True to render the window collapsed, false to render it expanded (defaults to false). Note that if
   * {@link #expandOnShow} is true (the default) it will override the <tt>collapsed</tt> config and the window
   * will always be expanded when shown.
   */

/**
   * @cfg {Boolean} collapsible
   * <p><tt>true</tt> to allow the user to collapse this region (defaults to <tt>false</tt>).  If
   * <tt>true</tt>, an expand/collapse tool button will automatically be rendered into the title
   * bar of the region, otherwise the button will not be shown.</p>
   * <p><b>Note</b>: that a title bar is required to display the collapse/expand toggle button -- if
   * no <tt>title</tt> is specified for the region's panel, the region will only be collapsible if
   * <tt>{@link #collapseMode} = 'mini'</tt> and <tt>{@link #split} = true</tt>.
   */

/**
   * @cfg {Boolean} collapsible
   * <tt>true</tt> to make the fieldset collapsible and have the expand/collapse toggle button automatically
   * rendered into the legend element, <tt>false</tt> to keep the fieldset statically sized with no collapse
   * button (defaults to <tt>false</tt>). Another option is to configure <tt>{@link #checkboxToggle}</tt>.
   */

/**
   * @cfg {Boolean} collapsible
   * @hide
   */

/**
   * @cfg {Boolean} collapsible
   * True to make the panel collapsible and have the expand/collapse toggle button automatically rendered into
   * the header tool button area, false to keep the panel statically sized with no button (defaults to false).
   */

/**
   * @cfg {Boolean} coloredValue
   */

/**
   * @cfg {Boolean} columnLines <tt>true</tt> to add css for column separation lines.
   * Default is <tt>false</tt>.
   */

/**
   * @cfg {Boolean} compiled Specify <tt>true</tt> to compile the template
   * immediately (see <code>{@link #compile}</code>).
   * Defaults to <tt>false</tt>.
   */

/**
   * @cfg {Boolean} completeOnEnter True to complete the edit when the enter key is pressed. Defaults to <tt>true</tt>.
   */

/**
   * @cfg {Boolean} constrain
   * True to constrain the window within its containing element, false to allow it to fall outside of its
   * containing element. By default the window will be rendered to document.body.  To render and constrain the
   * window within another element specify {@link #renderTo}.
   * (defaults to false).  Optionally the header only can be constrained using {@link #constrainHeader}.
   */

/**
   * @cfg {Boolean} constrain True to constrain the editor to the viewport
   */

/**
   * @cfg {Boolean} constrainHeader
   * True to constrain the window header within its containing element (allowing the window body to fall outside
   * of its containing element) or false to allow the header to fall outside its containing element (defaults to
   * false). Optionally the entire window can be constrained using {@link #constrain}.
   */

/**
   * @cfg {Boolean} containerScroll True to register this container with the Scrollmanager
   * for auto scrolling during drag operations.
   */

/**
   * @cfg {Boolean} copyRecord
   * copy record
   */

/**
   * @cfg {Boolean} cut relation to opener
   * needed e.g. when opening a new mainWindow
   */

/**
   * @cfg {Boolean} defaultCollapseContainerTree
   */

/**
   * @cfg {Boolean} defaultSortable (optional) Default sortable of columns which have no
   * sortable specified (defaults to <tt>false</tt>).  This property shall preferably be configured
   * through the <tt><b>{@link #defaults}</b></tt> config property.
   */

/**
   * @cfg {Boolean} defaultValue
   * default check value
   */

/**
   * @cfg {Boolean} deferEmptyText True to defer <tt>{@link #emptyText}</tt> being applied until the store's
   * first load (defaults to <tt>true</tt>).
   */

/**
   * @cfg {Boolean} deferEmptyText True to defer emptyText being applied until the store's first load
   */

/**
   * @cfg {Boolean} deferHeight @hide
   */

/**
   * @cfg {Boolean} deferRowRender <P>Defaults to <tt>true</tt> to enable deferred row rendering.</p>
   * <p>This allows the GridPanel to be initially rendered empty, with the expensive update of the row
   * structure deferred so that layouts with GridPanels appear more quickly.</p>
   */

/**
   * @cfg {Boolean} deferredRender
   * <p><tt>true</tt> by default to defer the rendering of child <tt>{@link Ext.Container#items items}</tt>
   * to the browsers DOM until a tab is activated. <tt>false</tt> will render all contained
   * <tt>{@link Ext.Container#items items}</tt> as soon as the {@link Ext.layout.CardLayout layout}
   * is rendered. If there is a significant amount of content or a lot of heavy controls being
   * rendered into panels that are not displayed by default, setting this to <tt>true</tt> might
   * improve performance.</p>
   * <br><p>The <tt>deferredRender</tt> property is internally passed to the layout manager for
   * TabPanels ({@link Ext.layout.CardLayout}) as its {@link Ext.layout.CardLayout#deferredRender}
   * configuration value.</p>
   * <br><p><b>Note</b>: leaving <tt>deferredRender</tt> as <tt>true</tt> means that the content
   * within an unactivated tab will not be available. For example, this means that if the TabPanel
   * is within a {@link Ext.form.FormPanel form}, then until a tab is activated, any Fields within
   * unactivated tabs will not be rendered, and will therefore not be submitted and will not be
   * available to either {@link Ext.form.BasicForm#getValues getValues} or
   * {@link Ext.form.BasicForm#setValues setValues}.</p>
   */

/**
   * @cfg {Boolean} deferredRender
   * True to render each contained item at the time it becomes active, false to render all contained items
   * as soon as the layout is rendered (defaults to false).  If there is a significant amount of content or
   * a lot of heavy controls being rendered into panels that are not displayed by default, setting this to
   * true might improve performance.
   */

/**
   * @cfg {Boolean} disableCaching (Optional) @hide
   */

/**
   * @cfg {Boolean} disableFormats Specify <tt>true</tt> to disable format
   * functions in the template. If the template does not contain
   * {@link Ext.util.Format format functions}, setting <code>disableFormats</code>
   * to true will reduce <code>{@link #apply}</code> time. Defaults to <tt>false</tt>.
   * <pre><code>
  var t = new Ext.Template(
  '&lt;div name="{id}"&gt;',
      '&lt;span class="{cls}"&gt;{name} {value}&lt;/span&gt;',
  '&lt;/div&gt;',
  {
      compiled: true,      // {@link #compile} immediately
      disableFormats: true // reduce <code>{@link #apply}</code> time since no formatting
  }    
  );
   * </code></pre>
   * For a list of available format functions, see {@link Ext.util.Format}.
   */

/**
   * @cfg {Boolean} disableKeyFilter Specify <tt>true</tt> to disable input keystroke filtering (defaults
   * to <tt>false</tt>)
   */

/**
   * @cfg {Boolean} disableSelection <p><tt>true</tt> to disable selections in the grid. Defaults to <tt>false</tt>.</p>
   * <p>Ignored if a {@link #selModel SelectionModel} is specified.</p>
   */

/**
   * @cfg {Boolean} disableTrackOver True to disable mouse tracking. This is only applied at config time. (defaults to false)
   */

/**
   * @cfg {Boolean} disableTrigger
   */

/**
   * @cfg {Boolean} disabled
   * Render this component disabled (default is false).
   */

/**
   * @cfg {Boolean} disabled
   * Render this panel disabled (default is <code>false</code>). An important note when using the disabled
   * config on panels is that IE will often fail to initialize the disabled mask element correectly if
   * the panel's layout has not yet completed by the time the Panel is disabled during the render process.
   * If you experience this issue, you may need to instead use the {@link #afterlayout} event to initialize
   * the disabled state:
   * <pre><code>
  new Ext.Panel({
  ...
  listeners: {
      'afterlayout': {
          fn: function(p){
              p.disable();
          },
          single: true // important, as many layouts can occur
      }
  }
  });
  </code></pre>
   */

/**
   * @cfg {Boolean} disabled
   * True to disable this KeyNav instance (defaults to false)
   */

/**
   * @cfg {Boolean} disabled True to disable all components using this action, false to enable them (defaults to false).
   */

/**
   * @cfg {Boolean} disabled True to disable the field (defaults to false).
   * <p>Be aware that conformant with the <a href="http://www.w3.org/TR/html401/interact/forms.html#h-17.12.1">HTML specification</a>,
   * disabled Fields will not be {@link Ext.form.BasicForm#submit submitted}.</p>
   */

/**
   * @cfg {Boolean} doDuplicateCheck
   * do duplicate check when saving record (mode remote only)
   */

/**
   * @cfg {Boolean} draggable
   * True to allow the window to be dragged by the header bar, false to disable dragging (defaults to true).  Note
   * that by default the window will be centered in the viewport, so if dragging is disabled the window may need
   * to be positioned programmatically after render (e.g., myWindow.setPosition(100, 100);).
   */

/**
   * @cfg {Boolean} draggable Convenience to initialize drag drop (defaults to false)
   */

/**
   * @cfg {Boolean} dynamic True to resize the element while dragging instead of using a proxy (defaults to false)
   */

/**
   * @cfg {Boolean} editable <tt>false</tt> to prevent the user from typing text directly into the field,
   * the field will only respond to a click on the trigger to set the value. (defaults to <tt>true</tt>).
   */

/**
   * @cfg {Boolean} editable Optional. Defaults to <tt>true</tt>, enabling the configured
   * <tt>{@link #editor}</tt>.  Set to <tt>false</tt> to initially disable editing on this column.
   * The initial configuration may be dynamically altered using
   * {@link Ext.grid.ColumnModel}.{@link Ext.grid.ColumnModel#setEditable setEditable()}.
   */

/**
   * @cfg {Boolean} enableAlignments Enable the left, center, right alignment buttons (defaults to true)
   */

/**
   * @cfg {Boolean} enableColors Enable the fore/highlight color buttons (defaults to true)
   */

/**
   * @cfg {Boolean} enableColumnHide
   * Defaults to <tt>true</tt> to enable {@link Ext.grid.Column#hidden hiding of columns}
   * with the {@link #enableHdMenu header menu}.
   */

/**
   * @cfg {Boolean} enableColumnMove Defaults to <tt>true</tt> to enable drag and drop reorder of columns. <tt>false</tt>
   * to turn off column reordering via drag drop.
   */

/**
   * @cfg {Boolean} enableColumnResize <tt>false</tt> to turn off column resizing for the whole grid. Defaults to <tt>true</tt>.
   */

/**
   * @cfg {Boolean} enableDragDrop <p>Enables dragging of the selected rows of the GridPanel. Defaults to <tt>false</tt>.</p>
   * <p>Setting this to <b><tt>true</tt></b> causes this GridPanel's {@link #getView GridView} to
   * create an instance of {@link Ext.grid.GridDragZone}. <b>Note</b>: this is available only <b>after</b>
   * the Grid has been rendered as the GridView's <tt>{@link Ext.grid.GridView#dragZone dragZone}</tt>
   * property.</p>
   * <p>A cooperating {@link Ext.dd.DropZone DropZone} must be created who's implementations of
   * {@link Ext.dd.DropZone#onNodeEnter onNodeEnter}, {@link Ext.dd.DropZone#onNodeOver onNodeOver},
   * {@link Ext.dd.DropZone#onNodeOut onNodeOut} and {@link Ext.dd.DropZone#onNodeDrop onNodeDrop} are able
   * to process the {@link Ext.grid.GridDragZone#getDragData data} which is provided.</p>
   */

/**
   * @cfg {Boolean} enableFileDialog
   *
   * enable file dialog on click(defaults to true)
   */

/**
   * @cfg {Boolean} enableFileDrop
   * @see http://www.w3.org/TR/2008/WD-html5-20080610/editing.html
   *
   * enable drops from OS (defaults to true)
   */

/**
   * @cfg {Boolean} enableFont Enable font selection. Not available in Safari. (defaults to true)
   */

/**
   * @cfg {Boolean} enableFontSize Enable the increase/decrease font size buttons (defaults to true)
   */

/**
   * @cfg {Boolean} enableFormat Enable the bold, italic and underline buttons (defaults to true)
   */

/**
   * @cfg {Boolean} enableGrouping <tt>false</tt> to disable grouping functionality (defaults to <tt>true</tt>)
   */

/**
   * @cfg {Boolean} enableGroupingMenu <tt>true</tt> to enable the grouping control in the column menu (defaults to <tt>true</tt>)
   */

/**
   * @cfg {Boolean} enableHdMenu Defaults to <tt>true</tt> to enable the drop down button for menu in the headers.
   */

/**
   * @cfg {Boolean} enableKeyEvents <tt>true</tt> to enable the proxying of key events for the HTML input
   * field (defaults to <tt>false</tt>)
   */

/**
   * @cfg {Boolean} enableLinks Enable the create link button. Not available in Safari. (defaults to true)
   */

/**
   * @cfg {Boolean} enableLists Enable the bullet and numbered list buttons. Not available in Safari. (defaults to true)
   */

/**
   * @cfg {Boolean} enableNoGroups <tt>true</tt> to allow the user to turn off grouping (defaults to <tt>true</tt>)
   */

/**
   * @cfg {Boolean} enableRowBody True to add a second TR element per row that can be used to provide a row body
   * that spans beneath the data row.  Use the {@link #getRowClass} method's rowParams config to customize the row body.
   */

/**
   * @cfg {Boolean} enableScrolling True to allow the menu container to have scroller controls if the menu is too long (defaults to true).
   */

/**
   * @cfg {Boolean} enableSourceEdit Enable the switch to source edit button. Not available in Safari. (defaults to true)
   */

/**
   * @cfg {Boolean} enableTabScroll True to enable scrolling to tabs that may be invisible due to overflowing the
   * overall TabPanel width. Only available with tabPosition:'top' (defaults to true).
   */

/**
   * @cfg {Boolean} enableToggle
   * True to enable pressed/not pressed toggling (defaults to false)
   */

/**
   * @cfg {Boolean} enabled False to disable resizing (defaults to true)
   */

/**
   * @cfg {Boolean} encode <tt>true</tt> to {@link Ext.util.JSON#encode encode} the
   * {@link Ext.data.DataWriter#toHash hashed data}. Defaults to <tt>true</tt>.  When using
   * {@link Ext.data.DirectProxy}, set this to <tt>false</tt> since Ext.Direct.JsonProvider will perform
   * its own json-encoding.  In addition, if you're using {@link Ext.data.HttpProxy}, setting to <tt>false</tt>
   * will cause HttpProxy to transmit data using the <b>jsonData</b> configuration-params of {@link Ext.Ajax#request}
   * instead of <b>params</b>.  When using a {@link Ext.data.Store#restful} Store, some serverside frameworks are
   * tuned to expect data through the jsonData mechanism.  In those cases, one will want to set <b>encode: <tt>false</tt></b>, as in
   * let the lower-level connection object (eg: Ext.Ajax) do the encoding.
   */

/**
   * @cfg {Boolean} encodeDelete False to send only the id to the server on delete, true to encode it in an object
   * literal, eg: <pre><code>
  {id: 1}
  * </code></pre> Defaults to <tt>false</tt>
   */

/**
   * @cfg {Boolean} evalGrants
   * should grants of a grant-aware records be evaluated (defaults to true)
   */

/**
   * @cfg {Boolean} expandOnShow
   * True to always expand the window when it is displayed, false to keep it in its current state (which may be
   * {@link #collapsed}) when displayed (defaults to true).
   */

/**
   * @cfg {Boolean} fileUpload
   * Set to true if this form is a file upload.
   * <p>File uploads are not performed using normal 'Ajax' techniques, that is they are <b>not</b>
   * performed using XMLHttpRequests. Instead the form is submitted in the standard manner with the
   * DOM <tt>&lt;form></tt> element temporarily modified to have its
   * <a href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target">target</a> set to refer
   * to a dynamically generated, hidden <tt>&lt;iframe></tt> which is inserted into the document
   * but removed after the return data has been gathered.</p>
   * <p>The server response is parsed by the browser to create the document for the IFRAME. If the
   * server is using JSON to send the return object, then the
   * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a> header
   * must be set to "text/html" in order to tell the browser to insert the text unchanged into the document body.</p>
   * <p>Characters which are significant to an HTML parser must be sent as HTML entities, so encode
   * "&lt;" as "&amp;lt;", "&amp;" as "&amp;amp;" etc.</p>
   * <p>The response text is retrieved from the document, and a fake XMLHttpRequest object
   * is created containing a <tt>responseText</tt> property in order to conform to the
   * requirements of event handlers and callbacks.</p>
   * <p>Be aware that file upload packets are sent with the content type <a href="http://www.faqs.org/rfcs/rfc2388.html">multipart/form</a>
   * and some server technologies (notably JEE) may require some custom processing in order to
   * retrieve parameter names and parameter values from the packet content.</p>
   */

/**
   * @cfg {Boolean} fill
   * True to adjust the active item's height to fill the available space in the container, false to use the
   * item's current height, or auto height if not explicitly set (defaults to true).
   */

/**
   * @cfg {Boolean} fill
   * True to adjust the active item's height to fill the available space in the container, false to use the
   * item's current height, or auto height if not explicitly set.
   */

/**
   * @cfg {Boolean} filterSelectionDelete
   * is it allowed to deleteByFilter?
   */

/**
   * @cfg {Boolean} fixed Optional. <tt>true</tt> if the column width cannot be changed.  Defaults to <tt>false</tt>.
   */

/**
   * @cfg {Boolean} floatable
   * <tt>true</tt> to allow clicking a collapsed region's bar to display the region's panel floated
   * above the layout, <tt>false</tt> to force the user to fully expand a collapsed region by
   * clicking the expand button to see it again (defaults to <tt>true</tt>).
   */

/**
   * @cfg {Boolean} floating
   * <p>By default, a Menu configured as <b><code>floating:true</code></b>
   * will be rendered as an {@link Ext.Layer} (an absolutely positioned,
   * floating Component with zindex=15000).
   * If configured as <b><code>floating:false</code></b>, the Menu may be
   * used as child item of another Container instead of a free-floating
   * {@link Ext.Layer Layer}.
   */

/**
   * @cfg {Boolean} floating
   * @hide
   */

/**
   * @cfg {Boolean} folderSort True to sort leaf nodes under non-leaf nodes (defaults to false)
   */

/**
   * @cfg {Boolean} footer
   * <code>true</code> to create the footer element explicitly, false to skip creating it. The footer
   * will be created automatically if <code>{@link #buttons}</code> or a <code>{@link #fbar}</code> have
   * been configured.  See <code>{@link #bodyCfg}</code> for an example.
   */

/**
   * @cfg {Boolean} footer
   * @hide
   */

/**
   * @cfg {Boolean} forceDocumentRoot [false] Set to <tt>true</tt> to force XML documents having a root-node as defined
   * by {@link #documentRoot}, even with no baseParams defined.
   */

/**
   * @cfg {Boolean} forceFit
   * Defaults to <tt>false</tt>.  Specify <tt>true</tt> to have the column widths re-proportioned
   * at <b>all times</b>.  The {@link Ext.grid.Column#width initially configured width}</tt> of each
   * column will be adjusted to fit the grid width and prevent horizontal scrolling. If columns are
   * later resized (manually or programmatically), the other columns in the grid <b>will</b> be resized
   * to fit the grid width. See <tt>{@link #autoFill}</tt> also.
   */

/**
   * @cfg {Boolean} forceKeyDown
   * Handle the keydown event instead of keypress (defaults to false).  KeyNav automatically does this for IE since
   * IE does not propagate special keys on keypress, but setting this to true will force other browsers to also
   * handle keydown instead of keypress.
   */

/**
   * @cfg {Boolean} forceSelection <tt>true</tt> to restrict the selected value to one of the values in the list,
   * <tt>false</tt> to allow the user to set arbitrary text into the field (defaults to <tt>false</tt>)
   */

/**
   * @cfg {Boolean} frame
   * <code>false</code> by default to render with plain 1px square borders. <code>true</code> to render with
   * 9 elements, complete with custom rounded corners (also see {@link Ext.Element#boxWrap}).
   * <p>The template generated for each condition is depicted below:</p><pre><code>
   *
  // frame = false
  &lt;div id="developer-specified-id-goes-here" class="x-panel">
   &lt;div class="x-panel-header">&lt;span class="x-panel-header-text">Title: (frame:false)&lt;/span>&lt;/div>
   &lt;div class="x-panel-bwrap">
      &lt;div class="x-panel-body">&lt;p>html value goes here&lt;/p>&lt;/div>
  &lt;/div>
  &lt;/div>
  // frame = true (create 9 elements)
  &lt;div id="developer-specified-id-goes-here" class="x-panel">
  &lt;div class="x-panel-tl">&lt;div class="x-panel-tr">&lt;div class="x-panel-tc">
      &lt;div class="x-panel-header">&lt;span class="x-panel-header-text">Title: (frame:true)&lt;/span>&lt;/div>
  &lt;/div>&lt;/div>&lt;/div>
   &lt;div class="x-panel-bwrap">
      &lt;div class="x-panel-ml">&lt;div class="x-panel-mr">&lt;div class="x-panel-mc">
          &lt;div class="x-panel-body">&lt;p>html value goes here&lt;/p>&lt;/div>
      &lt;/div>&lt;/div>&lt;/div>
       &lt;div class="x-panel-bl">&lt;div class="x-panel-br">&lt;div class="x-panel-bc"/>
      &lt;/div>&lt;/div>&lt;/div>
  &lt;/div>
   * </code></pre>
   */

/**
   * @cfg {Boolean} frame
   * @hide
   */

/**
   * @cfg {Boolean} frame  Defaults to <tt>true</tt>.  See {@link Ext.Panel#frame}.
   */

/**
   * @cfg {Boolean} groupOnSort
   * True to sort the data on the grouping field when a grouping operation occurs, false to sort based on the
   * existing sort info (defaults to false).
   */

/**
   * @cfg {Boolean} groupable Optional. If the grid is being rendered by an {@link Ext.grid.GroupingView}, this option
   * may be used to disable the header menu item to group by the column selected. Defaults to <tt>true</tt>,
   * which enables the header menu group option.  Set to <tt>false</tt> to disable (but still show) the
   * group option in the header menu for the column. See also <code>{@link #groupName}</code>.
   */

/**
   * @cfg {Boolean} grow <tt>true</tt> if this field should automatically grow and shrink to its content
   * (defaults to <tt>false</tt>)
   */

/**
   * @cfg {Boolean} grow @hide
   */

/**
   * @cfg {Boolean} handleMouseEvents
   * False to disable visual cues on mouseover, mouseout and mousedown (defaults to true)
   */

/**
   * @cfg {Boolean} hasFavoritesPanel 
   */

/**
   * @cfg {Boolean} hasMainScreen
   */

/**
   * @cfg {Boolean} hasPwGen
   * dialog provides password generation action
   */

/**
   * @cfg {Boolean} hasQuickSearchFilterToolbarPlugin 
   */

/**
   * @cfg {Boolean} header
   * <code>true</code> to create the Panel's header element explicitly, <code>false</code> to skip creating
   * it.  If a <code>{@link #title}</code> is set the header will be created automatically, otherwise it will not.
   * If a <code>{@link #title}</code> is set but <code>header</code> is explicitly set to <code>false</code>, the header
   * will not be rendered.
   */

/**
   * @cfg {Boolean} header
   * @hide
   */

/**
   * @cfg {Boolean} headerAsText
   * <code>true</code> to display the panel <code>{@link #title}</code> in the <code>{@link #header}</code>,
   * <code>false</code> to hide it (defaults to <code>true</code>).
   */

/**
   * @cfg {Boolean} headerAsText
   * @hide
   */

/**
   * @cfg {Boolean} headersDisabled True to disable the grid column headers (defaults to <tt>false</tt>). 
   * Use the {@link Ext.grid.ColumnModel ColumnModel} <tt>{@link Ext.grid.ColumnModel#menuDisabled menuDisabled}</tt>
   * config to disable the <i>menu</i> for individual columns.  While this config is true the
   * following will be disabled:<div class="mdetail-params"><ul>
   * <li>clicking on header to sort</li>
   * <li>the trigger to reveal the menu.</li>
   * </ul></div>
   */

/**
   * @cfg {Boolean} hidden
   * Optional. <tt>true</tt> to initially hide this column. Defaults to <tt>false</tt>.
   * A hidden column {@link Ext.grid.GridPanel#enableColumnHide may be shown via the header row menu}.
   * If a column is never to be shown, simply do not include this column in the Column Model at all. 
   */

/**
   * @cfg {Boolean} hidden
   * Render this component hidden (default is <tt>true</tt>). If <tt>true</tt>, the
   * {@link #hide} method will be called internally.
   */

/**
   * @cfg {Boolean} hidden
   * Render this component hidden (default is false). If <tt>true</tt>, the
   * {@link #hide} method will be called internally.
   */

/**
   * @cfg {Boolean} hidden True to hide all components using this action, false to show them (defaults to false).
   */

/**
   * @cfg {Boolean} hideBorders
   * @hide
   */

/**
   * @cfg {Boolean} hideButton Hide standard form buttons 
   */

/**
   * @cfg {Boolean} hideCollapseTool
   * <code>true</code> to hide the expand/collapse toggle button when <code>{@link #collapsible} == true</code>,
   * <code>false</code> to display it (defaults to <code>false</code>).
   */

/**
   * @cfg {Boolean} hideCollapseTool
   * @hide
   */

/**
   * @cfg {Boolean} hideCollapseTool
   * True to hide the contained Panels' collapse/expand toggle buttons, false to display them.
   * When set to true, {@link #titleCollapse} is automatically set to true.
   */

/**
   * @cfg {Boolean} hideCollapseTool
   * True to hide the contained panels' collapse/expand toggle buttons, false to display them (defaults to false).
   * When set to true, {@link #titleCollapse} should be true also.
   */

/**
   * @cfg {Boolean} hideEl
   * False to keep the bound element visible while the editor is displayed (defaults to true)
   */

/**
   * @cfg {Boolean} hideEl
   * True to hide the bound element while the editor is displayed (defaults to false)
   */

/**
   * @cfg {Boolean} hideGroupedColumn <tt>true</tt> to hide the column that is currently grouped (defaults to <tt>false</tt>)
   */

/**
   * @cfg {Boolean} hideHeaders
   * <tt>true</tt> to hide the {@link #internalTpl header row} (defaults to <tt>false</tt> so
   * the {@link #internalTpl header row} will be shown).
   */

/**
   * @cfg {Boolean} hideHeaders True to hide the grid's header. Defaults to <code>false</code>.
   */

/**
   * @cfg {Boolean} hideLabel <p><tt>true</tt> to completely hide the label element
   * ({@link #fieldLabel label} and {@link #labelSeparator separator}). Defaults to <tt>false</tt>.
   * By default, even if you do not specify a <tt>{@link #fieldLabel}</tt> the space will still be
   * reserved so that the field will line up with other fields that do have labels.
   * Setting this to <tt>true</tt> will cause the field to not reserve that space.</p>
   * <br><p><b>Note</b>: see the note for <tt>{@link #clearCls}</tt>.</p><br>
   * Example use:<pre><code>
  new Ext.FormPanel({
  height: 100,
  renderTo: Ext.getBody(),
  items: [{
      xtype: 'textfield'
      hideLabel: true
  }]
  });
  </code></pre>
   */

/**
   * @cfg {Boolean} hideLabels
   * <p><tt>true</tt> to hide field labels by default (sets <tt>display:none</tt>). Defaults to
   * <tt>false</tt>.</p>
   * <p>Also see {@link Ext.Component}.<tt>{@link Ext.Component#hideLabel hideLabel}</tt>.
   */

/**
   * @cfg {Boolean} hideOnClick True to hide the containing menu after this item is clicked (defaults to false)
   */

/**
   * @cfg {Boolean} hideOnClick True to hide the containing menu after this item is clicked (defaults to true)
   */

/**
   * @cfg {Boolean} hideParent
   * True to hide and show the component's container when hide/show is called on the component, false to hide
   * and show the component itself (defaults to false).  For example, this can be used as a shortcut for a hide
   * button on a window by setting hide:true on the button when adding it to its parent container.
   */

/**
   * @cfg {Boolean} hideParent @hide
   */

/**
   * @cfg {Boolean} hideRelatedDegree
   * true to hide the degree column
   */

/**
   * @cfg {Boolean} hideTrigger <tt>true</tt> to hide the trigger element and display only the base
   * text field (defaults to <tt>false</tt>)
   */

/**
   * @cfg {Boolean} hideTrigger2
   */

/**
   * @cfg {Boolean} hideable Optional. Specify as <tt>false</tt> to prevent the user from hiding this column
   * (defaults to true).  To disallow column hiding globally for all columns in the grid, use
   * {@link Ext.grid.GridPanel#enableColumnHide} instead.
   */

/**
   * @cfg {Boolean} htmlEncode <tt>false</tt> to skip HTML-encoding the text when rendering it (defaults to
   * <tt>false</tt>). This might be useful if you want to include tags in the field's innerHTML rather than
   * rendering them as string literals per the default logic.
   */

/**
   * @cfg {Boolean} i18nDeleteRecordAction 
   * update details panel if context menu is shown
   */

/**
   * @cfg {Boolean} ignoreAdd <tt>true</tt> to skip refreshing the view when new rows are added (defaults to <tt>false</tt>)
   */

/**
   * @cfg {Boolean} ignoreNoChange
   * True to skip the edit completion process (no save, no events fired) if the user completes an edit and
   * the value has not changed (defaults to false).  Applies only to string values - edits for other data types
   * will never be ignored.
   */

/**
   * @cfg {Boolean} ignoreParentClicks True to ignore clicks on any item in this menu that is a parent item (displays
   * a submenu) so that the submenu is not dismissed when clicking the parent item (defaults to false).
   */

/**
   * @cfg {Boolean} initHidden
   * True to hide the window until show() is explicitly called (defaults to true).
   * @deprecated
   */

/**
   * @cfg {Boolean} insertProxy True to insert a placeholder proxy element while dragging the panel,
   * false to drag with no proxy (defaults to true).
   */

/**
   * @cfg {Boolean} interceptTitles True to automatically use the element's DOM title value if available (defaults to false).
   */

/**
   * @cfg {Boolean} layoutOnCardChange
   * True to force a layout of the active item when the active card is changed. Defaults to false.
   */

/**
   * @cfg {Boolean} layoutOnTabChange
   * Set to true to force a layout of the active tab when the tab is changed. Defaults to false.
   * See {@link Ext.layout.CardLayout}.<code>{@link Ext.layout.CardLayout#layoutOnCardChange layoutOnCardChange}</code>.
   */

/**
   * @cfg {Boolean} lazyInit <tt>true</tt> to not initialize the list for this combo until the field is focused
   * (defaults to <tt>true</tt>)
   */

/**
   * @cfg {Boolean} lazyRender <tt>true</tt> to prevent the ComboBox from rendering until requested
   * (should always be used when rendering into an {@link Ext.Editor} (e.g. {@link Ext.grid.EditorGridPanel Grids}),
   * defaults to <tt>false</tt>).
   */

/**
   * @cfg {Boolean} listen for message bus updates
   */

/**
   * @cfg {Boolean} listful
   * <tt>false</tt> by default.  Set <tt>true</tt> to have the DataWriter <b>always</b> write HTTP params as a list,
   * even when acting upon a single record.
   */

/**
   * @cfg {Boolean} locked
   * password field is locked (****) per default
   */

/**
   * @cfg {Boolean} locked: true,
   */

/**
   * @cfg {Boolean} maskDisabled
   * <code>true</code> to mask the panel when it is {@link #disabled}, <code>false</code> to not mask it (defaults
   * to <code>true</code>).  Either way, the panel will always tell its contained elements to disable themselves
   * when it is disabled, but masking the panel can provide an additional visual cue that the panel is
   * disabled.
   */

/**
   * @cfg {Boolean} maximizable
   * True to display the 'maximize' tool button and allow the user to maximize the window, false to hide the button
   * and disallow maximizing the window (defaults to false).  Note that when a window is maximized, the tool button
   * will automatically change to a 'restore' button with the appropriate behavior already built-in that will
   * restore the window to its previous size.
   */

/**
   * @cfg {Boolean} maximized
   * True to initially display the window in a maximized state. (Defaults to false).
   */

/**
   * @cfg {Boolean} menuDisabled Optional. <tt>true</tt> to disable the column menu. Defaults to <tt>false</tt>.
   */

/**
   * @cfg {Boolean} minimizable
   * True to display the 'minimize' tool button and allow the user to minimize the window, false to hide the button
   * and disallow minimizing the window (defaults to false).  Note that this button provides no implementation --
   * the behavior of minimizing a window is implementation-specific, so the minimize event must be handled and a
   * custom minimize behavior implemented for this option to be useful.
   */

/**
   * @cfg {Boolean} modal
   * True to make the window modal and mask everything behind it when displayed, false to display it without
   * restricting access to other UI elements (defaults to false).
   */

/**
   * @cfg {Boolean} monitorResize
   * @hide
   */

/**
   * @cfg {Boolean} monitorResize
   * True to automatically monitor window resize events to handle anything that is sensitive to the current size
   * of the viewport.  This value is typically managed by the chosen <code>{@link #layout}</code> and should not need
   * to be set manually.
   */

/**
   * @cfg {Boolean} monitorResize @hide
   */

/**
   * @cfg {Boolean} monitorValid If <tt>true</tt>, the form monitors its valid state <b>client-side</b> and
   * regularly fires the {@link #clientvalidation} event passing that state.<br>
   * <p>When monitoring valid state, the FormPanel enables/disables any of its configured
   * {@link #buttons} which have been configured with <code>formBind: true</code> depending
   * on whether the {@link Ext.form.BasicForm#isValid form is valid} or not. Defaults to <tt>false</tt></p>
   */

/**
   * @cfg {Boolean} moveAction
   * activate moveAction
   */

/**
   * @cfg {Boolean} moveEditorOnEnter
   * <tt>false</tt> to turn off moving the editor to the next row down when the enter key is pressed
   * or the next row up when shift + enter keys are pressed.
   */

/**
   * @cfg {Boolean} moveEditorOnEnter
   * False to turn off moving the editor to the next cell when the enter key is pressed
   */

/**
   * @cfg {Boolean} multi
   * Set to true to enable multiple accordion items to be open at once.
   */

/**
   * @cfg {Boolean} multiDirectional <b>Deprecated</b>.  Deprecated style of adding multi-direction resize handles.
   */

/**
   * @cfg {Boolean} multiSelect
   * True to allow selection of more than one item at a time, false to allow selection of only a single item
   * at a time or no selection at all, depending on the value of {@link #singleSelect} (defaults to false).
   */

/**
   * @cfg {Boolean} multiple
   * allow multiple files to be selected (HTML 5 only)
   */

/**
   * @cfg {Boolean} nullable
   */

/**
   * @cfg {Boolean} paramsAsHash
   * Send parameters as a collection of named arguments (defaults to <tt>true</tt>). Providing a
   * <tt>{@link #paramOrder}</tt> nullifies this configuration.
   */

/**
   * @cfg {Boolean} paramsAsHash
   */

/**
   * @cfg {Boolean} paramsAsHash Only used for the <code>{@link #api}</code>
   * <code>load</code> configuration. Send parameters as a collection of named
   * arguments (defaults to <tt>false</tt>). Providing a
   * <tt>{@link #paramOrder}</tt> nullifies this configuration.
   */

/**
   * @cfg {Boolean} paramsAsHash Only used when using directFn.
   * Send parameters as a collection of named arguments (defaults to <tt>false</tt>). Providing a
   * <tt>{@link #paramOrder}</tt> nullifies this configuration.
   */

/**
   * @cfg {Boolean} periodIncludesUntil
   * the period includes until timestamp
   */

/**
   * @cfg {Boolean} pinned True to ensure that the resize handles are always visible, false to display them only when the
   * user mouses over the resizable borders. This is only applied at config time. (defaults to false)
   */

/**
   * @cfg {Boolean} plain
   * True to remove the incised line down the left side of the menu. Defaults to <tt>false</tt>.
   */

/**
   * @cfg {Boolean} plain
   * True to render the window body with a transparent background so that it will blend into the framing
   * elements, false to add a lighter background color to visually highlight the body element and separate it
   * more distinctly from the surrounding frame (defaults to false).
   */

/**
   * @cfg {Boolean} plain </tt>true</tt> to render the tab strip without a background container image
   * (defaults to <tt>false</tt>).
   */

/**
   * @cfg {Boolean} preloadChildren If set to true, the loader recursively loads "children" attributes when doing the first load on nodes.
   */

/**
   * @cfg {Boolean} preserveRatio True to preserve the original ratio between height
   * and width during resize (defaults to false)
   */

/**
   * @cfg {Boolean} preventBodyReset
   * @hide
   */

/**
   * @cfg {Boolean} preventBodyReset
   * Defaults to <code>false</code>.  When set to <code>true</code>, an extra css class <code>'x-panel-normal'</code>
   * will be added to the panel's element, effectively applying css styles suggested by the W3C
   * (see http://www.w3.org/TR/CSS21/sample.html) to the Panel's <b>body</b> element (not the header,
   * footer, etc.).
   */

/**
   * @cfg {Boolean} preventMark
   * <tt>true</tt> to disable {@link #markInvalid marking the field invalid}.
   * Defaults to <tt>false</tt>.
   */

/**
   * @cfg {Boolean} preventScrollbars <tt>true</tt> to prevent scrollbars from appearing regardless of how much text is
   * in the field. This option is only relevant when {@link #grow} is <tt>true</tt>. Equivalent to setting overflow: hidden, defaults to 
   * <tt>false</tt>.
   */

/**
   * @cfg {Boolean} pruneModifiedRecords <tt>true</tt> to clear all modified record information each time
   * the store is loaded or when a record is removed (defaults to <tt>false</tt>). See {@link #getModifiedRecords}
   * for the accessor method to retrieve the modified records.
   */

/**
   * @cfg {Boolean} readOnly <tt>true</tt> to mark the field as readOnly in HTML
   * (defaults to <tt>false</tt>).
   * <br><p><b>Note</b>: this only sets the element's readOnly DOM attribute.
   * Setting <code>readOnly=true</code>, for example, will not disable triggering a
   * ComboBox or DateField; it gives you the option of forcing the user to choose
   * via the trigger without typing in the text box. To hide the trigger use
   * <code>{@link Ext.form.TriggerField#hideTrigger hideTrigger}</code>.</p>
   */

/**
   * @cfg {Boolean} readOnly <tt>true</tt> to prevent the user from changing the field, and
   * hides the trigger.  Superceeds the editable and hideTrigger options if the value is true.
   * (defaults to <tt>false</tt>)
   */

/**
   * @cfg {Boolean} remoteGroup
   * True if the grouping should apply on the server side, false if it is local only (defaults to false).  If the
   * grouping is local, it can be applied immediately to the data.  If it is remote, then it will simply act as a
   * helper, automatically sending the grouping field name as the 'groupBy' param with each XHR call.
   */

/**
   * @cfg {Boolean} removeMask
   * True to create a single-use mask that is automatically destroyed after loading (useful for page loads),
   * False to persist the mask element reference for multiple uses (e.g., for paged data widgets).  Defaults to false.
   */

/**
   * @cfg {Boolean} renderHidden
   * True to hide each contained item on render (defaults to false).
   */

/**
   * @cfg {Boolean} renderHidden @hide
   */

/**
   * @cfg {Boolean} reserveScrollOffset
   * By default will defer accounting for the configured <b><tt>{@link #scrollOffset}</tt></b>
   * for 10 milliseconds.  Specify <tt>true</tt> to account for the configured
   * <b><tt>{@link #scrollOffset}</tt></b> immediately.
   */

/**
   * @cfg {Boolean} reset When set to <tt><b>true</b></tt>, causes the Form to be
   * {@link Ext.form.BasicForm.reset reset} on Action success. If specified, this happens
   * <b>before</b> the {@link #success} callback is called and before the Form's
   * {@link Ext.form.BasicForm.actioncomplete actioncomplete} event fires.
   */

/**
   * @cfg {Boolean} resizable
   * True to allow user resizing at each edge and corner of the window, false to disable resizing (defaults to true).
   */

/**
   * @cfg {Boolean} resizable <tt>true</tt> to add a resize handle to the bottom of the dropdown list
   * (creates an {@link Ext.Resizable} with 'se' {@link Ext.Resizable#pinned pinned} handles).
   * Defaults to <tt>false</tt>.
   */

/**
   * @cfg {Boolean} resizable Optional. <tt>false</tt> to disable column resizing. Defaults to <tt>true</tt>.
   */

/**
   * @cfg {Boolean} resizeTabs True to automatically resize each tab so that the tabs will completely fill the
   * tab strip (defaults to false).  Setting this to true may cause specific widths that might be set per tab to
   * be overridden in order to fit them all into view (although {@link #minTabWidth} will always be honored).
   */

/**
   * @cfg {Boolean} restful
   * <p>Defaults to <tt>false</tt>.  Set to <tt>true</tt> to operate in a RESTful manner.</p>
   * <br><p> Note: this parameter will automatically be set to <tt>true</tt> if the
   * {@link Ext.data.Store} it is plugged into is set to <code>restful: true</code>. If the
   * Store is RESTful, there is no need to set this option on the proxy.</p>
   * <br><p>RESTful implementations enable the serverside framework to automatically route
   * actions sent to one url based upon the HTTP method, for example:
   * <pre><code>
  store: new Ext.data.Store({
  restful: true,
  proxy: new Ext.data.HttpProxy({url:'/users'}); // all requests sent to /users
  ...
  )}
   * </code></pre>
   * If there is no <code>{@link #api}</code> specified in the configuration of the proxy,
   * all requests will be marshalled to a single RESTful url (/users) so the serverside
   * framework can inspect the HTTP Method and act accordingly:
   * <pre>
  <u>Method</u>   <u>url</u>        <u>action</u>
  POST     /users     create
  GET      /users     read
  PUT      /users/23  update
  DESTROY  /users/23  delete
   * </pre></p>
   * <p>If set to <tt>true</tt>, a {@link Ext.data.Record#phantom non-phantom} record's
   * {@link Ext.data.Record#id id} will be appended to the url. Some MVC (e.g., Ruby on Rails,
   * Merb and Django) support segment based urls where the segments in the URL follow the
   * Model-View-Controller approach:<pre><code>
   * someSite.com/controller/action/id
   * </code></pre>
   * Where the segments in the url are typically:<div class="mdetail-params"><ul>
   * <li>The first segment : represents the controller class that should be invoked.</li>
   * <li>The second segment : represents the class function, or method, that should be called.</li>
   * <li>The third segment : represents the ID (a variable typically passed to the method).</li>
   * </ul></div></p>
   * <br><p>Refer to <code>{@link Ext.data.DataProxy#api}</code> for additional information.</p>
   */

/**
   * @cfg {Boolean} restful
   * Defaults to <tt>false</tt>.  Set to <tt>true</tt> to have the Store and the set
   * Proxy operate in a RESTful manner. The store will automatically generate GET, POST,
   * PUT and DELETE requests to the server. The HTTP method used for any given CRUD
   * action is described in {@link Ext.data.Api#restActions}.  For additional information
   * see {@link Ext.data.DataProxy#restful}.
   * <p><b>Note</b>: if <code>{@link #restful}:true</code> <code>batch</code> will
   * internally be set to <tt>false</tt>.</p>
   */

/**
   * @cfg {Boolean} revertInvalid
   * True to automatically revert the field value and cancel the edit when the user completes an edit and the field
   * validation fails (defaults to true)
   */

/**
   * @cfg {Boolean} selectOnFocus <tt>true</tt> to automatically select any existing field text when the field
   * receives input focus (defaults to <tt>false</tt>)
   */

/**
   * @cfg {Boolean} selectOnFocus <tt>true</tt> to select any existing text in the field immediately on focus.
   * Only applies when <tt>{@link Ext.form.TriggerField#editable editable} = true</tt> (defaults to
   * <tt>false</tt>).
   */

/**
   * @cfg {Boolean} sequence
   * <b>Experimental</b>. If animate is set to true, this will result in each animation running in sequence.
   */

/**
   * @cfg {Boolean} shim
   * <code>false</code> to disable the iframe shim in browsers which need one (defaults to <code>true</code>).
   * Note that this option only applies when <code>{@link #floating} = true</code>.
   */

/**
   * @cfg {Boolean} shim
   * @hide
   */

/**
   * @cfg {Boolean} shim
   * True to shim the editor if selects/iframes could be displayed beneath it (defaults to false)
   */

/**
   * @cfg {Boolean} show infobox (survey, links, text)
   */

/**
   * @cfg {Boolean} showExportDialog
   */

/**
   * @cfg {Boolean} showGroupName If <tt>true</tt> will display a prefix plus a ': ' before the group field value
   * in the group header line.  The prefix will consist of the <tt><b>{@link Ext.grid.Column#groupName groupName}</b></tt>
   * (or the configured <tt><b>{@link Ext.grid.Column#header header}</b></tt> if not provided) configured in the
   * {@link Ext.grid.Column} for each set of grouped rows (defaults to <tt>true</tt>).
   */

/**
   * @cfg {Boolean} showIcon
   * show icon in list and value
   */

/**
   * @cfg {Boolean} showMainMenu
   */

/**
   * @cfg {Boolean} showOverflowTip
   * True to show a tip on mouseover/tap when the field text is wider than the visible input.
   * Defaults to true.
   */

/**
   * @cfg {Boolean} showSeparator True to show the icon separator. (defaults to true).
   */

/**
   * @cfg {Boolean} showText True to display the active item's text as the button text (defaults to false)
   */

/**
   * @cfg {Boolean} showToday
   * <tt>false</tt> to hide the footer area of the DatePicker containing the Today button and disable
   * the keyboard handler for spacebar that selects the current date (defaults to <tt>true</tt>).
   */

/**
   * @cfg {Boolean} showToday
   * False to hide the footer area containing the Today button and disable the keyboard handler for spacebar
   * that selects the current date (defaults to <code>true</code>).
   */

/**
   * @cfg {Boolean} simpleSelect
   * True to enable multiselection by clicking on multiple items without requiring the user to hold Shift or Ctrl,
   * false to force the user to hold Ctrl or Shift to select more than on item (defaults to false).
   */

/**
   * @cfg {Boolean} singleSelect
   * <tt>true</tt> to allow selection of only one row at a time (defaults to <tt>false</tt>
   * allowing multiple selections)
   */

/**
   * @cfg {Boolean} singleSelect
   * True to allow selection of exactly one item at a time, false to allow no selection at all (defaults to false).
   * Note that if {@link #multiSelect} = true, this value will be ignored.
   */

/**
   * @cfg {Boolean} singleSelect
   * True to allow selection of only one cell at a time (defaults to false)
   */

/**
   * @cfg {Boolean} sortable <tt>true</tt> if the checkbox column is sortable (defaults to
   * <tt>false</tt>).
   */

/**
   * @cfg {Boolean} sortable Optional. <tt>true</tt> if sorting is to be allowed on this column.
   * Defaults to the value of the <code>{@link Ext.grid.ColumnModel#defaultSortable}</code> property.
   * Whether local/remote sorting is used is specified in <code>{@link Ext.data.Store#remoteSort}</code>.
   */

/**
   * @cfg {Boolean} sortable True if the row number column is sortable (defaults to false).
   * @hide
   */

/**
   * @cfg {Boolean} split
   * <p><tt>true</tt> to create a {@link Ext.layout.BorderLayout.SplitRegion SplitRegion} and
   * display a 5px wide {@link Ext.SplitBar} between this region and its neighbor, allowing the user to
   * resize the regions dynamically.  Defaults to <tt>false</tt> creating a
   * {@link Ext.layout.BorderLayout.Region Region}.</p><br>
   * <p><b>Notes</b>:</p><div class="mdetail-params"><ul>
   * <li>this configuration option is ignored if <tt>region='center'</tt></li>
   * <li>when <tt>split == true</tt>, it is common to specify a
   * <tt>{@link Ext.SplitBar#minSize minSize}</tt> and <tt>{@link Ext.SplitBar#maxSize maxSize}</tt>
   * for the {@link Ext.BoxComponent BoxComponent} representing the region. These are not native
   * configs of {@link Ext.BoxComponent BoxComponent}, and are used only by this class.</li>
   * <li>if <tt>{@link #collapseMode} = 'mini'</tt> requires <tt>split = true</tt> to reserve space
   * for the collapse tool</tt></li>
   * </ul></div>
   */

/**
   * @cfg {Boolean} standardSubmit
   * <p>If set to <tt>true</tt>, standard HTML form submits are used instead
   * of XHR (Ajax) style form submissions. Defaults to <tt>false</tt>.</p>
   * <br><p><b>Note:</b> When using <code>standardSubmit</code>, the
   * <code>options</code> to <code>{@link #submit}</code> are ignored because
   * Ext's Ajax infrastracture is bypassed. To pass extra parameters (e.g.
   * <code>baseParams</code> and <code>params</code>), utilize hidden fields
   * to submit extra data, for example:</p>
   * <pre><code>
  new Ext.FormPanel({
  standardSubmit: true,
  baseParams: {
      foo: 'bar'
  },
  {@link url}: 'myProcess.php',
  items: [{
      xtype: 'textfield',
      name: 'userName'
  }],
  buttons: [{
      text: 'Save',
      handler: function(){
          var fp = this.ownerCt.ownerCt,
              form = fp.getForm();
          if (form.isValid()) {
              // check if there are baseParams and if
              // hiddent items have been added already
              if (fp.baseParams && !fp.paramsAdded) {
                  // add hidden items for all baseParams
                  for (i in fp.baseParams) {
                      fp.add({
                          xtype: 'hidden',
                          name: i,
                          value: fp.baseParams[i]
                      });
                  }
                  fp.doLayout();
                  // set a custom flag to prevent re-adding
                  fp.paramsAdded = true;
              }
              form.{@link #submit}();
          }
      }
  }]
  });
   * </code></pre>
   */

/**
   * @cfg {Boolean} startCollapsed <tt>true</tt> to start all groups collapsed (defaults to <tt>false</tt>)
   */

/**
   * @cfg {Boolean} stateful
   * <p>A flag which causes the Component to attempt to restore the state of
   * internal properties from a saved state on startup. The component must have
   * either a <code>{@link #stateId}</code> or <code>{@link #id}</code> assigned
   * for state to be managed. Auto-generated ids are not guaranteed to be stable
   * across page loads and cannot be relied upon to save and restore the same
   * state for a component.<p>
   * <p>For state saving to work, the state manager's provider must have been
   * set to an implementation of {@link Ext.state.Provider} which overrides the
   * {@link Ext.state.Provider#set set} and {@link Ext.state.Provider#get get}
   * methods to save and recall name/value pairs. A built-in implementation,
   * {@link Ext.state.CookieProvider} is available.</p>
   * <p>To set the state provider for the current page:</p>
   * <pre><code>
  Ext.state.Manager.setProvider(new Ext.state.CookieProvider({
  expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now
  }));
   * </code></pre>
   * <p>A stateful Component attempts to save state when one of the events
   * listed in the <code>{@link #stateEvents}</code> configuration fires.</p>
   * <p>To save state, a stateful Component first serializes its state by
   * calling <b><code>getState</code></b>. By default, this function does
   * nothing. The developer must provide an implementation which returns an
   * object hash which represents the Component's restorable state.</p>
   * <p>The value yielded by getState is passed to {@link Ext.state.Manager#set}
   * which uses the configured {@link Ext.state.Provider} to save the object
   * keyed by the Component's <code>{@link stateId}</code>, or, if that is not
   * specified, its <code>{@link #id}</code>.</p>
   * <p>During construction, a stateful Component attempts to <i>restore</i>
   * its state by calling {@link Ext.state.Manager#get} passing the
   * <code>{@link #stateId}</code>, or, if that is not specified, the
   * <code>{@link #id}</code>.</p>
   * <p>The resulting object is passed to <b><code>applyState</code></b>.
   * The default implementation of <code>applyState</code> simply copies
   * properties into the object, but a developer may override this to support
   * more behaviour.</p>
   * <p>You can perform extra processing on state save and restore by attaching
   * handlers to the {@link #beforestaterestore}, {@link #staterestore},
   * {@link #beforestatesave} and {@link #statesave} events.</p>
   */

/**
   * @cfg {Boolean} stateful
   */

/**
   * @cfg {Boolean} stripeRows <tt>true</tt> to stripe the rows. Default is <tt>false</tt>.
   * <p>This causes the CSS class <tt><b>x-grid3-row-alt</b></tt> to be added to alternate rows of
   * the grid. A default CSS rule is provided which sets a background colour, but you can override this
   * with a rule which either overrides the <b>background-color</b> style using the '!important'
   * modifier, or which uses a CSS selector of higher specificity.</p>
   */

/**
   * @cfg {Boolean} submitValue False to clear the name attribute on the field so that it is not submitted during a form post.
   * Defaults to <tt>true</tt>.
   */

/**
   * @cfg {Boolean} submitValue False to clear the name attribute on the field so that it is not submitted during a form post.
   * If a hiddenName is specified, setting this to true will cause both the hidden field and the element to be submitted.
   * Defaults to <tt>undefined</tt>.
   */

/**
   * @cfg {Boolean} success
   */

/**
   * @cfg {Boolean} swallowKeys Handle the keydown/keypress events so they don't propagate (defaults to true)
   */

/**
   * @cfg {Boolean} titleCollapse
   * <code>true</code> to allow expanding and collapsing the panel (when <code>{@link #collapsible} = true</code>)
   * by clicking anywhere in the header bar, <code>false</code>) to allow it only by clicking to tool button
   * (defaults to <code>false</code>)). If this panel is a child item of a border layout also see the
   * {@link Ext.layout.BorderLayout.Region BorderLayout.Region}
   * <code>{@link Ext.layout.BorderLayout.Region#floatable floatable}</code> config option.
   */

/**
   * @cfg {Boolean} titleCollapse
   * @hide
   */

/**
   * @cfg {Boolean} titleCollapse
   * True to allow expand/collapse of each contained panel by clicking anywhere on the title bar, false to allow
   * expand/collapse only when the toggle tool button is clicked (defaults to true).  When set to false,
   * {@link #hideCollapseTool} should be false also.
   */

/**
   * @cfg {Boolean} titleCollapse
   * True to allow expand/collapse of each contained panel by clicking anywhere on the title bar, false to allow
   * expand/collapse only when the toggle tool button is clicked.  When set to false,
   * {@link #hideCollapseTool} should be false also.
   */

/**
   * @cfg {Boolean} trackLabels
   * True to show/hide the field label when the field is hidden. Defaults to <tt>false</tt>.
   */

/**
   * @cfg {Boolean} trackMouse True to have the tooltip follow the mouse as it
   * moves over the target element (defaults to false).
   */

/**
   * @cfg {Boolean} trackMouseOver @hide
   */

/**
   * @cfg {Boolean} trackMouseOver True to highlight rows when the mouse is over. Default is <tt>true</tt>
   * for GridPanel, but <tt>false</tt> for EditorGridPanel.
   */

/**
   * @cfg {Boolean} trackOver True to enable mouseenter and mouseleave events
   */

/**
   * @cfg {Boolean} trackResetOnLoad If set to <tt>true</tt>, {@link #reset}() resets to the last loaded
   * or {@link #setValues}() data instead of when the form was first created.  Defaults to <tt>false</tt>.
   */

/**
   * @cfg {Boolean} transparent True for transparent handles. This is only applied at config time. (defaults to false)
   */

/**
   * @cfg {Boolean} typeAhead <tt>true</tt> to populate and autoselect the remainder of the text being
   * typed after a configurable delay ({@link #typeAheadDelay}) if it matches a known value (defaults
   * to <tt>false</tt>)
   */

/**
   * @cfg {Boolean} unLockable: true,
   */

/**
   * @cfg {Boolean} unstyled
   * Overrides the <code>{@link #baseCls}</code> setting to <code>{@link #baseCls} = 'x-plain'</code> which renders
   * the panel unstyled except for required attributes for Ext layouts to function (e.g. overflow:hidden).
   */

/**
   * @cfg {Boolean} updateEl True to update the innerHTML of the bound element when the update completes (defaults to false)
   */

/**
   * @cfg {Boolean} useContainerColor
   * use container colors
   */

/**
   * @cfg {Boolean} useDecimalValues
   * true for decimal units (1000-based), false for binary units (1024-based)
   */

/**
   * @cfg {Boolean} useEditPlugin
   */

/**
   * @cfg {Boolean} useNamedParams
   */

/**
   * @cfg {Boolean} usePagingToolbar 
   */

/**
   * @cfg {Boolean} useProperties
   * use container properties
   */

/**
   * @cfg {Boolean} useSplitTips
   * <tt>true</tt> to display a tooltip when the user hovers over a region's split bar
   * (defaults to <tt>false</tt>).  The tooltip text will be the value of either
   * <tt>{@link #splitTip}</tt> or <tt>{@link #collapsibleSplitTip}</tt> as appropriate.
   */

/**
   * @cfg {Boolean} validateOnBlur Whether the field should validate when it loses focus (defaults to true).
   */

/**
   * @cfg {Boolean} vertical Orient the Slider vertically rather than horizontally, defaults to false.
   */

/**
   * @cfg {Boolean} vertical True to distribute contained controls across columns, completely filling each column
   * top to bottom before starting on the next column.  The number of controls in each column will be automatically
   * calculated to keep columns as even as possible.  The default value is false, so that controls will be added
   * to columns one at a time, completely filling each row left to right before starting on the next row.
   */

/**
   * @cfg {Boolean} wrap True to wrap an element with a div if needed (required for textareas and images, defaults to false)
   * in favor of the handles config option (defaults to false)
   */

/**
   * @cfg {Boolean} writeAllFields
   * <tt>false</tt> by default.  Set <tt>true</tt> to have DataWriter return ALL fields of a modified
   * record -- not just those that changed.
   * <tt>false</tt> to have DataWriter only request modified fields from a record.
   */

/**
   * @cfg {Bool}
   */

/**
   * @cfg {Bool} Duplicate
   * allow to select same record multiple times
   */

/**
   * @cfg {Bool} activateLeafNodesOnly
   * true to only activate leaf nodes
   */

/**
   * @cfg {Bool} allowCopy
   */

/**
   * @cfg {Bool} allowCreateNew
   * allow to create new records (local mode only atm.!)
   */

/**
   * @cfg {Bool} allowDelete
   * allow to delete records
   */

/**
   * @cfg {Bool} allowDelete show delete trigger
   */

/**
   * @cfg {Bool} allowSaving (defaults to false)
   */

/**
   * @cfg {Bool} autoShrinkContainerSelector
   * if container selector is shown, setting this to true, shrinks the selector to fit the content.
   */

/**
   * @cfg {Bool} disableSelectAllPages
   */

/**
   * @cfg {Bool} displayPageInfo 
   * True to display the displayMsg (defaults to false)
   */

/**
   * @cfg {Bool} displaySelectionHelper
   * True to display the selectionMsg (defaults to false)
   */

/**
   * @cfg {Bool} enableTbar
   */

/**
   * @cfg {Bool} evalGrants
   * should grants of a grant-aware records be evaluated (defaults to true)
   */

/**
   * @cfg {Bool} findGlobalTags true to find global tags during search (default: true)
   */

/**
   * @cfg {Bool} groupOnLoad
   * apply grouping when store is loaded
   * NOTE: when disabled, grouping must be triggered manually
   */

/**
   * @cfg {Bool} hasContainerTreePanel
   * west panel has containerTreePanel (defaults to null -> autodetection)
   */

/**
   * @cfg {Bool} hasDetailsPanel
   */

/**
   * @cfg {Bool} hasFavoritesPanel
   * west panel has favorites panel (defaults to null -> autodetection)
   */

/**
   * @cfg {Bool} invert true if loging should be inverted (defaults false)
   */

/**
   * @cfg {Bool} listenMessageBus
   * listen to messagebus for record changes
   */

/**
   * @cfg {Bool} neverAllowSaving (defaults to false)
   */

/**
   * @cfg {Bool} onlyUsableTags true to find only usable flags for the user (default: true)
   */

/**
   * @cfg {Bool} readOnly
   */

/**
   * @cfg {Bool} resetAllOnNew
   * reset all fields after new record got created (per default only den mandatory field gets resetted).
   */

/**
   * @cfg {Bool} selectOnFocus
   */

/**
   * @cfg {Bool} show container selector in bottom area
   */

/**
   * @cfg {Bool} showContainerSelector
   * show container selector in bottom area
   */

/**
   * @cfg {Bool} showSearchButton (defaults to true)
   */

/**
   * @cfg {Bool} syncFields
   * sync with filtertoolbar
   */

/**
   * @cfg {Bool} useBBar
   */

/**
   * @cfg {Bool} useModuleTreePanel
   * use modulePanel (defaults to null -> autodetection)
   */

/**
   * @cfg {Class} editDialogClass (optional)
   * editDialogClass having a static openWindow method
   */

/**
   * @cfg {DataReader} errorReader
   * <p>An Ext.data.DataReader (e.g. {@link Ext.data.XmlReader}) to be used to
   * read field error messages returned from 'submit' actions. This is optional
   * as there is built-in support for processing JSON.</p>
   * <p>The Records which provide messages for the invalid Fields must use the
   * Field name (or id) as the Record ID, and must contain a field called 'msg'
   * which contains the error message.</p>
   * <p>The errorReader does not have to be a full-blown implementation of a
   * DataReader. It simply needs to implement a <tt>read(xhr)</tt> function
   * which returns an Array of Records in an object with the following
   * structure:</p><pre><code>
  {
  records: recordArray
  }
  </code></pre>
   */

/**
   * @cfg {DataReader} reader
   * An Ext.data.DataReader (e.g. {@link Ext.data.XmlReader}) to be used to read
   * data when executing 'load' actions. This is optional as there is built-in
   * support for processing JSON.  For additional information on using an XMLReader
   * see the example provided in examples/form/xml-form.html.
   */

/**
   * @cfg {Date/String} maxValue
   * The maximum allowed date. Can be either a Javascript date object or a string date in a
   * valid format (defaults to null).
   */

/**
   * @cfg {Date/String} maxValue
   * The maximum allowed time. Can be either a Javascript date object with a valid time value or a string 
   * time in a valid format -- see {@link #format} and {@link #altFormats} (defaults to undefined).
   */

/**
   * @cfg {Date/String} minValue
   * The minimum allowed date. Can be either a Javascript date object or a string date in a
   * valid format (defaults to null).
   */

/**
   * @cfg {Date/String} minValue
   * The minimum allowed time. Can be either a Javascript date object with a valid time value or a string 
   * time in a valid format -- see {@link #format} and {@link #altFormats} (defaults to undefined).
   */

/**
   * @cfg {Date} maxDate
   * Maximum allowable date (JavaScript date object, defaults to null)
   */

/**
   * @cfg {Date} minDate
   * Minimum allowable date (JavaScript date object, defaults to null)
   */

/**
   * @cfg {Date} startDate
   * defaults to toDay, will be constraint to period, gets overwritten by value
   */

/**
   * @cfg {Ext.Action}
   * selectAction
   */

/**
   * @cfg {Ext.Element} dropEl
   * element used as drop target if enableFileDrop is enabled
   */

/**
   * @cfg {Ext.Template/Ext.XTemplate} toolTemplate
   * <p>A Template used to create {@link #tools} in the {@link #header} Element. Defaults to:</p><pre><code>
  new Ext.Template('&lt;div class="x-tool x-tool-{id}">&amp;#160;&lt;/div>')</code></pre>
   * <p>This may may be overridden to provide a custom DOM structure for tools based upon a more
   * complex XTemplate. The template's data is a single tool configuration object (Not the entire Array)
   * as specified in {@link #tools}.  In the following example an &lt;a> tag is used to provide a
   * visual indication when hovering over the tool:</p><pre><code>
  var win = new Ext.Window({
  tools: [{
      id: 'download',
      href: '/MyPdfDoc.pdf'
  }],
  toolTemplate: new Ext.XTemplate(
      '&lt;tpl if="id==\'download\'">',
          '&lt;a class="x-tool x-tool-pdf" href="{href}">&lt;/a>',
      '&lt;/tpl>',
      '&lt;tpl if="id!=\'download\'">',
          '&lt;div class="x-tool x-tool-{id}">&amp;#160;&lt;/div>',
      '&lt;/tpl>'
  ),
  width:500,
  height:300,
  closeAction:'hide'
  });</code></pre>
   * <p>Note that the CSS class 'x-tool-pdf' should have an associated style rule which provides an
   * appropriate background image, something like:</p>
  <pre><code>
  a.x-tool-pdf {background-image: url(../shared/extjs/images/pdf.gif)!important;}
  </code></pre>
   */

/**
   * @cfg {Ext.Template/Ext.XTemplate} toolTemplate
   * @hide
   */

/**
   * @cfg {Ext.Template} fieldTpl
   * A {@link Ext.Template#compile compile}d {@link Ext.Template} for rendering
   * the fully wrapped, labeled and styled form Field. Defaults to:</p><pre><code>
  new Ext.Template(
  &#39;&lt;div class="x-form-item {itemCls}" tabIndex="-1">&#39;,
      &#39;&lt;&#108;abel for="{id}" style="{labelStyle}" class="x-form-item-&#108;abel">{&#108;abel}{labelSeparator}&lt;/&#108;abel>&#39;,
      &#39;&lt;div class="x-form-element" id="x-form-el-{id}" style="{elementStyle}">&#39;,
      &#39;&lt;/div>&lt;div class="{clearCls}">&lt;/div>&#39;,
  '&lt;/div>'
  );
  </code></pre>
   * <p>This may be specified to produce a different DOM structure when rendering form Fields.</p>
   * <p>A description of the properties within the template follows:</p><div class="mdetail-params"><ul>
   * <li><b><tt>itemCls</tt></b> : String<div class="sub-desc">The CSS class applied to the outermost div wrapper
   * that contains this field label and field element (the default class is <tt>'x-form-item'</tt> and <tt>itemCls</tt>
   * will be added to that). If supplied, <tt>itemCls</tt> at the field level will override the default <tt>itemCls</tt>
   * supplied at the container level.</div></li>
   * <li><b><tt>id</tt></b> : String<div class="sub-desc">The id of the Field</div></li>
   * <li><b><tt>{@link #labelStyle}</tt></b> : String<div class="sub-desc">
   * A CSS style specification string to add to the field label for this field (defaults to <tt>''</tt> or the
   * {@link #labelStyle layout's value for <tt>labelStyle</tt>}).</div></li>
   * <li><b><tt>label</tt></b> : String<div class="sub-desc">The text to display as the label for this
   * field (defaults to <tt>''</tt>)</div></li>
   * <li><b><tt>{@link #labelSeparator}</tt></b> : String<div class="sub-desc">The separator to display after
   * the text of the label for this field (defaults to a colon <tt>':'</tt> or the
   * {@link #labelSeparator layout's value for labelSeparator}). To hide the separator use empty string ''.</div></li>
   * <li><b><tt>elementStyle</tt></b> : String<div class="sub-desc">The styles text for the input element's wrapper.</div></li>
   * <li><b><tt>clearCls</tt></b> : String<div class="sub-desc">The CSS class to apply to the special clearing div
   * rendered directly after each form field wrapper (defaults to <tt>'x-form-clear-left'</tt>)</div></li>
   * </ul></div>
   * <p>Also see <tt>{@link #getTemplateArgs}</tt></p>
   */

/**
   * @cfg {Ext.Template} template (Optional)
   * <p>A {@link Ext.Template Template} used to create the Button's DOM structure.</p>
   * Instances, or subclasses which need a different DOM structure may provide a different
   * template layout in conjunction with an implementation of {@link #getTemplateArgs}.
   * @type Ext.Template
   * @property template
   */

/**
   * @cfg {Ext.WindowGroup} manager
   * A reference to the WindowGroup that should manage this window (defaults to {@link Ext.WindowMgr}).
   */

/**
   * @cfg {Ext.data.DataProxy} proxy The {@link Ext.data.DataProxy DataProxy} object which provides
   * access to a data object.  See <code>{@link #url}</code>.
   */

/**
   * @cfg {Ext.data.DataProxy} recordProxy
   */

/**
   * @cfg {Ext.data.DataReader} errorReader <p><b>Optional. JSON is interpreted with
   * no need for an errorReader.</b></p>
   * <p>A Reader which reads a single record from the returned data. The DataReader's
   * <b>success</b> property specifies how submission success is determined. The Record's
   * data provides the error messages to apply to any invalid form Fields.</p>
   */

/**
   * @cfg {Ext.data.DataReader} reader @hide
   */

/**
   * @cfg {Ext.data.DataReader} reader The DataReader instance which will parse the received response
   */

/**
   * @cfg {Ext.data.DataReader} reader The {@link Ext.data.DataReader Reader} object which processes the
   * data object and returns an Array of {@link Ext.data.Record} objects which are cached keyed by their
   * <b><tt>{@link Ext.data.Record#id id}</tt></b> property.
   */

/**
   * @cfg {Ext.data.DataWriter} writer
   * <p>The {@link Ext.data.DataWriter Writer} object which processes a record object for being written
   * to the server-side database.</p>
   * <br><p>When a writer is installed into a Store the {@link #add}, {@link #remove}, and {@link #update}
   * events on the store are monitored in order to remotely {@link #createRecords create records},
   * {@link #destroyRecord destroy records}, or {@link #updateRecord update records}.</p>
   * <br><p>The proxy for this store will relay any {@link #writexception} events to this store.</p>
   * <br><p>Sample implementation:
   * <pre><code>
  var writer = new {@link Ext.data.JsonWriter}({
  encode: true,
  writeAllFields: true // write all fields, not just those that changed
  });
  // Typical Store collecting the Proxy, Reader and Writer together.
  var store = new Ext.data.Store({
  storeId: 'user',
  root: 'records',
  proxy: proxy,
  reader: reader,
  writer: writer,     // <-- plug a DataWriter into the store just as you would a Reader
  paramsAsHash: true,
  autoSave: false    // <-- false to delay executing create, update, destroy requests
                      //     until specifically told to do so.
  });
   * </code></pre></p>
   */

/**
   * @cfg {Ext.data.JsonStore} recordTagsStore a store where the record tags are in.
   */

/**
   * @cfg {Ext.data.Record/Ext.data.Record[]} records related to the Request action
   */

/**
   * @cfg {Ext.data.Record[]/Ext.data.Record} rs The Store recordset associated with the request.
   */

/**
   * @cfg {Ext.data.Record} record
   * record in edit process.
   */

/**
   * @cfg {Ext.data.Record} recordClass
   * record definition class
   */

/**
   * @cfg {Ext.data.Record} recordClass
   * record definition class  (required)
   */

/**
   * @cfg {Ext.data.Store/Array} store The data source to which this combo is bound (defaults to <tt>undefined</tt>).
   * Acceptable values for this property are:
   * <div class="mdetail-params"><ul>
   * <li><b>any {@link Ext.data.Store Store} subclass</b></li>
   * <li><b>an Array</b> : Arrays will be converted to a {@link Ext.data.ArrayStore} internally,
   * automatically generating {@link Ext.data.Field#name field names} to work with all data components.
   * <div class="mdetail-params"><ul>
   * <li><b>1-dimensional array</b> : (e.g., <tt>['Foo','Bar']</tt>)<div class="sub-desc">
   * A 1-dimensional array will automatically be expanded (each array item will be used for both the combo
   * {@link #valueField} and {@link #displayField})</div></li>
   * <li><b>2-dimensional array</b> : (e.g., <tt>[['f','Foo'],['b','Bar']]</tt>)<div class="sub-desc">
   * For a multi-dimensional array, the value in index 0 of each item will be assumed to be the combo
   * {@link #valueField}, while the value at index 1 is assumed to be the combo {@link #displayField}.
   * </div></li></ul></div></li></ul></div>
   * <p>See also <tt>{@link #mode}</tt>.</p>
   */

/**
   * @cfg {Ext.data.Store|Array} 
   * used by combo valueType
   */

/**
   * @cfg {Ext.data.Store}
   */

/**
   * @cfg {Ext.data.Store} store
   * Optional Store to which the mask is bound. The mask is displayed when a load request is issued, and
   * hidden on either load sucess, or load fail.
   */

/**
   * @cfg {Ext.data.Store} store
   * The {@link Ext.data.Store} to bind this DataView to.
   */

/**
   * @cfg {Ext.data.Store} store
   */

/**
   * @cfg {Ext.data.Store} store The {@link Ext.data.Store} the grid should use as its data source (required).
   */

/**
   * @cfg {Ext.form.Field} editor Optional. The {@link Ext.form.Field} to use when editing values in this column
   * if editing is supported by the grid. See <tt>{@link #editable}</tt> also.
   */

/**
   * @cfg {Ext.grid.AbstractSelectionModel}
   */

/**
   * @cfg {Ext.lib.Region} resizeRegion Constrain the resize to a particular region
   */

/**
   * @cfg {Ext.util.MixedCollection} recordCollection
   */

/**
   * @cfg {Ext.ux.file.BrowsePlugin} fileSelector
   * a file selector
   */

/**
   * @cfg {Float} scrollDuration The number of milliseconds that each scroll animation should last (defaults
   * to <tt>.35</tt>). Only applies when <tt>{@link #animScroll} = true</tt>.
   */

/**
   * @cfg {Function} callback The function to call when request is complete
   */

/**
   * @cfg {Function} callback to be called each time presence is detected
   */

/**
   * @cfg {Function} callback to be called when absence is detected
   */

/**
   * @cfg {Function} changeHandler A callback function that will be invoked each time the active menu
   * item in the button's menu has changed.  If this callback is not supplied, the SplitButton will instead
   * fire the {@link #change} event on active item change.  The changeHandler function will be called with the
   * following argument list: (SplitButton this, Ext.menu.CheckItem item)
   */

/**
   * @cfg {Function} convert
   * (Optional) A function which converts the value provided by the Reader into an object that will be stored
   * in the Record. It is passed the following parameters:<div class="mdetail-params"><ul>
   * <li><b>v</b> : Mixed<div class="sub-desc">The data value as read by the Reader, if undefined will use
   * the configured <tt>{@link Ext.data.Field#defaultValue defaultValue}</tt>.</div></li>
   * <li><b>rec</b> : Mixed<div class="sub-desc">The data object containing the row as read by the Reader.
   * Depending on the Reader type, this could be an Array ({@link Ext.data.ArrayReader ArrayReader}), an object
   *  ({@link Ext.data.JsonReader JsonReader}), or an XML element ({@link Ext.data.XMLReader XMLReader}).</div></li>
   * </ul></div>
   * <pre><code>
  // example of convert function
  function fullName(v, record){
  return record.name.last + ', ' + record.name.first;
  }
  function location(v, record){
  return !record.city ? '' : (record.city + ', ' + record.state);
  }
  var Dude = Ext.data.Record.create([
  {name: 'fullname',  convert: fullName},
  {name: 'firstname', mapping: 'name.first'},
  {name: 'lastname',  mapping: 'name.last'},
  {name: 'city', defaultValue: 'homeless'},
  'state',
  {name: 'location',  convert: location}
  ]);
  // create the data store
  var store = new Ext.data.Store({
  reader: new Ext.data.JsonReader(
      {
          idProperty: 'key',
          root: 'daRoot',
          totalProperty: 'total'
      },
      Dude  // recordType
  )
  });
  var myData = [
  { key: 1,
    name: { first: 'Fat',    last:  'Albert' }
    // notice no city, state provided in data object
  },
  { key: 2,
    name: { first: 'Barney', last:  'Rubble' },
    city: 'Bedrock', state: 'Stoneridge'
  },
  { key: 3,
    name: { first: 'Cliff',  last:  'Claven' },
    city: 'Boston',  state: 'MA'
  }
  ];
   * </code></pre>
   */

/**
   * @cfg {Function} createRecord Abstract method that should be implemented in all subclasses
   * (e.g.: {@link Ext.data.JsonWriter#createRecord JsonWriter.createRecord})
   */

/**
   * @cfg {Function} destroyRecord Abstract method that should be implemented in all subclasses
   * (e.g.: {@link Ext.data.JsonWriter#destroyRecord JsonWriter.destroyRecord})
   */

/**
   * @cfg {Function} directFn
   * Function to call when executing a request.
   */

/**
   * @cfg {Function} directFn
   * Function to call when executing a request.  directFn is a simple alternative to defining the api configuration-parameter
   * for Store's which will not implement a full CRUD api.
   */

/**
   * @cfg {Function} doRequest Abstract method that should be implemented in all subclasses.  <b>Note:</b> Should only be used by custom-proxy developers.
   * (e.g.: {@link Ext.data.HttpProxy#doRequest HttpProxy.doRequest},
   * {@link Ext.data.DirectProxy#doRequest DirectProxy.doRequest}).
   */

/**
   * @cfg {Function} failure The function to call when a failure packet was recieved, or when an
   * error ocurred in the Ajax communication.
   * The function is passed the following parameters:<ul class="mdetail-params">
   * <li><b>form</b> : Ext.form.BasicForm<div class="sub-desc">The form that requested the action</div></li>
   * <li><b>action</b> : Ext.form.Action<div class="sub-desc">The Action class. If an Ajax
   * error ocurred, the failure type will be in {@link #failureType}. The {@link #result}
   * property of this object may be examined to perform custom postprocessing.</div></li>
   * </ul>
   */

/**
   * @cfg {Function} getExportOptions
   */

/**
   * @cfg {Function} groupRenderer <p>Optional. If the grid is being rendered by an {@link Ext.grid.GroupingView}, this option
   * may be used to specify the function used to format the grouping field value for display in the group
   * {@link #groupName header}.  If a <tt><b>groupRenderer</b></tt> is not specified, the configured
   * <tt><b>{@link #renderer}</b></tt> will be called; if a <tt><b>{@link #renderer}</b></tt> is also not specified
   * the new value of the group field will be used.</p>
   * <p>The called function (either the <tt><b>groupRenderer</b></tt> or <tt><b>{@link #renderer}</b></tt>) will be
   * passed the following parameters:
   * <div class="mdetail-params"><ul>
   * <li><b>v</b> : Object<p class="sub-desc">The new value of the group field.</p></li>
   * <li><b>unused</b> : undefined<p class="sub-desc">Unused parameter.</p></li>
   * <li><b>r</b> : Ext.data.Record<p class="sub-desc">The Record providing the data
   * for the row which caused group change.</p></li>
   * <li><b>rowIndex</b> : Number<p class="sub-desc">The row index of the Record which caused group change.</p></li>
   * <li><b>colIndex</b> : Number<p class="sub-desc">The column index of the group field.</p></li>
   * <li><b>ds</b> : Ext.data.Store<p class="sub-desc">The Store which is providing the data Model.</p></li>
   * </ul></div></p>
   * <p>The function should return a string value.</p>
   */

/**
   * @cfg {Function} groupRenderer This property must be configured in the {@link Ext.grid.Column} for
   * each column.
   */

/**
   * @cfg {Function} handler
   * A function that will handle the click event of this menu item (optional).
   * The handler is passed the following parameters:<div class="mdetail-params"><ul>
   * <li><code>b</code> : Item<div class="sub-desc">This menu Item.</div></li>
   * <li><code>e</code> : EventObject<div class="sub-desc">The click event.</div></li>
   * </ul></div>
   */

/**
   * @cfg {Function} handler
   * Optional. A function that will handle the select event of this menu.
   * The handler is passed the following parameters:<div class="mdetail-params"><ul>
   * <li><code>palette</code> : ColorPalette<div class="sub-desc">The {@link #palette Ext.ColorPalette}.</div></li>
   * <li><code>color</code> : String<div class="sub-desc">The 6-digit color hex code (without the # symbol).</div></li>
   * </ul></div>
   */

/**
   * @cfg {Function} handler
   * Optional. A function that will handle the select event of this menu.
   * The handler is passed the following parameters:<div class="mdetail-params"><ul>
   * <li><code>picker</code> : DatePicker<div class="sub-desc">The Ext.DatePicker.</div></li>
   * <li><code>date</code> : Date<div class="sub-desc">The selected date.</div></li>
   * </ul></div>
   */

/**
   * @cfg {Function} handler
   * Optional. A function that will handle the select event of this palette.
   * The handler is passed the following parameters:<div class="mdetail-params"><ul>
   * <li><code>palette</code> : ColorPalette<div class="sub-desc">The {@link #palette Ext.ColorPalette}.</div></li>
   * <li><code>color</code> : String<div class="sub-desc">The 6-digit color hex code (without the # symbol).</div></li>
   * </ul></div>
   */

/**
   * @cfg {Function} handler
   * Optional. A function that will handle the select event of this picker.
   * The handler is passed the following parameters:<div class="mdetail-params"><ul>
   * <li><code>picker</code> : DatePicker<div class="sub-desc">This DatePicker.</div></li>
   * <li><code>date</code> : Date<div class="sub-desc">The selected date.</div></li>
   * </ul></div>
   */

/**
   * @cfg {Function} handler
   */

/**
   * @cfg {Function} handler A function called when the {@link #checked} value changes (can be used instead of 
   * handling the check event). The handler is passed the following parameters:
   * <div class="mdetail-params"><ul>
   * <li><b>checkbox</b> : Ext.form.Checkbox<div class="sub-desc">The Checkbox being toggled.</div></li>
   * <li><b>checked</b> : Boolean<div class="sub-desc">The new checked state of the checkbox.</div></li>
   * </ul></div>
   */

/**
   * @cfg {Function} handler The function that will be invoked by each component tied to this action
   * when the component's primary event is triggered (defaults to undefined).
   */

/**
   * @cfg {Function} onBrowseButtonClick
   */

/**
   * @cfg {Function} onRead Abstract method that should be implemented in all subclasses.  <b>Note:</b> Should only be used by custom-proxy developers.  Callback for read {@link Ext.data.Api#actions action}.
   * @param {String} action Action name as per {@link Ext.data.Api.actions#read}.
   * @param {Object} o The request transaction object
   * @param {Object} res The server response
   * @fires loadexception (deprecated)
   * @fires exception
   * @fires load
   * @protected
   */

/**
   * @cfg {Function} onWrite Abstract method that should be implemented in all subclasses.  <b>Note:</b> Should only be used by custom-proxy developers.  Callback for <i>create, update and destroy</i> {@link Ext.data.Api#actions actions}.
   * @param {String} action [Ext.data.Api.actions.create|read|update|destroy]
   * @param {Object} trans The request transaction object
   * @param {Object} res The server response
   * @fires exception
   * @fires write
   * @protected
   */

/**
   * @cfg {Function} saveAndCloseActionUpdater
   * overwritable action updater
   */

/**
   * @cfg {Function} sortType
   * (Optional) A function which converts a Field's value to a comparable value in order to ensure
   * correct sort ordering. Predefined functions are provided in {@link Ext.data.SortTypes}. A custom
   * sort example:<pre><code>
  // current sort     after sort we want
  // +-+------+          +-+------+
  // |1|First |          |1|First |
  // |2|Last  |          |3|Second|
  // |3|Second|          |2|Last  |
  // +-+------+          +-+------+
  sortType: function(value) {
  switch (value.toLowerCase()) // native toLowerCase():
  {
    case 'first': return 1;
    case 'second': return 2;
    default: return 3;
  }
  }
   * </code></pre>
   */

/**
   * @cfg {Function} sortType A custom "casting" function used to convert node values before sorting.  The function
   * will be called with a single parameter (the {@link Ext.tree.TreeNode} being evaluated) and is expected to return
   * the node's sort value cast to the specific data type required for sorting.  This could be used, for example, when
   * a node's text (or other attribute) should be sorted as a date or numeric value.  See the class description for
   * example usage.  Note that if a sortType is specified, any {@link #property} config will be ignored.
   */

/**
   * @cfg {Function} success The function to call when a valid success return packet is recieved.
   * The function is passed the following parameters:<ul class="mdetail-params">
   * <li><b>form</b> : Ext.form.BasicForm<div class="sub-desc">The form that requested the action</div></li>
   * <li><b>action</b> : Ext.form.Action<div class="sub-desc">The Action class. The {@link #result}
   * property of this object may be examined to perform custom postprocessing.</div></li>
   * </ul>
   */

/**
   * @cfg {Function} summaryRenderer Renderer example:<pre><code>
  summaryRenderer: function(v, params, data){
  return ((v === 0 || v > 1) ? '(' + v +' Tasks)' : '(1 Task)');
  },
   * </code></pre>
   */

/**
   * @cfg {Function} toggleHandler
   * Function called when a Button with {@link #enableToggle} set to true is clicked. Two arguments are passed:<ul class="mdetail-params">
   * <li><b>button</b> : Ext.Button<div class="sub-desc">this Button object</div></li>
   * <li><b>state</b> : Boolean<div class="sub-desc">The next state of the Button, true means pressed.</div></li>
   * </ul>
   */

/**
   * @cfg {Function} updateRecord Abstract method that should be implemented in all subclasses
   * (e.g.: {@link Ext.data.JsonWriter#updateRecord JsonWriter.updateRecord}
   */

/**
   * @cfg {Function} validator
   * <p>A custom validation function to be called during field validation ({@link #validateValue})
   * (defaults to <tt>null</tt>). If specified, this function will be called first, allowing the
   * developer to override the default validation process.</p>
   * <br><p>This function will be passed the following Parameters:</p>
   * <div class="mdetail-params"><ul>
   * <li><code>value</code>: <i>Mixed</i>
   * <div class="sub-desc">The current field value</div></li>
   * </ul></div>
   * <br><p>This function is to Return:</p>
   * <div class="mdetail-params"><ul>
   * <li><code>true</code>: <i>Boolean</i>
   * <div class="sub-desc"><code>true</code> if the value is valid</div></li>
   * <li><code>msg</code>: <i>String</i>
   * <div class="sub-desc">An error message if the value is invalid</div></li>
   * </ul></div>
   */

/**
   * @cfg {Integer} maximum number of recents
   */

/**
   * @cfg {Int} height of new window
   */

/**
   * @cfg {Int} maxFileUploadSize the maximum file size for traditinal form updoads
   */

/**
   * @cfg {Int} maxPostSize the maximum post size used for html5 uploads
   */

/**
   * @cfg {Int} minChunkSize the minimal chunk size used for html5 uploads
   */

/**
   * @cfg {Int} width of new window
   */

/**
   * @cfg {Mixed} applyTo
   * <p>Specify the id of the element, a DOM element or an existing Element corresponding to a DIV
   * that is already present in the document that specifies some structural markup for this
   * component.</p><div><ul>
   * <li><b>Description</b> : <ul>
   * <div class="sub-desc">When <tt>applyTo</tt> is used, constituent parts of the component can also be specified
   * by id or CSS class name within the main element, and the component being created may attempt
   * to create its subcomponents from that markup if applicable.</div>
   * </ul></li>
   * <li><b>Notes</b> : <ul>
   * <div class="sub-desc">When using this config, a call to render() is not required.</div>
   * <div class="sub-desc">If applyTo is specified, any value passed for {@link #renderTo} will be ignored and the target
   * element's parent node will automatically be used as the component's container.</div>
   * </ul></li>
   * </ul></div>
   */

/**
   * @cfg {Mixed} applyTo
   * <p>The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in
   * the document that specifies some panel-specific structural markup.  When <code>applyTo</code> is used,
   * constituent parts of the panel can be specified by CSS class name within the main element, and the panel
   * will automatically create those components from that markup. Any required components not specified in the
   * markup will be autogenerated if necessary.</p>
   * <p>The following class names are supported (baseCls will be replaced by {@link #baseCls}):</p>
   * <ul><li>baseCls + '-header'</li>
   * <li>baseCls + '-header-text'</li>
   * <li>baseCls + '-bwrap'</li>
   * <li>baseCls + '-tbar'</li>
   * <li>baseCls + '-body'</li>
   * <li>baseCls + '-bbar'</li>
   * <li>baseCls + '-footer'</li></ul>
   * <p>Using this config, a call to render() is not required.  If applyTo is specified, any value passed for
   * {@link #renderTo} will be ignored and the target element's parent node will automatically be used as the
   * panel's container.</p>
   */

/**
   * @cfg {Mixed} applyTo
   * @hide
   */

/**
   * @cfg {Mixed} applyTo @hide
   */

/**
   * @cfg {Mixed} autoEl
   * <p>A tag name or {@link Ext.DomHelper DomHelper} spec used to create the {@link #getEl Element} which will
   * encapsulate this Component.</p>
   * <p>You do not normally need to specify this. For the base classes {@link Ext.Component}, {@link Ext.BoxComponent},
   * and {@link Ext.Container}, this defaults to <b><tt>'div'</tt></b>. The more complex Ext classes use a more complex
   * DOM structure created by their own onRender methods.</p>
   * <p>This is intended to allow the developer to create application-specific utility Components encapsulated by
   * different DOM elements. Example usage:</p><pre><code>
  {
  xtype: 'box',
  autoEl: {
      tag: 'img',
      src: 'http://www.example.com/example.jpg'
  }
  }, {
  xtype: 'box',
  autoEl: {
      tag: 'blockquote',
      html: 'autoEl is cool!'
  }
  }, {
  xtype: 'container',
  autoEl: 'ul',
  cls: 'ux-unordered-list',
  items: {
      xtype: 'box',
      autoEl: 'li',
      html: 'First list item'
  }
  }
  </code></pre>
   */

/**
   * @cfg {Mixed} checkboxToggle <tt>true</tt> to render a checkbox into the fieldset frame just
   * in front of the legend to expand/collapse the fieldset when the checkbox is toggled. (defaults
   * to <tt>false</tt>).
   * <p>A {@link Ext.DomHelper DomHelper} element spec may also be specified to create the checkbox.
   * If <tt>true</tt> is specified, the default DomHelper config object used to create the element
   * is:</p><pre><code>
   * {tag: 'input', type: 'checkbox', name: this.checkboxName || this.id+'-checkbox'}
   * </code></pre>   
   */

/**
   * @cfg {Mixed} constrainTo Constrain the resize to a particular element
   */

/**
   * @cfg {Mixed} data
   * The initial set of data to apply to the <code>{@link #tpl}</code> to
   * update the content area of the Component.
   */

/**
   * @cfg {Mixed} data  @hide
   */

/**
   * @cfg {Mixed} defaultValue
   * (Optional) The default value used <b>when a Record is being created by a {@link Ext.data.Reader Reader}</b>
   * when the item referenced by the <tt>{@link Ext.data.Field#mapping mapping}</tt> does not exist in the data
   * object (i.e. undefined). (defaults to "")
   */

/**
   * @cfg {Mixed} floating
   * <p>This property is used to configure the underlying {@link Ext.Layer}. Acceptable values for this
   * configuration property are:</p><div class="mdetail-params"><ul>
   * <li><b><code>false</code></b> : <b>Default.</b><div class="sub-desc">Display the panel inline where it is
   * rendered.</div></li>
   * <li><b><code>true</code></b> : <div class="sub-desc">Float the panel (absolute position it with automatic
   * shimming and shadow).<ul>
   * <div class="sub-desc">Setting floating to true will create an Ext.Layer for this panel and display the
   * panel at negative offsets so that it is hidden.</div>
   * <div class="sub-desc">Since the panel will be absolute positioned, the position must be set explicitly
   * <i>after</i> render (e.g., <code>myPanel.setPosition(100,100);</code>).</div>
   * <div class="sub-desc"><b>Note</b>: when floating a panel you should always assign a fixed width,
   * otherwise it will be auto width and will expand to fill to the right edge of the viewport.</div>
   * </ul></div></li>
   * <li><b><code>{@link Ext.Layer object}</code></b> : <div class="sub-desc">The specified object will be used
   * as the configuration object for the {@link Ext.Layer} that will be created.</div></li>
   * </ul></div>
   */

/**
   * @cfg {Mixed} items
   * @hide
   */

/**
   * @cfg {Mixed} items
   * An array of items to be added to this menu. Menus may contain either {@link Ext.menu.Item menu items},
   * or general {@link Ext.Component Component}s.
   */

/**
   * @cfg {Mixed} menu
   * Standard menu attribute consisting of a reference to a menu object, a menu id or a menu config blob (defaults to undefined).
   */

/**
   * @cfg {Mixed} menu (optional) Either an instance of {@link Ext.menu.Menu} or the config object for an
   * {@link Ext.menu.Menu} which acts as the submenu when this item is activated.
   */

/**
   * @cfg {Mixed} params <p>Extra parameter values to pass. These are added to the Form's
   * {@link Ext.form.BasicForm#baseParams} and passed to the specified URL along with the Form's
   * input fields.</p>
   * <p>Parameters are encoded as standard HTTP parameters using {@link Ext#urlEncode}.</p>
   */

/**
   * @cfg {Mixed} renderTo
   * <p>Specify the id of the element, a DOM element or an existing Element that this component
   * will be rendered into.</p><div><ul>
   * <li><b>Notes</b> : <ul>
   * <div class="sub-desc">Do <u>not</u> use this option if the Component is to be a child item of
   * a {@link Ext.Container Container}. It is the responsibility of the
   * {@link Ext.Container Container}'s {@link Ext.Container#layout layout manager}
   * to render and manage its child items.</div>
   * <div class="sub-desc">When using this config, a call to render() is not required.</div>
   * </ul></li>
   * </ul></div>
   * <p>See <tt>{@link #render}</tt> also.</p>
   */

/**
   * @cfg {Mixed} renderTo @hide
   */

/**
   * @cfg {Mixed} renderer
   * <p>For an alternative to specifying a renderer see <code>{@link #xtype}</code></p>
   * <p>Optional. A renderer is an 'interceptor' method which can be used transform data (value,
   * appearance, etc.) before it is rendered). This may be specified in either of three ways:
   * <div class="mdetail-params"><ul>
   * <li>A renderer function used to return HTML markup for a cell given the cell's data value.</li>
   * <li>A string which references a property name of the {@link Ext.util.Format} class which
   * provides a renderer function.</li>
   * <li>An object specifying both the renderer function, and its execution scope (<tt><b>this</b></tt>
   * reference) e.g.:<pre style="margin-left:1.2em"><code>
  {
  fn: this.gridRenderer,
  scope: this
  }
  </code></pre></li></ul></div>
   * If not specified, the default renderer uses the raw data value.</p>
   * <p>For information about the renderer function (passed parameters, etc.), see
   * {@link Ext.grid.ColumnModel#setRenderer}. An example of specifying renderer function inline:</p><pre><code>
  var companyColumn = {
  header: 'Company Name',
  dataIndex: 'company',
  renderer: function(value, metaData, record, rowIndex, colIndex, store) {
    // provide the logic depending on business rules
    // name of your own choosing to manipulate the cell depending upon
    // the data in the underlying Record object.
    if (value == 'whatever') {
        //metaData.css : String : A CSS class name to add to the TD element of the cell.
        //metaData.attr : String : An html attribute definition string to apply to
        //                         the data container element within the table
        //                         cell (e.g. 'style="color:red;"').
        metaData.css = 'name-of-css-class-you-will-define';
    }
    return value;
  }
  }
   * </code></pre>
   * See also {@link #scope}.
   */

/**
   * @cfg {Mixed} target The target HTMLElement, Ext.Element or id to associate with this quicktip (defaults to the document).
   */

/**
   * @cfg {Mixed} target The target HTMLElement, Ext.Element or id to monitor
   * for mouseover events to trigger showing this ToolTip.
   */

/**
   * @cfg {Mixed} tpl
   * An <bold>{@link Ext.Template}</bold>, <bold>{@link Ext.XTemplate}</bold>
   * or an array of strings to form an Ext.XTemplate.
   * Used in conjunction with the <code>{@link #data}</code> and
   * <code>{@link #tplWriteMode}</code> configurations.
   */

/**
   * @cfg {Mixed} tpl  @hide
   */

/**
   * @cfg {Mixed} transform The id, DOM node or element of an existing HTML SELECT to convert to a ComboBox.
   * Note that if you specify this and the combo is going to be in an {@link Ext.form.BasicForm} or
   * {@link Ext.form.FormPanel}, you must also set <tt>{@link #lazyRender} = true</tt>.
   */

/**
   * @cfg {Mixed} triggerConfig
   * <p>A {@link Ext.DomHelper DomHelper} config object specifying the structure of the
   * trigger element for this Field. (Optional).</p>
   * <p>Specify this when you need a customized element to act as the trigger button for a TriggerField.</p>
   * <p>Note that when using this option, it is the developer's responsibility to ensure correct sizing, positioning
   * and appearance of the trigger.  Defaults to:</p>
   * <pre><code>{tag: "img", src: Ext.BLANK_IMAGE_URL, cls: "x-form-trigger " + this.triggerClass}</code></pre>
   */

/**
   * @cfg {Mixed} triggerConfig
   * <p>A {@link Ext.DomHelper DomHelper} config object specifying the structure of the trigger elements
   * for this Field. (Optional).</p>
   * <p>Specify this when you need a customized element to contain the two trigger elements for this Field.
   * Each trigger element must be marked by the CSS class <tt>x-form-trigger</tt> (also see
   * <tt>{@link #trigger1Class}</tt> and <tt>{@link #trigger2Class}</tt>).</p>
   * <p>Note that when using this option, it is the developer's responsibility to ensure correct sizing,
   * positioning and appearance of the triggers.</p>
   */

/**
   * @cfg {Mixed} value
   * The data value of the underlying field (defaults to "")
   */

/**
   * @cfg {Mixed} value A value to initialize this field with (defaults to undefined).
   */

/**
   * @cfg {Number/Boolean} decimalPrecision.
   * <p>The number of decimal places to which to round the Slider's value. Defaults to 0.</p>
   * <p>To disable rounding, configure as <tt><b>false</b></tt>.</p>
   */

/**
   * @cfg {Number/Boolean} enableBuffer
   * <p><tt>true</tt> or <tt>false</tt> to enable or disable combining of method
   * calls. If a number is specified this is the amount of time in milliseconds
   * to wait before sending a batched request (defaults to <tt>10</tt>).</p>
   * <br><p>Calls which are received within the specified timeframe will be
   * concatenated together and sent in a single request, optimizing the
   * application by reducing the amount of round trips that have to be made
   * to the server.</p>
   */

/**
   * @cfg {Number/String} padding
   * A shortcut for setting a padding style on the body element. The value can either be
   * a number to be applied to all sides, or a normal css string describing padding.
   * Defaults to <tt>undefined</tt>.
   *
   */

/**
   * @cfg {Number}
   */

/**
   * @cfg {Number} anchorOffset A numeric pixel value used to offset the
   * default position of the anchor arrow (defaults to 0).  When the anchor
   * position is on the top or bottom of the tooltip, <code>anchorOffset</code>
   * will be used as a horizontal offset.  Likewise, when the anchor position
   * is on the left or right side, <code>anchorOffset</code> will be used as
   * a vertical offset.
   */

/**
   * @cfg {Number} autoExpandMax The maximum width the <tt>{@link #autoExpandColumn}</tt>
   * can have (if enabled). Defaults to <tt>1000</tt>.
   */

/**
   * @cfg {Number} autoExpandMin The minimum width the <tt>{@link #autoExpandColumn}</tt>
   * can have (if enabled). Defaults to <tt>50</tt>.
   */

/**
   * @cfg {Number} autoRefreshInterval (seconds)
   */

/**
   * @cfg {Number} boxMaxHeight
   * <p>The maximum value in pixels which this BoxComponent will set its height to.</p>
   * <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
   */

/**
   * @cfg {Number} boxMaxWidth
   * <p>The maximum value in pixels which this BoxComponent will set its width to.</p>
   * <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
   */

/**
   * @cfg {Number} boxMinHeight
   * <p>The minimum value in pixels which this BoxComponent will set its height to.</p>
   * <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
   */

/**
   * @cfg {Number} boxMinWidth
   * <p>The minimum value in pixels which this BoxComponent will set its width to.</p>
   * <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
   */

/**
   * @cfg {Number} cellSelectorDepth The number of levels to search for cells in event delegation (defaults to <tt>4</tt>)
   */

/**
   * @cfg {Number} clickHideDelay Length of time in milliseconds to wait before hiding after a click (defaults to 100)
   */

/**
   * @cfg {Number} clicksToEdit
   * <p>The number of clicks on a cell required to display the cell's editor (defaults to 'auto').</p>
   * <p>Setting this option to 'auto' means that mousedown <i>on the selected cell</i> starts
   * editing that cell.</p>
   */

/**
   * @cfg {Number} columns
   * The total number of columns to create in the table for this layout.  If not specified, all Components added to
   * this layout will be rendered into a single row using one column per Component.
   */

/**
   * @cfg {Number} columns The <tt>columns</tt> configuration property passed to the
   * {@link #layout configured layout manager}. See {@link Ext.layout.TableLayout#columns}.
   */

/**
   * @cfg {Number} decimalPrecision The maximum precision to display after the decimal separator (defaults to 2)
   */

/**
   * @cfg {Number} defaultHeight
   * default Heights
   */

/**
   * @cfg {Number} defaultWidth (optional) The width of columns which have no <tt>{@link #width}</tt>
   * specified (defaults to <tt>100</tt>).  This property shall preferably be configured through the
   * <tt><b>{@link #defaults}</b></tt> config property.
   */

/**
   * @cfg {Number} dismissDelay Delay in milliseconds before the tooltip
   * automatically hides (defaults to 5000). To disable automatic hiding, set
   * dismissDelay = 0.
   */

/**
   * @cfg {Number} duration Animation duration if animate = true (defaults to 0.35)
   */

/**
   * @cfg {Number} editDelay The number of milliseconds between clicks to register a double-click that will trigger
   * editing on the current node (defaults to 350).  If two clicks occur on the same node within this time span,
   * the editor for the node will display, otherwise it will be processed as a regular click.
   */

/**
   * @cfg {Number} flex
   * <p><b>Note</b>: this config is only used when this Component is rendered
   * by a Container which has been configured to use a <b>{@link Ext.layout.BoxLayout BoxLayout}.</b>
   * Each child Component with a <code>flex</code> property will be flexed either vertically (by a VBoxLayout)
   * or horizontally (by an HBoxLayout) according to the item's <b>relative</b> <code>flex</code> value
   * compared to the sum of all Components with <code>flex</flex> value specified. Any child items that have
   * either a <code>flex = 0</code> or <code>flex = undefined</code> will not be 'flexed' (the initial size will not be changed).
   */

/**
   * @cfg {Number} flex
   * This configuation option is to be applied to <b>child <tt>items</tt></b> of the container managed
   * by this layout. Each child item with a <tt>flex</tt> property will be flexed <b>horizontally</b>
   * according to each item's <b>relative</b> <tt>flex</tt> value compared to the sum of all items with
   * a <tt>flex</tt> value specified.  Any child items that have either a <tt>flex = 0</tt> or
   * <tt>flex = undefined</tt> will not be 'flexed' (the initial size will not be changed).
   */

/**
   * @cfg {Number} flex
   * This configuation option is to be applied to <b>child <tt>items</tt></b> of the container managed
   * by this layout. Each child item with a <tt>flex</tt> property will be flexed <b>vertically</b>
   * according to each item's <b>relative</b> <tt>flex</tt> value compared to the sum of all items with
   * a <tt>flex</tt> value specified.  Any child items that have either a <tt>flex = 0</tt> or
   * <tt>flex = undefined</tt> will not be 'flexed' (the initial size will not be changed).
   */

/**
   * @cfg {Number} growMax @hide
   */

/**
   * @cfg {Number} growMax The maximum height to allow when <tt>{@link Ext.form.TextField#grow grow}=true</tt>
   * (defaults to <tt>1000</tt>)
   */

/**
   * @cfg {Number} growMax The maximum width to allow when <code><b>{@link #grow}</b> = true</code> (defaults
   * to <tt>800</tt>)
   */

/**
   * @cfg {Number} growMin @hide
   */

/**
   * @cfg {Number} growMin The minimum height to allow when <tt>{@link Ext.form.TextField#grow grow}=true</tt>
   * (defaults to <tt>60</tt>)
   */

/**
   * @cfg {Number} growMin The minimum width to allow when <code><b>{@link #grow}</b> = true</code> (defaults
   * to <tt>30</tt>)
   */

/**
   * @cfg {Number} handleHeight The height in pixels of the dropdown list resize handle if
   * <tt>{@link #resizable} = true</tt> (defaults to <tt>8</tt>)
   */

/**
   * @cfg {Number} height
   * The height of this component in pixels (defaults to auto).
   * <b>Note</b> to express this dimension as a percentage or offset see {@link Ext.Component#anchor}.
   */

/**
   * @cfg {Number} height
   */

/**
   * @cfg {Number} height @hide
   */

/**
   * @cfg {Number} height The height of the element in pixels (defaults to null)
   */

/**
   * @cfg {Number} heightIncrement The increment to snap the height resize in pixels
   * (only applies if <code>{@link #dynamic}==true</code>). Defaults to <tt>0</tt>.
   */

/**
   * @cfg {Number} hideDelay Delay in milliseconds after the mouse exits the
   * target element but before the tooltip actually hides (defaults to 200).
   * Set to 0 for the tooltip to hide immediately.
   */

/**
   * @cfg {Number} how many chars of the containername to display
   */

/**
   * @cfg {Number} id (optional) The subscript within row Array that provides an ID for the Record.
   * Deprecated. Use {@link #idIndex} instead.
   */

/**
   * @cfg {Number} idIndex (optional) The subscript within row Array that provides an ID for the Record.
   */

/**
   * @cfg {Number} increment
   * The number of minutes between each time value in the list (defaults to 15).
   */

/**
   * @cfg {Number} increment How many units to change the slider when adjusting by drag and drop. Use this option to enable 'snapping'.
   */

/**
   * @cfg {Number} interval
   * How often to poll the server-side in milliseconds (defaults to <tt>3000</tt> - every
   * 3 seconds).
   */

/**
   * @cfg {Number} keyIncrement How many units to change the Slider when adjusting with keyboard navigation. Defaults to 1. If the increment config is larger, it will be used instead.
   */

/**
   * @cfg {Number} labelPad
   * The default padding in pixels for field labels (defaults to <tt>5</tt>). <tt>labelPad</tt> only
   * applies if <tt>{@link #labelWidth}</tt> is also specified, otherwise it will be ignored.
   */

/**
   * @cfg {Number} labelWidth The width of labels in pixels. This property cascades to child containers
   * and can be overridden on any child container (e.g., a fieldset can specify a different <tt>labelWidth</tt>
   * for its fields) (defaults to <tt>100</tt>).
   */

/**
   * @cfg {Number} labelWidth The width of labels. This property cascades to child containers.
   */

/**
   * @cfg {Number} layerHeight The width (used as a parameter to {@link Ext.Element#setHeight}) of the dropdown
   * layer (defaults to the width of the ComboBox field).  See also <tt>{@link #minLayerHeight}</tt>
   */

/**
   * @cfg {Number} layerWidth The width (used as a parameter to {@link Ext.Element#setWidth}) of the dropdown
   * layer (defaults to the width of the ComboBox field).  See also <tt>{@link #minLayerWidth}</tt>
   */

/**
   * @cfg {Number} list width
   */

/**
   * @cfg {Number} listWidth The width (used as a parameter to {@link Ext.Element#setWidth}) of the dropdown
   * list (defaults to the width of the ComboBox field).  See also <tt>{@link #minListWidth}
   */

/**
   * @cfg {Number} maxHeight
   * @hide 
   */

/**
   * @cfg {Number} maxHeight Sets the maximum height of the grid - ignored if <tt>autoHeight</tt> is not on.
   */

/**
   * @cfg {Number} maxHeight The maximum height for the element (defaults to 10000)
   */

/**
   * @cfg {Number} maxHeight The maximum height in pixels of the dropdown list before scrollbars are shown
   * (defaults to <tt>300</tt>)
   */

/**
   * @cfg {Number} maxHeight The maximum height of the menu. Only applies when enableScrolling is set to True (defaults to null).
   */

/**
   * @cfg {Number} maxLength Maximum input field length allowed by validation (defaults to Number.MAX_VALUE).
   * This behavior is intended to provide instant feedback to the user by improving usability to allow pasting
   * and editing or overtyping and back tracking. To restrict the maximum number of characters that can be
   * entered into the field use <tt><b>{@link Ext.form.Field#autoCreate autoCreate}</b></tt> to add
   * any attributes you want to a field, for example:<pre><code>
  var myField = new Ext.form.NumberField({
  id: 'mobile',
  anchor:'90%',
  fieldLabel: 'Mobile',
  maxLength: 16, // for validation
  autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '10'}
  });
  </code></pre>
   */

/**
   * @cfg {Number} maxRetries
   * Number of times to re-attempt delivery on failure of a call. Defaults to <tt>1</tt>.
   */

/**
   * @cfg {Number} maxValue The maximum allowed value (defaults to Number.MAX_VALUE)
   */

/**
   * @cfg {Number} maxValue The maximum value for the Slider. Defaults to 100.
   */

/**
   * @cfg {Number} maxWidth
   * The maximum width in pixels of the editor field (defaults to 250).  Note that if the maxWidth would exceed
   * the containing tree element's size, it will be automatically limited for you to the container width, taking
   * scroll and client offsets into account prior to each edit.
   */

/**
   * @cfg {Number} maxWidth The maximum width for the element (defaults to 10000)
   */

/**
   * @cfg {Number} maxWidth The maximum width of the tip in pixels (defaults to 300).  The maximum supported value is 500.
   */

/**
   * @cfg {Number} minButtonWidth
   * Minimum width in pixels of all {@link #buttons} in this panel (defaults to <code>75</code>)
   */

/**
   * @cfg {Number} minButtonWidth Minimum width of all buttons in pixels (defaults to <tt>75</tt>).
   */

/**
   * @cfg {Number} minChars The minimum number of characters the user must type before autocomplete and
   * {@link #typeAhead} activate (defaults to <tt>4</tt> if <tt>{@link #mode} = 'remote'</tt> or <tt>0</tt> if
   * <tt>{@link #mode} = 'local'</tt>, does not apply if
   * <tt>{@link Ext.form.TriggerField#editable editable} = false</tt>).
   */

/**
   * @cfg {Number} minColumnWidth The minimum width a column can be resized to. Defaults to <tt>25</tt>.
   */

/**
   * @cfg {Number} minHeight
   * The minimum allowable height in pixels for this region (defaults to <tt>50</tt>)
   * <tt>maxHeight</tt> may also be specified.</p><br>
   * <p><b>Note</b>: setting the <tt>{@link Ext.SplitBar#minSize minSize}</tt> /
   * <tt>{@link Ext.SplitBar#maxSize maxSize}</tt> supersedes any specified
   * <tt>minHeight</tt> / <tt>maxHeight</tt>.</p>
   */

/**
   * @cfg {Number} minHeight
   * The minimum height in pixels allowed for this window (defaults to 100).  Only applies when resizable = true.
   */

/**
   * @cfg {Number} minHeight The minimum height for the element (defaults to 5)
   */

/**
   * @cfg {Number} minHeight The minimum height in pixels of the dropdown list when the list is constrained by its
   * distance to the viewport edges (defaults to <tt>90</tt>)
   */

/**
   * @cfg {Number} minLayerHeight The minimum height of the dropdown layer in pixels (defaults to <tt>70</tt>, will
   * be ignored if <tt>{@link #layerHeight}</tt> has a higher value)
   */

/**
   * @cfg {Number} minLayerWidth The minimum width of the dropdown layer in pixels (defaults to <tt>70</tt>, will
   * be ignored if <tt>{@link #layerWidth}</tt> has a higher value)
   */

/**
   * @cfg {Number} minLength Minimum input field length required (defaults to <tt>0</tt>)
   */

/**
   * @cfg {Number} minListWidth The minimum width of the dropdown list in pixels (defaults to <tt>70</tt>, will
   * be ignored if <tt>{@link #listWidth}</tt> has a higher value)
   */

/**
   * @cfg {Number} minPct The minimum percentage to allot for any column (defaults to <tt>.05</tt>)
   */

/**
   * @cfg {Number} minTabWidth The minimum width in pixels for each tab when {@link #resizeTabs} = true (defaults to 30).
   */

/**
   * @cfg {Number} minValue The minimum allowed value (defaults to Number.NEGATIVE_INFINITY)
   */

/**
   * @cfg {Number} minValue The minimum value for the Slider. Defaults to 0.
   */

/**
   * @cfg {Number} minWidth
   * <p>The minimum allowable width in pixels for this region (defaults to <tt>50</tt>).
   * <tt>maxWidth</tt> may also be specified.</p><br>
   * <p><b>Note</b>: setting the <tt>{@link Ext.SplitBar#minSize minSize}</tt> /
   * <tt>{@link Ext.SplitBar#maxSize maxSize}</tt> supersedes any specified
   * <tt>minWidth</tt> / <tt>maxWidth</tt>.</p>
   */

/**
   * @cfg {Number} minWidth
   * The minimum width in pixels allowed for this window (defaults to 200).  Only applies when resizable = true.
   */

/**
   * @cfg {Number} minWidth The minimum width for the element (defaults to 5)
   */

/**
   * @cfg {Number} minWidth The minimum width of the menu in pixels (defaults to 120)
   */

/**
   * @cfg {Number} minWidth The minimum width of the tip in pixels (defaults to 40).
   */

/**
   * @cfg {Number} minWidth The minimum width the column can be dragged to.
   * Defaults to <tt>14</tt>.
   */

/**
   * @cfg {Number} minX The minimum x for the element (defaults to 0)
   */

/**
   * @cfg {Number} minY The minimum x for the element (defaults to 0)
   */

/**
   * @cfg {Number} monitorPoll The milliseconds to poll valid state, ignored if monitorValid is not true (defaults to 200)
   */

/**
   * @cfg {Number} northHeight
   */

/**
   * @cfg {Number} pageSize If greater than <tt>0</tt>, a {@link Ext.PagingToolbar} is displayed in the
   * footer of the dropdown list and the {@link #doQuery filter queries} will execute with page start and
   * {@link Ext.PagingToolbar#pageSize limit} parameters. Only applies when <tt>{@link #mode} = 'remote'</tt>
   * (defaults to <tt>0</tt>).
   */

/**
   * @cfg {Number} pageX
   * The page level x coordinate for this component if contained within a positioning container.
   */

/**
   * @cfg {Number} pageY
   * The page level y coordinate for this component if contained within a positioning container.
   */

/**
   * @cfg {Number} pos
   * position
   */

/**
   * @cfg {Number} pos
   * position 200 = 100 + 100*1 -> means first one after app specific tabs
   */

/**
   * @cfg {Number} pos
   * position 200 = 100 + 100*3 -> means third one after app specific tabs
   */

/**
   * @cfg {Number} pos
   * position 300 = 100 + 100*2 -> means second one after app specific tabs
   */

/**
   * @cfg {Number} pos
   * position 500 = 100 + 100*4 -> means fourth one after app specific tabs
   */

/**
   * @cfg {Number} prio (defaults to 7)
   */

/**
   * @cfg {Number} priority
   * Priority of the request (defaults to <tt>3</tt>). See {@link Ext.direct.Provider#priority}.
   */

/**
   * @cfg {Number} priority
   * Priority of the request. Lower is higher priority, <tt>0</tt> means "duplex" (always on).
   * All Providers default to <tt>1</tt> except for PollingProvider which defaults to <tt>3</tt>.
   */

/**
   * @cfg {Number} queryDelay The length of time in milliseconds to delay between the start of typing and
   * sending the query to filter the dropdown list (defaults to <tt>500</tt> if <tt>{@link #mode} = 'remote'</tt>
   * or <tt>10</tt> if <tt>{@link #mode} = 'local'</tt>)
   */

/**
   * @cfg {Number} rowBodySelectorDepth The number of levels to search for row bodies in event delegation (defaults to <tt>10</tt>)
   */

/**
   * @cfg {Number} rowSelectorDepth The number of levels to search for rows in event delegation (defaults to <tt>10</tt>)
   */

/**
   * @cfg {Number} scrollIncrement The amount to scroll the menu. Only applies when enableScrolling is set to True (defaults to 24).
   */

/**
   * @cfg {Number} scrollIncrement The number of pixels to scroll each time a tab scroll button is pressed
   * (defaults to <tt>100</tt>, or if <tt>{@link #resizeTabs} = true</tt>, the calculated tab width).  Only
   * applies when <tt>{@link #enableTabScroll} = true</tt>.
   */

/**
   * @cfg {Number} scrollOffset The amount of space to reserve for the scrollbar (defaults to
   * <tt>undefined</tt>). If an explicit value isn't specified, this will be automatically
   * calculated.
   */

/**
   * @cfg {Number} scrollOffset The amount of space to reserve for the vertical scrollbar
   * (defaults to <tt>undefined</tt>). If an explicit value isn't specified, this will be automatically
   * calculated.
   */

/**
   * @cfg {Number} scrollRepeatInterval Number of milliseconds between each scroll while a tab scroll button is
   * continuously pressed (defaults to <tt>400</tt>).
   */

/**
   * @cfg {Number} shadowOffset
   * @hide
   */

/**
   * @cfg {Number} shadowOffset
   * The number of pixels to offset the shadow if displayed (defaults to <code>4</code>). Note that this
   * option only applies when <code>{@link #floating} = true</code>.
   */

/**
   * @cfg {Number} showDelay Delay in milliseconds before the tooltip displays
   * after the mouse enters the target element (defaults to 500)
   */

/**
   * @cfg {Number} showDelay Length of time in milliseconds to wait before showing this item (defaults to 200)
   */

/**
   * @cfg {Number} startDay
   * Day index at which the week should begin, 0-based (defaults to 0, which is Sunday)
   */

/**
   * @cfg {Number} tabIndex Set a DOM tabIndex for this button (defaults to undefined)
   */

/**
   * @cfg {Number} tabIndex The tabIndex for this field. Note this only applies to fields that are rendered,
   * not those which are built via applyTo (defaults to undefined).
   */

/**
   * @cfg {Number} tabMargin The number of pixels of space to calculate into the sizing and scrolling of
   * tabs. If you change the margin in CSS, you will need to update this value so calculations are correct
   * with either <tt>{@link #resizeTabs}</tt> or scrolling tabs. (defaults to <tt>2</tt>)
   */

/**
   * @cfg {Number} tabWidth The initial width in pixels of each new tab (defaults to 120).
   */

/**
   * @cfg {Number} tickSize
   * The increment, in pixels by which to move this Region's {@link Ext.SplitBar SplitBar}.
   * By default, the {@link Ext.SplitBar SplitBar} moves smoothly.
   */

/**
   * @cfg {Number} timeout (Optional) @hide
   */

/**
   * @cfg {Number} timeout (optional) The number of milliseconds to wait for a response. Defaults to 30 seconds.
   */

/**
   * @cfg {Number} timeout The number of seconds to wait for a server response before
   * failing with the {@link #failureType} as {@link #Action.CONNECT_FAILURE}. If not specified,
   * defaults to the configured <tt>{@link Ext.form.BasicForm#timeout timeout}</tt> of the
   * {@link Ext.form.BasicForm form}.
   */

/**
   * @cfg {Number} timeout Timeout for form actions in seconds (default is 30 seconds).
   */

/**
   * @cfg {Number} tolerance
  * Defaults to <tt>5</tt>.
  */

/**
   * @cfg {Number} typeAheadDelay The length of time in milliseconds to wait until the typeahead text is displayed
   * if <tt>{@link #typeAhead} = true</tt> (defaults to <tt>250</tt>)
   */

/**
   * @cfg {Number} validationDelay The length of time in milliseconds after user input begins until validation
   * is initiated (defaults to 250)
   */

/**
   * @cfg {Number} value The value to initialize the slider with. Defaults to minValue.
   */

/**
   * @cfg {Number} westWidth
   */

/**
   * @cfg {Number} wheelIncrement For scrolling tabs, the number of pixels to increment on mouse wheel
   * scrolling (defaults to <tt>20</tt>).
   */

/**
   * @cfg {Number} width
   * Optional. The initial width in pixels of the column.
   * The width of each column can also be affected if any of the following are configured:
   * <div class="mdetail-params"><ul>
   * <li>{@link Ext.grid.GridPanel}.<tt>{@link Ext.grid.GridPanel#autoExpandColumn autoExpandColumn}</tt></li>
   * <li>{@link Ext.grid.GridView}.<tt>{@link Ext.grid.GridView#forceFit forceFit}</tt>
   * <div class="sub-desc">
   * <p>By specifying <tt>forceFit:true</tt>, {@link #fixed non-fixed width} columns will be
   * re-proportioned (based on the relative initial widths) to fill the width of the grid so
   * that no horizontal scrollbar is shown.</p>
   * </div></li>
   * <li>{@link Ext.grid.GridView}.<tt>{@link Ext.grid.GridView#autoFill autoFill}</tt></li>
   * <li>{@link Ext.grid.GridPanel}.<tt>{@link Ext.grid.GridPanel#minColumnWidth minColumnWidth}</tt></li>
   * <br><p><b>Note</b>: when the width of each column is determined, a space on the right side
   * is reserved for the vertical scrollbar.  The
   * {@link Ext.grid.GridView}.<tt>{@link Ext.grid.GridView#scrollOffset scrollOffset}</tt>
   * can be modified to reduce or eliminate the reserved offset.</p>
   */

/**
   * @cfg {Number} width
   * The width of this component in pixels (defaults to auto).
   * <b>Note</b> to express this dimension as a percentage or offset see {@link Ext.Component#anchor}.
   */

/**
   * @cfg {Number} width
   * Width in pixels of the tip (defaults to auto).  Width will be ignored if it exceeds the bounds of
   * {@link #minWidth} or {@link #maxWidth}.  The maximum supported value is 500.
   */

/**
   * @cfg {Number} width
   */

/**
   * @cfg {Number} width @hide
   */

/**
   * @cfg {Number} width Optional. Percentage of the container width
   * this column should be allocated.  Columns that have no width specified will be
   * allocated with an equal percentage to fill 100% of the container width.  To easily take
   * advantage of the full container width, leave the width of at least one column undefined.
   * Note that if you do not want to take up the full width of the container, the width of
   * every column needs to be explicitly defined.
   */

/**
   * @cfg {Number} width The default width in pixels of the checkbox column (defaults to <tt>20</tt>).
   */

/**
   * @cfg {Number} width The default width in pixels of the row number column (defaults to 23).
   */

/**
   * @cfg {Number} width The width of the element in pixels (defaults to null)
   */

/**
   * @cfg {Number} widthIncrement The increment to snap the width resize in pixels
   * (only applies if <code>{@link #dynamic}==true</code>). Defaults to <tt>0</tt>.
   */

/**
   * @cfg {Number} windowHeight
   * height of dialog window
   */

/**
   * @cfg {Number} windowWidth
   * width of dialog window
   */

/**
   * @cfg {Number} x
   * The X position of the left edge of the window on initial showing. Defaults to centering the Window within
   * the width of the Window's container {@link Ext.Element Element) (The Element that the Window is rendered to).
   */

/**
   * @cfg {Number} x
   * The local x (left) coordinate for this component if contained within a positioning container.
   */

/**
   * @cfg {Number} y
   * The Y position of the top edge of the window on initial showing. Defaults to centering the Window within
   * the height of the Window's container {@link Ext.Element Element) (The Element that the Window is rendered to).
   */

/**
   * @cfg {Number} y
   * The local y (top) coordinate for this component if contained within a positioning container.
   */

/**
   * @cfg {Number} zIndex
   * zIndex to use when the menu is floating.
   */

/**
   * @cfg {Object/Array} bbar
   * <p>The bottom toolbar of the panel. This can be a {@link Ext.Toolbar} object, a toolbar config, or an array of
   * buttons/button configs to be added to the toolbar.  Note that this is not available as a property after render.
   * To access the bottom toolbar after render, use {@link #getBottomToolbar}.</p>
   * <p><b>Note:</b> Although a Toolbar may contain Field components, these will <b>not</b> be updated by a load
   * of an ancestor FormPanel. A Panel's toolbars are not part of the standard Container->Component hierarchy, and
   * so are not scanned to collect form items. However, the values <b>will</b> be submitted because form
   * submission parameters are collected from the DOM tree.</p>
   */

/**
   * @cfg {Object/Array} items
   * <pre><b>** IMPORTANT</b>: be sure to <b>{@link #layout specify a <code>layout</code>} if needed ! **</b></pre>
   * <p>A single item, or an array of child Components to be added to this container,
   * for example:</p>
   * <pre><code>
  // specifying a single item
  items: {...},
  layout: 'fit',    // specify a layout!
  // specifying multiple items
  items: [{...}, {...}],
  layout: 'anchor', // specify a layout!
   * </code></pre>
   * <p>Each item may be:</p>
   * <div><ul class="mdetail-params">
   * <li>any type of object based on {@link Ext.Component}</li>
   * <li>a fully instanciated object or</li>
   * <li>an object literal that:</li>
   * <div><ul class="mdetail-params">
   * <li>has a specified <code>{@link Ext.Component#xtype xtype}</code></li>
   * <li>the {@link Ext.Component#xtype} specified is associated with the Component
   * desired and should be chosen from one of the available xtypes as listed
   * in {@link Ext.Component}.</li>
   * <li>If an <code>{@link Ext.Component#xtype xtype}</code> is not explicitly
   * specified, the {@link #defaultType} for that Container is used.</li>
   * <li>will be "lazily instanciated", avoiding the overhead of constructing a fully
   * instanciated Component object</li>
   * </ul></div></ul></div>
   * <p><b>Notes</b>:</p>
   * <div><ul class="mdetail-params">
   * <li>Ext uses lazy rendering. Child Components will only be rendered
   * should it become necessary. Items are automatically laid out when they are first
   * shown (no sizing is done while hidden), or in response to a {@link #doLayout} call.</li>
   * <li>Do not specify <code>{@link Ext.Panel#contentEl contentEl}</code>/
   * <code>{@link Ext.Panel#html html}</code> with <code>items</code>.</li>
   * </ul></div>
   */

/**
   * @cfg {Object/Array} keys
   * A {@link Ext.KeyMap} config object (in the format expected by {@link Ext.KeyMap#addBinding}
   * used to assign custom key handling to this panel (defaults to <code>null</code>).
   */

/**
   * @cfg {Object/Array} plugins
   * An object or array of objects that will provide custom functionality for this component.  The only
   * requirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component.
   * When a component is created, if any plugins are available, the component will call the init method on each
   * plugin, passing a reference to itself.  Each plugin can then call methods or respond to events on the
   * component as needed to provide its functionality.
   */

/**
   * @cfg {Object/Array} tbar
   * <p>The top toolbar of the panel. This can be a {@link Ext.Toolbar} object, a toolbar config, or an array of
   * buttons/button configs to be added to the toolbar.  Note that this is not available as a property after render.
   * To access the top toolbar after render, use {@link #getTopToolbar}.</p>
   * <p><b>Note:</b> Although a Toolbar may contain Field components, these will <b>not</b> be updated by a load
   * of an ancestor FormPanel. A Panel's toolbars are not part of the standard Container->Component hierarchy, and
   * so are not scanned to collect form items. However, the values <b>will</b> be submitted because form
   * submission parameters are collected from the DOM tree.</p>
   */

/**
   * @cfg {Object/Array} tbar
   * @hide
   */

/**
   * @cfg {Object/Record} clientRecord
   */

/**
   * @cfg {Object/String/Function} autoLoad
   * @hide
   */

/**
   * @cfg {Object/String/Function} autoLoad
   * A valid url spec according to the Updater {@link Ext.Updater#update} method.
   * If autoLoad is not null, the panel will attempt to load its contents
   * immediately upon render.<p>
   * The URL will become the default URL for this panel's {@link #body} element,
   * so it may be {@link Ext.Element#refresh refresh}ed at any time.</p>
   */

/**
   * @cfg {Object|Function} defaults
   * <p>This option is a means of applying default settings to all added items whether added through the {@link #items}
   * config or via the {@link #add} or {@link #insert} methods.</p>
   * <p>If an added item is a config object, and <b>not</b> an instantiated Component, then the default properties are
   * unconditionally applied. If the added item <b>is</b> an instantiated Component, then the default properties are
   * applied conditionally so as not to override existing properties in the item.</p>
   * <p>If the defaults option is specified as a function, then the function will be called using this Container as the
   * scope (<code>this</code> reference) and passing the added item as the first parameter. Any resulting object
   * from that call is then applied to the item as default properties.</p>
   * <p>For example, to automatically apply padding to the body of each of a set of
   * contained {@link Ext.Panel} items, you could pass: <code>defaults: {bodyStyle:'padding:15px'}</code>.</p>
   * <p>Usage:</p><pre><code>
  defaults: {               // defaults are applied to items, not the container
  autoScroll:true
  },
  items: [
  {
      xtype: 'panel',   // defaults <b>do not</b> have precedence over
      id: 'panel1',     // options in config objects, so the defaults
      autoScroll: false // will not be applied here, panel1 will be autoScroll:false
  },
  new Ext.Panel({       // defaults <b>do</b> have precedence over options
      id: 'panel2',     // options in components, so the defaults
      autoScroll: false // will be applied here, panel2 will be autoScroll:true.
  })
  ]
   * </code></pre>
   */

/**
   * @cfg {Object} Config object to pass to itemContructor
   */

/**
   * @cfg {Object} actionConfigs
   */

/**
   * @cfg {Object} actions
   * Object literal defining the server side actions and methods. For example, if
   * the Provider is configured with:
   * <pre><code>
  "actions":{ // each property within the 'actions' object represents a server side Class 
  "TestAction":[ // array of methods within each server side Class to be   
  {              // stubbed out on client
      "name":"doEcho", 
      "len":1            
  },{
      "name":"multiply",// name of method
      "len":2           // The number of parameters that will be used to create an
                        // array of data to send to the server side function.
                        // Ensure the server sends back a Number, not a String. 
  },{
      "name":"doForm",
      "formHandler":true, // direct the client to use specialized form handling method 
      "len":1
  }]
  }
   * </code></pre>
   * <p>Note that a Store is not required, a server method can be called at any time.
   * In the following example a <b>client side</b> handler is used to call the
   * server side method "multiply" in the server-side "TestAction" Class:</p>
   * <pre><code>
  TestAction.multiply(
  2, 4, // pass two arguments to server, so specify len=2
  // callback function after the server is called
  // result: the result returned by the server
  //      e: Ext.Direct.RemotingEvent object
  function(result, e){
      var t = e.getTransaction();
      var action = t.action; // server side Class called
      var method = t.method; // server side method called
      if(e.status){
          var answer = Ext.encode(result); // 8
  
      }else{
          var msg = e.message; // failure message
      }
  }
  );
   * </code></pre>
   * In the example above, the server side "multiply" function will be passed two
   * arguments (2 and 4).  The "multiply" method should return the value 8 which will be
   * available as the <tt>result</tt> in the example above. 
   */

/**
   * @cfg {Object} api
   * Specific urls to call on CRUD action methods "read", "create", "update" and "destroy".
   * Defaults to:<pre><code>
  api: {
  read    : undefined,
  create  : undefined,
  update  : undefined,
  destroy : undefined
  }
   * </code></pre>
   * <p>The url is built based upon the action being executed <tt>[load|create|save|destroy]</tt>
   * using the commensurate <tt>{@link #api}</tt> property, or if undefined default to the
   * configured {@link Ext.data.Store}.{@link Ext.data.Store#url url}.</p><br>
   * <p>For example:</p>
   * <pre><code>
  api: {
  load :    '/controller/load',
  create :  '/controller/new',  // Server MUST return idProperty of new record
  save :    '/controller/update',
  destroy : '/controller/destroy_action'
  }
  // Alternatively, one can use the object-form to specify each API-action
  api: {
  load: {url: 'read.php', method: 'GET'},
  create: 'create.php',
  destroy: 'destroy.php',
  save: 'update.php'
  }
   * </code></pre>
   * <p>If the specific URL for a given CRUD action is undefined, the CRUD action request
   * will be directed to the configured <tt>{@link Ext.data.Connection#url url}</tt>.</p>
   * <br><p><b>Note</b>: To modify the URL for an action dynamically the appropriate API
   * property should be modified before the action is requested using the corresponding before
   * action event.  For example to modify the URL associated with the load action:
   * <pre><code>
  // modify the url for the action
  myStore.on({
  beforeload: {
      fn: function (store, options) {
          // use <tt>{@link Ext.data.HttpProxy#setUrl setUrl}</tt> to change the URL for *just* this request.
          store.proxy.setUrl('changed1.php');
            // set optional second parameter to true to make this URL change
          // permanent, applying this URL for all subsequent requests.
          store.proxy.setUrl('changed1.php', true);
            // Altering the proxy API should be done using the public
          // method <tt>{@link Ext.data.DataProxy#setApi setApi}</tt>.
          store.proxy.setApi('read', 'changed2.php');
            // Or set the entire API with a config-object.
          // When using the config-object option, you must redefine the <b>entire</b>
          // API -- not just a specific action of it.
          store.proxy.setApi({
              read    : 'changed_read.php',
              create  : 'changed_create.php',
              update  : 'changed_update.php',
              destroy : 'changed_destroy.php'
          });
      }
  }
  });
   * </code></pre>
   * </p>
   */

/**
   * @cfg {Object} api (Optional) If specified load and submit actions will be handled
   * with {@link Ext.form.Action.DirectLoad} and {@link Ext.form.Action.DirectSubmit}.
   * Methods which have been imported by Ext.Direct can be specified here to load and submit
   * forms.
   * Such as the following:<pre><code>
  api: {
  load: App.ss.MyProfile.load,
  submit: App.ss.MyProfile.submit
  }
  </code></pre>
   * <p>Load actions can use <code>{@link #paramOrder}</code> or <code>{@link #paramsAsHash}</code>
   * to customize how the load method is invoked.
   * Submit actions will always use a standard form submit. The formHandler configuration must
   * be set on the associated server-side method which has been imported by Ext.Direct</p>
   */

/**
   * @cfg {Object} baseParams
   * <p>An object containing properties which are to be sent as parameters
   * for <i>every</i> HTTP request.</p>
   * <p>Parameters are encoded as standard HTTP parameters using {@link Ext#urlEncode}.</p>
   * <p><b>Note</b>: <code>baseParams</code> may be superseded by any <code>params</code>
   * specified in a <code>{@link #load}</code> request, see <code>{@link #load}</code>
   * for more details.</p>
   * This property may be modified after creation using the <code>{@link #setBaseParam}</code>
   * method.
   * @property
   */

/**
   * @cfg {Object} baseParams
   * <p>Parameters to pass with all requests. e.g. baseParams: {id: '123', foo: 'bar'}.</p>
   * <p>Parameters are encoded as standard HTTP parameters using {@link Ext#urlEncode}.</p>
   */

/**
   * @cfg {Object} baseParams An object containing properties which are to be sent as parameters
   * on every polling request
   */

/**
   * @cfg {Object} bbarCfg
   * <p>A {@link Ext.DomHelper DomHelper} element specification object specifying the element structure
   * of this Panel's {@link #bbar} Element.  See <code>{@link #bodyCfg}</code> also.</p>
   */

/**
   * @cfg {Object} bodyCfg
   * <p>A {@link Ext.DomHelper DomHelper} element specification object may be specified for any
   * Panel Element.</p>
   * <p>By default, the Default element in the table below will be used for the html markup to
   * create a child element with the commensurate Default class name (<code>baseCls</code> will be
   * replaced by <code>{@link #baseCls}</code>):</p>
   * <pre>
   * Panel      Default  Default             Custom      Additional       Additional
   * Element    element  class               element     class            style
   * ========   ==========================   =========   ==============   ===========
   * {@link #header}     div      {@link #baseCls}+'-header'   {@link #headerCfg}   headerCssClass   headerStyle
   * {@link #bwrap}      div      {@link #baseCls}+'-bwrap'     {@link #bwrapCfg}    bwrapCssClass    bwrapStyle
   * + tbar     div      {@link #baseCls}+'-tbar'       {@link #tbarCfg}     tbarCssClass     tbarStyle
   * + {@link #body}     div      {@link #baseCls}+'-body'       {@link #bodyCfg}     {@link #bodyCssClass}     {@link #bodyStyle}
   * + bbar     div      {@link #baseCls}+'-bbar'       {@link #bbarCfg}     bbarCssClass     bbarStyle
   * + {@link #footer}   div      {@link #baseCls}+'-footer'   {@link #footerCfg}   footerCssClass   footerStyle
   * </pre>
   * <p>Configuring a Custom element may be used, for example, to force the {@link #body} Element
   * to use a different form of markup than is created by default. An example of this might be
   * to {@link Ext.Element#createChild create a child} Panel containing a custom content, such as
   * a header, or forcing centering of all Panel content by having the body be a &lt;center&gt;
   * element:</p>
   * <pre><code>
  new Ext.Panel({
  title: 'Message Title',
  renderTo: Ext.getBody(),
  width: 200, height: 130,
  <b>bodyCfg</b>: {
      tag: 'center',
      cls: 'x-panel-body',  // Default class not applied if Custom element specified
      html: 'Message'
  },
  footerCfg: {
      tag: 'h2',
      cls: 'x-panel-footer'        // same as the Default class
      html: 'footer html'
  },
  footerCssClass: 'custom-footer', // additional css class, see {@link Ext.element#addClass addClass}
  footerStyle:    'background-color:red' // see {@link #bodyStyle}
  });
   * </code></pre>
   * <p>The example above also explicitly creates a <code>{@link #footer}</code> with custom markup and
   * styling applied.</p>
   */

/**
   * @cfg {Object} bwrapCfg
   * <p>A {@link Ext.DomHelper DomHelper} element specification object specifying the element structure
   * of this Panel's {@link #bwrap} Element.  See <code>{@link #bodyCfg}</code> also.</p>
   */

/**
   * @cfg {Object} cm Shorthand for <tt>{@link #colModel}</tt>.
   */

/**
   * @cfg {Object} cmargins
   * An object containing margins to apply to the region when in the collapsed state in the
   * format:<pre><code>
  {
  top: (top margin),
  right: (right margin),
  bottom: (bottom margin),
  left: (left margin)
  }</code></pre>
   * <p>May also be a string containing space-separated, numeric margin values. The order of the
   * sides associated with each value matches the way CSS processes margin values.</p>
   * <p><ul>
   * <li>If there is only one value, it applies to all sides.</li>
   * <li>If there are two values, the top and bottom borders are set to the first value and the
   * right and left are set to the second.</li>
   * <li>If there are three values, the top is set to the first value, the left and right are set
   * to the second, and the bottom is set to the third.</li>
   * <li>If there are four values, they apply to the top, right, bottom, and left, respectively.</li>
   * </ul></p>
   */

/**
   * @cfg {Object} colModel The {@link Ext.grid.ColumnModel} to use when rendering the grid (required).
   */

/**
   * @cfg {Object} columnLayoutConfig
   * Layout Config overrides to be applied to the underlying column layout
   */

/**
   * @cfg {Object} config for innerForm
   */

/**
   * @cfg {Object} config to be applied to date field 
   */

/**
   * @cfg {Object} config to be applied to time field 
   */

/**
   * @cfg {Object} dateClss
   * {datestr: clssString} additional css cls classes for given dates
   */

/**
   * @cfg {Object} defaultHeaders @hide
   */

/**
   * @cfg {Object} defaultMargins
   * <p>If the individual contained items do not have a <tt>margins</tt>
   * property specified, the default margins from this property will be
   * applied to each item.</p>
   * <br><p>This property may be specified as an object containing margins
   * to apply in the format:</p><pre><code>
  {
  top: (top margin),
  right: (right margin),
  bottom: (bottom margin),
  left: (left margin)
  }</code></pre>
   * <p>This property may also be specified as a string containing
   * space-separated, numeric margin values. The order of the sides associated
   * with each value matches the way CSS processes margin values:</p>
   * <div class="mdetail-params"><ul>
   * <li>If there is only one value, it applies to all sides.</li>
   * <li>If there are two values, the top and bottom borders are set to the
   * first value and the right and left are set to the second.</li>
   * <li>If there are three values, the top is set to the first value, the left
   * and right are set to the second, and the bottom is set to the third.</li>
   * <li>If there are four values, they apply to the top, right, bottom, and
   * left, respectively.</li>
   * </ul></div>
   * <p>Defaults to:</p><pre><code>
   * {top:0, right:0, bottom:0, left:0}
   * </code></pre>
   */

/**
   * @cfg {Object} defaultPaging 
   */

/**
   * @cfg {Object} defaultParamNames
   * Provides the default values for the {@link #paramNames} property. To globally modify the parameters
   * for all stores, this object should be changed on the store prototype.
   */

/**
   * @cfg {Object} defaultSortInfo
   */

/**
   * @cfg {Object} defaults
   * @hide
   */

/**
   * @cfg {Object} defaults
   * A config object that will be applied to all items added to this container either via the {@link #items}
   * config or via the {@link #add} method.  The defaults config can contain any number of
   * name/value property pairs to be added to each item, and should be valid for the types of items
   * being added to the menu.
   */

/**
   * @cfg {Object} defaults Object literal which will be used to apply {@link Ext.grid.Column}
   * configuration options to all <tt><b>{@link #columns}</b></tt>.  Configuration options specified with
   * individual {@link Ext.grid.Column column} configs will supersede these <tt><b>{@link #defaults}</b></tt>.
   */

/**
   * @cfg {Object} detailsPanelRegionConfig
   * Config object for the Ext.grid.GridPanel
   */

/**
   * @cfg {Object} dragZoneConfig
   */

/**
   * @cfg {Object} dropZoneConfig
   */

/**
   * @cfg {Object} editDialogConfig (optional)
   */

/**
   * @cfg {Object} extraParams @hide
   */

/**
   * @cfg {Object} fieldDefaults
   * An object of defaults to be applied to field
   */

/**
   * @cfg {Object} footerCfg
   * <p>A {@link Ext.DomHelper DomHelper} element specification object specifying the element structure
   * of this Panel's {@link #footer} Element.  See <code>{@link #bodyCfg}</code> also.</p>
   */

/**
   * @cfg {Object} gridConfig
   * Config object for the Ext.grid.GridPanel
   */

/**
   * @cfg {Object} handlerScope scope, the defined handlers will be executed in 
   */

/**
   * @cfg {Object} headerCfg
   * <p>A {@link Ext.DomHelper DomHelper} element specification object specifying the element structure
   * of this Panel's {@link #header} Element.  See <code>{@link #bodyCfg}</code> also.</p>
   */

/**
   * @cfg {Object} layoutConfig
   * @hide
   */

/**
   * @cfg {Object} layoutConfig
   * This is a config object containing properties specific to the chosen
   * <b><code>{@link #layout}</code></b> if <b><code>{@link #layout}</code></b>
   * has been specified as a <i>string</i>.</p>
   */

/**
   * @cfg {Object} listeners (optional) <p>A config object containing one or more event handlers to be added to this
   * object during initialization.  This should be a valid listeners config object as specified in the
   * {@link #addListener} example for attaching multiple handlers at once.</p>
   * <br><p><b><u>DOM events from ExtJs {@link Ext.Component Components}</u></b></p>
   * <br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. "click", "mouseover" etc), this
   * is usually only done when extra value can be added. For example the {@link Ext.DataView DataView}'s
   * <b><code>{@link Ext.DataView#click click}</code></b> event passing the node clicked on. To access DOM
   * events directly from a Component's HTMLElement, listeners must be added to the <i>{@link Ext.Component#getEl Element}</i> after the Component
   * has been rendered. A plugin can simplify this step:<pre><code>
  // Plugin is configured with a listeners config object.
  // The Component is appended to the argument list of all handler functions.
  Ext.DomObserver = Ext.extend(Object, {
  constructor: function(config) {
      this.listeners = config.listeners ? config.listeners : config;
  },
   // Component passes itself into plugin&#39;s init method
  init: function(c) {
      var p, l = this.listeners;
      for (p in l) {
          if (Ext.isFunction(l[p])) {
              l[p] = this.createHandler(l[p], c);
          } else {
              l[p].fn = this.createHandler(l[p].fn, c);
          }
      }
       // Add the listeners to the Element immediately following the render call
      c.render = c.render.{@link Function#createSequence createSequence}(function() {
          var e = c.getEl();
          if (e) {
              e.on(l);
          }
      });
  },
   createHandler: function(fn, c) {
      return function(e) {
          fn.call(this, e, c);
      };
  }
  });
  var combo = new Ext.form.ComboBox({
   // Collapse combo when its element is clicked on
  plugins: [ new Ext.DomObserver({
      click: function(evt, comp) {
          comp.collapse();
      }
  })],
  store: myStore,
  typeAhead: true,
  mode: 'local',
  triggerAction: 'all'
  });
   * </code></pre></p>
   */

/**
   * @cfg {Object} listeners @hide
   */

/**
   * @cfg {Object} loadMask An {@link Ext.LoadMask} config or true to mask the grid while
   * loading. Defaults to <code>false</code>.
   */

/**
   * @cfg {Object} margins
   * An object containing margins to apply to the region when in the expanded state in the
   * format:<pre><code>
  {
  top: (top margin),
  right: (right margin),
  bottom: (bottom margin),
  left: (left margin)
  }</code></pre>
   * <p>May also be a string containing space-separated, numeric margin values. The order of the
   * sides associated with each value matches the way CSS processes margin values:</p>
   * <p><div class="mdetail-params"><ul>
   * <li>If there is only one value, it applies to all sides.</li>
   * <li>If there are two values, the top and bottom borders are set to the first value and the
   * right and left are set to the second.</li>
   * <li>If there are three values, the top is set to the first value, the left and right are set
   * to the second, and the bottom is set to the third.</li>
   * <li>If there are four values, they apply to the top, right, bottom, and left, respectively.</li>
   * </ul></div></p>
   * <p>Defaults to:</p><pre><code>
   * {top:0, right:0, bottom:0, left:0}
   * </code></pre>
   */

/**
   * @cfg {Object} margins <p><b>Note</b>: this config is only used when this BoxComponent is rendered
   * by a Container which has been configured to use the <b>{@link Ext.layout.BorderLayout BorderLayout}</b>
   * or one of the two <b>{@link Ext.layout.BoxLayout BoxLayout} subclasses.</b></p>
   * <p>An object containing margins to apply to this BoxComponent in the
   * format:</p><pre><code>
  {
  top: (top margin),
  right: (right margin),
  bottom: (bottom margin),
  left: (left margin)
  }</code></pre>
   * <p>May also be a string containing space-separated, numeric margin values. The order of the
   * sides associated with each value matches the way CSS processes margin values:</p>
   * <p><div class="mdetail-params"><ul>
   * <li>If there is only one value, it applies to all sides.</li>
   * <li>If there are two values, the top and bottom borders are set to the first value and the
   * right and left are set to the second.</li>
   * <li>If there are three values, the top is set to the first value, the left and right are set
   * to the second, and the bottom is set to the third.</li>
   * <li>If there are four values, they apply to the top, right, bottom, and left, respectively.</li>
   * </ul></div></p>
   * <p>Defaults to:</p><pre><code>
   * {top:0, right:0, bottom:0, left:0}
   * </code></pre>
   */

/**
   * @cfg {Object} optional picker config
   */

/**
   * @cfg {Object} paging defaults
   */

/**
   * @cfg {Object} pagingConfig
   * additional paging config
   */

/**
   * @cfg {Object} paramNames
   * <p>An object containing properties which specify the names of the paging and
   * sorting parameters passed to remote servers when loading blocks of data. By default, this
   * object takes the following form:</p><pre><code>
  {
  start : 'start',  // The parameter name which specifies the start row
  limit : 'limit',  // The parameter name which specifies number of rows to return
  sort : 'sort',    // The parameter name which specifies the column to sort on
  dir : 'dir'       // The parameter name which specifies the sort direction
  }
  </code></pre>
   * <p>The server must produce the requested data block upon receipt of these parameter names.
   * If different parameter names are required, this property can be overriden using a configuration
   * property.</p>
   * <p>A {@link Ext.PagingToolbar PagingToolbar} bound to this Store uses this property to determine
   * the parameter names to use in its {@link #load requests}.
   */

/**
   * @cfg {Object} params HTTP request params
   */

/**
   * @cfg {Object} pluginConfig
   * config to pass to specific plugin
   * {<pluginName>: {...}}
   */

/**
   * @cfg {Object} raw The raw response returned from server-code
   */

/**
   * @cfg {Object} routes
   */

/**
   * @cfg {Object} scope
   * The scope (<code><b>this</b></code> reference) in which the <code>{@link #handler}</code>
   * function will be called.  Defaults to this DatePicker instance.
   */

/**
   * @cfg {Object} scope
   * The scope (<tt><b>this</b></tt> reference) in which the <code>{@link #handler}</code>
   * function will be called.  Defaults to this ColorMenu instance.
   */

/**
   * @cfg {Object} scope
   * The scope (<tt><b>this</b></tt> reference) in which the <code>{@link #handler}</code>
   * function will be called.  Defaults to this ColorPalette instance.
   */

/**
   * @cfg {Object} scope
   * The scope (<tt><b>this</b></tt> reference) in which the <code>{@link #handler}</code>
   * function will be called.  Defaults to this DateMenu instance.
   */

/**
   * @cfg {Object} scope
   * The scope (<tt><b>this</b></tt> reference) in which the handler function will be called.
   */

/**
   * @cfg {Object} scope
   */

/**
   * @cfg {Object} scope An object to use as the scope ('this' reference) of the {@link #handler} function
   * (defaults to this Checkbox).
   */

/**
   * @cfg {Object} scope Optional. The scope (<tt><b>this</b></tt> reference) in which to execute the
   * renderer.  Defaults to the Column configuration object.
   */

/**
   * @cfg {Object} scope The scope (<tt><b>this</b></tt> reference) in which the
   * <code>{@link #handler}</code> and <code>{@link #toggleHandler}</code> is
   * executed. Defaults to this Button.
   */

/**
   * @cfg {Object} scope The scope (<tt><b>this</b></tt> reference) in which the
   * <code>{@link #handler}</code> is executed. Defaults to this Button.
   */

/**
   * @cfg {Object} scope The scope in which to call the callback functions (The <tt>this</tt> reference
   * for the callback functions).
   */

/**
   * @cfg {Object} scope The scope of the callback funtion
   */

/**
   * @cfg {Object} scope to the callbacks are called in
   */

/**
   * @cfg {Object} selModel Any subclass of {@link Ext.grid.AbstractSelectionModel} that will provide
   * the selection model for the grid (defaults to {@link Ext.grid.RowSelectionModel} if not specified).
   */

/**
   * @cfg {Object} sm Shorthand for <tt>{@link #selModel}</tt>.
   */

/**
   * @cfg {Object} sortInfo A config object to specify the sort order in the request of a Store's
   * {@link #load} operation.  Note that for local sorting, the <tt>direction</tt> property is
   * case-sensitive. See also {@link #remoteSort} and {@link #paramNames}.
   * For example:<pre><code>
  sortInfo: {
  field: 'fieldName',
  direction: 'ASC' // or 'DESC' (case sensitive for local sorting)
  }
  </code></pre>
   */

/**
   * @cfg {Object} storeRemoteSort
   */

/**
   * @cfg {Object} tableAttrs
   * <p>An object containing properties which are added to the {@link Ext.DomHelper DomHelper} specification
   * used to create the layout's <tt>&lt;table&gt;</tt> element. Example:</p><pre><code>
  {
  xtype: 'panel',
  layout: 'table',
  layoutConfig: {
      tableAttrs: {
          style: {
              width: '100%'
          }
      },
      columns: 3
  }
  }</code></pre>
   */

/**
   * @cfg {Object} tbarCfg
   * <p>A {@link Ext.DomHelper DomHelper} element specification object specifying the element structure
   * of this Panel's {@link #tbar} Element.  See <code>{@link #bodyCfg}</code> also.</p>
   */

/**
   * @cfg {Object} view The {@link Ext.grid.GridView} used by the grid. This can be set
   * before a call to {@link Ext.Component#render render()}.
   */

/**
   * @cfg {Object} viewConfig A config object that will be applied to the grid's UI view.  Any of
   * the config options available for {@link Ext.grid.GridView} can be specified here. This option
   * is ignored if <tt>{@link #view}</tt> is specified.
   */

/**
   * @cfg {Record} cfConfig
   */

/**
   * @cfg {Record} foreignRecordClass needed for explicit defined filters
   */

/**
   * @cfg {Record} ownRecordClass own record class for generic filter row
   */

/**
   * @cfg {RegExp} disabledDatesRE
   * JavaScript regular expression used to disable a pattern of dates (defaults to null).  The {@link #disabledDates}
   * config will generate this regex internally, but if you specify disabledDatesRE it will take precedence over the
   * disabledDates value.
   */

/**
   * @cfg {RegExp} maskRe @hide
   */

/**
   * @cfg {RegExp} maskRe An input mask regular expression that will be used to filter keystrokes that do
   * not match (defaults to <tt>null</tt>)
   */

/**
   * @cfg {RegExp} re The regular expression used to match template variables.
   * Defaults to:<pre><code>
   * re : /\{([\w-]+)\}/g                                     // for Ext Core
   * re : /\{([\w-]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?\}/g      // for Ext JS
   * </code></pre>
   */

/**
   * @cfg {RegExp} regex A JavaScript RegExp object to be tested against the field value during validation
   * (defaults to <tt>null</tt>). If the test fails, the field will be marked invalid using
   * <b><tt>{@link #regexText}</tt></b>.
   */

/**
   * @cfg {RegExp} stripCharsRe @hide
   */

/**
   * @cfg {RegExp} stripCharsRe A JavaScript RegExp object used to strip unwanted content from the value
   * before validation (defaults to <tt>null</tt>).
   */

/**
   * @cfg {Sring}
   */

/**
   * @cfg {String/Application} app
   */

/**
   * @cfg {String/Array} internalTpl
   * The template to be used for the header row.  See {@link #tpl} for more details.
   */

/**
   * @cfg {String/Array} layerAlign A valid anchor position value. See <tt>{@link Ext.Element#alignTo}</tt> for details
   * on supported anchor positions and offsets. To specify x/y offsets as well, this value
   * may be specified as an Array of <tt>{@link Ext.Element#alignTo}</tt> method arguments.</p>
   * <pre><code>[ 'tl-bl?', [6,0] ]</code></pre>(defaults to <tt>'tr-br?'</tt>)
   */

/**
   * @cfg {String/Array} listAlign A valid anchor position value. See <tt>{@link Ext.Element#alignTo}</tt> for details
   * on supported anchor positions and offsets. To specify x/y offsets as well, this value
   * may be specified as an Array of <tt>{@link Ext.Element#alignTo}</tt> method arguments.</p>
   * <pre><code>[ 'tl-bl?', [6,0] ]</code></pre>(defaults to <tt>'tl-bl?'</tt>)
   */

/**
   * @cfg {String/Array} tpl
   * The HTML fragment or an array of fragments that will make up the template used by this DataView.  This should
   * be specified in the same format expected by the constructor of {@link Ext.XTemplate}.
   */

/**
   * @cfg {String/Boolean} validationEvent The event that should initiate field validation. Set to false to disable
    automatic validation (defaults to 'keyup').
   */

/**
   * @cfg {String/Element} animateTarget
   * Id or element from which the window should animate while opening (defaults to null with no animation).
   */

/**
   * @cfg {String/Ext.XTemplate} tpl The XML template used to render {@link Ext.data.Api#actions write-actions} to your server.
   * <p>One can easily provide his/her own custom {@link Ext.XTemplate#constructor template-definition} if the default does not suffice.</p>
   * <p>Defaults to:</p>
  <code><pre>
  &lt;?xml version="{version}" encoding="{encoding}"?>
  &lt;tpl if="documentRoot">&lt;{documentRoot}>
  &lt;tpl for="baseParams">
      &lt;tpl for=".">
          &lt;{name}>{value}&lt;/{name}>
      &lt;/tpl>
  &lt;/tpl>
  &lt;tpl if="records.length &gt; 1">&lt;{root}>',
  &lt;tpl for="records">
      &lt;{parent.record}>
      &lt;tpl for=".">
          &lt;{name}>{value}&lt;/{name}>
      &lt;/tpl>
      &lt;/{parent.record}>
  &lt;/tpl>
  &lt;tpl if="records.length &gt; 1">&lt;/{root}>&lt;/tpl>
  &lt;tpl if="documentRoot">&lt;/{documentRoot}>&lt;/tpl>
  </pre></code>
   * <p>Templates will be called with the following API</p>
   * <ul>
   * <li>{String} version [1.0] The xml version.</li>
   * <li>{String} encoding [ISO-8859-15] The xml encoding.</li>
   * <li>{String/false} documentRoot The XML document root-node name or <tt>false</tt> if not required.  See {@link #documentRoot} and {@link #forceDocumentRoot}.</li>
   * <li>{String} record The meta-data parameter defined on your {@link Ext.data.XmlReader#record} configuration represents the name of the xml-tag containing each record.</li>
   * <li>{String} root The meta-data parameter defined by {@link Ext.data.XmlWriter#root} configuration-parameter.  Represents the name of the xml root-tag when sending <b>multiple</b> records to the server.</li>
   * <li>{Array} records The records being sent to the server, ie: the subject of the write-action being performed.  The records parameter will be always be an array, even when only a single record is being acted upon.
   *     Each item within the records array will contain an array of field objects having the following properties:
   *     <ul>
   *         <li>{String} name The field-name of the record as defined by your {@link Ext.data.Record#create Ext.data.Record definition}.  The "mapping" property will be used, otherwise it will match the "name" property.  Use this parameter to define the XML tag-name of the property.</li>
   *         <li>{Mixed} value The record value of the field enclosed within XML tags specified by name property above.</li>
   *     </ul></li>
   * <li>{Array} baseParams.  The baseParams as defined upon {@link Ext.data.Store#baseParams}.  Note that the baseParams have been converted into an array of [{name : "foo", value: "bar"}, ...] pairs in the same manner as the <b>records</b> parameter above.  See {@link #documentRoot} and {@link #forceDocumentRoot}.</li>
   * </ul>
   */

/**
   * @cfg {String/Function} url
   * The url which the PollingProvider should contact with each request. This can also be
   * an imported Ext.Direct method which will accept the baseParams as its only argument.
   */

/**
   * @cfg {String/Number/Array} columns Specifies the number of columns to use when displaying grouped
   * checkbox/radio controls using automatic layout.  This config can take several types of values:
   * <ul><li><b>'auto'</b> : <p class="sub-desc">The controls will be rendered one per column on one row and the width
   * of each column will be evenly distributed based on the width of the overall field container. This is the default.</p></li>
   * <li><b>Number</b> : <p class="sub-desc">If you specific a number (e.g., 3) that number of columns will be
   * created and the contained controls will be automatically distributed based on the value of {@link #vertical}.</p></li>
   * <li><b>Array</b> : Object<p class="sub-desc">You can also specify an array of column widths, mixing integer
   * (fixed width) and float (percentage width) values as needed (e.g., [100, .25, .75]). Any integer values will
   * be rendered first, then any float values will be calculated as a percentage of the remaining space. Float
   * values do not have to add up to 1 (100%) although if you want the controls to take up the entire field
   * container you should do so.</p></li></ul>
   */

/**
   * @cfg {String/Number} activeItem
   * @hide
   */

/**
   * @cfg {String/Number} activeItem
   * A string component id or the numeric index of the component that should be initially activated within the
   * container's layout on render.  For example, activeItem: 'item-1' or activeItem: 0 (index 0 = the first
   * item in the container's collection).  activeItem only applies to layout styles that can display
   * items one at a time (like {@link Ext.layout.AccordionLayout}, {@link Ext.layout.CardLayout} and
   * {@link Ext.layout.FitLayout}).  Related to {@link Ext.layout.ContainerLayout#activeItem}.
   */

/**
   * @cfg {String/Number} activeTab A string id or the numeric index of the tab that should be initially
   * activated on render (defaults to undefined).
   */

/**
   * @cfg {String/Number} mapping
   * <p>(Optional) A path expression for use by the {@link Ext.data.DataReader} implementation
   * that is creating the {@link Ext.data.Record Record} to extract the Field value from the data object.
   * If the path expression is the same as the field name, the mapping may be omitted.</p>
   * <p>The form of the mapping expression depends on the Reader being used.</p>
   * <div class="mdetail-params"><ul>
   * <li>{@link Ext.data.JsonReader}<div class="sub-desc">The mapping is a string containing the javascript
   * expression to reference the data from an element of the data item's {@link Ext.data.JsonReader#root root} Array. Defaults to the field name.</div></li>
   * <li>{@link Ext.data.XmlReader}<div class="sub-desc">The mapping is an {@link Ext.DomQuery} path to the data
   * item relative to the DOM element that represents the {@link Ext.data.XmlReader#record record}. Defaults to the field name.</div></li>
   * <li>{@link Ext.data.ArrayReader}<div class="sub-desc">The mapping is a number indicating the Array index
   * of the field's value. Defaults to the field specification's Array position.</div></li>
   * </ul></div>
   * <p>If a more complex value extraction strategy is required, then configure the Field with a {@link #convert}
   * function. This is passed the whole row object, and may interrogate it in whatever way is necessary in order to
   * return the desired data.</p>
   */

/**
   * @cfg {String/Object/Function} bodyCssClass
   * Additional css class selector to be applied to the {@link #body} element in the format expected by
   * {@link Ext.Element#addClass} (defaults to null). See {@link #bodyCfg}.
   */

/**
   * @cfg {String/Object/Function} bodyStyle
   * Custom CSS styles to be applied to the {@link #body} element in the format expected by
   * {@link Ext.Element#applyStyles} (defaults to null). See {@link #bodyCfg}.
   */

/**
   * @cfg {String/Object} autoCreate
   * A {@link Ext.DomHelper DomHelper element specification object}, or <tt>true</tt> for the default element
   * specification object:<pre><code>
   * autoCreate: {tag: "input", type: "text", size: "10", autocomplete: "off"}
   * </code></pre>
   */

/**
   * @cfg {String/Object} autoCreate <p>A {@link Ext.DomHelper DomHelper} element spec, or <tt>true</tt> for a default
   * element spec. Used to create the {@link Ext.Component#getEl Element} which will encapsulate this Component.
   * See <tt>{@link Ext.Component#autoEl autoEl}</tt> for details.  Defaults to:</p>
   * <pre><code>{tag: "input", type: "text", size: "24", autocomplete: "off"}</code></pre>
   */

/**
   * @cfg {String/Object} autoCreate <p>A {@link Ext.DomHelper DomHelper} element spec, or true for a default
   * element spec. Used to create the {@link Ext.Component#getEl Element} which will encapsulate this Component.
   * See <tt>{@link Ext.Component#autoEl autoEl}</tt> for details.  Defaults to:</p>
   * <pre><code>{tag: "input", type: "text", size: "16", autocomplete: "off"}</code></pre>
   */

/**
   * @cfg {String/Object} autoCreate <p>A {@link Ext.DomHelper DomHelper} element spec, or true for a default
   * element spec. Used to create the {@link Ext.Component#getEl Element} which will encapsulate this Component.
   * See <tt>{@link Ext.Component#autoEl autoEl}</tt> for details.  Defaults to:</p>
   * <pre><code>{tag: "textarea", style: "width:100px;height:60px;", autocomplete: "off"}</code></pre>
   */

/**
   * @cfg {String/Object} autoCreate <p>A {@link Ext.DomHelper DomHelper} element spec, or true for a default
   * element spec. Used to create the {@link Ext.Component#getEl Element} which will encapsulate this Component.
   * See <tt>{@link Ext.Component#autoEl autoEl}</tt> for details.  Defaults to:</p>
   * <pre><code>{tag: 'input', type: 'text', size: '20', autocomplete: 'off'}</code></pre>
   */

/**
   * @cfg {String/Object} autoCreate A DomHelper element spec, or true for a default element spec (defaults to
   * {tag: 'input', type: 'checkbox', autocomplete: 'off'})
   */

/**
   * @cfg {String/Object} html
   * An HTML fragment, or a {@link Ext.DomHelper DomHelper} specification to use as the layout element
   * content (defaults to ''). The HTML content is added after the component is rendered,
   * so the document will not contain this HTML at the time the {@link #render} event is fired.
   * This content is inserted into the body <i>before</i> any configured {@link #contentEl} is appended.
   */

/**
   * @cfg {String/Object} html @hide
   */

/**
   * @cfg {String/Object} layout
   * <p><b>*Important</b>: In order for child items to be correctly sized and
   * positioned, typically a layout manager <b>must</b> be specified through
   * the <code>layout</code> configuration option.</p>
   * <br><p>The sizing and positioning of child {@link items} is the responsibility of
   * the Container's layout manager which creates and manages the type of layout
   * you have in mind.  For example:</p><pre><code>
  new Ext.Window({
  width:300, height: 300,
  layout: 'fit', // explicitly set layout manager: override the default (layout:'auto')
  items: [{
      title: 'Panel inside a Window'
  }]
  }).show();
   * </code></pre>
   * <p>If the {@link #layout} configuration is not explicitly specified for
   * a general purpose container (e.g. Container or Panel) the
   * {@link Ext.layout.ContainerLayout default layout manager} will be used
   * which does nothing but render child components sequentially into the
   * Container (no sizing or positioning will be performed in this situation).
   * Some container classes implicitly specify a default layout
   * (e.g. FormPanel specifies <code>layout:'form'</code>). Other specific
   * purpose classes internally specify/manage their internal layout (e.g.
   * GridPanel, TabPanel, TreePanel, Toolbar, Menu, etc.).</p>
   * <br><p><b><code>layout</code></b> may be specified as either as an Object or
   * as a String:</p><div><ul class="mdetail-params">
   *
   * <li><u>Specify as an Object</u></li>
   * <div><ul class="mdetail-params">
   * <li>Example usage:</li>
  <pre><code>
  layout: {
  type: 'vbox',
  padding: '5',
  align: 'left'
  }
  </code></pre>
   *
   * <li><code><b>type</b></code></li>
   * <br/><p>The layout type to be used for this container.  If not specified,
   * a default {@link Ext.layout.ContainerLayout} will be created and used.</p>
   * <br/><p>Valid layout <code>type</code> values are:</p>
   * <div class="sub-desc"><ul class="mdetail-params">
   * <li><code><b>{@link Ext.layout.AbsoluteLayout absolute}</b></code></li>
   * <li><code><b>{@link Ext.layout.AccordionLayout accordion}</b></code></li>
   * <li><code><b>{@link Ext.layout.AnchorLayout anchor}</b></code></li>
   * <li><code><b>{@link Ext.layout.ContainerLayout auto}</b></code> &nbsp;&nbsp;&nbsp; <b>Default</b></li>
   * <li><code><b>{@link Ext.layout.BorderLayout border}</b></code></li>
   * <li><code><b>{@link Ext.layout.CardLayout card}</b></code></li>
   * <li><code><b>{@link Ext.layout.ColumnLayout column}</b></code></li>
   * <li><code><b>{@link Ext.layout.FitLayout fit}</b></code></li>
   * <li><code><b>{@link Ext.layout.FormLayout form}</b></code></li>
   * <li><code><b>{@link Ext.layout.HBoxLayout hbox}</b></code></li>
   * <li><code><b>{@link Ext.layout.MenuLayout menu}</b></code></li>
   * <li><code><b>{@link Ext.layout.TableLayout table}</b></code></li>
   * <li><code><b>{@link Ext.layout.ToolbarLayout toolbar}</b></code></li>
   * <li><code><b>{@link Ext.layout.VBoxLayout vbox}</b></code></li>
   * </ul></div>
   *
   * <li>Layout specific configuration properties</li>
   * <br/><p>Additional layout specific configuration properties may also be
   * specified. For complete details regarding the valid config options for
   * each layout type, see the layout class corresponding to the <code>type</code>
   * specified.</p>
   *
   * </ul></div>
   *
   * <li><u>Specify as a String</u></li>
   * <div><ul class="mdetail-params">
   * <li>Example usage:</li>
  <pre><code>
  layout: 'vbox',
  layoutConfig: {
  padding: '5',
  align: 'left'
  }
  </code></pre>
   * <li><code><b>layout</b></code></li>
   * <br/><p>The layout <code>type</code> to be used for this container (see list
   * of valid layout type values above).</p><br/>
   * <li><code><b>{@link #layoutConfig}</b></code></li>
   * <br/><p>Additional layout specific configuration properties. For complete
   * details regarding the valid config options for each layout type, see the
   * layout class corresponding to the <code>layout</code> specified.</p>
   * </ul></div></ul></div>
   */

/**
   * @cfg {String/Object} layout
   * This class assigns a default layout (<code>layout:'<b>menu</b>'</code>).
   * Developers <i>may</i> override this configuration option if another layout is required.
   * See {@link Ext.Container#layout} for additional information.
   */

/**
   * @cfg {String/Object} namespace
   * Namespace for the Remoting Provider (defaults to the browser global scope of <i>window</i>).
   * Explicitly specify the namespace Object, or specify a String to have a
   * {@link Ext#namespace namespace created} implicitly.
   */

/**
   * @cfg {String/XTemplate} tpl
   * An {@link Ext.XTemplate XTemplate}, or an XTemplate <i>definition string</i> to use to process a
   * {@link Ext.data.Record Record}'s {@link Ext.data.Record#data data} to produce a column's rendered value.
   */

/**
   * @cfg {String|Function} group
   */

/**
   * @cfg {String|RegExp}
   * A constraint allows to alter the selection behaviour of the picker, for example only allow to select files.
   * By default, file and folder are allowed to be selected, the concrete implementation needs to define it's purpose
   */

/**
   * @cfg {String}
   * canonical name
   */

/**
   * @cfg {String}
   * field name in owningRecordClass where blConfig is configured/stored
   */

/**
   * @cfg {String}
   * path to get/put data
   */

/**
   * @cfg {String}
   * translated heads up text
   */

/**
   * @cfg {String}
   */

/**
   * @cfg {String} 
   * property holding the dynamic record
   */

/**
   * @cfg {String} LabelIcon icon to be displayed in front of the label
   */

/**
   * @cfg {String} Name of a constructor to create item property
   */

/**
   * @cfg {String} OkButtonText
   * text of ok button (optional) default to _('Ok')
   */

/**
   * @cfg {String} action
   */

/**
   * @cfg {String} action {@link Ext.data.Api#actions}
   */

/**
   * @cfg {String} activeClass The CSS class to use when the item becomes activated (defaults to "x-menu-item-active")
   */

/**
   * @cfg {String} activeContentType
   */

/**
   * @cfg {String} align
   * Controls how the child items of the container are aligned. Acceptable configuration values for this
   * property are:
   * <div class="mdetail-params"><ul>
   * <li><b><tt>left</tt></b> : <b>Default</b><div class="sub-desc">child items are aligned horizontally
   * at the <b>left</b> side of the container</div></li>
   * <li><b><tt>center</tt></b> : <div class="sub-desc">child items are aligned horizontally at the
   * <b>mid-width</b> of the container</div></li>
   * <li><b><tt>stretch</tt></b> : <div class="sub-desc">child items are stretched horizontally to fill
   * the width of the container</div></li>
   * <li><b><tt>stretchmax</tt></b> : <div class="sub-desc">child items are stretched horizontally to
   * the size of the largest item.</div></li>
   * </ul></div>
   */

/**
   * @cfg {String} align
   * Controls how the child items of the container are aligned. Acceptable configuration values for this
   * property are:
   * <div class="mdetail-params"><ul>
   * <li><b><tt>top</tt></b> : <b>Default</b><div class="sub-desc">child items are aligned vertically
   * at the <b>top</b> of the container</div></li>
   * <li><b><tt>middle</tt></b> : <div class="sub-desc">child items are aligned vertically in the
   * <b>middle</b> of the container</div></li>
   * <li><b><tt>stretch</tt></b> : <div class="sub-desc">child items are stretched vertically to fill
   * the height of the container</div></li>
   * <li><b><tt>stretchmax</tt></b> : <div class="sub-desc">child items are stretched vertically to
   * the height of the largest item.</div></li>
   */

/**
   * @cfg {String} align
   * Set the CSS text-align property of the column. Defaults to <tt>'left'</tt>.
   */

/**
   * @cfg {String} align Optional. Set the CSS text-align property of the column.  Defaults to undefined.
   */

/**
   * @cfg {String} alignment
   * The position to align to (see {@link Ext.Element#alignTo} for more details, defaults to "c-c?").
   */

/**
   * @cfg {String} alignment
   * The position to align to (see {@link Ext.Element#alignTo} for more details, defaults to "l-l").
   */

/**
   * @cfg {String} allQuery The text query to send to the server to return all records for the list
   * with no filtering (defaults to '')
   */

/**
   * @cfg {String} allowDomMove  @hide
   */

/**
   * @cfg {String} altFormats
   * Multiple date formats separated by "<tt>|</tt>" to try when parsing a user input value and it
   * does not match the defined format (defaults to
   * <tt>'m/d/Y|n/j/Y|n/j/y|m/j/y|n/d/y|m/j/Y|n/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d'</tt>).
   */

/**
   * @cfg {String} altFormats
   * Multiple date formats separated by "|" to try when parsing a user input value and it doesn't match the defined
   * format (defaults to 'g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H').
   */

/**
   * @cfg {String} anchor
   * <p>This configuation option is to be applied to <b>child <tt>items</tt></b> of a container managed by
   * this layout (ie. configured with <tt>layout:'anchor'</tt>).</p><br/>
   *
   * <p>This value is what tells the layout how an item should be anchored to the container. <tt>items</tt>
   * added to an AnchorLayout accept an anchoring-specific config property of <b>anchor</b> which is a string
   * containing two values: the horizontal anchor value and the vertical anchor value (for example, '100% 50%').
   * The following types of anchor values are supported:<div class="mdetail-params"><ul>
   *
   * <li><b>Percentage</b> : Any value between 1 and 100, expressed as a percentage.<div class="sub-desc">
   * The first anchor is the percentage width that the item should take up within the container, and the
   * second is the percentage height.  For example:<pre><code>
  // two values specified
  anchor: '100% 50%' // render item complete width of the container and
                 // 1/2 height of the container
  // one value specified
  anchor: '100%'     // the width value; the height will default to auto
   * </code></pre></div></li>
   *
   * <li><b>Offsets</b> : Any positive or negative integer value.<div class="sub-desc">
   * This is a raw adjustment where the first anchor is the offset from the right edge of the container,
   * and the second is the offset from the bottom edge. For example:<pre><code>
  // two values specified
  anchor: '-50 -100' // render item the complete width of the container
                 // minus 50 pixels and
                 // the complete height minus 100 pixels.
  // one value specified
  anchor: '-50'      // anchor value is assumed to be the right offset value
                 // bottom offset will default to 0
   * </code></pre></div></li>
   *
   * <li><b>Sides</b> : Valid values are <tt>'right'</tt> (or <tt>'r'</tt>) and <tt>'bottom'</tt>
   * (or <tt>'b'</tt>).<div class="sub-desc">
   * Either the container must have a fixed size or an anchorSize config value defined at render time in
   * order for these to have any effect.</div></li>
   *
   * <li><b>Mixed</b> : <div class="sub-desc">
   * Anchor values can also be mixed as needed.  For example, to render the width offset from the container
   * right edge by 50 pixels and 75% of the container's height use:
   * <pre><code>
  anchor: '-50 75%'
   * </code></pre></div></li>
   *
   *
   * </ul></div>
   */

/**
   * @cfg {String} anchor <p><b>Note</b>: this config is only used when this Component is rendered
   * by a Container which has been configured to use an <b>{@link Ext.layout.AnchorLayout AnchorLayout} (or subclass thereof).</b>
   * based layout manager, for example:<div class="mdetail-params"><ul>
   * <li>{@link Ext.form.FormPanel}</li>
   * <li>specifying <code>layout: 'anchor' // or 'form', or 'absolute'</code></li>
   * </ul></div></p>
   * <p>See {@link Ext.layout.AnchorLayout}.{@link Ext.layout.AnchorLayout#anchor anchor} also.</p>
   */

/**
   * @cfg {String} app Application which uses this panel
   */

/**
   * @cfg {String} appName
   * internal/untranslated app name (required)
   */

/**
   * @cfg {String} appName
   * name of app (required if no app is given)
   */

/**
   * @cfg {String} appName
   * untranslated application name (required)
   */

/**
   * @cfg {String} appName
   */

/**
   * @cfg {String} appName (required)
   */

/**
   * @cfg {String} applyTo  @hide
   */

/**
   * @cfg {String} arrowAlign
   * <p>(Optional) The side of the Button box to render the arrow if the button has an associated {@link #menu}.
   * Two values are allowed:</p>
   * <ul class="mdetail-params">
   * <li>'right'<div class="sub-desc"></div></li>
   * <li>'bottom'<div class="sub-desc"></div></li>
   * </ul>
   * <p>Defaults to <b><tt>'right'</tt></b>.</p>
   */

/**
   * @cfg {String} autoEl @hide
   */

/**
   * @cfg {String} autoExpandColumn
   * <p>The <tt>{@link Ext.grid.Column#id id}</tt> of a {@link Ext.grid.Column column} in
   * this grid that should expand to fill unused space. This value specified here can not
   * be <tt>0</tt>.</p>
   * <br><p><b>Note</b>: If the Grid's {@link Ext.grid.GridView view} is configured with
   * <tt>{@link Ext.grid.GridView#forceFit forceFit}=true</tt> the <tt>autoExpandColumn</tt>
   * is ignored. See {@link Ext.grid.Column}.<tt>{@link Ext.grid.Column#width width}</tt>
   * for additional details.</p>
   * <p>See <tt>{@link #autoExpandMax}</tt> and <tt>{@link #autoExpandMin}</tt> also.</p>
   */

/**
   * @cfg {String} autoScroll  @hide
   */

/**
   * @cfg {String} autoTabSelector The CSS selector used to search for tabs in existing markup when
   * <tt>{@link #autoTabs} = true</tt> (defaults to <tt>'div.x-tab'</tt>).  This can be any valid selector
   * supported by {@link Ext.DomQuery#select}. Note that the query will be executed within the scope of this
   * tab panel only (so that multiple tab panels from markup can be supported on a page).
   */

/**
   * @cfg {String} availableRanges
   * ranges available in range picker
   * _('Day'), _('Week'), _('Month'), _('Quarter'), _('Year')
   */

/**
   * @cfg {String} background
   * one of {solid|border|none}
   */

/**
   * @cfg {String} baseChars The base set of characters to evaluate as valid numbers (defaults to '0123456789').
   */

/**
   * @cfg {String} baseCls
   * The base CSS class to apply to the progress bar's wrapper element (defaults to 'x-progress')
   */

/**
   * @cfg {String} baseCls
   * The base CSS class to apply to this panel's element (defaults to <code>'x-panel'</code>).
   * <p>Another option available by default is to specify <code>'x-plain'</code> which strips all styling
   * except for required attributes for Ext layouts to function (e.g. overflow:hidden).
   * See <code>{@link #unstyled}</code> also.</p>
   */

/**
   * @cfg {String} baseCls  Defaults to <tt>'x-btn-group'</tt>.  See {@link Ext.Panel#baseCls}.
   */

/**
   * @cfg {String} baseCls The base CSS class applied to the fieldset (defaults to <tt>'x-fieldset'</tt>).
   */

/**
   * @cfg {String} baseCls The base CSS class applied to the panel (defaults to <tt>'x-tab-panel'</tt>).
   */

/**
   * @cfg {String} basePow
   * change this if the value is measured other than in bytes
   */

/**
   * @cfg {String} blankText Error text to display if the {@link #allowBlank} validation fails
   * (defaults to 'You must select one item in this group')
   */

/**
   * @cfg {String} blankText Error text to display if the {@link #allowBlank} validation fails (defaults to "You must
   * select at least one item in this group")
   */

/**
   * @cfg {String} blankText The error text to display if the <b><tt>{@link #allowBlank}</tt></b> validation
   * fails (defaults to <tt>'This field is required'</tt>)
   */

/**
   * @cfg {String} bodyBorder  @hide
   */

/**
   * @cfg {String} bodyStyle  @hide
   */

/**
   * @cfg {String} boxLabel The text that appears beside the checkbox
   */

/**
   * @cfg {String} buttonAlign
   * The alignment of any {@link #buttons} added to this panel.  Valid values are <code>'right'</code>,
   * <code>'left'</code> and <code>'center'</code> (defaults to <code>'right'</code>).
   */

/**
   * @cfg {String} buttonSelector
   * <p>(Optional) A {@link Ext.DomQuery DomQuery} selector which is used to extract the active, clickable element from the
   * DOM structure created.</p>
   * <p>When a custom {@link #template} is used, you  must ensure that this selector results in the selection of
   * a focussable element.</p>
   * <p>Defaults to <b><tt>'button:first-child'</tt></b>.</p>
   */

/**
   * @cfg {String} callbackParam (Optional) The name of the parameter to pass to the server which tells
   * the server the name of the callback function set up by the load call to process the returned data object.
   * Defaults to "callback".<p>The server-side processing must read this parameter value, and generate
   * javascript output which calls this named function passing the data object as its only parameter.
   */

/**
   * @cfg {String} cancelButtonText
   * text of cancel button
   */

/**
   * @cfg {String} cancelButtonText
   * text of cancel button (optional) defaults to _('Cancel')
   */

/**
   * @cfg {String} cancelText
   * The text to display on the cancel button (defaults to <code>'Cancel'</code>)
   */

/**
   * @cfg {String} canonicalName
   * canonical name of dialog (required) see getCanonicalPathSegment
   */

/**
   * @cfg {String} cellSelector The selector used to find cells internally (defaults to <tt>'td.x-grid3-cell'</tt>)
   */

/**
   * @cfg {String} centerPanelClassName
   * name of centerpanel class name suffix in namespace of this app (defaults to GridPanel)
   * the class name will be expanded to Tine[this.appName][contentType + this.centerPanelClassNameSuffix]
   */

/**
   * @cfg {String} checkboxName The name to assign to the fieldset's checkbox if <tt>{@link #checkboxToggle} = true</tt>
   * (defaults to <tt>'[checkbox id]-checkbox'</tt>).
   */

/**
   * @cfg {String} clearCls <p>The CSS class used to to apply to the special clearing div rendered
   * directly after each form field wrapper to provide field clearing (defaults to
   * <tt>'x-form-clear-left'</tt>).</p>
   * <br><p><b>Note</b>: this config is only used when this Component is rendered by a Container
   * which has been configured to use the <b>{@link Ext.layout.FormLayout FormLayout}</b> layout
   * manager (e.g. {@link Ext.form.FormPanel} or specifying <tt>layout:'form'</tt>) and either a
   * <tt>{@link #fieldLabel}</tt> is specified or <tt>isFormField=true</tt> is specified.</p><br>
   * <p>See {@link Ext.layout.FormLayout}.{@link Ext.layout.FormLayout#fieldTpl fieldTpl} also.</p>
   */

/**
   * @cfg {String} clickEvent
   * The DOM event that will cause a color to be selected. This can be any valid event name (dblclick, contextmenu). 
   * Defaults to <tt>'click'</tt>.
   */

/**
   * @cfg {String} clickEvent
   * The DOM event that will fire the handler of the button. This can be any valid event name (dblclick, contextmenu).
   * Defaults to <tt>'click'</tt>.
   */

/**
   * @cfg {String} closeAction
   * <p>The action to take when the close header tool is clicked:
   * <div class="mdetail-params"><ul>
   * <li><b><code>'{@link #close}'</code></b> : <b>Default</b><div class="sub-desc">
   * {@link #close remove} the window from the DOM and {@link Ext.Component#destroy destroy}
   * it and all descendant Components. The window will <b>not</b> be available to be
   * redisplayed via the {@link #show} method.
   * </div></li>
   * <li><b><code>'{@link #hide}'</code></b> : <div class="sub-desc">
   * {@link #hide} the window by setting visibility to hidden and applying negative offsets.
   * The window will be available to be redisplayed via the {@link #show} method.
   * </div></li>
   * </ul></div>
   * <p><b>Note:</b> This setting does not affect the {@link #close} method
   * which will always {@link Ext.Component#destroy destroy} the window. To
   * programatically <i>hide</i> a window, call {@link #hide}.</p>
   */

/**
   * @cfg {String} cls
   * A CSS class string to apply to the button's main element.
   */

/**
   * @cfg {String} cls
   * An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
   * useful for adding customized styles to the component or any of its children using standard CSS rules.
   */

/**
   * @cfg {String} cls
   * CSS class to apply to the editor (defaults to "x-small-editor x-tree-editor")
   */

/**
   * @cfg {String} cls A custom CSS class to apply to the field's underlying element (defaults to '').
   */

/**
   * @cfg {String} cls Optional. This option can be used to add a CSS class to the cell of each
   * row for this column.
   */

/**
   * @cfg {String} collapseMode
   * <tt>collapseMode</tt> supports two configuration values:<div class="mdetail-params"><ul>
   * <li><b><tt>undefined</tt></b> (default)<div class="sub-desc">By default, {@link #collapsible}
   * regions are collapsed by clicking the expand/collapse tool button that renders into the region's
   * title bar.</div></li>
   * <li><b><tt>'mini'</tt></b><div class="sub-desc">Optionally, when <tt>collapseMode</tt> is set to
   * <tt>'mini'</tt> the region's split bar will also display a small collapse button in the center of
   * the bar. In <tt>'mini'</tt> mode the region will collapse to a thinner bar than in normal mode.
   * </div></li>
   * </ul></div></p>
   * <p><b>Note</b>: if a collapsible region does not have a title bar, then set <tt>collapseMode =
   * 'mini'</tt> and <tt>{@link #split} = true</tt> in order for the region to be {@link #collapsible}
   * by the user as the expand/collapse tool button (that would go in the title bar) will not be rendered.</p>
   * <p>See also <tt>{@link #cmargins}</tt>.</p>
   */

/**
   * @cfg {String} collapsedCls
   * A CSS class to add to the panel's element after it has been collapsed (defaults to
   * <code>'x-panel-collapsed'</code>).
   */

/**
   * @cfg {String} collapsibleSplitTip
   * The tooltip to display when the user hovers over a
   * {@link Ext.layout.BorderLayout.Region#collapsible collapsible} region's split bar
   * (defaults to "Drag to resize. Double click to hide."). Only applies if
   * <tt>{@link #useSplitTips} = true</tt>.
   */

/**
   * @cfg {String} columnsText The text displayed in the 'Columns' menu item (defaults to <tt>'Columns'</tt>)
   */

/**
   * @cfg {String} containerName
   * untranslated container name
   */

/**
   * @cfg {String} containerProperty
   * name of the container property
   */

/**
   * @cfg {String} containerTreeClass
   * name of container tree class in namespace of this app (defaults to TreePanel)
   * the class name will be expanded to Tine[this.appName][this.containerTreePanelClassName]
   */

/**
   * @cfg {String} contentEl
   * <p>Optional. Specify an existing HTML element, or the <code>id</code> of an existing HTML element to use as the content
   * for this component.</p>
   * <ul>
   * <li><b>Description</b> :
   * <div class="sub-desc">This config option is used to take an existing HTML element and place it in the layout element
   * of a new component (it simply moves the specified DOM element <i>after the Component is rendered</i> to use as the content.</div></li>
   * <li><b>Notes</b> :
   * <div class="sub-desc">The specified HTML element is appended to the layout element of the component <i>after any configured
   * {@link #html HTML} has been inserted</i>, and so the document will not contain this element at the time the {@link #render} event is fired.</div>
   * <div class="sub-desc">The specified HTML element used will not participate in any <code><b>{@link Ext.Container#layout layout}</b></code>
   * scheme that the Component may use. It is just HTML. Layouts operate on child <code><b>{@link Ext.Container#items items}</b></code>.</div>
   * <div class="sub-desc">Add either the <code>x-hidden</code> or the <code>x-hide-display</code> CSS class to
   * prevent a brief flicker of the content before it is rendered to the panel.</div></li>
   * </ul>
   */

/**
   * @cfg {String} contentEl  @hide
   */

/**
   * @cfg {String} contentType
   * defines the contentType (e.g. Xyz), which will be expanded to Tine.Application.Model.Xyz, this panel controls 
   */

/**
   * @cfg {String} contentType 
   */

/**
   * @cfg {String} contentType mainscreen.activeContentType  
   */

/**
   * @cfg {String} createLinkText The default text for the create link prompt
   */

/**
   * @cfg {String} css Optional. An inline style definition string which is applied to all table cells in the column
   * (excluding headers). Defaults to undefined.
   */

/**
   * @cfg {String} ctCls
   * <p>An optional extra CSS class that will be added to this component's container. This can be useful for
   * adding customized styles to the container or any of its children using standard CSS rules.  See
   * {@link Ext.layout.ContainerLayout}.{@link Ext.layout.ContainerLayout#extraCls extraCls} also.</p>
   * <p><b>Note</b>: <tt>ctCls</tt> defaults to <tt>''</tt> except for the following class
   * which assigns a value by default:
   * <div class="mdetail-params"><ul>
   * <li>{@link Ext.layout.Box Box Layout} : <tt>'x-box-layout-ct'</tt></li>
   * </ul></div>
   * To configure the above Class with an extra CSS class append to the default.  For example,
   * for BoxLayout (Hbox and Vbox):<pre><code>
   * ctCls: 'x-box-layout-ct custom-class'
   * </code></pre>
   * </p>
   */

/**
   * @cfg {String} dataIndex <p><b>Required</b>. The name of the field in the
   * ListViews's {@link Ext.data.Store}'s {@link Ext.data.Record} definition from
   * which to draw the column's value.</p>
   */

/**
   * @cfg {String} dataIndex <p><b>Required</b>. The name of the field in the
   * grid's {@link Ext.data.Store}'s {@link Ext.data.Record} definition from
   * which to draw the column's value.</p>
   */

/**
   * @cfg {String} dateFormat
   * (Optional) A format string for the {@link Date#parseDate parseDate} function, or "timestamp" if the
   * value provided by the Reader is a UNIX timestamp, or "time" if the value provided by the Reader is a
   * javascript millisecond timestamp.
   */

/**
   * @cfg {String} ddGroup
   * A named drag drop group to which this object belongs.  If a group is specified, then this object will only
   * interact with other drag drop objects in the same group (defaults to undefined).
   */

/**
   * @cfg {String} ddGroup The DD group this GridPanel belongs to. Defaults to <tt>'GridDD'</tt> if not specified.
   */

/**
   * @cfg {String} ddText
   * Configures the text in the drag proxy.  Defaults to:
   * <pre><code>
   * ddText : '{0} selected row{1}'
   * </code></pre>
   * <tt>{0}</tt> is replaced with the number of selected rows.
   */

/**
   * @cfg {String} decimalSeparator Character(s) to allow as the decimal separator (defaults to '.')
   */

/**
   * @cfg {String} default location type
   */

/**
   * @cfg {String} defaultAlign <b>Experimental</b>. The default {@link Ext.Element#alignTo} anchor position value
   * for this tip relative to its element of origin (defaults to "tl-bl?").
   */

/**
   * @cfg {String} defaultAlign The default {@link Ext.Element#alignTo} anchor position value for this menu
   * relative to its element of origin (defaults to 'tl-bl?')
   */

/**
   * @cfg {String} defaultContainerPath
   */

/**
   * @cfg {String} defaultEventAction
   * The method to call on the {@link Ext.EventObject} after this KeyNav intercepts a key.  Valid values are
   * {@link Ext.EventObject#stopEvent}, {@link Ext.EventObject#preventDefault} and
   * {@link Ext.EventObject#stopPropagation} (defaults to 'stopEvent')
   */

/**
   * @cfg {String} defaultImportContainer
   */

/**
   * @cfg {String} defaultLinkValue The default value for the create link prompt (defaults to http:/ /)
   */

/**
   * @cfg {String} defaultOperator
   * name of the default operator
   */

/**
   * @cfg {String} defaultOperator default operator, one of <tt>{@link #operators} (defaults to equals)
   */

/**
   * @cfg {String} defaultPassword prefilled password
   */

/**
   * @cfg {String} defaultResolveStrategy
   * default resolve action
   */

/**
   * @cfg {String} defaultRoute
   */

/**
   * @cfg {String} defaultType
   * @hide
   */

/**
   * @cfg {String} defaultUsername prefilled username
   */

/**
   * @cfg {String} defaultValue
   * default value
   */

/**
   * @cfg {String} defaultValue A default value to be put into the editor to resolve focus issues (defaults to &#160; (Non-breaking space) in Opera and IE6, &#8203; (Zero-width space) in all other browsers).
   */

/**
   * @cfg {String} defaultValue default value (defaults to all)
   */

/**
   * @cfg {String} definitionId
   */

/**
   * @cfg {String} delegate <p>Optional. A {@link Ext.DomQuery DomQuery}
   * selector which allows selection of individual elements within the
   * <code>{@link #target}</code> element to trigger showing and hiding the
   * ToolTip as the mouse moves within the target.</p>
   * <p>When specified, the child element of the target which caused a show
   * event is placed into the <code>{@link #triggerElement}</code> property
   * before the ToolTip is shown.</p>
   * <p>This may be useful when a Component has regular, repeating elements
   * in it, each of which need a Tooltip which contains information specific
   * to that element. For example:</p><pre><code>
  var myGrid = new Ext.grid.gridPanel(gridConfig);
  myGrid.on('render', function(grid) {
  var store = grid.getStore();  // Capture the Store.
  var view = grid.getView();    // Capture the GridView.
  myGrid.tip = new Ext.ToolTip({
      target: view.mainBody,    // The overall target element.
      delegate: '.x-grid3-row', // Each grid row causes its own seperate show and hide.
      trackMouse: true,         // Moving within the row should not hide the tip.
      renderTo: document.body,  // Render immediately so that tip.body can be
                                //  referenced prior to the first show.
      listeners: {              // Change content dynamically depending on which element
                                //  triggered the show.
          beforeshow: function updateTipBody(tip) {
              var rowIndex = view.findRowIndex(tip.triggerElement);
              tip.body.dom.innerHTML = 'Over Record ID ' + store.getAt(rowIndex).id;
          }
      }
  });
  });
   *</code></pre>
   */

/**
   * @cfg {String} dir The direction to sort ("asc" or "desc," case-insensitive, defaults to "asc")
   */

/**
   * @cfg {String} disabledClass
   * @hide
   */

/**
   * @cfg {String} disabledClass
   * CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
   */

/**
   * @cfg {String} disabledClass  @hide
   */

/**
   * @cfg {String} disabledDatesText
   * The tooltip text to display when the date falls on a disabled date (defaults to <code>'Disabled'</code>)
   */

/**
   * @cfg {String} disabledDatesText
   * The tooltip text to display when the date falls on a disabled date (defaults to <tt>'Disabled'</tt>)
   */

/**
   * @cfg {String} disabledDaysText
   * The tooltip to display when the date falls on a disabled day (defaults to <code>'Disabled'</code>)
   */

/**
   * @cfg {String} disabledDaysText
   * The tooltip to display when the date falls on a disabled day (defaults to <tt>'Disabled'</tt>)
   */

/**
   * @cfg {String} displayField
   * used by combo valueType
   */

/**
   * @cfg {String} displayField The underlying {@link Ext.data.Field#name data field name} to bind to this
   * ComboBox (defaults to undefined if <tt>{@link #mode} = 'remote'</tt> or <tt>'field1'</tt> if
   * {@link #transform transforming a select} or if the {@link #store field name is autogenerated based on
   * the store configuration}).
   * <p>See also <tt>{@link #valueField}</tt>.</p>
   * <p><b>Note</b>: if using a ComboBox in an {@link Ext.grid.EditorGridPanel Editor Grid} a
   * {@link Ext.grid.Column#renderer renderer} will be needed to show the displayField when the editor is not
   * active.</p>
   */

/**
   * @cfg {String} documentRoot [xrequest] (Optional) The name of the XML document root-node.  <b>Note:</b>
   * this parameter is required </b>only when</b> sending extra {@link Ext.data.Store#baseParams baseParams} to the server
   * during a write-request -- if no baseParams are set, the {@link Ext.data.XmlReader#record} meta-property can
   * suffice as the XML document root-node for write-actions involving just a <b>single record</b>.  For requests
   * involving <b>multiple</b> records and <b>NO</b> baseParams, the {@link Ext.data.XmlWriter#root} property can
   * act as the XML document root.
   */

/**
   * @cfg {String} dropAllowed
   * The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").
   */

/**
   * @cfg {String} dropAllowed
   * The CSS class to apply to the status element when drop is allowed (defaults to "x-dd-drop-ok").
   */

/**
   * @cfg {String} dropNotAllowed
   * The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop").
   */

/**
   * @cfg {String} dropNotAllowed
   * The CSS class to apply to the status element when drop is not allowed (defaults to "x-dd-drop-nodrop").
   */

/**
   * @cfg {String} easing Animation easing if animate = true (defaults to <tt>'easingOutStrong'</tt>)
   */

/**
   * @cfg {String} editDefinitionText untranslated edit definition button text
   */

/**
   * @cfg {String} elements
   * @hide
   */

/**
   * @cfg {String} elements
   * A comma-delimited list of panel elements to initialize when the panel is rendered.  Normally, this list will be
   * generated automatically based on the items added to the panel at config time, but sometimes it might be useful to
   * make sure a structural element is rendered even if not specified at config time (for example, you may want
   * to add a button or toolbar dynamically after the panel has been rendered).  Adding those elements to this
   * list will allocate the required placeholders in the panel when it is rendered.  Valid values are<div class="mdetail-params"><ul>
   * <li><code>header</code></li>
   * <li><code>tbar</code> (top bar)</li>
   * <li><code>body</code></li>
   * <li><code>bbar</code> (bottom bar)</li>
   * <li><code>footer</code></li>
   * </ul></div>
   * Defaults to '<code>body</code>'.
   */

/**
   * @cfg {String} elements  @hide
   */

/**
   * @cfg {String} emptyClass The CSS class to apply to an empty field to style the <b><tt>{@link #emptyText}</tt></b>
   * (defaults to <tt>'x-form-empty-field'</tt>).  This class is automatically added and removed as needed
   * depending on the current field value.
   */

/**
   * @cfg {String} emptyGroupText Optional. If the grid is being rendered by an {@link Ext.grid.GroupingView}, this option
   * may be used to specify the text to display when there is an empty group value. Defaults to the
   * {@link Ext.grid.GroupingView}.{@link Ext.grid.GroupingView#emptyGroupText emptyGroupText}.
   */

/**
   * @cfg {String} emptyGroupText The text to display when there is an empty group value (defaults to <tt>'(None)'</tt>).
   * May also be specified per column, see {@link Ext.grid.Column}.{@link Ext.grid.Column#emptyGroupText emptyGroupText}.
   */

/**
   * @cfg {String} emptyText
   * The text to display in the view when there is no data to display (defaults to '').
   */

/**
   * @cfg {String} emptyText
   */

/**
   * @cfg {String} emptyText Default text (html tags are accepted) to display in the grid body when no rows
   * are available (defaults to ''). This value will be used to update the <tt>{@link #mainBody}</tt>:
  <pre><code>
  this.mainBody.update('&lt;div class="x-grid-empty">' + this.emptyText + '&lt;/div>');
  </code></pre>
   */

/**
   * @cfg {String} emptyText The default text to place into an empty field (defaults to <tt>null</tt>).
   * <b>Note</b>: that this value will be submitted to the server if this field is enabled and configured
   * with a {@link #name}.
   */

/**
   * @cfg {String} emptyValue value for value===emptyText or undefined
   */

/**
   * @cfg {String} enableUrlEncode
   * Specify which param will hold the arguments for the method.
   * Defaults to <tt>'data'</tt>.
   */

/**
   * @cfg {String} export function (for example: Timetracker.exportTimesheets)
   */

/**
   * @cfg {String} extraCls
   * <p>An optional extra CSS class that will be added to the container. This can be useful for adding
   * customized styles to the container or any of its children using standard CSS rules. See
   * {@link Ext.Component}.{@link Ext.Component#ctCls ctCls} also.</p>
   * <p><b>Note</b>: <tt>extraCls</tt> defaults to <tt>''</tt> except for the following classes
   * which assign a value by default:
   * <div class="mdetail-params"><ul>
   * <li>{@link Ext.layout.AbsoluteLayout Absolute Layout} : <tt>'x-abs-layout-item'</tt></li>
   * <li>{@link Ext.layout.Box Box Layout} : <tt>'x-box-item'</tt></li>
   * <li>{@link Ext.layout.ColumnLayout Column Layout} : <tt>'x-column'</tt></li>
   * </ul></div>
   * To configure the above Classes with an extra CSS class append to the default.  For example,
   * for ColumnLayout:<pre><code>
   * extraCls: 'x-column custom-class'
   * </code></pre>
   * </p>
   */

/**
   * @cfg {String} falseText
   * The string returned by the renderer when the column value is falsey (but not undefined) (defaults to
   * <tt>'false'</tt>).
   */

/**
   * @cfg {String} favoritesPanelClassName
   * name of favorites class in namespace of this app (defaults to FilterPanel)
   * the class name will be expanded to Tine[this.appName][this.favoritesPanelClassName]
   */

/**
   * @cfg {String} field
   * name of th field to filter
   */

/**
   * @cfg {String} field - required!
   * field of mapping records.
   */

/**
   * @cfg {String} field container field (defaults to container_id)
   */

/**
   * @cfg {String} field the filed to filter
   */

/**
   * @cfg {String} fieldClass The default CSS class for the checkbox (defaults to 'x-form-field')
   */

/**
   * @cfg {String} fieldClass The default CSS class for the field (defaults to "x-form-field x-form-num-field")
   */

/**
   * @cfg {String} fieldClass The default CSS class for the field (defaults to 'x-form-field')
   */

/**
   * @cfg {String} fieldClass The default CSS class for the field (defaults to <tt>"x-form-display-field"</tt>)
   */

/**
   * @cfg {String} fieldLabel <p>The label text to display next to this Component (defaults to '').</p>
   * <br><p><b>Note</b>: this config is only used when this Component is rendered by a Container which
   * has been configured to use the <b>{@link Ext.layout.FormLayout FormLayout}</b> layout manager (e.g.
   * {@link Ext.form.FormPanel} or specifying <tt>layout:'form'</tt>).</p><br>
   * <p>Also see <tt>{@link #hideLabel}</tt> and
   * {@link Ext.layout.FormLayout}.{@link Ext.layout.FormLayout#fieldTpl fieldTpl}.</p>
   * Example use:<pre><code>
  new Ext.FormPanel({
  height: 100,
  renderTo: Ext.getBody(),
  items: [{
      xtype: 'textfield',
      fieldLabel: 'Name'
  }]
  });
  </code></pre>
   */

/**
   * @cfg {String} fieldname of default filter
   */

/**
   * @cfg {String} fileName
   * @property {String} fileName
   * (initial) fileName
   */

/**
   * @cfg {String} filterMode one of:
   *   - gridFilter: hooks into the grids.store
   *   - filterToolbar: hooks into the filterToolbar (container filterModel required)
   */

/**
   * @cfg {String} filterMountId mount point of persistent filter folder
   *      (defaults to null -> root node)
   */

/**
   * @cfg {String} filterName server side filterGroup Name, needed for explicit defined filters
   */

/**
   * @cfg {String} focusClass The CSS class to use when the checkbox receives focus (defaults to undefined)
   */

/**
   * @cfg {String} focusClass The CSS class to use when the field receives focus (defaults to 'x-form-focus')
   */

/**
   * @cfg {String} forId The id of the input element to which this label will be bound via the standard HTML 'for'
   * attribute. If not specified, the attribute will not be added to the label.
   */

/**
   * @cfg {String} forceIcon A css class which sets an image to be used as the static icon for this button.  This
   * icon will always be displayed regardless of which item is selected in the dropdown list.  This overrides the 
   * default behavior of changing the button's icon to match the selected item's icon on change.
   */

/**
   * @cfg {String} forceUnit
   */

/**
   * @cfg {String} foreignRefIdField optional, defaults to idProperty
   * might differ for foreignRecords (many to many relation) filter
   *  -> foreignRefId is not yet part of modelConfiguration :-(
   */

/**
   * @cfg {String} formId (optional) The id of the FORM tag (defaults to an auto-generated id).
   */

/**
   * @cfg {String} format
   * A formatting string as used by {@link Date#format} to format a Date for this Column
   * (defaults to <tt>'m/d/Y'</tt>).
   */

/**
   * @cfg {String} format
   * A formatting string as used by {@link Ext.util.Format#number} to format a numeric value for this Column
   * (defaults to <tt>'0,000.00'</tt>).
   */

/**
   * @cfg {String} format
   * The default date format string which can be overriden for localization support.  The format must be
   * valid according to {@link Date#parseDate} (defaults to <code>'m/d/y'</code>).
   */

/**
   * @cfg {String} format
   * The default date format string which can be overriden for localization support.  The format must be
   * valid according to {@link Date#parseDate} (defaults to <tt>'m/d/Y'</tt>).
   */

/**
   * @cfg {String} format
   * The default time format string which can be overriden for localization support.  The format must be
   * valid according to {@link Date#parseDate} (defaults to 'g:i A', e.g., '3:15 PM').  For 24-hour time
   * format try 'H:i' instead.
   */

/**
   * @cfg {String} format of export (default: csv)
   */

/**
   * @cfg {String} getAllRegistryDataMethod
   */

/**
   * @cfg {String} grantsPath
   * path (see _.get() to find grants
   */

/**
   * @cfg {String} group
   * All check items with the same group name will automatically be grouped into a single-select
   * radio button group (defaults to '')
   */

/**
   * @cfg {String} groupByText Text displayed in the grid header menu for grouping by a column
   * (defaults to 'Group By This Field').
   */

/**
   * @cfg {String} groupClass The default CSS class to use for radio group check items (defaults to "x-menu-group-item")
   */

/**
   * @cfg {String} groupField
   * The field name by which to sort the store's data (defaults to '').
   */

/**
   * @cfg {String} groupMode Indicates how to construct the group identifier. <tt>'value'</tt> constructs the id using
   * raw value, <tt>'display'</tt> constructs the id using the rendered value. Defaults to <tt>'value'</tt>.
   */

/**
   * @cfg {String} groupName Optional. If the grid is being rendered by an {@link Ext.grid.GroupingView}, this option
   * may be used to specify the text with which to prefix the group field value in the group header line.
   * See also {@link #groupRenderer} and
   * {@link Ext.grid.GroupingView}.{@link Ext.grid.GroupingView#showGroupName showGroupName}.
   */

/**
   * @cfg {String} groupRecordsGrid - optional
   * property name of grid which group records. The groups get automatically resolved when specified
   */

/**
   * @cfg {String} groupTextTpl The template used to render the group header (defaults to <tt>'{text}'</tt>).
   * This is used to format an object which contains the following properties:
   * <div class="mdetail-params"><ul>
   * <li><b>group</b> : String<p class="sub-desc">The <i>rendered</i> value of the group field.
   * By default this is the unchanged value of the group field. If a <tt><b>{@link Ext.grid.Column#groupRenderer groupRenderer}</b></tt>
   * is specified, it is the result of a call to that function.</p></li>
   * <li><b>gvalue</b> : Object<p class="sub-desc">The <i>raw</i> value of the group field.</p></li>
   * <li><b>text</b> : String<p class="sub-desc">The configured header (as described in <tt>{@link #showGroupName})</tt>
   * if <tt>{@link #showGroupName}</tt> is <tt>true</tt>) plus the <i>rendered</i> group field value.</p></li>
   * <li><b>groupId</b> : String<p class="sub-desc">A unique, generated ID which is applied to the
   * View Element which contains the group.</p></li>
   * <li><b>startRow</b> : Number<p class="sub-desc">The row index of the Record which caused group change.</p></li>
   * <li><b>rs</b> : Array<p class="sub-desc">Contains a single element: The Record providing the data
   * for the row which caused group change.</p></li>
   * <li><b>cls</b> : String<p class="sub-desc">The generated class name string to apply to the group header Element.</p></li>
   * <li><b>style</b> : String<p class="sub-desc">The inline style rules to apply to the group header Element.</p></li>
   * </ul></div></p>
   * See {@link Ext.XTemplate} for information on how to format data using a template. Possible usage:<pre><code>
  var grid = new Ext.grid.GridPanel({
  ...
  view: new Ext.grid.GroupingView({
      groupTextTpl: '{text} ({[values.rs.length]} {[values.rs.length > 1 ? "Items" : "Item"]})'
  }),
  });
   * </code></pre>
   */

/**
   * @cfg {String} handleCls A css class to add to each handle. Defaults to <tt>''</tt>.
   */

/**
   * @cfg {String} handles String consisting of the resize handles to display (defaults to undefined).
   * Specify either <tt>'all'</tt> or any of <tt>'n s e w ne nw se sw'</tt>.
   */

/**
   * @cfg {String} header
   * @hide
   */

/**
   * @cfg {String} header Any valid text or HTML fragment to display in the header cell for the
   * checkbox column.  Defaults to:<pre><code>
   * '&lt;div class="x-grid3-hd-checker">&#38;#160;&lt;/div>'</tt>
   * </code></pre>
   * The default CSS class of <tt>'x-grid3-hd-checker'</tt> displays a checkbox in the header
   * and provides support for automatic check all/none behavior on header click. This string
   * can be replaced by any valid HTML fragment, including a simple text string (e.g.,
   * <tt>'Select Rows'</tt>), but the automatic check all/none behavior will only work if the
   * <tt>'x-grid3-hd-checker'</tt> class is supplied.
   */

/**
   * @cfg {String} header Any valid text or HTML fragment to display in the header cell for the row
   * number column (defaults to '').
   */

/**
   * @cfg {String} header Optional. The header text to be used as innerHTML
   * (html tags are accepted) to display in the Grid view.  <b>Note</b>: to
   * have a clickable header with no text displayed use <tt>'&#160;'</tt>.
   */

/**
   * @cfg {String} header Optional. The header text to be used as innerHTML
   * (html tags are accepted) to display in the ListView.  <b>Note</b>: to
   * have a clickable header with no text displayed use <tt>'&#160;'</tt>.
   */

/**
   * @cfg {String} hiddenId If <tt>{@link #hiddenName}</tt> is specified, <tt>hiddenId</tt> can also be provided
   * to give the hidden field a unique id (defaults to the <tt>{@link #hiddenName}</tt>).  The <tt>hiddenId</tt>
   * and combo {@link Ext.Component#id id} should be different, since no two DOM
   * nodes should share the same id.
   */

/**
   * @cfg {String} hiddenName If specified, a hidden form field with this name is dynamically generated to store the
   * field's data value (defaults to the underlying DOM element's name). Required for the combo's value to automatically
   * post during a form submission.  See also {@link #valueField}.
   * <p><b>Note</b>: the hidden field's id will also default to this name if {@link #hiddenId} is not specified.
   * The ComboBox {@link Ext.Component#id id} and the <tt>{@link #hiddenId}</tt> <b>should be different</b>, since
   * no two DOM nodes should share the same id.  So, if the ComboBox <tt>{@link Ext.form.Field#name name}</tt> and
   * <tt>hiddenName</tt> are the same, you should specify a unique <tt>{@link #hiddenId}</tt>.</p>
   */

/**
   * @cfg {String} hiddenValue Sets the initial value of the hidden field if {@link #hiddenName} is
   * specified to contain the selected {@link #valueField}, from the Store. Defaults to the configured
   * <tt>{@link Ext.form.Field#value value}</tt>.
   */

/**
   * @cfg {String} hideMode
   * <p>How this component should be hidden. Supported values are <tt>'visibility'</tt>
   * (css visibility), <tt>'offsets'</tt> (negative offset position) and <tt>'display'</tt>
   * (css display).</p>
   * <br><p><b>Note</b>: the default of <tt>'display'</tt> is generally preferred
   * since items are automatically laid out when they are first shown (no sizing
   * is done while hidden).</p>
   */

/**
   * @cfg {String} hlColor The color to use when visually highlighting the drag source in the afterRepair
   * method after a failed drop (defaults to "c3daf9" - light blue)
   */

/**
   * @cfg {String} href The href attribute to use for the underlying anchor link (defaults to '#').
   */

/**
   * @cfg {String} hrefTarget The target attribute to use for the underlying anchor link (defaults to '').
   */

/**
   * @cfg {String} html  @hide
   */

/**
   * @cfg {String} html An HTML fragment that will be used as the label's innerHTML (defaults to '').
   * Note that if {@link #text} is specified it will take precedence and this value will be ignored.
   */

/**
   * @cfg {String} i18nAddRecordAction 
   * spechialised strings for add action button
   */

/**
   * @cfg {String} i18nEditRecordAction 
   * specialised strings for edit action button
   */

/**
   * @cfg {String} i18nEmptyText 
   */

/**
   * @cfg {String} i18nMoveActionText
   * specialised strings for move action button
   */

/**
   * @cfg {String} icon The path to an icon to display in this item (defaults to Ext.BLANK_IMAGE_URL).  If
   * icon is specified {@link #iconCls} should not be.
   */

/**
   * @cfg {String} icon class
   */

/**
   * @cfg {String} iconAlign
   * <p>(Optional) The side of the Button box to render the icon. Four values are allowed:</p>
   * <ul class="mdetail-params">
   * <li>'top'<div class="sub-desc"></div></li>
   * <li>'right'<div class="sub-desc"></div></li>
   * <li>'bottom'<div class="sub-desc"></div></li>
   * <li>'left'<div class="sub-desc"></div></li>
   * </ul>
   * <p>Defaults to <b><tt>'left'</tt></b>.</p>
   */

/**
   * @cfg {String} iconCls
   * @hide
   */

/**
   * @cfg {String} iconCls
   * A css class which sets a background image to be used as the icon for this button
   */

/**
   * @cfg {String} iconCls
   * The CSS class selector that specifies a background image to be used as the header icon (defaults to '').
   * <p>An example of specifying a custom icon class would be something like:
   * </p><pre><code>
  // specify the property in the config for the class:
   ...
   iconCls: 'my-icon'
  // css class that specifies background image to be used as the icon image:
  .my-icon { background-image: url(../images/my-icon.gif) 0 6px no-repeat !important; }
  </code></pre>
   */

/**
   * @cfg {String} iconCls
   * The CSS class selector that specifies a background image to be used as the header icon for
   * all components using this action (defaults to '').
   * <p>An example of specifying a custom icon class would be something like:
   * </p><pre><code>
  // specify the property in the config for the class:
   ...
   iconCls: 'do-something'
  // css class that specifies background image to be used as the icon image:
  .do-something { background-image: url(../images/my-icon.gif) 0 6px no-repeat !important; }
  </code></pre>
   */

/**
   * @cfg {String} iconCls A CSS class that specifies a background image that will be used as the icon for
   * this item (defaults to '').  If iconCls is specified {@link #icon} should not be.
   */

/**
   * @cfg {String} id
   * <p>The <b>unique</b> id of this component (defaults to an {@link #getId auto-assigned id}).
   * You should assign an id if you need to be able to access the component later and you do
   * not have an object reference available (e.g., using {@link Ext}.{@link Ext#getCmp getCmp}).</p>
   * <p>Note that this id will also be used as the element id for the containing HTML element
   * that is rendered to the page for this component. This allows you to write id-based CSS
   * rules to style the specific instance of this component uniquely, and also to select
   * sub-elements using this component's id as the parent.</p>
   * <p><b>Note</b>: to avoid complications imposed by a unique <tt>id</tt> also see
   * <code>{@link #itemId}</code> and <code>{@link #ref}</code>.</p>
   * <p><b>Note</b>: to access the container of an item see <code>{@link #ownerCt}</code>.</p>
   */

/**
   * @cfg {String} id
   * The unique id of the provider (defaults to an {@link Ext#id auto-assigned id}).
   * You should assign an id if you need to be able to access the provider later and you do
   * not have an object reference available, for example:
   * <pre><code>
  Ext.Direct.addProvider(
  {
      type: 'polling',
      url:  'php/poll.php',
      id:   'poll-provider'
  }
  );
   
  var p = {@link Ext.Direct Ext.Direct}.{@link Ext.Direct#getProvider getProvider}('poll-provider');
  p.disconnect();
   * </code></pre>
   */

/**
   * @cfg {String} id Optional. A name which identifies this column (defaults to the column's initial
   * ordinal position.) The <tt>id</tt> is used to create a CSS <b>class</b> name which is applied to all
   * table cells (including headers) in that column (in this context the <tt>id</tt> does not need to be
   * unique). The class name takes the form of <pre>x-grid3-td-<b>id</b></pre>
   * Header cells will also receive this class name, but will also have the class <pre>x-grid3-hd</pre>
   * So, to target header cells, use CSS selectors such as:<pre>.x-grid3-hd-row .x-grid3-td-<b>id</b></pre>
   * The {@link Ext.grid.GridPanel#autoExpandColumn} grid config option references the column via this
   * unique identifier.
   */

/**
   * @cfg {String} idProperty
   * property of the id of the record
   */

/**
   * @cfg {String} idProperty [id] Name of the property within a row object
   * that contains a record identifier value.  Defaults to <tt>id</tt>
   */

/**
   * @cfg {String} initialPath
   * initial filemanager path
   */

/**
   * @cfg {String} inputFileName
   * Name to use for the hidden input file DOM element.  Deaults to "file".
   */

/**
   * @cfg {String} inputType The type attribute for input fields -- e.g. radio, text, password, file (defaults
   * to 'text'). The types 'file' and 'password' must be used to render those field types currently -- there are
   * no separate Ext components for those. Note that if you use <tt>inputType:'file'</tt>, {@link #emptyText}
   * is not supported and should be avoided.
   */

/**
   * @cfg {String} inputValue The value that should go into the generated input element's value attribute
   */

/**
   * @cfg {String} internal app name
   */

/**
   * @cfg {String} internal name of new window
   */

/**
   * @cfg {String} invalidClass The CSS class to use when marking a field invalid (defaults to 'x-form-invalid')
   */

/**
   * @cfg {String} invalidText
   * The error text to display when the date in the field is invalid (defaults to
   * <tt>'{value} is not a valid date - it must be in the format {format}'</tt>).
   */

/**
   * @cfg {String} invalidText
   * The error text to display when the time in the field is invalid (defaults to
   * '{value} is not a valid time').
   */

/**
   * @cfg {String} invalidText The error text to use when marking a field invalid and no message is provided
   * (defaults to 'The value in this field is invalid')
   */

/**
   * @cfg {String} invalidText defaults to i18n._('You need to select an option!')
   */

/**
   * @cfg {String} itemCls
   * <p><b>Note</b>: this config is only used when this Component is rendered by a Container which
   * has been configured to use the <b>{@link Ext.layout.FormLayout FormLayout}</b> layout manager (e.g.
   * {@link Ext.form.FormPanel} or specifying <tt>layout:'form'</tt>).</p><br>
   * <p>An additional CSS class to apply to the div wrapping the form item
   * element of this field.  If supplied, <tt>itemCls</tt> at the <b>field</b> level will override
   * the default <tt>itemCls</tt> supplied at the <b>container</b> level. The value specified for
   * <tt>itemCls</tt> will be added to the default class (<tt>'x-form-item'</tt>).</p>
   * <p>Since it is applied to the item wrapper (see
   * {@link Ext.layout.FormLayout}.{@link Ext.layout.FormLayout#fieldTpl fieldTpl}), it allows
   * you to write standard CSS rules that can apply to the field, the label (if specified), or
   * any other element within the markup for the field.</p>
   * <br><p><b>Note</b>: see the note for <tt>{@link #fieldLabel}</tt>.</p><br>
   * Example use:<pre><code>
  // Apply a style to the field&#39;s label:
  &lt;style>
  .required .x-form-item-label {font-weight:bold;color:red;}
  &lt;/style>
  new Ext.FormPanel({
  height: 100,
  renderTo: Ext.getBody(),
  items: [{
      xtype: 'textfield',
      fieldLabel: 'Name',
      itemCls: 'required' //this label will be styled
  },{
      xtype: 'textfield',
      fieldLabel: 'Favorite Color'
  }]
  });
  </code></pre>
   */

/**
   * @cfg {String} itemCls
   * The CSS class to apply to the containing element (defaults to 'x-color-palette')
   */

/**
   * @cfg {String} itemCls A css class to apply to the <tt>x-form-item</tt> of fields (see 
   * {@link Ext.layout.FormLayout}.{@link Ext.layout.FormLayout#fieldTpl fieldTpl} for details).
   * This property cascades to child containers.
   */

/**
   * @cfg {String} itemCls A css class to apply to the x-form-item of fields. This property cascades to child containers.
   */

/**
   * @cfg {String} itemCls The default CSS class to use for check items (defaults to "x-menu-item x-menu-check-item")
   */

/**
   * @cfg {String} itemCls The default CSS class to use for menu items (defaults to 'x-menu-item')
   */

/**
   * @cfg {String} itemCls The default CSS class to use for separators (defaults to "x-menu-sep")
   */

/**
   * @cfg {String} itemCls The default CSS class to use for text items (defaults to "x-menu-text")
   */

/**
   * @cfg {String} itemId
   * <p>An <tt>itemId</tt> can be used as an alternative way to get a reference to a component
   * when no object reference is available.  Instead of using an <code>{@link #id}</code> with
   * {@link Ext}.{@link Ext#getCmp getCmp}, use <code>itemId</code> with
   * {@link Ext.Container}.{@link Ext.Container#getComponent getComponent} which will retrieve
   * <code>itemId</code>'s or <tt>{@link #id}</tt>'s. Since <code>itemId</code>'s are an index to the
   * container's internal MixedCollection, the <code>itemId</code> is scoped locally to the container --
   * avoiding potential conflicts with {@link Ext.ComponentMgr} which requires a <b>unique</b>
   * <code>{@link #id}</code>.</p>
   * <pre><code>
  var c = new Ext.Panel({ //
  {@link Ext.BoxComponent#height height}: 300,
  {@link #renderTo}: document.body,
  {@link Ext.Container#layout layout}: 'auto',
  {@link Ext.Container#items items}: [
      {
          itemId: 'p1',
          {@link Ext.Panel#title title}: 'Panel 1',
          {@link Ext.BoxComponent#height height}: 150
      },
      {
          itemId: 'p2',
          {@link Ext.Panel#title title}: 'Panel 2',
          {@link Ext.BoxComponent#height height}: 150
      }
  ]
  })
  p1 = c.{@link Ext.Container#getComponent getComponent}('p1'); // not the same as {@link Ext#getCmp Ext.getCmp()}
  p2 = p1.{@link #ownerCt}.{@link Ext.Container#getComponent getComponent}('p2'); // reference via a sibling
   * </code></pre>
   * <p>Also see <tt>{@link #id}</tt> and <code>{@link #ref}</code>.</p>
   * <p><b>Note</b>: to access the container of an item see <tt>{@link #ownerCt}</tt>.</p>
   */

/**
   * @cfg {String} itemId
   * See {@link Ext.Component}.{@link Ext.Component#itemId itemId}.
   */

/**
   * @cfg {String} itemSelector
   * <b>This is a required setting</b>. A simple CSS selector (e.g. <tt>div.some-class</tt> or 
   * <tt>span:first-child</tt>) that will be used to determine what nodes this DataView will be
   * working with.
   */

/**
   * @cfg {String} itemSelector
   * Defaults to <tt>'dl'</tt> to work with the preconfigured <b><tt>{@link Ext.DataView#tpl tpl}</tt></b>.
   * This setting specifies the CSS selector (e.g. <tt>div.some-class</tt> or <tt>span:first-child</tt>)
   * that will be used to determine what nodes the ListView will be working with.   
   */

/**
   * @cfg {String} key
   * key the items are registered under. If no key is given, the itemId
   * of the component will be used
   */

/**
   * @cfg {String} keyFieldName 
   * name of key field
   */

/**
   * @cfg {String} label 
   * label for the filter
   */

/**
   * @cfg {String} labelAlign The label alignment value used for the <tt>text-align</tt> specification
   * for the <b>container</b>. Valid values are <tt>"left</tt>", <tt>"top"</tt> or <tt>"right"</tt>
   * (defaults to <tt>"left"</tt>). This property cascades to child <b>containers</b> and can be
   * overridden on any child <b>container</b> (e.g., a fieldset can specify a different <tt>labelAlign</tt>
   * for its fields).
   */

/**
   * @cfg {String} labelSeparator
   * See {@link Ext.Component}.<tt>{@link Ext.Component#labelSeparator labelSeparator}</tt>
   */

/**
   * @cfg {String} labelSeparator
   * See {@link Ext.form.FormPanel}.{@link Ext.form.FormPanel#labelSeparator labelSeparator}.  Configuration
   * of this property at the <b>container</b> level takes precedence.
   */

/**
   * @cfg {String} labelSeparator <p>The separator to display after the text of each
   * <tt>{@link #fieldLabel}</tt>.  This property may be configured at various levels.
   * The order of precedence is:
   * <div class="mdetail-params"><ul>
   * <li>field / component level</li>
   * <li>container level</li>
   * <li>{@link Ext.layout.FormLayout#labelSeparator layout level} (defaults to colon <tt>':'</tt>)</li>
   * </ul></div>
   * To display no separator for this field's label specify empty string ''.</p>
   * <br><p><b>Note</b>: see the note for <tt>{@link #clearCls}</tt>.</p><br>
   * <p>Also see <tt>{@link #hideLabel}</tt> and
   * {@link Ext.layout.FormLayout}.{@link Ext.layout.FormLayout#fieldTpl fieldTpl}.</p>
   * Example use:<pre><code>
  new Ext.FormPanel({
  height: 100,
  renderTo: Ext.getBody(),
  layoutConfig: {
      labelSeparator: '~'   // layout config has lowest priority (defaults to ':')
  },
  {@link Ext.layout.FormLayout#labelSeparator labelSeparator}: '>>',     // config at container level
  items: [{
      xtype: 'textfield',
      fieldLabel: 'Field 1',
      labelSeparator: '...' // field/component level config supersedes others
  },{
      xtype: 'textfield',
      fieldLabel: 'Field 2' // labelSeparator will be '='
  }]
  });
  </code></pre>
   */

/**
   * @cfg {String} labelStyle <p>A CSS style specification string to apply directly to this field's
   * label.  Defaults to the container's labelStyle value if set (e.g.,
   * <tt>{@link Ext.layout.FormLayout#labelStyle}</tt> , or '').</p>
   * <br><p><b>Note</b>: see the note for <code>{@link #clearCls}</code>.</p><br>
   * <p>Also see <code>{@link #hideLabel}</code> and
   * <code>{@link Ext.layout.FormLayout}.{@link Ext.layout.FormLayout#fieldTpl fieldTpl}.</code></p>
   * Example use:<pre><code>
  new Ext.FormPanel({
  height: 100,
  renderTo: Ext.getBody(),
  items: [{
      xtype: 'textfield',
      fieldLabel: 'Name',
      labelStyle: 'font-weight:bold;'
  }]
  });
  </code></pre>
   */

/**
   * @cfg {String} layerClass The CSS class to add to the predefined <tt>'x-combo-layer'</tt> class
   * applied the dropdown layer element (defaults to '').
   */

/**
   * @cfg {String} layout
   * @hide
   */

/**
   * @cfg {String} layout  Defaults to <tt>'table'</tt>.  See {@link Ext.Container#layout}.
   */

/**
   * @cfg {String} layout Defaults to <tt>'form'</tt>.  Normally this configuration property should not be altered.
   * For additional details see {@link Ext.layout.FormLayout} and {@link Ext.Container#layout Ext.Container.layout}.
   */

/**
   * @cfg {String} layout The {@link Ext.Container#layout} to use inside the fieldset (defaults to <tt>'form'</tt>).
   */

/**
   * @cfg {String} layout of the containing window
   */

/**
   * @cfg {String} leafAttr The attribute used to determine leaf nodes when {@link #folderSort} = true (defaults to "leaf")
   */

/**
   * @cfg {String} linkType {relation|foreignId} needed for explicit defined filters
   */

/**
   * @cfg {String} listClass The CSS class to add to the predefined <tt>'x-combo-list'</tt> class
   * applied the dropdown list element (defaults to '').
   */

/**
   * @cfg {String} listEmptyText The empty text to display in the data view if no items are found.
   * (defaults to '')
   */

/**
   * @cfg {String} loadingText
   * A string to display during data load operations (defaults to undefined).  If specified, this text will be
   * displayed in a loading div and the view's contents will be cleared while loading, otherwise the view's
   * contents will continue to display normally until the new data is loaded and the contents are replaced.
   */

/**
   * @cfg {String} loadingText The text to display in the dropdown list while data is loading.  Only applies
   * when <tt>{@link #mode} = 'remote'</tt> (defaults to <tt>'Loading...'</tt>)
   */

/**
   * @cfg {String} locationTypesEnabled list of enabled plugins
   */

/**
   * @cfg {String} loginMethod server side login method
   */

/**
   * @cfg {String} mappingField - required!
   * forward reference field in mapping record.
   */

/**
   * @cfg {String} maxLengthText Error text to display if the <b><tt>{@link #maxLength maximum length}</tt></b>
   * validation fails (defaults to <tt>'The maximum length for this field is {maxLength}'</tt>)
   */

/**
   * @cfg {String} maxText
   * The error text to display if the maxDate validation fails (defaults to <code>'This date is after the maximum date'</code>)
   */

/**
   * @cfg {String} maxText
   * The error text to display when the date in the cell is after <tt>{@link #maxValue}</tt> (defaults to
   * <tt>'The date in this field must be before {maxValue}'</tt>).
   */

/**
   * @cfg {String} maxText
   * The error text to display when the time is after maxValue (defaults to
   * 'The time in this field must be equal to or before {0}').
   */

/**
   * @cfg {String} maxText Error text to display if the maximum value validation fails (defaults to "The maximum value for this field is {maxValue}")
   */

/**
   * @cfg {String} menuAlign
   * The position to align the menu to (see {@link Ext.Element#alignTo} for more details, defaults to 'tl-bl?').
   */

/**
   * @cfg {String} message
   */

/**
   * @cfg {String} messageProperty [undefined] Optional name of a property within a server-response that represents a user-feedback message.
   */

/**
   * @cfg {String} method
   * The request method to use (GET or POST) for form actions if one isn't supplied in the action options.
   */

/**
   * @cfg {String} method (Optional) @hide
   */

/**
   * @cfg {String} method The HTTP method to use to access the requested URL. Defaults to the
   * {@link Ext.form.BasicForm}'s method, or if that is not specified, the underlying DOM form's method.
   */

/**
   * @cfg {String} minLengthText Error text to display if the <b><tt>{@link #minLength minimum length}</tt></b>
   * validation fails (defaults to <tt>'The minimum length for this field is {minLength}'</tt>)
   */

/**
   * @cfg {String} minText
   * The error text to display if the minDate validation fails (defaults to <code>'This date is before the minimum date'</code>)
   */

/**
   * @cfg {String} minText
   * The error text to display when the date in the cell is before <tt>{@link #minValue}</tt> (defaults to
   * <tt>'The date in this field must be after {minValue}'</tt>).
   */

/**
   * @cfg {String} minText
   * The error text to display when the date in the cell is before minValue (defaults to
   * 'The time in this field must be equal to or after {0}').
   */

/**
   * @cfg {String} minText Error text to display if the minimum value validation fails (defaults to "The minimum value for this field is {minValue}")
   */

/**
   * @cfg {String} mode
   * The shadow display mode.  Supports the following options:<div class="mdetail-params"><ul>
   * <li><b><tt>sides</tt></b> : Shadow displays on both sides and bottom only</li>
   * <li><b><tt>frame</tt></b> : Shadow displays equally on all four sides</li>
   * <li><b><tt>drop</tt></b> : Traditional bottom-right drop shadow</li>
   * </ul></div>
   */

/**
   * @cfg {String} mode (remote|local|load(remote):save(local)
   * Set to 'local' if the EditDialog only operates on this.record (defaults to 'remote' which loads and saves using the recordProxy)
   */

/**
   * @cfg {String} mode Acceptable values are:
   * <div class="mdetail-params"><ul>
   * <li><b><tt>'remote'</tt></b> : <b>Default</b>
   * <p class="sub-desc">Automatically loads the <tt>{@link #store}</tt> the <b>first</b> time the trigger
   * is clicked. If you do not want the store to be automatically loaded the first time the trigger is
   * clicked, set to <tt>'local'</tt> and manually load the store.  To force a requery of the store
   * <b>every</b> time the trigger is clicked see <tt>{@link #lastQuery}</tt>.</p></li>
   * <li><b><tt>'local'</tt></b> :
   * <p class="sub-desc">ComboBox loads local data</p>
   * <pre><code>
  var combo = new Ext.form.ComboBox({
  renderTo: document.body,
  mode: 'local',
  store: new Ext.data.ArrayStore({
      id: 0,
      fields: [
          'myId',  // numeric value is the key
          'displayText'
      ],
      data: [[1, 'item1'], [2, 'item2']]  // data is local
  }),
  valueField: 'myId',
  displayField: 'displayText',
  triggerAction: 'all'
  });
   * </code></pre></li>
   * </ul></div>
   */

/**
   * @cfg {String} mode one of source|target
   */

/**
   * @cfg {String} modelName
   * name of the model/record  (required)
   */

/**
   * @cfg {String} modelName (required)
   */

/**
   * @cfg {String} monthYearText
   * The header month selector tooltip (defaults to <code>'Choose a month (Control+Up/Down to move years)'</code>)
   */

/**
   * @cfg {String} msg
   * The text to display in a centered loading message box (defaults to 'Loading...')
   */

/**
   * @cfg {String} msgCls
   * The CSS class to apply to the loading message element (defaults to "x-mask-loading")
   */

/**
   * @cfg {String} msgFx <b>Experimental</b> The effect used when displaying a validation message under the field
   * (defaults to 'normal').
   */

/**
   * @cfg {String} msgTarget<p>The location where the message text set through {@link #markInvalid} should display.
   * Must be one of the following values:</p>
   * <div class="mdetail-params"><ul>
   * <li><code>qtip</code> Display a quick tip containing the message when the user hovers over the field. This is the default.
   * <div class="subdesc"><b>{@link Ext.QuickTips#init Ext.QuickTips.init} must have been called for this setting to work.</b></div</li>
   * <li><code>title</code> Display the message in a default browser title attribute popup.</li>
   * <li><code>under</code> Add a block div beneath the field containing the error message.</li>
   * <li><code>side</code> Add an error icon to the right of the field, displaying the message in a popup on hover.</li>
   * <li><code>[element id]</code> Add the error message directly to the innerHTML of the specified element.</li>
   * </ul></div>
   */

/**
   * @cfg {String} name
   * @hide
   */

/**
   * @cfg {String} name
   * The name by which the field is referenced within the Record. This is referenced by, for example,
   * the <tt>dataIndex</tt> property in column definition objects passed to {@link Ext.grid.ColumnModel}.
   * <p>Note: In the simplest case, if no properties other than <tt>name</tt> are required, a field
   * definition may consist of just a String for the field name.</p>
   */

/**
   * @cfg {String} name The field's HTML name attribute (defaults to '').
   * <b>Note</b>: this property must be set if this field is to be automatically included with
   * {@link Ext.form.BasicForm#submit form submit()}.
   */

/**
   * @cfg {String} name of the container property
   */

/**
   * @cfg {String} nanText Error text to display if the value is not a valid number.  For example, this can happen
   * if a valid character like '.' or '-' is left in the field with no number (defaults to "{value} is not a valid number")
   */

/**
   * @cfg {String} newRecordIcon 
   * icon for adding new records button
   */

/**
   * @cfg {String} nextText
   * The next month navigation button tooltip (defaults to <code>'Next Month (Control+Right)'</code>)
   */

/**
   * @cfg {String} nodeParameter The name of the parameter sent to the server which contains
   * the identifier of the node. Defaults to <tt>'node'</tt>.
   */

/**
   * @cfg {String} offset
   * The number of pixels to offset the shadow from the element (defaults to <tt>4</tt>)
   */

/**
   * @cfg {String} okText
   * The text to display on the ok button (defaults to <code>'&#160;OK&#160;'</code> to give the user extra clicking room)
   */

/**
   * @cfg {String} onLogin callback after successful login
   */

/**
   * @cfg {String} one of 'user', 'group', 'both', 'myself'
   * selectType
   */

/**
   * @cfg {String} operator operator of filter (defaults 'equals')
   */

/**
   * @cfg {String} overClass
   * A CSS class to apply to each item in the view on mouseover (defaults to undefined).
   */

/**
   * @cfg {String} overClass
   * The CSS class applied to the drop target element while the drag source is over it (defaults to "").
   */

/**
   * @cfg {String} overClass The CSS class applied when over a row (defaults to
   * <tt>'x-list-over'</tt>). An example overriding the default styling:
  <pre><code>
  .x-list-over {background-color: orange;}
  </code></pre>
   * @type String
   */

/**
   * @cfg {String} overCls
   * An optional extra CSS class that will be added to this component's Element when the mouse moves
   * over the Element, and removed when the mouse moves out. (defaults to '').  This can be
   * useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.
   */

/**
   * @cfg {String} overflowText If used in a {@link Ext.Toolbar Toolbar}, the
   * text to be used if this item is shown in the overflow menu. See also
   * {@link Ext.Toolbar.Item}.<code>{@link Ext.Toolbar.Item#overflowText overflowText}</code>.
   */

/**
   * @cfg {String} ownField for explicit filterRow
   */

/**
   * @cfg {String} pack
   * Controls how the child items of the container are packed together. Acceptable configuration values
   * for this property are:
   * <div class="mdetail-params"><ul>
   * <li><b><tt>start</tt></b> : <b>Default</b><div class="sub-desc">child items are packed together at
   * <b>left</b> side of container</div></li>
   * <li><b><tt>center</tt></b> : <div class="sub-desc">child items are packed together at
   * <b>mid-width</b> of container</div></li>
   * <li><b><tt>end</tt></b> : <div class="sub-desc">child items are packed together at <b>right</b>
   * side of container</div></li>
   * </ul></div>
   */

/**
   * @cfg {String} pack
   * Controls how the child items of the container are packed together. Acceptable configuration values
   * for this property are:
   * <div class="mdetail-params"><ul>
   * <li><b><tt>start</tt></b> : <b>Default</b><div class="sub-desc">child items are packed together at
   * <b>top</b> side of container</div></li>
   * <li><b><tt>center</tt></b> : <div class="sub-desc">child items are packed together at
   * <b>mid-height</b> of container</div></li>
   * <li><b><tt>end</tt></b> : <div class="sub-desc">child items are packed together at <b>bottom</b>
   * side of container</div></li>
   * </ul></div>
   */

/**
   * @cfg {String} padding
   * <p>Sets the padding to be applied to all child items managed by this layout.</p>
   * <p>This property must be specified as a string containing
   * space-separated, numeric padding values. The order of the sides associated
   * with each value matches the way CSS processes padding values:</p>
   * <div class="mdetail-params"><ul>
   * <li>If there is only one value, it applies to all sides.</li>
   * <li>If there are two values, the top and bottom borders are set to the
   * first value and the right and left are set to the second.</li>
   * <li>If there are three values, the top is set to the first value, the left
   * and right are set to the second, and the bottom is set to the third.</li>
   * <li>If there are four values, they apply to the top, right, bottom, and
   * left, respectively.</li>
   * </ul></div>
   * <p>Defaults to: <code>"0"</code></p>
   */

/**
   * @cfg {String} paramName
   */

/**
   * @cfg {String} parentRecordField
   */

/**
   * @cfg {String} passwordFieldLabel
   * label of password field
   */

/**
   * @cfg {String} pathSeparator
   * The token used to separate paths in node ids (defaults to '/').
   */

/**
   * @cfg {String} prependText A static string to prepend before the active item's text when displayed as the
   * button's text (only applies when showText = true, defaults to '')
   */

/**
   * @cfg {String} prevText
   * The previous month navigation button tooltip (defaults to <code>'Previous Month (Control+Left)'</code>)
   */

/**
   * @cfg {String} property 
   * property to autocomplete (required)
   */

/**
   * @cfg {String} property The named attribute on the node to sort by (defaults to "text").  Note that this
   * property is only used if no {@link #sortType} function is specified, otherwise it is ignored.
   */

/**
   * @cfg {String} ptype
   * The registered <tt>ptype</tt> to create. This config option is not used when passing
   * a config object into a constructor. This config option is used only when
   * lazy instantiation is being used, and a Plugin is being
   * specified not as a fully instantiated Component, but as a <i>Component config
   * object</i>. The <tt>ptype</tt> will be looked up at render time up to determine what
   * type of Plugin to create.<br><br>
   * If you create your own Plugins, you may register them using
   * {@link Ext.ComponentMgr#registerPlugin} in order to be able to
   * take advantage of lazy instantiation and rendering.
   */

/**
   * @cfg {String} queryParam Name of the query ({@link Ext.data.Store#baseParam baseParam} name for the store)
   * as it will be passed on the querystring (defaults to <tt>'query'</tt>)
   */

/**
   * @cfg {String} questionText
   * question label for user prompt
   */

/**
   * @cfg {String} questionText defaults to i18n._('What would you like to do?')
   */

/**
   * @cfg {String} quickFilterField
   * 
   * name of quickfilter filed in filter definitions
   */

/**
   * @cfg {String} quickaddMandatory
   * Mandatory field which must be set before quickadd fields will be enabled
   */

/**
   * @cfg {String} range
   * initial range
   */

/**
   * @cfg {String} recordId Id of record this panel is displayed for
   */

/**
   * @cfg {String} recordName
   * untranslated record/item name
   */

/**
   * @cfg {String} recordName
   * untranslated records/items (plural) name
   */

/**
   * @cfg {String} recordPrefix
   */

/**
   * @cfg {String} regexText The error text to display if <b><tt>{@link #regex}</tt></b> is used and the
   * test fails during validation (defaults to <tt>''</tt>)
   */

/**
   * @cfg {String} region <p><b>Note</b>: this config is only used when this BoxComponent is rendered
   * by a Container which has been configured to use the <b>{@link Ext.layout.BorderLayout BorderLayout}</b>
   * layout manager (e.g. specifying <tt>layout:'border'</tt>).</p><br>
   * <p>See {@link Ext.layout.BorderLayout} also.</p>
   */

/**
   * @cfg {String} registryKey 
   * registry key (for example 'configData')
   */

/**
   * @cfg {String} requestMethod The HTTP request method for loading data (defaults to the value of {@link Ext.Ajax#method}).
   */

/**
   * @cfg {String} requestUrl
   */

/**
   * @cfg {String} requiredGrant (legacy - should not be used any more)
   * grants which is required to select leaf node(s)
   */

/**
   * @cfg {String} requiredGrant to make actions
   */

/**
   * @cfg {String} requiredSaveGrant
   * required grant for apply/save
   */

/**
   * @cfg {String} resizeHandles
   * A valid {@link Ext.Resizable} handles config string (defaults to 'all').  Only applies when resizable = true.
   */

/**
   * @cfg {String} resolveStrategy
   * default resolve action
   */

/**
   * @cfg {String} root [records] The name of the containing element which will contain the nodes of an write-action involving <b>multiple</b> records.  Each
   * xml-record written to the server will be wrapped in an element named after {@link Ext.data.XmlReader#record} property.
   * eg:
  <code><pre>
  &lt;?xml version="1.0" encoding="UTF-8"?>
  &lt;user>&lt;first>Barney&lt;/first>&lt;/user>
  </code></pre>
   * However, when <b>multiple</b> records are written in a batch-operation, these records must be wrapped in a containing
   * Element.
   * eg:
  <code><pre>
  &lt;?xml version="1.0" encoding="UTF-8"?>
  &lt;records>
      &lt;first>Barney&lt;/first>&lt;/user>
      &lt;records>&lt;first>Barney&lt;/first>&lt;/user>
  &lt;/records>
  </code></pre>
   * Defaults to <tt>records</tt>.  Do not confuse the nature of this property with that of {@link #documentRoot}
   */

/**
   * @cfg {String} root [undefined] <b>Required</b>.  The name of the property
   * which contains the Array of row objects.  Defaults to <tt>undefined</tt>.
   * An exception will be thrown if the root property is undefined. The data
   * packet value for this property should be an empty array to clear the data
   * or show no data.
   */

/**
   * @cfg {String} row prefix (defaults to i18n._('Show'))
   */

/**
   * @cfg {String} rowBodySelector The selector used to find row bodies internally (defaults to <tt>'div.x-grid3-row'</tt>)
   */

/**
   * @cfg {String} rowSelector The selector used to find rows internally (defaults to <tt>'div.x-grid3-row'</tt>)
   */

/**
   * @cfg {String} saveAndCloseButtonText
   * text of save and close button
   */

/**
   * @cfg {String} saveMethod 
   * save method (for example 'Setup.saveConfig')
   */

/**
   * @cfg {String} scale
   * <p>(Optional) The size of the Button. Three values are allowed:</p>
   * <ul class="mdetail-params">
   * <li>'small'<div class="sub-desc">Results in the button element being 16px high.</div></li>
   * <li>'medium'<div class="sub-desc">Results in the button element being 24px high.</div></li>
   * <li>'large'<div class="sub-desc">Results in the button element being 32px high.</div></li>
   * </ul>
   * <p>Defaults to <b><tt>'small'</tt></b>.</p>
   */

/**
   * @cfg {String} scope scope of login callback
   */

/**
   * @cfg {String} selectedClass
   * A CSS class to apply to each selected item in the view (defaults to 'x-view-selected').
   */

/**
   * @cfg {String} selectedClass CSS class to apply to the selected item in the dropdown list
   * (defaults to <tt>'x-combo-selected'</tt>)
   */

/**
   * @cfg {String} selectedClass The CSS class applied to a selected row (defaults to
   * <tt>'x-list-selected'</tt>). An example overriding the default styling:
  <pre><code>
  .x-list-selected {background-color: yellow;}
  </code></pre>
   * @type String
   */

/**
   * @cfg {String} selectedFilterId id to autoselect
   */

/**
   * @cfg {String} selectedRowClass The CSS class applied to a selected row (defaults to <tt>'x-grid3-row-selected'</tt>). An
   * example overriding the default styling:
  <pre><code>
  .x-grid3-row-selected {background-color: yellow;}
  </code></pre>
   * Note that this only controls the row, and will not do anything for the text inside it.  To style inner
   * facets (like text) use something like:
  <pre><code>
  .x-grid3-row-selected .x-grid3-cell-inner {
      color: #FFCC00;
  }
  </code></pre>
   * @type String
   */

/**
   * @cfg {String} showGroupsText Text displayed in the grid header for enabling/disabling grouping
   * (defaults to 'Show in Groups').
   */

/**
   * @cfg {String} sortAscText The text displayed in the 'Sort Ascending' menu item (defaults to <tt>'Sort Ascending'</tt>)
   */

/**
   * @cfg {String} sortDescText The text displayed in the 'Sort Descending' menu item (defaults to <tt>'Sort Descending'</tt>)
   */

/**
   * @cfg {String} sortDir
   * (Optional) Initial direction to sort (<tt>"ASC"</tt> or  <tt>"DESC"</tt>).  Defaults to
   * <tt>"ASC"</tt>.
   */

/**
   * @cfg {String} splitTip
   * The tooltip to display when the user hovers over a
   * {@link Ext.layout.BorderLayout.Region#collapsible non-collapsible} region's split bar
   * (defaults to <tt>"Drag to resize."</tt>).  Only applies if
   * <tt>{@link #useSplitTips} = true</tt>.
   */

/**
   * @cfg {String} startDefinitionText untranslated start definition button text
   */

/**
   * @cfg {String} startPath a container path to start with
   * possible values are: '/', '/personal/someAccountId', '/shared' (defaults to '/')
   * 
   * NOTE: container paths could not express tree paths .../otherUsers!
   */

/**
   * @cfg {String} state suffix
   * state suffix to customized selected path for different selection dialog
   */

/**
   * @cfg {String} stateId
   * The unique id for this component to use for state management purposes
   * (defaults to the component id if one was set, otherwise null if the
   * component is using a generated id).
   * <p>See <code>{@link #stateful}</code> for an explanation of saving and
   * restoring Component state.</p>
   */

/**
   * @cfg {String} storeId If passed, the id to use to register with the <b>{@link Ext.StoreMgr StoreMgr}</b>.
   * <p><b>Note</b>: if a (deprecated) <tt>{@link #id}</tt> is specified it will supersede the <tt>storeId</tt>
   * assignment.</p>
   */

/**
   * @cfg {String} style
   * A custom style specification to be applied to this component's Element.  Should be a valid argument to
   * {@link Ext.Element#applyStyles}.
   * <pre><code>
  new Ext.Panel({
  title: 'Some Title',
  renderTo: Ext.getBody(),
  width: 400, height: 300,
  layout: 'form',
  items: [{
      xtype: 'textarea',
      style: {
          width: '95%',
          marginBottom: '10px'
      }
  },
      new Ext.Button({
          text: 'Send',
          minWidth: '100',
          style: {
              marginBottom: '10px'
          }
      })
  ]
  });
   * </code></pre>
   */

/**
   * @cfg {String} subMenuAlign The {@link Ext.Element#alignTo} anchor position value to use for submenus of
   * this menu (defaults to 'tl-tr?')
   */

/**
   * @cfg {String} successProperty
   * @hide
   */

/**
   * @cfg {String} successProperty [success] Name of the property from which to
   * retrieve the success attribute. Defaults to <tt>success</tt>.  See
   * {@link Ext.data.DataProxy}.{@link Ext.data.DataProxy#exception exception}
   * for additional information.
   */

/**
   * @cfg {String} summaryType (Optional) The type of
   * calculation to be used for the column.  For options available see
   * {@link #Calculations}.
   */

/**
   * @cfg {String} tabCls <b>This config option is used on <u>child Components</u> of ths TabPanel.</b> A CSS
   * class name applied to the tab strip item representing the child Component, allowing special
   * styling to be applied.
   */

/**
   * @cfg {String} tabPosition The position where the tab strip should be rendered (defaults to <tt>'top'</tt>).
   * The only other supported value is <tt>'bottom'</tt>.  <b>Note</b>: tab scrolling is only supported for
   * <tt>tabPosition: 'top'</tt>.
   */

/**
   * @cfg {String} tabTip
   * <p><b>Note</b>: this config is only used when this BoxComponent is a child item of a TabPanel.</p>
   * A string to be used as innerHTML (html tags are accepted) to show in a tooltip when mousing over
   * the associated tab selector element. {@link Ext.QuickTips}.init()
   * must be called in order for the tips to render.
   */

/**
   * @cfg {String} text The plain text to display within the label (defaults to ''). If you need to include HTML
   * tags within the label's innerHTML, use the {@link #html} config instead.
   */

/**
   * @cfg {String} text The text to display for this item (defaults to '')
   */

/**
   * @cfg {String} text The text to display in this item (defaults to '').
   */

/**
   * @cfg {String} text The text to set for all components using this action (defaults to '').
   */

/**
   * @cfg {String} title
   * The title text to be used as innerHTML (html tags are accepted) to display in the panel
   * <code>{@link #header}</code> (defaults to ''). When a <code>title</code> is specified the
   * <code>{@link #header}</code> element will automatically be created and displayed unless
   * {@link #header} is explicitly set to <code>false</code>.  If you do not want to specify a
   * <code>title</code> at config time, but you may want one later, you must either specify a non-empty
   * <code>title</code> (a blank space ' ' will do) or <code>header:true</code> so that the container
   * element will get created.
   */

/**
   * @cfg {String} title If supplied, a header element is created containing this text and added into the top of
   * the dropdown list (defaults to undefined, with no header element)
   */

/**
   * @cfg {String} titleProperty
   * property of the title attibute, used in generic getTitle function  (required)
   */

/**
   * @cfg {String} todayText
   * The text to display on the button that selects the current date (defaults to <code>'Today'</code>)
   */

/**
   * @cfg {String} todayTip
   * A string used to format the message for displaying in a tooltip over the button that
   * selects the current date. Defaults to <code>'{0} (Spacebar)'</code> where
   * the <code>{0}</code> token is replaced by today's date.
   */

/**
   * @cfg {String} tooltip Optional. A text string to use as the column header's tooltip.  If Quicktips
   * are enabled, this value will be used as the text of the quick tip, otherwise it will be set as the
   * header's HTML title attribute. Defaults to ''.
   */

/**
   * @cfg {String} tooltipType
   * The type of tooltip to use. Either 'qtip' (default) for QuickTips or 'title' for title attribute.
   */

/**
   * @cfg {String} totalProperty [total] Name of the property from which to
   * retrieve the total number of records in the dataset. This is only needed
   * if the whole dataset is not passed in one go, but is being paged from
   * the remote server.  Defaults to <tt>total</tt>.
   */

/**
   * @cfg {String} tpl An existing XTemplate instance to be used in place of the default template for rendering the component.
   */

/**
   * @cfg {String} tpl Optional. Specify a string to pass as the
   * configuration string for {@link Ext.XTemplate}.  By default an {@link Ext.XTemplate}
   * will be implicitly created using the <tt>dataIndex</tt>.
   */

/**
   * @cfg {String} tplWriteMode  @hide
   */

/**
   * @cfg {String} tplWriteMode The Ext.(X)Template method to use when
   * updating the content area of the Component. Defaults to <tt>'overwrite'</tt>
   * (see <code>{@link Ext.XTemplate#overwrite}</code>).
   */

/**
   * @cfg {String} translated container item name
   */

/**
   * @cfg {String} translated container name
   */

/**
   * @cfg {String} trigger1Class
   * An additional CSS class used to style the trigger button.  The trigger will always get the
   * class <tt>'x-form-trigger'</tt> by default and <tt>triggerClass</tt> will be <b>appended</b> if specified.
   */

/**
   * @cfg {String} trigger2Class
   * An additional CSS class used to style the trigger button.  The trigger will always get the
   * class <tt>'x-form-trigger'</tt> by default and <tt>triggerClass</tt> will be <b>appended</b> if specified.
   */

/**
   * @cfg {String} triggerAction The action to execute when the trigger is clicked.
   * <div class="mdetail-params"><ul>
   * <li><b><tt>'query'</tt></b> : <b>Default</b>
   * <p class="sub-desc">{@link #doQuery run the query} using the {@link Ext.form.Field#getRawValue raw value}.</p></li>
   * <li><b><tt>'all'</tt></b> :
   * <p class="sub-desc">{@link #doQuery run the query} specified by the <tt>{@link #allQuery}</tt> config option</p></li>
   * </ul></div>
   * <p>See also <code>{@link #queryParam}</code>.</p>
   */

/**
   * @cfg {String} triggerClass
   * An additional CSS class used to style the trigger button.  The trigger will always get the
   * class <tt>'x-form-trigger'</tt> and <tt>triggerClass</tt> will be <b>appended</b> if specified
   * (defaults to <tt>'x-form-date-trigger'</tt> which displays a calendar icon).
   */

/**
   * @cfg {String} triggerClass
   * An additional CSS class used to style the trigger button.  The trigger will always get the
   * class <tt>'x-form-trigger'</tt> by default and <tt>triggerClass</tt> will be <b>appended</b> if specified.
   */

/**
   * @cfg {String} triggerClass An additional CSS class used to style the trigger button.  The trigger will always
   * get the class <tt>'x-form-trigger'</tt> and <tt>triggerClass</tt> will be <b>appended</b> if specified
   * (defaults to <tt>'x-form-arrow-trigger'</tt> which displays a downward arrow icon).
   */

/**
   * @cfg {String} trueText
   * The string returned by the renderer when the column value is not falsey (defaults to <tt>'true'</tt>).
   */

/**
   * @cfg {String} type
   * (Optional) The data type for conversion to displayable value if <tt>{@link Ext.data.Field#convert convert}</tt>
   * has not been specified. Possible values are
   * <div class="mdetail-params"><ul>
   * <li>auto (Default, implies no conversion)</li>
   * <li>string</li>
   * <li>int</li>
   * <li>float</li>
   * <li>boolean</li>
   * <li>date</li></ul></div>
   */

/**
   * @cfg {String} type
   * <b>Required</b>, <tt>undefined</tt> by default.  The <tt>type</tt> of provider specified
   * to {@link Ext.Direct Ext.Direct}.{@link Ext.Direct#addProvider addProvider} to create a
   * new Provider. Acceptable values by default are:<div class="mdetail-params"><ul>
   * <li><b><tt>polling</tt></b> : {@link Ext.direct.PollingProvider PollingProvider}</li>
   * <li><b><tt>remoting</tt></b> : {@link Ext.direct.RemotingProvider RemotingProvider}</li>
   * </ul></div>
   */

/**
   * @cfg {String} type
   * submit, reset or button - defaults to 'button'
   */

/**
   * @cfg {String} type h|totp
   */

/**
   * @cfg {String} undefinedText
   * The string returned by the renderer when the column value is undefined (defaults to <tt>'&#160;'</tt>).
   */

/**
   * @cfg {String} uploadTempFileMethod
   */

/**
   * @cfg {String} uploadUrl
   */

/**
   * @cfg {String} url
   * <b>Required<b>. The url to connect to the {@link Ext.Direct} server-side router. 
   */

/**
   * @cfg {String} url
   * The URL to use for form actions if one isn't supplied in the
   * <code>{@link #doAction doAction} options</code>.
   */

/**
   * @cfg {String} url @hide
   */

/**
   * @cfg {String} url Equivalent to {@link #dataUrl}.
   */

/**
   * @cfg {String} url If a <tt>{@link #proxy}</tt> is not specified the <tt>url</tt> will be used to
   * implicitly configure a {@link Ext.data.HttpProxy HttpProxy} if an <tt>url</tt> is specified.
   * Typically this option, or the <code>{@link #data}</code> option will be specified.
   */

/**
   * @cfg {String} url The URL from which to request the data object.
   */

/**
   * @cfg {String} url The URL that the Action is to invoke.
   */

/**
   * @cfg {String} url the url we upload to
   */

/**
   * @cfg {String} value
   * The initial color to highlight (should be a valid 6-digit color hex code without the # symbol).  Note that
   * the hex codes are case-sensitive.
   */

/**
   * @cfg {String} valueField
   * used by combo valueType
   */

/**
   * @cfg {String} valueField The underlying {@link Ext.data.Field#name data value name} to bind to this
   * ComboBox (defaults to undefined if <tt>{@link #mode} = 'remote'</tt> or <tt>'field2'</tt> if
   * {@link #transform transforming a select} or if the {@link #store field name is autogenerated based on
   * the store configuration}).
   * <p><b>Note</b>: use of a <tt>valueField</tt> requires the user to make a selection in order for a value to be
   * mapped.  See also <tt>{@link #hiddenName}</tt>, <tt>{@link #hiddenValue}</tt>, and <tt>{@link #displayField}</tt>.</p>
   */

/**
   * @cfg {String} valueNotFoundText When using a name/value combo, if the value passed to setValue is not found in
   * the store, valueNotFoundText will be displayed as the field text if defined (defaults to undefined). If this
   * default text is used, it means there is no value set and no validation will occur on this field.
   */

/**
   * @cfg {String} valueType
   * type of value
   */

/**
   * @cfg {String} vtype A validation type name as defined in {@link Ext.form.VTypes} (defaults to <tt>null</tt>)
   */

/**
   * @cfg {String} vtypeText A custom error message to display in place of the default message provided
   * for the <b><code>{@link #vtype}</code></b> currently set for this field (defaults to <tt>''</tt>).  <b>Note</b>:
   * only applies if <b><code>{@link #vtype}</code></b> is set, else ignored.
   */

/**
   * @cfg {String} waitMsg The message to be displayed by a call to {@link Ext.MessageBox#wait}
   * during the time the action is being processed.
   */

/**
   * @cfg {String} waitTitle
   * The default title to show for the waiting message box (defaults to <tt>'Please Wait...'</tt>)
   */

/**
   * @cfg {String} waitTitle The title to be displayed by a call to {@link Ext.MessageBox#wait}
   * during the time the action is being processed.
   */

/**
   * @cfg {String} weekHeaderString
   */

/**
   * @cfg {String} windowTitle
   * title text when openWindow is used
   */

/**
   * @cfg {String} windowTitle
   * translated window title
   */

/**
   * @cfg {String} wrapFocusClass The class added to the to the wrap of the trigger element. Defaults to
   * <tt>x-trigger-wrap-focus</tt>.
   */

/**
   * @cfg {String} xmlEncoding [ISO-8859-15] The <tt>encoding</tt> written to header of xml documents.
  <code><pre>&lt;?xml version="1.0" encoding="ISO-8859-15"?></pre></code>
   */

/**
   * @cfg {String} xmlVersion [1.0] The <tt>version</tt> written to header of xml documents.
  <code><pre>&lt;?xml version="1.0" encoding="ISO-8859-15"?></pre></code>
   */

/**
   * @cfg {String} xtype
   * @hide
   */

/**
   * @cfg {String} xtype
   * The registered <tt>xtype</tt> to create. This config option is not used when passing
   * a config object into a constructor. This config option is used only when
   * lazy instantiation is being used, and a child item of a Container is being
   * specified not as a fully instantiated Component, but as a <i>Component config
   * object</i>. The <tt>xtype</tt> will be looked up at render time up to determine what
   * type of child Component to create.<br><br>
   * The predefined xtypes are listed {@link Ext.Component here}.
   * <br><br>
   * If you subclass Components to create your own Components, you may register
   * them using {@link Ext.ComponentMgr#registerType} in order to be able to
   * take advantage of lazy instantiation and rendering.
   */

/**
   * @cfg {String} xtype Optional. A String which references a predefined {@link Ext.grid.Column} subclass
   * type which is preconfigured with an appropriate <code>{@link #renderer}</code> to be easily
   * configured into a ColumnModel. The predefined {@link Ext.grid.Column} subclass types are:
   * <div class="mdetail-params"><ul>
   * <li><b><tt>gridcolumn</tt></b> : {@link Ext.grid.Column} (<b>Default</b>)<p class="sub-desc"></p></li>
   * <li><b><tt>booleancolumn</tt></b> : {@link Ext.grid.BooleanColumn}<p class="sub-desc"></p></li>
   * <li><b><tt>numbercolumn</tt></b> : {@link Ext.grid.NumberColumn}<p class="sub-desc"></p></li>
   * <li><b><tt>datecolumn</tt></b> : {@link Ext.grid.DateColumn}<p class="sub-desc"></p></li>
   * <li><b><tt>templatecolumn</tt></b> : {@link Ext.grid.TemplateColumn}<p class="sub-desc"></p></li>
   * </ul></div>
   * <p>Configuration properties for the specified <code>xtype</code> may be specified with
   * the Column configuration properties, for example:</p>
   * <pre><code>
  var grid = new Ext.grid.GridPanel({
  ...
  columns: [{
      header: 'Last Updated',
      dataIndex: 'lastChange',
      width: 85,
      sortable: true,
      //renderer: Ext.util.Format.dateRenderer('m/d/Y'),
      xtype: 'datecolumn', // use xtype instead of renderer
      format: 'M/d/Y' // configuration property for {@link Ext.grid.DateColumn}
  }, {
      ...
  }]
  });
   * </code></pre>
   */

/**
   * @cfg {Tine.Application}
   */

/**
   * @cfg {Tine.Tinebase.Application} app
   * instance of the app object (required if not appName is given)
   */

/**
   * @cfg {Tine.Tinebase.Application} app
   * instance of the app object (required)
   */

/**
   * @cfg {Tine.Tinebase.Application} app
   */

/**
   * @cfg {Tine.Tinebase.Application} app Application which uses this panel
   */

/**
   * @cfg {Tine.Tinebase.container.models.container}
   * Container to manage grants for
   */

/**
   * @cfg {Tine.Tinebase.data.RecordProxy} recordProxy
   * record backend
   */

/**
   * @cfg {Tine.Tinebase.data.Record} model this filter is for
   */

/**
   * @cfg {Tine.Tinebase.data.Record} owningRecordClass
   * record class with blConfig field
   */

/**
   * @cfg {Tine.Tinebase.data.Record} recordClass
   * model of record to be picked (required)
   */

/**
   * @cfg {Tine.Tinebase.data.Record} recordClass
   * model of this proxy (required)
   */

/**
   * @cfg {Tine.Tinebase.data.Record} recordClass
   * record definition class  (required)
   */

/**
   * @cfg {Tine.Tinebase.data.Record} recordClass
   */

/**
   * @cfg {Tine.data.Record} recordClass
   */

/**
   * @cfg {Tine.widgets.ActionManager} actionMgr
   */

/**
   * @cfg {Tine.widgets.dialog.EditDialog}
   */

/**
   * @cfg {Tine.widgets.grid.DetailsPanel} detailsPanel
   * if set, it becomes rendered in region south 
   */

/**
   * @cfg {Tine.widgets.grid.FilterPanel} filterPanel
   */

/**
   * @cfg {Tine.widgets.grid.FilterSelectionModel} sm
   */

/**
   * @cfg {Tine.widgets.grid.FilterToolbar} filterToolbar
   */

/**
   * @cfg {Tine.widgets.grid.GridPanel}
   */

/**
   * @cfg {Tine.widgets.grid.GridPanel} gridPanel
   * use this alternativly to sm
   */

/**
   * @cfg {Tree Panel} treePanel (required)
   */

/**
   * @cfg {application}
   */

/**
   * @cfg {array}
   * default container
   */

/**
   * @cfg {array} extraItems additional items to display under all
   */

/**
   * @cfg {boolean} clientValidation Determines whether a Form's fields are validated
   * in a final call to {@link Ext.form.BasicForm#isValid isValid} prior to submission.
   * Pass <tt>false</tt> in the Form's submit options to prevent this. If not defined, pre-submission field validation
   * is performed.
   */

/**
   * @cfg {boolean} remoteSort <tt>true</tt> if sorting is to be handled by requesting the <tt>{@link #proxy Proxy}</tt>
   * to provide a refreshed version of the data object in sorted order, as opposed to sorting the Record cache
   * in place (defaults to <tt>false</tt>).
   * <p>If <tt>remoteSort</tt> is <tt>true</tt>, then clicking on a {@link Ext.grid.Column Grid Column}'s
   * {@link Ext.grid.Column#header header} causes the current page to be requested from the server appending
   * the following two parameters to the <b><tt>{@link #load params}</tt></b>:<div class="mdetail-params"><ul>
   * <li><b><tt>sort</tt></b> : String<p class="sub-desc">The <tt>name</tt> (as specified in the Record's
   * {@link Ext.data.Field Field definition}) of the field to sort on.</p></li>
   * <li><b><tt>dir</tt></b> : String<p class="sub-desc">The direction of the sort, 'ASC' or 'DESC' (case-sensitive).</p></li>
   * </ul></div></p>
   */

/**
   * @cfg {boolean} showIcon
   */

/**
   * @cfg {bool}
   * add 'anyone' selection if selectType == 'both'
   */

/**
   * @cfg {bool}
   * add button to add the current user
   */

/**
   * @cfg {bool}
   * add role selection
   */

/**
   * @cfg {bool}
   * enable bottom toolbar
   */

/**
   * @cfg {bool}
   * enable top toolbar (with search combo)
   */

/**
   * @cfg {bool}
   * show hidden (user) contacts / (group) lists
   */

/**
   * @cfg {bool}
   */

/**
   * @cfg {bool} autoExpand Autoexpand comboBox on focus.
   */

/**
   * @cfg {bool} blurOnSelect
   * blur this combo when record got selected, useful to be used in editor grids (defaults to false)
   */

/**
   * @cfg {bool} blurOnSelect blurs combobox when item gets selected
   */

/**
   * @cfg {bool} containsScrollbar
   */

/**
   * @cfg {bool} disableClearer
   * disables the clearer
   */

/**
   * @cfg {bool} have the record account properties an account prefix?
   */

/**
   * @cfg {bool} optimizeSelection
   * true to optimize selection
   */

/**
   * @cfg {bool} readOnly
   * set to true to skip creation of a writer
   */

/**
   * @cfg {function} handler for generic save and close action
   */

/**
   * @cfg {function} recordClass
   * 
   * record class of records to filter for (required)
   */

/**
   * @cfg {integer} maxAbsenceTime in minutes
   */

/**
   * @cfg {integer} presenceCheckInterval in seconds
   */

/**
   * @cfg {mixed} selectionModel
   * 
   * selection model (required)
   */

/**
   * @cfg {object} NodeGridPanel
   * needs for filterToolBar in EditDialog
   */

/**
   * @cfg {record} (optional) configRecord keyFieldConfig record
   */

/**
   * @cfg {string}
   * Name of container folders, e.g. Addressbook
   */

/**
   * @cfg {string}
   * title of dialog
   */

/**
   * @cfg {string} containerName
   * name of container (plural)
   */

/**
   * @cfg {string} containerName
   * name of container (singular)
   */

/**
   * @cfg {string} containerName
   * untranslated name of container (plural)
   */

/**
   * @cfg {string} containersName
   * name of container (plural)
   */

/**
   * @cfg {string} name of alarm field
   */

/**
   * @cfg {string} this.domain recents this.domain
   */

/**
   * @cfg {window} mainWindow
   */

/**
   * @cfg: {bool} copyNoAppendTitle
   * don't append "(copy)" string to title when record is copied
   */

/**
   * @cfg{String} selectTypeDefault 'user' or 'group' defines which accountType is selected when  {selectType} is true
   */

/**
   * @cgf {Boolean} singleField
   * discount is handled in UI with a single field only
   */

/**
   * @class Ext.Fx
   * <p>A class to provide basic animation and visual effects support.  <b>Note:</b> This class is automatically applied
   * to the {@link Ext.Element} interface when included, so all effects calls should be performed via {@link Ext.Element}.
   * Conversely, since the effects are not actually defined in {@link Ext.Element}, Ext.Fx <b>must</b> be
   * {@link Ext#enableFx included} in order for the Element effects to work.</p><br/>
   * 
   * <p><b><u>Method Chaining</u></b></p>
   * <p>It is important to note that although the Fx methods and many non-Fx Element methods support "method chaining" in that
   * they return the Element object itself as the method return value, it is not always possible to mix the two in a single
   * method chain.  The Fx methods use an internal effects queue so that each effect can be properly timed and sequenced.
   * Non-Fx methods, on the other hand, have no such internal queueing and will always execute immediately.  For this reason,
   * while it may be possible to mix certain Fx and non-Fx method calls in a single chain, it may not always provide the
   * expected results and should be done with care.  Also see <tt>{@link #callback}</tt>.</p><br/>
   *
   * <p><b><u>Anchor Options for Motion Effects</u></b></p>
   * <p>Motion effects support 8-way anchoring, meaning that you can choose one of 8 different anchor points on the Element
   * that will serve as either the start or end point of the animation.  Following are all of the supported anchor positions:</p>
  <pre>
  Value  Description
  -----  -----------------------------
  tl     The top left corner
  t      The center of the top edge
  tr     The top right corner
  l      The center of the left edge
  r      The center of the right edge
  bl     The bottom left corner
  b      The center of the bottom edge
  br     The bottom right corner
  </pre>
   * <b>Note</b>: some Fx methods accept specific custom config parameters.  The options shown in the Config Options
   * section below are common options that can be passed to any Fx method unless otherwise noted.</b>
   * 
   * @cfg {Function} callback A function called when the effect is finished.  Note that effects are queued internally by the
   * Fx class, so a callback is not required to specify another effect -- effects can simply be chained together
   * and called in sequence (see note for <b><u>Method Chaining</u></b> above), for example:<pre><code>
   * el.slideIn().highlight();
   * </code></pre>
   * The callback is intended for any additional code that should run once a particular effect has completed. The Element
   * being operated upon is passed as the first parameter.
   * 
   * @cfg {Object} scope The scope (<code>this</code> reference) in which the <tt>{@link #callback}</tt> function is executed. Defaults to the browser window.
   * 
   * @cfg {String} easing A valid Ext.lib.Easing value for the effect:</p><div class="mdetail-params"><ul>
   * <li><b><tt>backBoth</tt></b></li>
   * <li><b><tt>backIn</tt></b></li>
   * <li><b><tt>backOut</tt></b></li>
   * <li><b><tt>bounceBoth</tt></b></li>
   * <li><b><tt>bounceIn</tt></b></li>
   * <li><b><tt>bounceOut</tt></b></li>
   * <li><b><tt>easeBoth</tt></b></li>
   * <li><b><tt>easeBothStrong</tt></b></li>
   * <li><b><tt>easeIn</tt></b></li>
   * <li><b><tt>easeInStrong</tt></b></li>
   * <li><b><tt>easeNone</tt></b></li>
   * <li><b><tt>easeOut</tt></b></li>
   * <li><b><tt>easeOutStrong</tt></b></li>
   * <li><b><tt>elasticBoth</tt></b></li>
   * <li><b><tt>elasticIn</tt></b></li>
   * <li><b><tt>elasticOut</tt></b></li>
   * </ul></div>
   *
   * @cfg {String} afterCls A css class to apply after the effect
   * @cfg {Number} duration The length of time (in seconds) that the effect should last
   * 
   * @cfg {Number} endOpacity Only applicable for {@link #fadeIn} or {@link #fadeOut}, a number between
   * <tt>0</tt> and <tt>1</tt> inclusive to configure the ending opacity value.
   *  
   * @cfg {Boolean} remove Whether the Element should be removed from the DOM and destroyed after the effect finishes
   * @cfg {Boolean} useDisplay Whether to use the <i>display</i> CSS property instead of <i>visibility</i> when hiding Elements (only applies to 
   * effects that end with the element being visually hidden, ignored otherwise)
   * @cfg {String/Object/Function} afterStyle A style specification string, e.g. <tt>"width:100px"</tt>, or an object
   * in the form <tt>{width:"100px"}</tt>, or a function which returns such a specification that will be applied to the
   * Element after the effect finishes.
   * @cfg {Boolean} block Whether the effect should block other effects from queueing while it runs
   * @cfg {Boolean} concurrent Whether to allow subsequently-queued effects to run at the same time as the current effect, or to ensure that they run in sequence
   * @cfg {Boolean} stopFx Whether preceding effects should be stopped and removed before running current effect (only applies to non blocking effects)
   */

/**
   * @class Ext.Toolbar.Fill
   * @extends Ext.Toolbar.Spacer
   * A non-rendering placeholder item which instructs the Toolbar's Layout to begin using
   * the right-justified button container.
   * <pre><code>
  new Ext.Panel({
      tbar : [
          'Item 1',
          {xtype: 'tbfill'}, // or '->'
          'Item 2'
      ]
  });
  </code></pre>
   * @constructor
   * Creates a new Fill
   * @xtype tbfill
   */

/**
   * @class Ext.Toolbar.Item
   * @extends Ext.BoxComponent
   * The base class that other non-interacting Toolbar Item classes should extend in order to
   * get some basic common toolbar item functionality.
   * @constructor
   * Creates a new Item
   * @param {HTMLElement} el
   * @xtype tbitem
   */

/**
   * @class Ext.Toolbar.Separator
   * @extends Ext.Toolbar.Item
   * A simple class that adds a vertical separator bar between toolbar items
   * (css class:<tt>'xtb-sep'</tt>). Example usage:
   * <pre><code>
  new Ext.Panel({
      tbar : [
          'Item 1',
          {xtype: 'tbseparator'}, // or '-'
          'Item 2'
      ]
  });
  </code></pre>
   * @constructor
   * Creates a new Separator
   * @xtype tbseparator
   */

/**
   * @class Ext.Toolbar.Spacer
   * @extends Ext.Toolbar.Item
   * A simple element that adds extra horizontal space between items in a toolbar.
   * By default a 2px wide space is added via css specification:<pre><code>
  .x-toolbar .xtb-spacer {
      width:2px;
  }
   * </code></pre>
   * <p>Example usage:</p>
   * <pre><code>
  new Ext.Panel({
      tbar : [
          'Item 1',
          {xtype: 'tbspacer'}, // or ' '
          'Item 2',
          // space width is also configurable via javascript
          {xtype: 'tbspacer', width: 50}, // add a 50px space
          'Item 3'
      ]
  });
  </code></pre>
   * @constructor
   * Creates a new Spacer
   * @xtype tbspacer
   */

/**
   * @class Ext.Toolbar.TextItem
   * @extends Ext.Toolbar.Item
   * A simple class that renders text directly into a toolbar
   * (with css class:<tt>'xtb-text'</tt>). Example usage:
   * <pre><code>
  new Ext.Panel({
      tbar : [
          {xtype: 'tbtext', text: 'Item 1'} // or simply 'Item 1'
      ]
  });
  </code></pre>
   * @constructor
   * Creates a new TextItem
   * @param {String/Object} text A text string, or a config object containing a <tt>text</tt> property
   * @xtype tbtext
   */

/**
   * @class Ext.data.Connection
   * @extends Ext.util.Observable
   * <p>The class encapsulates a connection to the page's originating domain, allowing requests to be made
   * either to a configured URL, or to a URL specified at request time.</p>
   * <p>Requests made by this class are asynchronous, and will return immediately. No data from
   * the server will be available to the statement immediately following the {@link #request} call.
   * To process returned data, use a
   * <a href="#request-option-success" ext:member="request-option-success" ext:cls="Ext.data.Connection">success callback</a>
   * in the request options object,
   * or an {@link #requestcomplete event listener}.</p>
   * <p><h3>File Uploads</h3><a href="#request-option-isUpload" ext:member="request-option-isUpload" ext:cls="Ext.data.Connection">File uploads</a> are not performed using normal "Ajax" techniques, that
   * is they are <b>not</b> performed using XMLHttpRequests. Instead the form is submitted in the standard
   * manner with the DOM <tt>&lt;form></tt> element temporarily modified to have its
   * <a href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target">target</a> set to refer
   * to a dynamically generated, hidden <tt>&lt;iframe></tt> which is inserted into the document
   * but removed after the return data has been gathered.</p>
   * <p>The server response is parsed by the browser to create the document for the IFRAME. If the
   * server is using JSON to send the return object, then the
   * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a> header
   * must be set to "text/html" in order to tell the browser to insert the text unchanged into the document body.</p>
   * <p>Characters which are significant to an HTML parser must be sent as HTML entities, so encode
   * "&lt;" as "&amp;lt;", "&amp;" as "&amp;amp;" etc.</p>
   * <p>The response text is retrieved from the document, and a fake XMLHttpRequest object
   * is created containing a <tt>responseText</tt> property in order to conform to the
   * requirements of event handlers and callbacks.</p>
   * <p>Be aware that file upload packets are sent with the content type <a href="http://www.faqs.org/rfcs/rfc2388.html">multipart/form</a>
   * and some server technologies (notably JEE) may require some custom processing in order to
   * retrieve parameter names and parameter values from the packet content.</p>
   * @constructor
   * @param {Object} config a configuration object.
   */

/**
   * @class Ext.dd.DragDrop
   * Defines the interface and base operation of items that that can be
   * dragged or can be drop targets.  It was designed to be extended, overriding
   * the event handlers for startDrag, onDrag, onDragOver and onDragOut.
   * Up to three html elements can be associated with a DragDrop instance:
   * <ul>
   * <li>linked element: the element that is passed into the constructor.
   * This is the element which defines the boundaries for interaction with
   * other DragDrop objects.</li>
   * <li>handle element(s): The drag operation only occurs if the element that
   * was clicked matches a handle element.  By default this is the linked
   * element, but there are times that you will want only a portion of the
   * linked element to initiate the drag operation, and the setHandleElId()
   * method provides a way to define this.</li>
   * <li>drag element: this represents the element that would be moved along
   * with the cursor during a drag operation.  By default, this is the linked
   * element itself as in {@link Ext.dd.DD}.  setDragElId() lets you define
   * a separate element that would be moved, as in {@link Ext.dd.DDProxy}.
   * </li>
   * </ul>
   * This class should not be instantiated until the onload event to ensure that
   * the associated elements are available.
   * The following would define a DragDrop obj that would interact with any
   * other DragDrop obj in the "group1" group:
   * <pre>
   *  dd = new Ext.dd.DragDrop("div1", "group1");
   * </pre>
   * Since none of the event handlers have been implemented, nothing would
   * actually happen if you were to run the code above.  Normally you would
   * override this class or one of the default implementations, but you can
   * also override the methods you want on an instance of the class...
   * <pre>
   *  dd.onDragDrop = function(e, id) {
   *  &nbsp;&nbsp;alert("dd was dropped on " + id);
   *  }
   * </pre>
   * @constructor
   * @param {String} id of the element that is linked to this instance
   * @param {String} sGroup the group of related DragDrop objects
   * @param {object} config an object containing configurable attributes
   *                Valid properties for DragDrop:
   *                    padding, isTarget, maintainOffset, primaryButtonOnly
   */

/**
   * @class Ext.dd.DragDropMgr
   * DragDropMgr is a singleton that tracks the element interaction for
   * all DragDrop items in the window.  Generally, you will not call
   * this class directly, but it does have helper methods that could
   * be useful in your DragDrop implementations.
   * @singleton
   */

/**
   * @config areaName
   */

/**
   * @config mfaDevice
   */

/**
   * @const
   * @type {number}
   */

/**
   * @deprecated
   */

/**
   * @deprecated use fromFormat instead
   */

/**
   * @deprecated use fromFormatExplain instead
   */

/**
   * @event activate
   * @hide
   */

/**
   * @event add
   * @hide
   */

/**
   * @event add
   * Fires when an item is added to the collection.
   * @param {Number} index The index at which the item was added.
   * @param {Object} o The item added.
   * @param {String} key The key associated with the added item.
   */

/**
   * @event added
   * Fires when a component is added to an Ext.Container
   * @param {Ext.Component} this
   * @param {Ext.Container} ownerCt Container which holds the component
   * @param {number} index Position at which the component was added
   */

/**
   * @event afterLayout
   * @hide
   */

/**
   * @event afterrender
   * <p>Fires after the component rendering is finished.</p>
   * <p>The afterrender event is fired after this Component has been {@link #rendered}, been postprocesed
   * by any afterRender method defined for the Component, and, if {@link #stateful}, after state
   * has been restored.</p>
   * @param {Ext.Component} this
   */

/**
   * @event appactivate
   * fired when an application gets appactivated
   * @param {Tine.Aplication} appactivated app
   */

/**
   * @event appdeactivate
   * fired when an application gets appdeactivated
   * @param {Tine.Aplication} appdeactivated app
   */

/**
   * @event append
   * Fires when a new child node is appended to a node in this tree.
   * @param {Tree} tree The owner tree
   * @param {Node} parent The parent node
   * @param {Node} node The newly appended node
   * @param {Number} index The index of the newly appended node
   */

/**
   * @event beforeadd
   * @hide
   */

/**
   * @event beforeappappactivate
   * fired before an application gets appactivated. Retrun false to stop activation
   * @param {Tine.Aplication} app about to appactivate
   */

/**
   * @event beforeappappdeactivate
   * fired before an application gets appdeactivated. Retrun false to stop deactivation
   * @param {Tine.Aplication} app about to appdeactivate
   */

/**
   * @event beforeappend
   * Fires before a new child is appended to a node in this tree, return false to cancel the append.
   * @param {Tree} tree The owner tree
   * @param {Node} parent The parent node
   * @param {Node} node The child node to be appended
   */

/**
   * @event beforecellselect
   * Fires when a cell is being selected, return false to cancel.
   * @param {Ext.ux.grid.MultiCellSelectionModel} this
   * @param {Array} cellInfo An array of cell indices ([rowIndex, columnIndex])
   * @param {Boolean} keepExisting False if other selections will be cleared
   */

/**
   * @event beforecheckchange
   * Fires before a check state changes
   * @param {Ext.ux.grid.CheckColumn} this
   * @param {boolean} newvalue
   * @param {boolean} oldvalue
   * @param {Ext.data.Record} record
   */

/**
   * @event beforeclose
   * @hide
   */

/**
   * @event beforecollapse
   * Fires before the layer is collapsed by calling the {@link #collapse} method.
   * Return false from an event handler to stop the collapse.
   * @param {LayerCombo} this
   */

/**
   * @event beforedestroy
   * Fires before the component is {@link #destroy}ed. Return false from an event handler to stop the {@link #destroy}.
   * @param {Ext.Component} this
   */

/**
   * @event beforeexpand
   * Fires before the layer is expanded by calling the {@link #expand} method.
   * Return false from an event handler to stop the expand.
   * @param {LayerCombo} this
   */

/**
   * @event beforehide
   * Fires before the component is hidden by calling the {@link #hide} method.
   * Return false from an event handler to stop the hide.
   * @param {Ext.Component} this
   */

/**
   * @event beforeinsert
   * Fires before a new child is inserted in a node in this tree, return false to cancel the insert.
   * @param {Tree} tree The owner tree
   * @param {Node} parent The parent node
   * @param {Node} node The child node to be inserted
   * @param {Node} refNode The child node the node is being inserted before
   */

/**
   * @event beforeload
   * Fires before a network request is made to retrieve the Json text which specifies a node's children.
   * @param {Object} This TreeLoader object.
   * @param {Object} node The {@link Ext.tree.TreeNode} object being loaded.
   * @param {Object} callback The callback function specified in the {@link #load} call.
   */

/**
   * @event beforeload
   * Fires before a request to retrieve a data object.
   * @param {DataProxy} this The proxy for the request
   * @param {Object} params The params object passed to the {@link #request} function
   */

/**
   * @event beforemove
   * Fires before a node is moved to a new location in the tree. Return false to cancel the move.
   * @param {Tree} tree The owner tree
   * @param {Node} node The node being moved
   * @param {Node} oldParent The parent of the node
   * @param {Node} newParent The new parent the node is moving to
   * @param {Number} index The index it is being moved to
   */

/**
   * @event beforeremove
   * @hide
   */

/**
   * @event beforeremove
   * Fires before a child is removed from a node in this tree, return false to cancel the remove.
   * @param {Tree} tree The owner tree
   * @param {Node} parent The parent node
   * @param {Node} node The child node to be removed
   */

/**
   * @event beforerender
   * Fires before the component is {@link #rendered}. Return false from an
   * event handler to stop the {@link #render}.
   * @param {Ext.Component} this
   */

/**
   * @event beforeresize
   * Fires before the splitter is dragged
   * @param {Ext.SplitBar} this
   */

/**
   * @event beforeselect
   * Fires before the selected node changes, return false to cancel the change
   * @param {DefaultSelectionModel} this
   * @param {TreeNode} node the new selection
   * @param {TreeNode} node the old selection
   */

/**
   * @event beforeselect
   * Fires before the selected node changes, return false to cancel the change
   * @param {DefaultSelectionModel} this
   * @param {TreeNode} node the node to select
   */

/**
   * @event beforeshow
   * Fires before the component is shown by calling the {@link #show} method.
   * Return false from an event handler to stop the show.
   * @param {Ext.Component} this
   */

/**
   * @event beforestaterestore
   * Fires before the state of the component is restored. Return false from an event handler to stop the restore.
   * @param {Ext.Component} this
   * @param {Object} state The hash of state values returned from the StateProvider. If this
   * event is not vetoed, then the state object is passed to <b><tt>applyState</tt></b>. By default,
   * that simply copies property values into this Component. The method maybe overriden to
   * provide custom state restoration.
   */

/**
   * @event beforestatesave
   * Fires before the state of the component is saved to the configured state provider. Return false to stop the save.
   * @param {Ext.Component} this
   * @param {Object} state The hash of state values. This is determined by calling
   * <b><tt>getState()</tt></b> on the Component. This method must be provided by the
   * developer to return whetever representation of state is required, by default, Ext.Component
   * has a null implementation.
   */

/**
   * @event beforewrite
   * <p>Fires before a request is generated for one of the actions Ext.data.Api.actions.create|update|destroy</p>
   * <p>In addition to being fired through the DataProxy instance that raised the event, this event is also fired
   * through the Ext.data.DataProxy <i>class</i> to allow for centralized processing of beforewrite events from <b>all</b>
   * DataProxies by attaching a listener to the Ext.data.Proxy class itself.</p>
   * @param {DataProxy} this The proxy for the request
   * @param {String} action [Ext.data.Api.actions.create|update|destroy]
   * @param {Record/Array[Record]} rs The Record(s) to create|update|destroy.
   * @param {Object} params The request <code>params</code> object.  Edit <code>params</code> to add parameters to the request.
   */

/**
   * @event bodyresize
   * @hide
   */

/**
   * @event celldeselect
   * Fires when a cell is deselected.
   * @param {Ext.ux.grid.MultiCellSelectionModel} this
   * @param {Array} cellInfo An array of cell indices ([rowIndex, columnIndex])
   */

/**
   * @event cellselect
   * Fires when a cell is selected.
   * @param {Ext.ux.grid.MultiCellSelectionModel} this
   * @param {Array} cellInfo An array of cell indices ([rowIndex, columnIndex])
   */

/**
   * @event change
   * Fired when the filter changed.
   * @param {Tine.widgets.grid.FilterPlugin} this
   */

/**
   * @event change
   * Fires when the state of a child radio changes.
   * @param {Ext.form.RadioGroup} this
   * @param {Ext.form.Radio} checked The checked radio
   */

/**
   * @event checkchange
   * Fires when a check state changes
   * @param {Ext.ux.grid.CheckColumn} this
   * @param {boolean} newvalue
   * @param {boolean} oldvalue
   * @param {Ext.data.Record} record
   */

/**
   * @event clear
   * Fires when the collection is cleared.
   */

/**
   * @event click
   * @hide
   */

/**
   * @event click
   * Fires on a specified interval during the time the element is pressed.
   * @param {Ext.util.ClickRepeater} this
   */

/**
   * @event close
   * @hide
   */

/**
   * @event containeradded
   * Fires when a container was added
   * @param {container} the new container
   */

/**
   * @event containercolorset
   * Fires when a container color got changed
   * @param {container} the container whose color where changed
   */

/**
   * @event containerdelete
   * Fires when a container got deleted
   * @param {container} the deleted container
   */

/**
   * @event containerpermissionchange
   * Fires when a container got renamed
   * @param {container} the container whose permissions where changed
   */

/**
   * @event containerrename
   * Fires when a container got renamed
   * @param {container} the renamed container
   */

/**
   * @event deactivate
   * @hide
   */

/**
   * @event destroy
   * Fires after the component is {@link #destroy}ed.
   * @param {Ext.Component} this
   */

/**
   * @event disable
   * Fires after the component is disabled.
   * @param {Ext.Component} this
   */

/**
   * @event enable
   * Fires after the component is enabled.
   * @param {Ext.Component} this
   */

/**
   * @event exception
   * <p>Fires if an exception occurs in the Proxy during a remote request. This event is relayed
   * through a corresponding {@link Ext.data.Store}.{@link Ext.data.Store#exception exception},
   * so any Store instance may observe this event.</p>
   * <p>In addition to being fired through the DataProxy instance that raised the event, this event is also fired
   * through the Ext.data.DataProxy <i>class</i> to allow for centralized processing of exception events from <b>all</b>
   * DataProxies by attaching a listener to the Ext.data.Proxy class itself.</p>
   * <p>This event can be fired for one of two reasons:</p>
   * <div class="mdetail-params"><ul>
   * <li>remote-request <b>failed</b> : <div class="sub-desc">
   * The server did not return status === 200.
   * </div></li>
   * <li>remote-request <b>succeeded</b> : <div class="sub-desc">
   * The remote-request succeeded but the reader could not read the response.
   * This means the server returned data, but the configured Reader threw an
   * error while reading the response.  In this case, this event will be
   * raised and the caught error will be passed along into this event.
   * </div></li>
   * </ul></div>
   * <br><p>This event fires with two different contexts based upon the 2nd
   * parameter <tt>type [remote|response]</tt>.  The first four parameters
   * are identical between the two contexts -- only the final two parameters
   * differ.</p>
   * @param {DataProxy} this The proxy that sent the request
   * @param {String} type
   * <p>The value of this parameter will be either <tt>'response'</tt> or <tt>'remote'</tt>.</p>
   * <div class="mdetail-params"><ul>
   * <li><b><tt>'response'</tt></b> : <div class="sub-desc">
   * <p>An <b>invalid</b> response from the server was returned: either 404,
   * 500 or the response meta-data does not match that defined in the DataReader
   * (e.g.: root, idProperty, successProperty).</p>
   * </div></li>
   * <li><b><tt>'remote'</tt></b> : <div class="sub-desc">
   * <p>A <b>valid</b> response was returned from the server having
   * successProperty === false.  This response might contain an error-message
   * sent from the server.  For example, the user may have failed
   * authentication/authorization or a database validation error occurred.</p>
   * </div></li>
   * </ul></div>
   * @param {String} action Name of the action (see {@link Ext.data.Api#actions}.
   * @param {Object} options The options for the action that were specified in the {@link #request}.
   * @param {Object} response
   * <p>The value of this parameter depends on the value of the <code>type</code> parameter:</p>
   * <div class="mdetail-params"><ul>
   * <li><b><tt>'response'</tt></b> : <div class="sub-desc">
   * <p>The raw browser response object (e.g.: XMLHttpRequest)</p>
   * </div></li>
   * <li><b><tt>'remote'</tt></b> : <div class="sub-desc">
   * <p>The decoded response object sent from the server.</p>
   * </div></li>
   * </ul></div>
   * @param {Mixed} arg
   * <p>The type and value of this parameter depends on the value of the <code>type</code> parameter:</p>
   * <div class="mdetail-params"><ul>
   * <li><b><tt>'response'</tt></b> : Error<div class="sub-desc">
   * <p>The JavaScript Error object caught if the configured Reader could not read the data.
   * If the remote request returns success===false, this parameter will be null.</p>
   * </div></li>
   * <li><b><tt>'remote'</tt></b> : Record/Record[]<div class="sub-desc">
   * <p>This parameter will only exist if the <tt>action</tt> was a <b>write</b> action
   * (Ext.data.Api.actions.create|update|destroy).</p>
   * </div></li>
   * </ul></div>
   */

/**
   * @event filterpanelactivate
   * Fires when a filterPanel is activated
   * @param {Tine.widgets.grid.FilterPanel} this
   * @param {Tine.widgets.grid.FilterToolbar} the filterPanel activated
   */

/**
   * @event filterpaneladded
   * Fires when a filterPanel is added
   * @param {Tine.widgets.grid.FilterPanel} this
   * @param {Tine.widgets.grid.FilterToolbar} the filterPanel added
   */

/**
   * @event filterpanelremoved
   * Fires when a filterPanel is removed
   * @param {Tine.widgets.grid.FilterPanel} this
   * @param {Tine.widgets.grid.FilterToolbar} the filterPanel removed
   */

/**
   * @event filtertrigger
   * is fired when user request to update list by filter
   * @param {Tine.widgets.grid.FilterToolbar}
   */

/**
   * @event hide
   * Fires after the component is hidden.
   * Fires after the component is hidden when calling the {@link #hide} method.
   * @param {Ext.Component} this
   */

/**
   * @event insert
   * Fires when a new child node is inserted in a node in this tree.
   * @param {Tree} tree The owner tree
   * @param {Node} parent The parent node
   * @param {Node} node The child node inserted
   * @param {Node} refNode The child node the node was inserted before
   */

/**
   * @event itemclick
   * @hide
   */

/**
   * @event load
   * Fires before the load method's callback is called.
   * @param {DataProxy} this The proxy for the request
   * @param {Object} o The request transaction object
   * @param {Object} options The callback's <tt>options</tt> property as passed to the {@link #request} function
   */

/**
   * @event load
   * Fires when the node has been successfuly loaded.
   * @param {Object} This TreeLoader object.
   * @param {Object} node The {@link Ext.tree.TreeNode} object being loaded.
   * @param {Object} response The response object containing the data from the server.
   */

/**
   * @event loadexception
   * <p>This event is <b>deprecated</b>.  The signature of the loadexception event
   * varies depending on the proxy, use the catch-all {@link #exception} event instead.
   * This event will fire in addition to the {@link #exception} event.</p>
   * @param {misc} misc See {@link #exception}.
   * @deprecated
   */

/**
   * @event loadexception
   * Fires if an exception occurs in the Proxy during data loading. Note that this event is also relayed
   * through {@link Ext.data.Store}, so you can listen for it directly on any Store instance.
   * @param {Object} this
   * @param {Object} arg The callback's arg object passed to the {@link #load} function
   * @param {Object} null This parameter does not apply and will always be null for MemoryProxy
   * @param {Error} e The JavaScript Error object caught if the configured Reader could not read the data
   */

/**
   * @event loadexception
   * Fires if the network request failed.
   * @param {Object} This TreeLoader object.
   * @param {Object} node The {@link Ext.tree.TreeNode} object being loaded.
   * @param {Object} response The response object containing the data from the server.
   */

/**
   * @event mousedown
   * Fires when the mouse button is depressed.
   * @param {Ext.util.ClickRepeater} this
   */

/**
   * @event mouseup
   * Fires when the mouse key is released.
   * @param {Ext.util.ClickRepeater} this
   */

/**
   * @event move
   * Fires when a node is moved to a new location in the tree
   * @param {Tree} tree The owner tree
   * @param {Node} node The node moved
   * @param {Node} oldParent The old parent of this node
   * @param {Node} newParent The new parent of this node
   * @param {Number} index The index it was moved to
   */

/**
   * @event moved
   * Fires when the splitter is moved
   * @param {Ext.SplitBar} this
   * @param {Number} newSize the new width or height
   */

/**
   * @event remoteadd
   * record was created on server e.g. after quickadd, picker or editDialog
   * @param record created record from server
   */

/**
   * @event remotedelete
   * record was deleted on server e.g. after DEL or delete button
   * @param recordId[] recordIds of deleted records
   */

/**
   * @event remoteupdate
   * record was updated on server e.g. after inlineedit or editDialog
   * @param record updated record from server
   * @param bool multiple (record is empty in this case)
   */

/**
   * @event remove
   * @hide
   */

/**
   * @event remove
   * Fires when a child node is removed from a node in this tree.
   * @param {Tree} tree The owner tree
   * @param {Node} parent The parent node
   * @param {Node} node The child node removed
   */

/**
   * @event remove
   * Fires when an item is removed from the collection.
   * @param {Object} o The item being removed.
   * @param {String} key (optional) The key associated with the removed item.
   */

/**
   * @event removed
   * Fires when a component is removed from an Ext.Container
   * @param {Ext.Component} this
   * @param {Ext.Container} ownerCt Container which holds the component
   */

/**
   * @event render
   * Fires after the component markup is {@link #rendered}.
   * @param {Ext.Component} this
   */

/**
   * @event replace
   * Fires when an item is replaced in the collection.
   * @param {String} key he key associated with the new added.
   * @param {Object} old The item being replaced.
   * @param {Object} new The new item.
   */

/**
   * @event resize
   * Fires when the splitter is moved (alias for {@link #moved})
   * @param {Ext.SplitBar} this
   * @param {Number} newSize the new width or height
   */

/**
   * @event selectionchange
   * Fires when the selected node changes
   * @param {DefaultSelectionModel} this
   * @param {TreeNode} node the new selection
   */

/**
   * @event selectionchange
   * Fires when the selected nodes change
   * @param {MultiSelectionModel} this
   * @param {Array} nodes Array of the selected nodes
   */

/**
   * @event selectionchange
   * Fires when the selection changes
   * @param {SelectionModel} this
   * @param {Array} selections A multi-dimensional array containing the indices of all selected cells ([[0,0],[1,1]])
   */

/**
   * @event show
   * Fires after the component is shown when calling the {@link #show} method.
   * @param {Ext.Component} this
   */

/**
   * @event statechange
   * Fires when a state change occurs.
   * @param {Provider} this This state provider
   * @param {String} key The state key which was changed
   * @param {String} value The encoded value for the state
   */

/**
   * @event staterestore
   * Fires after the state of the component is restored.
   * @param {Ext.Component} this
   * @param {Object} state The hash of state values returned from the StateProvider. This is passed
   * to <b><tt>applyState</tt></b>. By default, that simply copies property values into this
   * Component. The method maybe overriden to provide custom state restoration.
   */

/**
   * @event statesave
   * Fires after the state of the component is saved to the configured state provider.
   * @param {Ext.Component} this
   * @param {Object} state The hash of state values. This is determined by calling
   * <b><tt>getState()</tt></b> on the Component. This method must be provided by the
   * developer to return whetever representation of state is required, by default, Ext.Component
   * has a null implementation.
   */

/**
   * @event uploadcomplete
   * Fires when the upload was done successfully 
   * @param {Ext.ux.file.Upload} this
   * @param {Ext.Record} Ext.ux.file.Upload.file
   */

/**
   * @event uploadcomplete
   * Fires when the upload was done successfully 
   * @param {String} croped image
   */

/**
   * @event uploadfailure
   * Fires when the upload failed 
   * @param {Ext.ux.file.Upload} this
   * @param {Ext.Record} Ext.ux.file.Upload.file
   */

/**
   * @event uploadprogress
   * Fires on upload progress (html5 only)
   * @param {Ext.ux.file.Upload} this
   * @param {Ext.Record} Ext.ux.file.Upload.file
   * @param {XMLHttpRequestProgressEvent}
   */

/**
   * @event uploadstart
   * Fires on upload progress (html5 only)
   * @param {Ext.ux.file.Upload} this
   * @param {Ext.Record} Ext.ux.file.Upload.file
   */

/**
   * @event windowopenexception
   * windowopenexceptionated
   * @param {} Exception
   */

/**
   * @event write
   * <p>Fires before the request-callback is called</p>
   * <p>In addition to being fired through the DataProxy instance that raised the event, this event is also fired
   * through the Ext.data.DataProxy <i>class</i> to allow for centralized processing of write events from <b>all</b>
   * DataProxies by attaching a listener to the Ext.data.Proxy class itself.</p>
   * @param {DataProxy} this The proxy that sent the request
   * @param {String} action [Ext.data.Api.actions.create|upate|destroy]
   * @param {Object} data The data object extracted from the server-response
   * @param {Object} response The decoded response from server
   * @param {Record/Record{}} rs The records from Store
   * @param {Object} options The callback's <tt>options</tt> property as passed to the {@link #request} function
   */

/**
   * @fixme not needed => all events hand their events over!!!
   *
   * @property ctxNode holds treenode which got a contextmenu
   * @type Ext.tree.TreeNode
   */

/**
   * @hide
   * @method autoSize
   */

/**
   * @hide
   * Overridden and disabled. A DDTarget does not support being dragged.
   * @method
   */

/**
   * @hide
   * Overridden and disabled. The editor element does not support standard valid/invalid marking.
   * @method
   */

/**
   * @ignore
   * Nasty code for IE's broken table implementation
   */

/**
   * @ignore
   * TODO This isn't used anywhere??  Don't we want to use this where possible instead of complex #createAccessor?
   */

/**
   * @ignore
   */

/**
   * @internal
   */

/**
   * @method applyToMarkup
   * @hide
   */

/**
   * @method cascade
   * @hide
   */

/**
   * @method disable
   * @hide
   */

/**
   * @method doLayout
   * @hide
   */

/**
   * @method enable
   * @hide
   */

/**
   * @method find
   * @hide
   */

/**
   * @method findBy
   * @hide
   */

/**
   * @method findById
   * @hide
   */

/**
   * @method findByType
   * @hide
   */

/**
   * @method focus
   * @hide
   */

/**
   * @method getBottomToolbar
   * @hide
   */

/**
   * @method getComponent
   * @hide
   */

/**
   * @method getLayout
   * @hide
   */

/**
   * @method getRawValue
   * @hide
   */

/**
   * @method getTopToolbar
   * @hide
   */

/**
   * @method getUpdater
   * @hide
   */

/**
   * @method insert
   * @hide
   */

/**
   * @method load
   * @hide
   */

/**
   * @method onTriggerClick
   * @hide
   */

/**
   * @method remove
   * @hide
   */

/**
   * @method removeAll
   * @hide
   */

/**
   * @method set
   * @hide
   */

/**
   * @method setDisabled
   * @hide
   */

/**
   * @method setIconClass
   * @hide
   */

/**
   * @method setRawValue
   * @hide
   */

/**
   * @param key
   * @param {Object} o The item to add.
   * @param suppressEvent
   */

/**
   * @param nodes
   */

/**
   * @param value
   */

/**
   * @param {!Array<*>} coordinates Coordinates.
   * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
   * @api
   */

/**
   * @param {!Array<Array<import("../coordinate.js").Coordinate>>|!Array<number>} coordinates
   *     Array of linear rings that define the polygon. The first linear ring of the
   *     array defines the outer-boundary or surface of the polygon. Each subsequent
   *     linear ring defines a hole in the surface of the polygon. A linear ring is
   *     an array of vertices' coordinates where the first coordinate and the last are
   *     equivalent. (For internal use, flat coordinates in combination with
   *     `layout` and `ends` are also accepted.)
   * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
   * @param {Array<number>} [ends] Ends (for internal use with flat coordinates).
   */

/**
   * @param {!Collection<import("../Feature.js").default<Geometry>>} collection Collection.
   * @private
   */

/**
   * @param {!Object<string, !Object<string, boolean>>} usedTiles Used tiles.
   * @param {import("../../source/Tile.js").default} tileSource Tile source.
   * @param {import('../../Tile.js').default} tile Tile.
   * @protected
   */

/**
   * @param {!Object<string, boolean>} usedTiles Used tiles.
   */

/**
   * @param {!Options} options Image tile options.
   */

/**
   * @param {!import("../extent.js").Extent} extent Extent for this tile grid.
   * @private
   */

/**
   * @param {*} [target] Default event target for dispatched events.
   */

/**
   * @param {...(AnimationOptions|function(boolean): void)} var_args Animation options.
   */

/**
   * @param {Array/Object} value
   * @return {Ext.form.Field} this
   */

/**
   * @param {Array<T>} [array] Array.
   * @param {Options} [options] Collection options.
   */

/**
   * @param {Array<T>} values Values.
   * @param {function(T): *} callback Callback.
   * @private
   * @return {*} Callback return value.
   */

/**
   * @param {Array<import("../canvas.js").BuilderType>} executors Executors.
   * @return {boolean} Has executors of the provided types.
   */

/**
   * @param {Array<import("../coordinate.js").Coordinate>|Array<number>} coordinates Coordinates.
   *     For internal use, flat coordinates in combination with `layout` are also accepted.
   * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
   */

/**
   * @param {Array<import("./Layer.js").State>} [states] Optional list of layer states (to be modified in place).
   * @return {Array<import("./Layer.js").State>} List of layer states.
   */

/**
   * @param {Array<import("./Layer.js").default>} [array] Array of layers (to be modified in place).
   * @return {Array<import("./Layer.js").default>} Array of layers.
   */

/**
   * @param {Array<number>} [hints] Destination array.
   * @return {Array<number>} Hint.
   */

/**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} offset Offset.
   * @param {Array<number>} ends Ends.
   * @param {number} stride Stride.
   * @param {Array<number>} builderEnds Builder ends.
   * @return {number} Offset.
   */

/**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} offset Offset.
   * @param {Array<number>} ends Ends.
   * @param {number} stride Stride.
   * @private
   * @return {number} End.
   */

/**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} offset Offset.
   * @param {number} end End.
   * @param {number} stride Stride.
   * @param {boolean} close Close.
   * @private
   * @return {number} end End.
   */

/**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} offset Offset.
   * @param {number} end End.
   * @param {number} stride Stride.
   * @param {boolean} closed Last input coordinate equals first.
   * @param {boolean} skipFirst Skip first coordinate.
   * @protected
   * @return {number} My end.
   */

/**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} offset Offset.
   * @param {number} end End.
   * @param {number} stride Stride.
   * @private
   * @return {number} end.
   */

/**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} offset Offset.
   * @param {number} end End.
   * @param {number} stride Stride.
   * @private
   */

/**
   * @param {Array<number>} flatCoordinates Flat coordinates.
   * @param {number} stride Stride.
   * @protected
   * @return {number} My end
   */

/**
   * @param {Array} element Element.
   * @return {boolean} The element was added to the queue.
   */

/**
   * @param {BaseLayer} layer The layer.
   */

/**
   * @param {Boolean} value True to allow the user to directly edit the field text
   * Allow or prevent the user from directly editing the field text.  If false is passed,
   * the user will only be able to modify the field using the trigger.  Will also add
   * a click event to the text field which will call the trigger. This method
   * is the runtime equivalent of setting the 'editable' config option at config time.
   */

/**
   * @param {Boolean} value True to prevent the user changing the field and explicitly
   * hide the trigger.
   * Setting this to true will superceed settings editable and hideTrigger.
   * Setting this to false will defer back to editable and hideTrigger. This method
   * is the runtime equivalent of setting the 'readOnly' config option at config time.
   */

/**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {import("../../extent.js").Extent} extent Clip extent.
   * @protected
   */

/**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @protected
   */

/**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import("../../coordinate.js").Coordinate} p1 1st point of the background box.
   * @param {import("../../coordinate.js").Coordinate} p2 2nd point of the background box.
   * @param {import("../../coordinate.js").Coordinate} p3 3rd point of the background box.
   * @param {import("../../coordinate.js").Coordinate} p4 4th point of the background box.
   * @param {Array<*>} fillInstruction Fill instruction.
   * @param {Array<*>} strokeInstruction Stroke instruction.
   */

/**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import("../../transform.js").Transform} transform Transform.
   * @param {number} viewRotation View rotation.
   * @param {FeatureCallback<T>} [featureCallback] Feature callback.
   * @param {import("../../extent.js").Extent} [hitExtent] Only check
   *     features that intersect this extent.
   * @return {T|undefined} Callback result.
   * @template T
   */

/**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import("../../transform.js").Transform} transform Transform.
   */

/**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {number} contextScale Scale of the context.
   * @param {import("../../transform.js").Transform} transform Transform.
   * @param {number} viewRotation View rotation.
   * @param {boolean} snapToPixel Snap point symbols and test to integer pixel.
   * @param {Array<import("../canvas.js").BuilderType>} [builderTypes] Ordered replay types to replay.
   *     Default is {@link module:ol/render/replay~ORDER}
   * @param {import("rbush").default} [declutterTree] Declutter tree.
   */

/**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {number} contextScale Scale of the context.
   * @param {import("../../transform.js").Transform} transform Transform.
   * @param {number} viewRotation View rotation.
   * @param {boolean} snapToPixel Snap point symbols and text to integer pixels.
   * @param {import("rbush").default} [declutterTree] Declutter tree.
   */

/**
   * @param {CanvasRenderingContext2D} context Context.
   * @param {number} pixelRatio Pixel ratio.
   * @param {import("../../extent.js").Extent} extent Extent.
   * @param {import("../../transform.js").Transform} transform Transform.
   * @param {number} viewRotation View rotation.
   * @param {number} [squaredTolerance] Optional squared tolerance for simplification.
   * @param {import("../../proj.js").TransformFunction} [userTransform] Transform from user to view projection.
   */

/**
   * @param {EventType} type The event type.
   * @param {BaseLayer} layer The layer.
   */

/**
   * @param {Event} event Event.
   * @private
   */

/**
   * @param {ExecutorGroup} executorGroup Executor group.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {import("rbush").default} [declutterTree] Declutter tree.
   */

/**
   * @param {Geometry|ObjectWithGeometry<Geometry>} [geometryOrProperties]
   *     You may pass a Geometry object directly, or an object literal containing
   *     properties. If you pass an object literal, you may include a Geometry
   *     associated with a `geometry` key.
   */

/**
   * @param {GroupEvent} event The layer group event.
   */

/**
   * @param {HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} image Image.
   * @param {number} col The column index.
   * @param {number} row The row index.
   * @return {Uint8ClampedArray|null} The image data.
   */

/**
   * @param {HTMLImageElement|HTMLCanvasElement} image Image.
   * @param {string|undefined} src Src.
   * @param {import("../size.js").Size} size Size.
   * @param {?string} crossOrigin Cross origin.
   * @param {import("../ImageState.js").default} imageState Image state.
   * @param {import("../color.js").Color} color Color.
   */

/**
   * @param {InteractionOptions} [options] Options.
   */

/**
   * @param {LayerType} layer Layer.
   */

/**
   * @param {LayerType} tileLayer Tile layer.
   */

/**
   * @param {MapBrowserEvent} mapBrowserEvent The event to handle.
   */

/**
   * @param {MapOptions} [options] Map options.
   */

/**
   * @param {MouseEvent} event The event to handle
   * @private
   */

/**
   * @param {Object<number, Object<string, import("../../Tile.js").default>>} tiles Lookup of loaded tiles by zoom level.
   * @param {number} zoom Zoom level.
   * @param {import("../../Tile.js").default} tile Tile.
   * @return {boolean|void} If `false`, the tile will not be considered loaded.
   */

/**
   * @param {Object<number, Object<string, import("../Tile.js").default>>} tiles Lookup of loaded tiles by zoom level.
   * @param {number} zoom Zoom level.
   * @param {import("../Tile.js").default} tile Tile.
   * @return {boolean|void} If `false`, the tile will not be considered loaded.
   */

/**
   * @param {Object<string, *>} [values] An object with key-value pairs.
   */

/**
   * @param {Object} value {from: Date, until: Date}
   */

/**
   * @param {Options<Geometry>} [options] Vector source options.
   */

/**
   * @param {Options<SourceType>} options Layer options.
   */

/**
   * @param {Options<TileSourceType>} [options] Tile layer options.
   */

/**
   * @param {Options<VectorSourceType>} [options] Options.
   */

/**
   * @param {Options} [options] Attribution options.
   */

/**
   * @param {Options} [options] Layer options.
   */

/**
   * @param {Options} [options] Options.
   */

/**
   * @param {Options} [options] Rotate options.
   */

/**
   * @param {Options} [options] Style options.
   */

/**
   * @param {Options} [options] XYZ options.
   */

/**
   * @param {Options} [options] Zoom options.
   */

/**
   * @param {Options} options Control options.
   */

/**
   * @param {Options} options Image tile options.
   */

/**
   * @param {Options} options Layer options.
   */

/**
   * @param {Options} options Options.
   */

/**
   * @param {Options} options Projection options.
   */

/**
   * @param {Options} options Source options.
   */

/**
   * @param {Options} options SourceTile source options.
   */

/**
   * @param {Options} options Tile grid options.
   */

/**
   * @param {PointerEvent} pointerEvent Pointer
   * event.
   * @private
   */

/**
   * @param {PointerEvent} pointerEvent Pointer
   * event.
   * @return {boolean} If the left mouse button was pressed.
   * @private
   */

/**
   * @param {PointerEvent} pointerEvent Pointer
   * event.
   * @return {boolean} Is moving.
   * @private
   */

/**
   * @param {PriorityFunction} tilePriorityFunction Tile priority function.
   * @param {function(): ?} tileChangeCallback Function called on each tile change event.
   */

/**
   * @param {RBush} rbush R-Tree.
   */

/**
   * @param {Record} recordToAdd
   */

/**
   * @param {String} action
   * @param {Array} params
   */

/**
   * @param {String} value
   * @return {Ext.form.Field} this
   */

/**
   * @param {TileRange} tileRange Tile range.
   * @return {boolean} Contains.
   */

/**
   * @param {TileRange} tileRange Tile range.
   * @return {boolean} Equals.
   */

/**
   * @param {TileRange} tileRange Tile range.
   * @return {boolean} Intersects.
   */

/**
   * @param {TileRange} tileRange Tile range.
   */

/**
   * @param {Tine.widgets.dialog.EditDialog} editDialog the edit dialog to print
   * @return {Array} Data suitable for use in the XTemplate
   */

/**
   * @param {T} element Element.
   * @return {boolean} Is queued.
   */

/**
   * @param {UIEvent} browserEvent Browser event.
   * @param {string} [type] Type.
   */

/**
   * @param {ViewOptions} [options] View options.
   */

/**
   * @param {function(T): number} priorityFunction Priority function.
   * @param {function(T): string} keyFunction Key function.
   */

/**
   * @param {function(T, string, LRUCache<T>): ?} f The function
   *     to call for every entry from the oldest to the newer. This function takes
   *     3 arguments (the entry value, the entry key and the LRUCache object).
   *     The return value is ignored.
   */

/**
   * @param {function(import("../events/Event.js").default): void} listener Listener function.
   */

/**
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../../Feature.js").default} feature Feature.
   * @param {number} squaredTolerance Squared render tolerance.
   * @param {import("../../style/Style.js").default|Array<import("../../style/Style.js").default>} styles The style or array of styles.
   * @param {import("../../render/canvas/BuilderGroup.js").default} builderGroup Builder group.
   * @param {import("../../proj.js").TransformFunction} [transform] Transform from user to view projection.
   * @param {import("../../render/canvas/BuilderGroup.js").default} [declutterBuilderGroup] Builder for decluttering.
   * @return {boolean} `true` if an image is loading.
   */

/**
   * @param {import("../../ImageTile.js").default} tile Tile.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {number} x Left of the tile.
   * @param {number} y Top of the tile.
   * @param {number} w Width of the tile.
   * @param {number} h Height of the tile.
   * @param {number} gutter Tile gutter.
   * @param {boolean} transition Apply an alpha transition.
   */

/**
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {import("../../source/Tile.js").default} tileSource Tile source.
   * @protected
   */

/**
   * @param {import("../../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {number} hitTolerance Hit tolerance in pixels.
   * @param {import("../vector.js").FeatureCallback<T>} callback Feature callback.
   * @param {Array<import("../Map.js").HitMatch<T>>} matches The hit detected matches with tolerance.
   * @return {T|undefined} Callback result.
   * @template T
   */

/**
   * @param {import("../../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {number} resolution Resolution.
   * @param {number} rotation Rotation.
   * @param {number} hitTolerance Hit tolerance in pixels.
   * @param {function(import("../../Feature.js").FeatureLike, import("../../geom/SimpleGeometry.js").default, number): T} callback Feature callback.
   * @param {Array<import("../../Feature.js").FeatureLike>} declutteredFeatures Decluttered features.
   * @return {T|undefined} Callback result.
   * @template T
   */

/**
   * @param {import("../../extent.js").Extent} maxExtent Max extent for clipping. When a
   * `maxExtent` was set on the Builder for this executor group, the same `maxExtent`
   * should be set here, unless the target context does not exceed that extent (which
   * can be the case when rendering to tiles).
   * @param {number} resolution Resolution.
   * @param {number} pixelRatio Pixel ratio.
   * @param {boolean} overlaps The executor group can have overlapping geometries.
   * @param {!Object<string, !Object<import("../canvas.js").BuilderType, import("../canvas.js").SerializableInstructions>>} allInstructions
   * The serializable instructions.
   * @param {number} [renderBuffer] Optional rendering buffer.
   */

/**
   * @param {import("../../geom/Circle.js").default} circleGeometry Circle geometry.
   * @param {import("../../Feature.js").default} feature Feature.
   */

/**
   * @param {import("../../geom/LineString.js").default|import("../Feature.js").default} lineStringGeometry Line string geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../../geom/MultiLineString.js").default|import("../Feature.js").default} multiLineStringGeometry MultiLineString geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../../geom/MultiPoint.js").default|import("../Feature.js").default} multiPointGeometry MultiPoint geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../../geom/MultiPolygon.js").default} multiPolygonGeometry MultiPolygon geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../../geom/Point.js").default|import("../Feature.js").default} pointGeometry Point geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../../geom/Polygon.js").default|import("../Feature.js").default} polygonGeometry Polygon geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../../geom/SimpleGeometry.js").default|import("../Feature.js").default} geometry Geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../../geom/SimpleGeometry.js").default} geometry Geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   * @param {Function} renderer Renderer.
   * @param {Function} hitDetectionRenderer Renderer.
   */

/**
   * @param {import("../../layer/BaseVector.js").default} vectorLayer Vector layer.
   */

/**
   * @param {import("../../pixel.js").Pixel} pixel Pixel.
   * @return {Uint8ClampedArray} Data at the pixel location.
   */

/**
   * @param {import("../../render/EventType.js").default} type Event type.
   * @param {CanvasRenderingContext2D} context Context.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @private
   */

/**
   * @param {import("../../style/Fill.js").default} fillStyle Fill style.
   * @param {import("../../style/Stroke.js").default} strokeStyle Stroke style.
   */

/**
   * @param {import("../../style/Image.js").default} imageStyle Image style.
   * @param {Object} [sharedData] Shared data.
   */

/**
   * @param {import("../../style/Text.js").default} textStyle Text style.
   * @param {Object} [sharedData] Shared data.
   */

/**
   * @param {import("../../transform.js").Transform} transform Transform.
   * @return {Array<number>|null} Clip coordinates.
   */

/**
   * @param {import("../../transform.js").Transform} transform Transform.
   */

/**
   * @param {import("../Collection.js").CollectionEvent<import("./Base.js").default>} collectionEvent CollectionEvent.
   * @private
   */

/**
   * @param {import("../Feature.js").default} feature Feature.
   * @param {import("../style/Style.js").default} style Style.
   */

/**
   * @param {import("../Map.js").FrameState} frameState Frame state.
   * @protected
   */

/**
   * @param {import("../Map.js").FrameState} frameState FrameState.
   * @protected
   */

/**
   * @param {import("../Map.js").default|null} map Map.
   */

/**
   * @param {import("../Map.js").default} map Map.
   */

/**
   * @param {import("../MapBrowserEvent.js").default} event Event.
   * @return {boolean} All conditions passed.
   */

/**
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @private
   */

/**
   * @param {import("../canvas.js").FillState} fillState Fill state.
   * @private
   */

/**
   * @param {import("../canvas.js").FillStrokeState} state State.
   * @param {function(this:CanvasBuilder, import("../canvas.js").FillStrokeState): void} applyStroke Apply stroke.
   */

/**
   * @param {import("../canvas.js").FillStrokeState} state State.
   * @param {function(this:CanvasBuilder, import("../canvas.js").FillStrokeState):Array<*>} createFill Create fill.
   */

/**
   * @param {import("../canvas.js").FillStrokeState} state State.
   * @return {Array<*>} Fill instruction.
   */

/**
   * @param {import("../canvas.js").FillStrokeState} state State.
   * @return {Array<*>} Stroke instruction.
   */

/**
   * @param {import("../canvas.js").FillStrokeState} state State.
   */

/**
   * @param {import("../canvas.js").StrokeState} strokeState Stroke state.
   * @private
   */

/**
   * @param {import("../canvas.js").TextState} textState Text state.
   * @private
   */

/**
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {import("../Map.js").FrameState} frameState FrameState.
   * @param {number} hitTolerance Hit tolerance in pixels.
   * @param {boolean} checkWrapped Check for wrapped geometries.
   * @param {function(this: U, import("../layer/Layer.js").default): boolean} layerFilter Layer filter
   *     function, only layers which are visible and for which this function
   *     returns `true` will be tested for features.  By default, all visible
   *     layers will be tested.
   * @param {U} thisArg Value to use as `this` when executing `layerFilter`.
   * @return {boolean} Is there a feature at the given coordinate?
   * @template U
   */

/**
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {import("../Map.js").FrameState} frameState FrameState.
   * @param {number} hitTolerance Hit tolerance in pixels.
   * @param {boolean} checkWrapped Check for wrapped geometries.
   * @param {import("./vector.js").FeatureCallback<T>} callback Feature callback.
   * @param {S} thisArg Value to use as `this` when executing `callback`.
   * @param {function(this: U, import("../layer/Layer.js").default): boolean} layerFilter Layer filter
   *     function, only layers which are visible and for which this function
   *     returns `true` will be tested for features.  By default, all visible
   *     layers will be tested.
   * @param {U} thisArg2 Value to use as `this` when executing `layerFilter`.
   * @return {T|undefined} Callback result.
   * @template S,T,U
   */

/**
   * @param {import("../coordinate.js").Coordinate} coordinates Coordinates.
   * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
   */

/**
   * @param {import("../extent.js").Extent} [extent] Extent.
   * @return {import("../extent.js").Extent} Extent.
   */

/**
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {number} resolution Resolution.
   * @param {import("../proj/Projection.js").default} projection Projection.
   */

/**
   * @param {import("../extent.js").Extent} extent Extent.
   * @protected
   * @return {import("../extent.js").Extent} extent Extent.
   */

/**
   * @param {import("../geom/Circle.js").default} circleGeometry Circle geometry.
   * @param {import("../Feature.js").default} feature Feature.
   */

/**
   * @param {import("../geom/GeometryCollection.js").default} geometryCollectionGeometry Geometry collection.
   * @param {import("../Feature.js").default} feature Feature.
   */

/**
   * @param {import("../geom/LineString.js").default|import("./Feature.js").default} lineStringGeometry Line string geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../geom/MultiLineString.js").default|import("./Feature.js").default} multiLineStringGeometry MultiLineString geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../geom/MultiPoint.js").default|import("./Feature.js").default} multiPointGeometry MultiPoint geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../geom/MultiPolygon.js").default} multiPolygonGeometry MultiPolygon geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../geom/Point.js").default|import("./Feature.js").default} pointGeometry Point geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../geom/Polygon.js").default|import("./Feature.js").default} polygonGeometry Polygon geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../geom/SimpleGeometry.js").default|import("./Feature.js").default} geometry Geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @param {import("../pixel").Pixel} pixel Pixel.
   * @return {Promise<Array<import("../Feature").FeatureLike>>} Promise that resolves with
   * an array of features.
   */

/**
   * @param {import("../pixel").Pixel} pixel Pixel.
   * @return {Uint8ClampedArray|Uint8Array|Float32Array|DataView|null} Pixel data.
   */

/**
   * @param {import("../pixel.js").Pixel} pixel Pixel.
   * @return {Uint8ClampedArray|Uint8Array|Float32Array|DataView|null} Pixel data.
   */

/**
   * @param {import("../pixel.js").Pixel} startPixel Start pixel.
   * @param {import("../pixel.js").Pixel} endPixel End pixel.
   */

/**
   * @param {import("../proj/Projection").default} [projection] Projection.
   * @return {Array<number>|null} Resolutions.
   */

/**
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @param {!Object<string, boolean>} usedTiles Used tiles.
   */

/**
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @param {number} z Zoom level.
   * @param {import("../TileRange.js").default} tileRange Tile range.
   * @param {function(import("../Tile.js").default):(boolean|void)} callback Called with each
   *     loaded tile.  If the callback returns `false`, the tile will not be
   *     considered loaded.
   * @return {boolean} The tile range is fully covered with loaded tiles.
   */

/**
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {!import("../tilegrid/TileGrid.js").default} Tile grid.
   */

/**
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {boolean} Opaque.
   */

/**
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {import("../TileCache.js").default} Tile cache.
   * @protected
   */

/**
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {import("../TileCache.js").default} Tile cache.
   */

/**
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {number} Gutter.
   */

/**
   * @param {import("../proj/Projection.js").default} sourceProj Source projection.
   * @param {import("../proj/Projection.js").default} targetProj Target projection.
   * @param {import("../extent.js").Extent} targetExtent Target extent to triangulate.
   * @param {import("../extent.js").Extent} maxSourceExtent Maximal source extent that can be used.
   * @param {number} errorThreshold Acceptable error (in source units).
   * @param {?number} destinationResolution The (optional) resolution of the destination.
   */

/**
   * @param {import("../proj/Projection.js").default} sourceProj Source projection.
   * @param {import("../tilegrid/TileGrid.js").default} sourceTileGrid Source tile grid.
   * @param {import("../proj/Projection.js").default} targetProj Target projection.
   * @param {import("../tilegrid/TileGrid.js").default} targetTileGrid Target tile grid.
   * @param {import("../tilecoord.js").TileCoord} tileCoord Coordinate of the tile.
   * @param {import("../tilecoord.js").TileCoord} wrappedTileCoord Coordinate of the tile wrapped in X.
   * @param {number} pixelRatio Pixel ratio.
   * @param {number} gutter Gutter of the source tiles.
   * @param {FunctionType} getTileFunction
   *     Function returning source tiles (z, x, y, pixelRatio).
   * @param {number} [errorThreshold] Acceptable reprojection error (in px).
   * @param {boolean} [renderEdges] Render reprojection edges.
   * @param {boolean} [interpolate] Use linear interpolation when resampling.
   */

/**
   * @param {import("../render.js").OrderFunction|null|undefined} renderOrder
   *     Render order.
   */

/**
   * @param {import("../render/EventType.js").default} type Event type.
   * @param {import("../Map.js").FrameState} frameState Frame state.
   */

/**
   * @param {import("../style/Fill.js").default} fillStyle Fill style.
   * @param {import("../style/Stroke.js").default} strokeStyle Stroke style.
   */

/**
   * @param {import("../style/Image.js").default} imageStyle Image style.
   * @param {import("../render/canvas.js").DeclutterImageWithText} [declutterImageWithText] Shared data for combined decluttering with a text style.
   */

/**
   * @param {import("../style/Text.js").default} textStyle Text style.
   * @param {import("../render/canvas.js").DeclutterImageWithText} [declutterImageWithText] Shared data for combined decluttering with an image style.
   */

/**
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {function(number, import("../TileRange.js").default): boolean} callback Callback.
   * @param {import("../TileRange.js").default} [tempTileRange] Temporary import("../TileRange.js").default object.
   * @param {import("../extent.js").Extent} [tempExtent] Temporary import("../extent.js").Extent object.
   * @return {boolean} Callback succeeded.
   */

/**
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {import("../TileRange.js").default} [tempTileRange] Temporary import("../TileRange.js").default object.
   * @param {import("../extent.js").Extent} [tempExtent] Temporary import("../extent.js").Extent object.
   * @return {import("../TileRange.js").default|null} Tile range.
   */

/**
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {number} pixelRatio Pixel ratio.
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {string|undefined} Tile URL.
   */

/**
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {number} z Integer zoom level.
   * @param {import("../TileRange.js").default} [tempTileRange] Temporary import("../TileRange.js").default object.
   * @return {import("../TileRange.js").default|null} Tile range.
   */

/**
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @return {import("../coordinate.js").Coordinate} Tile center.
   */

/**
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @return {number} Tile resolution.
   */

/**
   * @param {import("../tilegrid/TileGrid.js").default} tileGrid The default tile grid.
   */

/**
   * @param {import("./BaseTile.js").Options<TileSourceType>} [options] Tile layer options.
   */

/**
   * @param {import("./BaseVector.js").Options<VectorSourceType>} [options] Options.
   */

/**
   * @param {import("./CollectionEventType.js").default} type Type.
   * @param {T} element Element.
   * @param {number} index The index of the added or removed element.
   */

/**
   * @param {import("./EventType.js").default} type Type.
   * @param {import("../transform.js").Transform} [inversePixelTransform] Transform for
   *     CSS pixels to rendered pixels.
   * @param {import("../Map.js").FrameState} [frameState] Frame state.
   * @param {?(CanvasRenderingContext2D|WebGLRenderingContext)} [context] Context.
   */

/**
   * @param {import("./Geometry.js").GeometryLayout|undefined} layout Layout.
   * @param {Array<*>} coordinates Coordinates.
   * @param {number} nesting Nesting.
   * @protected
   */

/**
   * @param {import("./Geometry.js").GeometryLayout} layout Layout.
   * @param {Array<number>} flatCoordinates Flat coordinates.
   */

/**
   * @param {import("./Map.js").default} map The map with the viewport to listen to events on.
   * @param {number} [moveTolerance] The minimal distance the pointer must travel to trigger a move.
   */

/**
   * @param {import("./Tile.js").default} tile Tile.
   * @param {string} tileSourceKey Tile source key.
   * @param {import("./coordinate.js").Coordinate} tileCenter Tile center.
   * @param {number} tileResolution Tile resolution.
   * @return {number} Tile priority.
   */

/**
   * @param {import("./ViewHint.js").default} hint Hint.
   * @param {number} delta Delta.
   * @return {number} New value.
   */

/**
   * @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
   * @param {import("./size.js").Size} size Box pixel size.
   * @param {import("./pixel.js").Pixel} position Position on the view to center on.
   */

/**
   * @param {import("./events/Event.js").default} event Event.
   * @protected
   */

/**
   * @param {import("./extent.js").Extent} extent Extent.
   * @param {number} resolution Resolution.
   * @param {import("./proj/Projection.js").default} projection Projection.
   * @param {function(Array<import("./Feature.js").default>): void} [success] Success
   *      Function called when loading succeeded.
   * @param {function(): void} [failure] Failure
   *      Function called when loading failed.
   */

/**
   * @param {import("./geom/SimpleGeometry.js").default} geometry The geometry.
   * @param {FitOptions} [options] Options.
   */

/**
   * @param {import("./layer/Group.js").GroupEvent} event The layer add event.
   * @private
   */

/**
   * @param {import("./layer/Group.js").GroupEvent} event The layer remove event.
   * @private
   */

/**
   * @param {import("./size.js").Size} [size] Box pixel size. If not provided,
   * the map's last known viewport size will be used.
   * @return {import("./extent.js").Extent} Extent.
   */

/**
   * @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {import("./TileState.js").default} state State.
   * @param {Options} [options] Tile options.
   */

/**
   * @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {import("./TileState.js").default} state State.
   * @param {string} src Image source URI.
   * @param {?string} crossOrigin Cross origin.
   * @param {import("./Tile.js").LoadFunction} tileLoadFunction Tile load function.
   * @param {import("./Tile.js").Options} [options] Tile options.
   */

/**
   * @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @return {boolean} Contains tile coordinate.
   */

/**
   * @param {import('../../Map.js').FrameState} frameState Frame state.
   * @return {string} Background color.
   */

/**
   * @param {number|undefined} zIndex Z index.
   * @param {import("../canvas.js").BuilderType} builderType Replay type.
   * @return {import("../VectorContext.js").default} Replay.
   */

/**
   * @param {number} [highWaterMark] High water mark.
   */

/**
   * @param {number} [maxEntries] Max entries.
   */

/**
   * @param {number} code Error code.
   */

/**
   * @param {number} decay Rate of decay (must be negative).
   * @param {number} minVelocity Minimum velocity (pixels/millisecond).
   * @param {number} delay Delay to consider to calculate the kinetic
   *     initial values (milliseconds).
   */

/**
   * @param {number} delta Relative value to add to the zoom rotation, in radians.
   * @param {import("./coordinate.js").Coordinate} [anchor] The rotation center.
   */

/**
   * @param {number} delta Zoom delta.
   * @param {MouseEvent} event The event to handle
   * @private
   */

/**
   * @param {number} delta Zoom delta.
   * @private
   */

/**
   * @param {number} index The index of the node to move down.
   * @private
   */

/**
   * @param {number} maxTotalLoading Maximum number tiles to load simultaneously.
   * @param {number} maxNewLoads Maximum number of new tiles to load.
   */

/**
   * @param {number} minX Minimum X.
   * @param {number} maxX Maximum X.
   * @param {number} minY Minimum Y.
   * @param {number} maxY Maximum Y.
   */

/**
   * @param {number} pixelRatio Pixel ratio.
   * @private
   */

/**
   * @param {number} pixelRatio Pixel ratio.
   * @return {HTMLImageElement|HTMLCanvasElement} Image or Canvas element.
   */

/**
   * @param {number} pixelRatio Pixel ratio.
   * @return {number} Image or Canvas element.
   */

/**
   * @param {number} resolution Resolution.
   * @param {number|import("../array.js").NearestDirectionFunction} [opt_direction]
   *     If 0, the nearest resolution will be used.
   *     If 1, the nearest higher resolution (lower Z) will be used. If -1, the
   *     nearest lower resolution (higher Z) will be used. Default is 0.
   *     Use a {@link module:ol/array~NearestDirectionFunction} for more precise control.
   *
   * For example to change tile Z at the midpoint of zoom levels
   * ```js
   * function(value, high, low) {
   *   return value - low * Math.sqrt(high / low);
   * }
   * ```
   * @return {number} Z.
   * @api
   */

/**
   * @param {number} resolution Resolution.
   * @param {number} pixelRatio Pixel ratio.
   * @param {boolean} overlaps The replay can have overlapping geometries.
   * @param {import("../canvas.js").SerializableInstructions} instructions The serializable instructions
   */

/**
   * @param {number} resolution Target resolution.
   * @param {import("./coordinate.js").Coordinate} anchor Zoom anchor.
   * @return {import("./coordinate.js").Coordinate|undefined} Center for resolution and anchor.
   */

/**
   * @param {number} rotation Target rotation.
   * @param {import("./coordinate.js").Coordinate} anchor Rotation anchor.
   * @return {import("./coordinate.js").Coordinate|undefined} Center for rotation and anchor.
   */

/**
   * @param {number} squaredTolerance Squared tolerance.
   * @return {LinearRing} Simplified LinearRing.
   * @protected
   */

/**
   * @param {number} squaredTolerance Squared tolerance.
   * @return {Polygon} Simplified Polygon.
   * @protected
   */

/**
   * @param {number} squaredTolerance Squared tolerance.
   * @return {SimpleGeometry} Simplified geometry.
   * @protected
   */

/**
   * @param {number} startIndex The index of the root.
   * @param {number} index The index of the node to move up.
   * @private
   */

/**
   * @param {number} time Time.
   * @private
   */

/**
   * @param {number} tolerance Tolerance.
   * @param {import("../../extent.js").Extent} maxExtent Max extent.
   * @param {number} resolution Resolution.
   * @param {number} pixelRatio Pixel ratio.
   */

/**
   * @param {number} tolerance Tolerance.
   * @param {import("../../extent.js").Extent} maxExtent Maximum extent.
   * @param {number} resolution Resolution.
   * @param {number} pixelRatio Pixel ratio.
   */

/**
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   * @return {boolean} Contains coordinate.
   */

/**
   * @param {number} x X.
   * @param {number} y Y.
   * @param {import("../coordinate.js").Coordinate} closestPoint Closest point.
   * @param {number} minSquaredDistance Minimum squared distance.
   * @return {number} Minimum squared distance.
   */

/**
   * @param {number} x X.
   * @param {number} y Y.
   * @return {boolean} Contains (x, y).
   */

/**
   * @param {number} x X.
   * @param {number} y Y.
   */

/**
   * @param {number} z Tile coordinate z.
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @return {!import("../../Tile.js").default} Tile.
   */

/**
   * @param {number} z Tile coordinate z.
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   * @param {number} pixelRatio Pixel ratio.
   * @param {!import("../proj/Projection.js").default} projection Projection.
   * @return {!ImageTile} Tile.
   * @protected
   */

/**
   * @param {number} z Tile coordinate z.
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   * @param {number} pixelRatio Pixel ratio.
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @param {string} key The key set on the tile.
   * @return {!ImageTile} Tile.
   * @private
   */

/**
   * @param {number} z Tile coordinate z.
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   * @param {number} pixelRatio Pixel ratio.
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {!(ImageTile|ReprojTile)} Tile.
   */

/**
   * @param {number} z Z.
   * @param {number} pixelRatio Pixel ratio.
   * @param {import("../proj/Projection.js").default} projection Projection.
   * @return {import("../size.js").Size} Tile size.
   */

/**
   * @param {number} z Zoom level.
   * @return {import("../TileRange.js").default} Extent tile range for the specified zoom level.
   */

/**
   * @param {string|Array<string>} text Text.
   * @param {string} textKey Text style key.
   * @param {string} fillKey Fill style key.
   * @param {string} strokeKey Stroke style key.
   * @return {import("../canvas.js").Label} Label.
   */

/**
   * @param {string|Array<string>} type Type.
   * @param {function((Event|import("./events/Event").default)): ?} listener Listener.
   * @return {import("./events.js").EventsKey|Array<import("./events.js").EventsKey>} Event key.
   * @protected
   */

/**
   * @param {string} [type] Type. If not provided,
   *     `true` will be returned if this event target has any listeners.
   * @return {boolean} Has listeners.
   */

/**
   * @param {string} className CSS class name.
   */

/**
   * @param {string} code Code.
   * @param {string} [axisOrientation] Axis orientation.
   */

/**
   * @param {string} code Code.
   */

/**
   * @param {string} featureKey Unique identifier for the feature.
   * @param {import("../Feature.js").default<Geometry>} feature The feature.
   * @private
   */

/**
   * @param {string} featureKey Unique identifier for the feature.
   * @param {import("../Feature.js").default<Geometry>} feature The feature.
   * @return {boolean} The feature is "valid", in the sense that it is also a
   *     candidate for insertion into the Rtree.
   * @private
   */

/**
   * @param {string} fontStyle Css font-style
   * @param {string} fontWeight Css font-weight
   * @param {*} fontFamily Css font-family
   * @return {boolean} Font with style and weight is available
   */

/**
   * @param {string} key Key name.
   * @param {*} oldValue Old value.
   */

/**
   * @param {string} key Key name.
   * @param {import("./events.js").Listener} listener Listener.
   */

/**
   * @param {string} key Key.
   * @param {*} [options] Options (reserved for subclasses).
   * @return {T} Value.
   */

/**
   * @param {string} key Key.
   * @param {T} value Value.
   */

/**
   * @param {string} key Key.
   * @return {boolean} Contains key.
   */

/**
   * @param {string} key Key.
   * @return {boolean} Is key queued.
   */

/**
   * @param {string} name - Zone name
   * @return {IANAZone}
   */

/**
   * @param {string} src Src.
   * @param {?string} crossOrigin Cross origin.
   * @param {import("../color.js").Color} color Color.
   * @param {import("./IconImage.js").default} iconImage Icon image.
   */

/**
   * @param {string} src Src.
   * @param {?string} crossOrigin Cross origin.
   * @param {import("../color.js").Color} color Color.
   * @return {import("./IconImage.js").default} Icon image.
   */

/**
   * @param {string} type Event type.
   * @param {import("./Map.js").default} map Map.
   * @param {?import("./Map.js").FrameState} [frameState] Frame state.
   */

/**
   * @param {string} type Event type.
   * @param {import("./Map.js").default} map Map.
   * @param {EVENT} originalEvent Original event.
   * @param {boolean} [dragging] Is the map currently being dragged?
   * @param {import("./Map.js").FrameState} [frameState] Frame state.
   * @param {Array<PointerEvent>} [activePointers] Active pointers.
   */

/**
   * @param {string} type The event type.
   * @param {import("../coordinate.js").Coordinate} coordinate The event coordinate.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Originating event.
   */

/**
   * @param {string} type The event type.
   * @param {string} key The property name.
   * @param {*} oldValue The old value for `key`.
   */

/**
   * @param {string} type Type.
   * @param {import("../Feature.js").default<Geometry>} [feature] Feature.
   * @param {Array<import("../Feature.js").default<Geometry>>} [features] Features.
   */

/**
   * @param {string} type Type.
   * @param {import("../Tile.js").default} tile The tile.
   */

/**
   * @param {string} type Type.
   * @param {import("../events.js").Listener} listener Listener.
   */

/**
   * @param {string} type Type.
   */

/**
   * @private
   *
   * @deprecated
   * @property isLeafRegExp
   * @type RegExp
   */

/**
   * @private
   *
   * In case you won't use this class for a hour, min slider, you should override this function and update the label yourself
   */

/**
   * @private
   * 
   * @property isPersonalNodeRegExp
   * @type RegExp
   */

/**
   * @private
   * 
   * NOTE: Order of items matters! Ext.Layout.Border.SplitRegion.layout() does not
   *       fence the rendering correctly, as such it's impotant, so have the ftb
   *       defined after all other layout items
   */

/**
   * @private
   * 
   * TODO check if this is working correctly
   */

/**
   * @private
   * 
   * called after this.popups native onLoad
   * note: 'this' references the popup, whereas window references the parent
   */

/**
   * @private
   * 
   * note: 'this' references the popup, whereas window references the parent
   */

/**
   * @private
   * 
   */

/**
   * @private
   * - select default path
   */

/**
   * @private
   * @cfg {Boolean} isColumn
   * Used by ColumnModel setConfig method to avoid reprocessing a Column
   * if <code>isColumn</code> is not set ColumnModel will recreate a new Ext.grid.Column
   * Defaults to true.
   */

/**
   * @private
   * @cfg {Boolean} isColumn
   * Used by ListView constructor method to avoid reprocessing a Column
   * if <code>isColumn</code> is not set ListView will recreate a new Ext.list.Column
   * Defaults to true.
   */

/**
   * @private
   * @param range
   * @param min
   */

/**
   * @private
   * @param range
   * @return {string}
   */

/**
   * @private
   * @param {?import("../Map.js").FrameState} frameState Frame state.
   */

/**
   * @private
   * @param {CanvasRenderingContext2D} context Context.
   * @param {Array<*>} instruction Instruction.
   */

/**
   * @private
   * @param {CanvasRenderingContext2D} context Context.
   * @param {number} contextScale Scale of the context.
   * @param {import("../../transform.js").Transform} transform Transform.
   * @param {Array<*>} instructions Instructions array.
   * @param {boolean} snapToPixel Snap point symbols and text to integer pixels.
   * @param {FeatureCallback<T>} [featureCallback] Feature callback.
   * @param {import("../../extent.js").Extent} [hitExtent] Only check
   *     features that intersect this extent.
   * @param {import("rbush").default} [declutterTree] Declutter tree.
   * @return {T|undefined} Callback result.
   * @template T
   */

/**
   * @private
   * @param {CanvasRenderingContext2D} context Context.
   * @param {number} contextScale Scale of the context.
   * @param {import("../canvas.js").Label|HTMLImageElement|HTMLCanvasElement|HTMLVideoElement} imageOrLabel Image.
   * @param {ImageOrLabelDimensions} dimensions Dimensions.
   * @param {number} opacity Opacity.
   * @param {Array<*>} fillInstruction Fill instruction.
   * @param {Array<*>} strokeInstruction Stroke instruction.
   * @return {boolean} The image or label was rendered.
   */

/**
   * @private
   * @param {CanvasRenderingContext2D} context Context.
   */

/**
   * @private
   * @param {CanvasRenderingContext2D} context The context to draw in.
   */

/**
   * @private
   * @param {Ext.EventObject} e
   */

/**
   * @private
   * @param {Object} rs
   * @param {Object} cs
   */

/**
   * @private
   * @param {RenderOptions} renderOptions Render options.
   * @param {CanvasRenderingContext2D} context The context.
   */

/**
   * @private
   * @param {RenderOptions} renderOptions Render options.
   * @param {CanvasRenderingContext2D} context The rendering context.
   * @param {number} pixelRatio The pixel ratio.
   */

/**
   * @private
   * @param {RenderOptions} renderOptions Render options.
   */

/**
   * @private
   * @param {String} property Property to sort by ('key', 'value', or 'index')
   * @param {String} dir (optional) Direction to sort 'ASC' or 'DESC'. Defaults to 'ASC'.
   * @param {Function} fn (optional) Comparison function that defines the sort order.
   * Defaults to sorting by numeric value.
   */

/**
   * @private
   * @param {T} elem Element.
   * @param {number} [except] Optional index to ignore.
   */

/**
   * @private
   * @param {import("../Map.js").default} map Map.
   */

/**
   * @private
   * @param {number} begin Begin.
   * @param {number} end End.
   */

/**
   * @private
   * @param {number} sheetWidth Width of the sprite sheet.
   * @param {number} sheetHeight Height of the sprite sheet.
   * @param {number} centerX X.
   * @param {number} centerY Y.
   * @param {number} width Width.
   * @param {number} height Height.
   * @param {number} anchorX Anchor X.
   * @param {number} anchorY Anchor Y.
   * @param {number} originX Origin X.
   * @param {number} originY Origin Y.
   * @param {number} rotation Rotation.
   * @param {import("../../size.js").Size} scale Scale.
   * @param {boolean} snapToPixel Snap to pixel.
   * @param {Array<number>} padding Padding.
   * @param {boolean} fillStroke Background fill or stroke.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   * @return {ImageOrLabelDimensions} Dimensions for positioning and decluttering the image or label.
   */

/**
   * @private
   * @param {string|Array<string>} text The text to draw.
   * @param {string} textKey The key of the text state.
   * @param {string} strokeKey The key for the stroke state.
   * @param {string} fillKey The key for the fill state.
   * @return {{label: import("../canvas.js").Label, anchorX: number, anchorY: number}} The text image and its anchor.
   */

/**
   * @private
   * @property {Object} items
   * holds internal item elements
   */

/**
   * @private
   * @return {boolean} The image canvas is tainted.
   */

/**
   * @private
   * @todo: register app.on('titlechange', ...)
   */

/**
   * @private
   * Method to establish a reference to a component.
   */

/**
   * @private
   * Method to manage awareness of when components are added to their
   * respective Container, firing an added event.
   * References are established at add time rather than at render time.
   * @param {Ext.Container} container Container which holds the component
   * @param {number} pos Position at which the component was added
   */

/**
   * @private
   * Method to manage awareness of when components are removed from their
   * respective Container, firing an removed event. References are properly
   * cleaned up after removing a component from its owning container.
   */

/**
   * @private
   * Subclasses should provide the validation implementation by overriding this
   * @param {Mixed} value
   */

/**
   * @private
   * The orientation of the split. Either Ext.SplitBar.HORIZONTAL or Ext.SplitBar.VERTICAL. (Defaults to HORIZONTAL)
   * Note: If this is changed after creating the SplitBar, the placement property must be manually updated
   * @type Number
   */

/**
   * @private
   */

/**
   * @private 
   */

/**
   * @private Called after the drag operation by the DDProxy
   */

/**
   * @private The adapter to use to positon and resize elements
   */

/**
   * @private only toggle actions make sense as filters!
   */

/**
   * @private store has static content
   */

/**
   * @private {Ext.data.JsonStore}
   */

/**
   * @private {Ext.tree.treeNode} the latest clicked node
   */

/**
   * @property  autoAbort
   * Whether a new request should abort any pending requests. (defaults to false)
   * @type Boolean
   */

/**
   * @property  defaultHeaders
   * An object containing request headers which are added to each request made by this object
   * (defaults to undefined).
   * @type Object
   */

/**
   * @property  disableCaching
   * True to add a unique cache-buster param to GET requests. (defaults to true)
   * @type Boolean
   */

/**
   * @property  extraParams
   * An object containing properties which are used as extra parameters to each request made
   * by this object (defaults to undefined). Session information and other data that you need
   * to pass with each request are commonly put here.
   * @type Object
   */

/**
   * @property  method
   * The default HTTP method to be used for requests. Note that this is case-sensitive and
   * should be all caps (defaults to undefined; if not set but params are present will use
   * <tt>"POST"</tt>, otherwise will use <tt>"GET"</tt>.)
   * @type String
   */

/**
   * @property  timeout
   * The timeout in milliseconds to be used for requests. (defaults to 30000)
   * @type Number
   */

/**
   * @property  url
   * The default URL to be used for requests to the server. (defaults to undefined)
   * If the server receives all requests through one URL, setting this once is easier than
   * entering it on every request.
   * @type String
   */

/**
   * @property Tine.Tinebase.Application app
   */

/**
   * @property activeFilterPanel
   * @type Tine.widgets.grid.FilterToolbar
   */

/**
   * @property activeItem
   * @hide
   */

/**
   * @property allowedFileExtensions
   * @type Array
   */

/**
   * @property app
   * @type Tine.Tinebase.Application
   */

/**
   * @property apps
   * @type Ext.util.MixedCollection
   * 
   * enabled apps
   */

/**
   * @property apps
   * @type Ext.util.Observable
   */

/**
   * @property autoRefreshTask
   * @type Ext.util.DelayedTask
   */

/**
   * @property bodyTpl
   * @type Ext.XTemplate
   * The XTemplate used to create each row. This is used inside the 'print' function to build another XTemplate, to which the data
   * are then applied (see the escaped dataIndex attribute here - this ends up as "{dataIndex}")
   */

/**
   * @property browsePlugin
   * @type Ext.ux.file.BrowsePlugin
   */

/**
   * @property childSheets
   * @type Object
   */

/**
   * @property containerSelectCombo {Tine.widgets.container.SelectionComboBox}
   */

/**
   * @property criteriaCount
   * @type Number
   */

/**
   * @property currentValue
   * @type mixed
   */

/**
   * @property customfieldId
   * @type String
   */

/**
   * @property defaultApp
   * @type Tine.Application
   */

/**
   * @property defaultInfosPanel holds panel for default information
   * @type Ext.Panel
   */

/**
   * @property definitionsStore
   * @type Ext.data.JsonStore
   */

/**
   * @property deleteQueue - array of ids of records currently being deleted
   * @type Array of ids
   */

/**
   * @property disableFormats
   * @hide
   */

/**
   * @property disabled
   * @hide
   */

/**
   * @property editBuffer  - array of ids of records edited since last explicit refresh
   * @type Array of ids
   */

/**
   * @property editDialog
   * @type Tine.widgets.dialog.EditDialog
   */

/**
   * @property enabled Writable. False if resizing is disabled.
   * @type Boolean 
   */

/**
   * @property exceptionStore
   * @type Ext.data.JsonStore
   */

/**
   * @property filterPanels map filterPanelId => filterPanel
   * @type Object
   */

/**
   * @property footer
   * @hide
   */

/**
   * @property form
   * @type Ext.form.BasicForm
   */

/**
   * @property grid
   * @type Tine.widgets.grid.GridPanel
   */

/**
   * @property header
   * @hide
   */

/**
   * @property headerTpl
   * @type Ext.XTemplate
   * The XTemplate used to create the headings row. By default this just uses <th> elements, override to provide your own
   */

/**
   * @property inTokenMode
   * @type Boolean
   */

/**
   * @property indentPadding
   * @type Number
   * Number of pixels to indent node by. This is multiplied by the node depth, so a node with node.getDepth() == 3 will
   * be padded by 45 (or 3x your custom indentPadding)
   */

/**
   * @property inputFileEl
   * @type Ext.Element
   * Element for the hidden file input.
   * @private
   */

/**
   * @property isActive
   * @type Boolean
   */

/**
   * @property items
   * @hide
   */

/**
   * @property keyFieldConfig
   * @type Object
   */

/**
   * @property lastImportResponse
   * @type Objcet resutls of the last import request
   */

/**
   * @property loadMask {Ext.LoadMask}
   */

/**
   * @property maxChunkSize the maximum chunk size used for html5 uploads
   * @type Int
   */

/**
   * @property menu
   * @type Ext.menu.Menu
   * The submenu associated with this Item if one was configured.
   */

/**
   * @property menu
   * @type Menu
   * The {@link Ext.menu.Menu Menu} object associated with this Button when configured with the {@link #menu} config option.
   */

/**
   * @property menu
   * @type Menu
   * The {@link Ext.menu.Menu Menu} object used to display the {@link Ext.menu.CheckItem CheckItems} representing the available choices.
   */

/**
   * @property multiRecordsPanel holds panel for multi selection aggregates/information
   * @type Ext.Panel
   */

/**
   * @property palette
   * @type ColorPalette
   * The {@link Ext.ColorPalette} instance for this ColorMenu
   */

/**
   * @property parentMenu
   * @type Ext.menu.Menu
   * The parent Menu of this Item.
   */

/**
   * @property re
   * @hide
   */

/**
   * @property record
   * @type Tine.Tinebase.data.Record
   */

/**
   * @property recordClass
   * @type Tine.Tinebase.data.Record
   */

/**
   * @property selectedDefinition
   * @type Ext.data.Record
   */

/**
   * @property selection
   * @type Array
   */

/**
   * @property selectionModel
   * @type Tine.widgets.grid.FilterSelectionModel
   */

/**
   * @property singleRecordPanel holds panel for single record details
   * @type Ext.Panel
   */

/**
   * @property stylesheetPath
   * @type String
   * The path at which the print stylesheet can be found (defaults to 'stylesheets/print.css')
   */

/**
   * @property this filterModel is the generic 'related to' filterRow
   * @type Boolean
   */

/**
   * @property window {Ext.Window|Ext.ux.PopupWindow|Ext.Air.Window}
   */

/**
   * @property {Bool}
   */

/**
   * @property {Bool} adding true if a quickadd is in process
   */

/**
   * @property {Browser Window}
   */

/**
   * @property {Ext.Window|Ext.ux.PopupWindow|Ext.Air.Window}
   */

/**
   * @property {Ext.Window}
   */

/**
   * @property {Ext.data.Store} store
   */

/**
   * @property {Ext.grid.GridPanel} grid
   */

/**
   * @property {Ext.tree.TreePanel}
   */

/**
   * @property {Ext.util.DelayedTask} checkTask
   */

/**
   * @property {Ext.ux.PopupWindowMgr}
   */

/**
   * @property {Locale.gettext} i18n
   */

/**
   * @property {Number} loadRequest
   * transaction id of loadData request
   */

/**
   * @property {Object}
   * modelConfiguration of recordClass (if available)
   */

/**
   * @property {Object} areaOptions run time area options
   */

/**
   * @property {Object} currently displayed container
   */

/**
   * @property {Object} natrual size of image
   */

/**
   * @property {Object} prefPanels
   * here we store the pref panels for all apps
   */

/**
   * @property {Object} prefPanels
   * here we store the pref panels for all apps [admin mode]
   */

/**
   * @property {Object} presenceObservers areaName: presenceObserver
   */

/**
   * @property {Object} providerInstances areaName: providerInstance
   */

/**
   * @property {Object} timers areaName: timer
   */

/**
   * @property {Ref<Number>|undefined} dockBadge
   * If an application is docked, this number is shown as Bootstrap Badge
   * Is undefined for apps with 'hasMainScreen' set to false
   */

/**
   * @property {String}
   */

/**
   * @property {String} status
   */

/**
   * @property {String} xtype
   */

/**
   * @property {Tine.Tinebase.Application}
   */

/**
   * @property {Tine.widgets.dialog.PreferencesCardPanel} prefsCardPanel
   */

/**
   * @property {Tine.widgets.dialog.PreferencesTreePanel} treePanel
   */

/**
   * @property {boolean} adminMode
   * when adminMode is activated -> show defaults/forced values
   */

/**
   * @property {bool} Browser supports online offline detection
   */

/**
   * @protected
   * @param {Array<number>} dashArray Dash array.
   * @return {Array<number>} Dash array with pixel ratio applied
   */

/**
   * @protected
   * @param {import("../../Tile.js").default} tile Tile.
   * @return {boolean} Tile is drawable.
   */

/**
   * @protected
   * @param {import("../../geom/Geometry").default|import("../Feature.js").default} geometry The geometry.
   * @param {import("../../Feature.js").FeatureLike} feature Feature.
   */

/**
   * @protected
   */

/**
   * @public
   *
   * @returns {string}
   */

/**
   * @return Ext.grid.ColumnModel
   * @private
   */

/**
   * @return Ext.grid.ColumnModel
   */

/**
   * @return {!Document} The document where the map is displayed.
   */

/**
   * @return {!Object<string, !Object<import("../canvas.js").BuilderType, import("./Builder.js").SerializableInstructions>>} The serializable instructions
   */

/**
   * @return {Array<T>} Values.
   */

/**
   * @return {Array<Triangle>} Array of the calculated triangles.
   */

/**
   * @return {Array<number>} Ends.
   */

/**
   * @return {Array<number>} Flat coordinates.
   */

/**
   * @return {Array<number>} Interior point.
   */

/**
   * @return {Array<number>} Oriented flat coordinates.
   */

/**
   * @return {Array<string>} Keys.
   */

/**
   * @return {Constraints} Constraints.
   */

/**
   * @return {Ext.Element} the input file element
   */

/**
   * @return {HTMLCanvasElement} Image
   */

/**
   * @return {HTMLCanvasElement} Image element.
   */

/**
   * @return {HTMLImageElement|HTMLCanvasElement} Image element.
   */

/**
   * @return {LayerType} Layer.
   */

/**
   * @return {Object} {from: Date, until: Date}
   */

/**
   * @return {Promise<import("../View.js").ViewOptions>} A promise for view-related properties.
   */

/**
   * @return {RenderOptions}  The render options
   * @protected
   */

/**
   * @return {SourceType|null} The source being rendered.
   */

/**
   * @return {State} View state.
   */

/**
   * @return {Tine.Addressbook.SearchCombo}
   */

/**
   * @return {Tine.Tinebase.widgets.form.RecordPickerComboBox|this.searchComboClass}
   */

/**
   * @return {Tine.Tinebase.widgets.form.RecordPickerComboBox}
   */

/**
   * @return {T} Last value.
   */

/**
   * @return {T} value Value.
   */

/**
   * @return {boolean|undefined} Wrap X.
   */

/**
   * @return {boolean} Attributions are collapsible.
   * @api
   */

/**
   * @return {boolean} Can expire cache.
   */

/**
   * @return {boolean} Declutter.
   */

/**
   * @return {boolean} Is defined.
   */

/**
   * @return {boolean} Is empty.
   */

/**
   * @return {boolean} Is rendered.
   */

/**
   * @return {boolean} Layers have sources that are still loading.
   */

/**
   * @return {boolean} Resolution constraint is set
   */

/**
   * @return {boolean} The layer has a renderer.
   */

/**
   * @return {boolean} The object has properties.
   */

/**
   * @return {boolean} The projection is suitable for wrapping the x-axis
   */

/**
   * @return {boolean} The source can have overlapping geometries.
   */

/**
   * @return {boolean} Use linear interpolation when resampling.
   */

/**
   * @return {boolean} Whether the rendered layer should be updated while
   *     animating.
   */

/**
   * @return {boolean} Whether the rendered layer should be updated while
   *     interacting.
   */

/**
   * @return {boolean} Whether we should do kinetic animation.
   */

/**
   * @return {function(import("../Feature.js").default, import("../Feature.js").default): number|null|undefined} Render
   *     order.
   */

/**
   * @return {import("../ImageState.js").default} Image state.
   */

/**
   * @return {import("../Map.js").default} Map.
   */

/**
   * @return {import("../canvas.js").SerializableInstructions} the serializable instructions.
   */

/**
   * @return {import("../geom/Polygon.js").default} Geometry.
   */

/**
   * @return {import("../size.js").Size} Image size.
   */

/**
   * @return {import("../source/Source.js").State} Source state.
   */

/**
   * @return {import("../tilegrid/TileGrid.js").default} The default tile grid.
   */

/**
   * @return {import("./TileState.js").default} State.
   */

/**
   * @return {import("./size.js").Size} Size.
   */

/**
   * @return {number|undefined} Render buffer.
   */

/**
   * @return {number} Angle of the kinetic panning animation (radians).
   */

/**
   * @return {number} Count.
   */

/**
   * @return {number} Gutter.
   */

/**
   * @return {number} Height.
   */

/**
   * @return {number} Number of tiles loading.
   */

/**
   * @return {number} Stride.
   */

/**
   * @return {number} Total distance travelled (pixels).
   */

/**
   * @return {number} Width.
   */

/**
   * @return {string|undefined} Image src.
   */

/**
   * @return {string} CSS class name.
   */

/**
   * @return {string} Key.
   */

/**
   * @return {string} Last key.
   */

/**
   * @returns {Array.<*>}
   */

/**
   * @returns {Array}
   */

/**
   * @returns {Ext.grid.ColumnModel}
   */

/**
   * @returns {boolean}
   */

/**
   * @rivate
   */

/**
   * @see Ext.Button.initComponent
   */

/**
   * @see Ext.Component
   */

/**
   * @see Ext.form.ComboBox
   */

/**
   * @see Ext.form.NumberField
   * 
   * if decimalSeparator is not ".", the decimals won't be shown if 0 in superclass, so fix it here
   * 
   * @param {String} v
   * @return {Ext.form.ComboBox}
   */

/**
   * @see Ext.form.NumberField
   * 
   * strips the prefix and suffix before superclass is validating
   * 
   * @param {String} value
   * @return {String}
   */

/**
   * @static
   * @param {filterRecord} filter
   */

/**
   * @todo better name. Responsive level below which the contents are stacked vertically
   */

/**
   * @type Array
   * @property mainActions
   */

/**
   * @type Boolean
   * @property copyEditAction
   * 
   * TODO activate this by default
   */

/**
   * @type Boolean
   * @property updateOnSelectionChange
   */

/**
   * @type Ext.Menu
   * @property contextMenu
   */

/**
   * @type Ext.Toolbar
   * @property actionToolbar
   */

/**
   * @type Ext.tree.TreeNode
   * currently active node
   */

/**
   * @type Ext.ux.grid.PagingToolbar
   * @property pagingToolbar
   */

/**
   * @type String 
   * @property appName
   * internal/untranslated app name
   */

/**
   * @type String 
   * @property idProperty
   * property of the id of the record
   */

/**
   * @type String 
   * @property modelName
   * name of the model/record 
   */

/**
   * @type Tine.Tinebase.Application app
   */

/**
   * @type Tine.Tinebase.data.Record selectedRecord
   * @property selectedRecord
   * The last record which was selected
   */

/**
   * @type Tine.widgets.dialog.EditDialog editDialog
   */

/**
   * @type Tinebase.Application
   */

/**
   * @type Tinebase.Application 
   */

/**
   * @type {Array<import("./style/Style.js").default>}
   */

/**
   * @type {HTMLDivElement}
   */

/**
   * @type {HTMLElement|Document}
   */

/**
   * @type {Object<string, *>}
   */

/**
   * @type {Object<string, Color>}
   */

/**
   * @type {ResponsiveBreakpointOverride||null||[ResponsiveBreakpointOverride]}
   */

/**
   * @type {number}
   */

/**
   * @var {Ext.data.JsonStore}
   * Holds activities of the record this panel is displayed for
   */

/**
   * @var {Ext.data.JsonStore}
   * Holds tags of the record this panel is displayed for
   */

/**
   * @var {Ext.data.JsonStore} Store for available tags
   */

/**
   * @var {Ext.form.ComboBox} live search field to search tags to add
   */

/**
   * A click with no dragging. A double click will fire two of this.
   * @event module:ol/MapBrowserEvent~MapBrowserEvent#click
   * @api
   */

/**
   * A faster alternative to `Function#apply`, this function invokes `func`
   * with the `this` binding of `thisArg` and the arguments of `args`.
   *
   * @private
   * @param {Function} func The function to invoke.
   * @param {*} thisArg The `this` binding of `func`.
   * @param {Array} args The arguments to invoke `func` with.
   * @returns {*} Returns the result of `func`.
   */

/**
   * A reference to the {@link Ext.Component} that is active.  For example, <pre><code>
   * if(myPanel.layout.activeItem.id == 'item-1') { ... }
   * </code></pre>
   * <tt>activeItem</tt> only applies to layout styles that can display items one at a time
   * (like {@link Ext.layout.AccordionLayout}, {@link Ext.layout.CardLayout}
   * and {@link Ext.layout.FitLayout}).  Read-only.  Related to {@link Ext.Container#activeItem}.
   * @type {Ext.Component}
   * @property activeItem
   */

/**
   * A shortcut method for toggling between {@link #maximize} and {@link #restore} based on the current maximized
   * state of the window.
   * @return {Ext.Window} this
   */

/**
   * A specialized version of `_.every` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} predicate The function invoked per iteration.
   * @returns {boolean} Returns `true` if all elements pass the predicate check,
   *  else `false`.
   */

/**
   * A specialized version of `_.filter` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} predicate The function invoked per iteration.
   * @returns {Array} Returns the new filtered array.
   */

/**
   * A specialized version of `_.forEachRight` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {Array} Returns `array`.
   */

/**
   * A specialized version of `_.forEach` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {Array} Returns `array`.
   */

/**
   * A specialized version of `_.includes` for arrays without support for
   * specifying an index to search from.
   *
   * @private
   * @param {Array} [array] The array to inspect.
   * @param {*} target The value to search for.
   * @returns {boolean} Returns `true` if `target` is found, else `false`.
   */

/**
   * A specialized version of `_.indexOf` which performs strict equality
   * comparisons of values, i.e. `===`.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} value The value to search for.
   * @param {number} fromIndex The index to search from.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */

/**
   * A specialized version of `_.lastIndexOf` which performs strict equality
   * comparisons of values, i.e. `===`.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} value The value to search for.
   * @param {number} fromIndex The index to search from.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */

/**
   * A specialized version of `_.map` for arrays without support for iteratee
   * shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {Array} Returns the new mapped array.
   */

/**
   * A specialized version of `_.reduceRight` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @param {*} [accumulator] The initial value.
   * @param {boolean} [initAccum] Specify using the last element of `array` as
   *  the initial value.
   * @returns {*} Returns the accumulated value.
   */

/**
   * A specialized version of `_.reduce` for arrays without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @param {*} [accumulator] The initial value.
   * @param {boolean} [initAccum] Specify using the first element of `array` as
   *  the initial value.
   * @returns {*} Returns the accumulated value.
   */

/**
   * A specialized version of `_.some` for arrays without support for iteratee
   * shorthands.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} predicate The function invoked per iteration.
   * @returns {boolean} Returns `true` if any element passes the predicate check,
   *  else `false`.
   */

/**
   * A specialized version of `baseAggregator` for arrays.
   *
   * @private
   * @param {Array} [array] The array to iterate over.
   * @param {Function} setter The function to set `accumulator` values.
   * @param {Function} iteratee The iteratee to transform keys.
   * @param {Object} accumulator The initial aggregated object.
   * @returns {Function} Returns `accumulator`.
   */

/**
   * A true double click, with no dragging.
   * @event module:ol/MapBrowserEvent~MapBrowserEvent#dblclick
   * @api
   */

/**
   * A true single click with no dragging and no double click. Note that this
   * event is delayed by 250 ms to ensure that it is not a double click.
   * @event module:ol/MapBrowserEvent~MapBrowserEvent#singleclick
   * @api
   */

/**
   * Abort the current server request.
   */

/**
   * Aborts any outstanding request.
   * @param {Number} transactionId (Optional) defaults to the last transaction
   */

/**
   * Abstract method created in extension's buildExtractors impl.
   */

/**
   * Abstract method overridden in DataReader extensions such as {@link Ext.data.JsonReader} and {@link Ext.data.XmlReader}
   */

/**
   * Abstract method, overridden in DataReader extensions such as {@link Ext.data.JsonReader} and {@link Ext.data.XmlReader}
   */

/**
   * Abstract methods for subclasses to implement.
   */

/**
   * Activate or deactivate the interaction.
   * @param {boolean} active Active.
   * @observable
   * @api
   */

/**
   * Add Ext.form Components to this form's Collection. This does not result in rendering of
   * the passed Component, it just enables the form to validate Fields, and distribute values to
   * Fields.
   * <p><b>You will not usually call this function. In order to be rendered, a Field must be added
   * to a {@link Ext.Container Container}, usually an {@link Ext.form.FormPanel FormPanel}.
   * The FormPanel to which the field is added takes care of adding the Field to the BasicForm's
   * collection.</b></p>
   * @param {Field} field1
   * @param {Field} field2 (optional)
   * @param {Field} etc (optional)
   * @return {BasicForm} this
   */

/**
   * Add Records to the Store and fires the {@link #add} event.  To add Records
   * to the store from a remote source use <code>{@link #load}({add:true})</code>.
   * See also <code>{@link #recordType}</code> and <code>{@link #insert}</code>.
   * @param {Ext.data.Record[]} records An Array of Ext.data.Record objects
   * to add to the cache. See {@link #recordType}.
   */

/**
   * Add a batch of features to the source.
   * @param {Array<import("../Feature.js").default<Geometry>>} features Features to add.
   * @api
   */

/**
   * Add a feature without firing a `change` event.
   * @param {import("../Feature.js").default<Geometry>} feature Feature.
   * @protected
   */

/**
   * Add a new binding to this KeyMap. The following config object properties are supported:
   * <pre>
  Property    Type             Description
  ----------  ---------------  ----------------------------------------------------------------------
  key         String/Array     A single keycode or an array of keycodes to handle
  shift       Boolean          True to handle key only when shift is pressed, False to handle the key only when shift is not pressed (defaults to undefined)
  ctrl        Boolean          True to handle key only when ctrl is pressed, False to handle the key only when ctrl is not pressed (defaults to undefined)
  alt         Boolean          True to handle key only when alt is pressed, False to handle the key only when alt is not pressed (defaults to undefined)
  handler     Function         The function to call when KeyMap finds the expected key combination
  fn          Function         Alias of handler (for backwards-compatibility)
  scope       Object           The scope of the callback function
  stopEvent   Boolean          True to stop the event from bubbling and prevent the default browser action if the key was handled by the KeyMap (defaults to false)
  </pre>
   *
   * Usage:
   * <pre><code>
  // Create a KeyMap
  var map = new Ext.KeyMap(document, {
  key: Ext.EventObject.ENTER,
  fn: handleKey,
  scope: this
  });
  //Add a new binding to the existing KeyMap later
  map.addBinding({
  key: 'abc',
  shift: true,
  fn: handleKey,
  scope: this
  });
  </code></pre>
   * @param {Object/Array} config A single KeyMap config or an array of configs
   */

/**
   * Add a period of time to this DateTime and return the resulting DateTime
   *
   * Adding hours, minutes, seconds, or milliseconds increases the timestamp by the right number of milliseconds. Adding days, months, or years shifts the calendar, accounting for DSTs and leap years along the way. Thus, `dt.plus({ hours: 24 })` may result in a different time than `dt.plus({ days: 1 })` if there's a DST shift in between.
   * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
   * @example DateTime.local().plus(123) //~> in 123 milliseconds
   * @example DateTime.local().plus({ minutes: 15 }) //~> in 15 minutes
   * @example DateTime.local().plus({ days: 1 }) //~> this time tomorrow
   * @example DateTime.local().plus({ days: -1 }) //~> this time yesterday
   * @example DateTime.local().plus({ hours: 3, minutes: 13 }) //~> in 3 hr, 13 min
   * @example DateTime.local().plus(Duration.fromObject({ hours: 3, minutes: 13 })) //~> in 3 hr, 13 min
   * @return {DateTime}
   */

/**
   * Add a record to store if not existing
   * @param recordToAdd
   */

/**
   * Add a single feature to the source.  If you want to add a batch of features
   * at once, call {@link module:ol/source/Vector~VectorSource#addFeatures #addFeatures()}
   * instead. A feature will not be added to the source if feature with
   * the same id is already there. The reason for this behavior is to avoid
   * feature duplication when using bbox or tile loading strategies.
   * Note: this also applies if an {@link module:ol/Collection~Collection} is used for features,
   * meaning that if a feature with a duplicate id is added in the collection, it will
   * be removed from it right away.
   * @param {import("../Feature.js").default<Geometry>} feature Feature to add.
   * @api
   */

/**
   * Add elements to the collection.  This pushes each item in the provided array
   * to the end of the collection.
   * @param {!Array<T>} arr Array.
   * @return {Collection<T>} This collection.
   * @api
   */

/**
   * Add features without firing a `change` event.
   * @param {Array<import("../Feature.js").default<Geometry>>} features Features.
   * @protected
   */

/**
   * Add one or more files from filemanager
   *
   * @param nodes
   */

/**
   * Add the given control to the map.
   * @param {import("./control/Control.js").default} control Control.
   * @api
   */

/**
   * Add the given interaction to the map. If you want to add an interaction
   * at another point of the collection use `getInteractions()` and the methods
   * available on {@link module:ol/Collection~Collection}. This can be used to
   * stop the event propagation from the handleEvent function. The interactions
   * get to handle the events in the reverse order of this collection.
   * @param {import("./interaction/Interaction.js").default} interaction Interaction to add.
   * @api
   */

/**
   * Add the given overlay to the map.
   * @param {import("./Overlay.js").default} overlay Overlay.
   * @api
   */

/**
   * Adds a CSS class to the component's underlying element.
   * @param {string} cls The CSS class name to add
   * @return {Ext.Component} this
   */

/**
   * Adds a button to this panel.  Note that this method must be called prior to rendering.  The preferred
   * approach is to add buttons via the {@link #buttons} config.
   * @param {String/Object} config A valid {@link Ext.Button} config.  A string will become the text for a default
   * button config, an object will be treated as a button config object.
   * @param {Function} handler The function to be called on button {@link Ext.Button#click}
   * @param {Object} scope The scope (<code>this</code> reference) in which the button handler function is executed. Defaults to the Button.
   * @return {Ext.Button} The button that was added
   */

/**
   * Adds a separator bar to the menu
   * @return {Ext.menu.Item} The menu item that was added
   */

/**
   * Adds a value to the view rotation, optionally using an anchor. Any rotation
   * constraint will apply.
   * @param {number} delta Relative value to add to the zoom rotation, in radians.
   * @param {import("./coordinate.js").Coordinate} [anchor] The rotation center.
   * @api
   */

/**
   * Adds a value to the view zoom level, optionally using an anchor. Any resolution
   * constraint will apply.
   * @param {number} delta Relative value to add to the zoom level.
   * @param {import("./coordinate.js").Coordinate} [anchor] The origin of the transformation.
   * @api
   */

/**
   * Adds all elements of an Array or an Object to the collection.
   * @param {Object/Array} objs An Object containing properties which will be added
   * to the collection, or an Array of values, each of which are added to the collection.
   * Functions references will be added to the collection if <code>{@link #allowFunctions}</code>
   * has been set to <tt>true</tt>.
   * @param suppressEvent
   */

/**
   * Adds an Ext.Direct Provider and creates the proxy or stub methods to execute server-side methods.
   * If the provider is not already connected, it will auto-connect.
   * <pre><code>
  var pollProv = new Ext.direct.PollingProvider({
  url: 'php/poll2.php'
  }); 
  Ext.Direct.addProvider(
  {
      "type":"remoting",       // create a {@link Ext.direct.RemotingProvider} 
      "url":"php\/router.php", // url to connect to the Ext.Direct server-side router.
      "actions":{              // each property within the actions object represents a Class 
          "TestAction":[       // array of methods within each server side Class   
          {
              "name":"doEcho", // name of method
              "len":1
          },{
              "name":"multiply",
              "len":1
          },{
              "name":"doForm",
              "formHandler":true, // handle form on server with Ext.Direct.Transaction 
              "len":1
          }]
      },
      "namespace":"myApplication",// namespace to create the Remoting Provider in
  },{
      type: 'polling', // create a {@link Ext.direct.PollingProvider} 
      url:  'php/poll.php'
  },
  pollProv // reference to previously created instance
  );
   * </code></pre>
   * @param {Object/Array} provider Accepts either an Array of Provider descriptions (an instance
   * or config object for a Provider) or any number of Provider descriptions as arguments.  Each
   * Provider description instructs Ext.Direct how to create client-side stub methods.
   */

/**
   * Adds an existing object based on {@link Ext.menu.BaseItem} to the menu
   * @param {Ext.menu.Item} item The menu item to add
   * @return {Ext.menu.Item} The menu item that was added
   */

/**
   * Adds an item to the collection. Fires the {@link #add} event when complete.
   * @param {String} key <p>The key to associate with the item, or the new item.</p>
   * <p>If a {@link #getKey} implementation was specified for this MixedCollection,
   * or if the key of the stored items is in a property called <tt><b>id</b></tt>,
   * the MixedCollection will be able to <i>derive</i> the key for the new item.
   * In this case just pass the new item in this parameter.</p>
   * @param {Object} o The item to add.
   * @param suppressEvent
   * @return {Object} The item added.
   */

/**
   * Adds an {@link Ext.Element} object to the menu
   * @param {Mixed} el The element or DOM node to add, or its id
   * @return {Ext.menu.Item} The menu item that was added
   */

/**
   * Adds elements to this Composite object.
   * @param {Mixed} els Either an Array of DOM elements to add, or another Composite object who's elements should be added.
   * @return {CompositeElement} This Composite object.
   */

/**
   * Adds one or more CSS classes to the node's UI element.
   * Duplicate classes are automatically filtered out.
   * @param {String/Array} className The CSS class to add, or an array of classes
   */

/**
   * Adds quad (points in clock-wise order) to the triangulation
   * (and reprojects the vertices) if valid.
   * Performs quad subdivision if needed to increase precision.
   *
   * @param {import("../coordinate.js").Coordinate} a The target a coordinate.
   * @param {import("../coordinate.js").Coordinate} b The target b coordinate.
   * @param {import("../coordinate.js").Coordinate} c The target c coordinate.
   * @param {import("../coordinate.js").Coordinate} d The target d coordinate.
   * @param {import("../coordinate.js").Coordinate} aSrc The source a coordinate.
   * @param {import("../coordinate.js").Coordinate} bSrc The source b coordinate.
   * @param {import("../coordinate.js").Coordinate} cSrc The source c coordinate.
   * @param {import("../coordinate.js").Coordinate} dSrc The source d coordinate.
   * @param {number} maxSubdivision Maximal allowed subdivision of the quad.
   * @private
   */

/**
   * Adds relative coordinates to the center of the view. Any extent constraint will apply.
   * @param {import("./coordinate.js").Coordinate} deltaCoordinates Relative value to add.
   * @api
   */

/**
   * Adds relative coordinates to the center of the view. Any extent constraint will apply.
   * @param {import("./coordinate.js").Coordinate} deltaCoordinates Relative value to add.
   */

/**
   * Adds the given layer to the top of this map. If you want to add a layer
   * elsewhere in the stack, use `getLayers()` and the methods available on
   * {@link module:ol/Collection~Collection}.
   * @param {import("./layer/Base.js").default} layer Layer.
   * @api
   */

/**
   * Adds the specified events to the list of events which this Observable may fire.
   * @param {Object|String} o Either an object with event names as properties with a value of <code>true</code>
   * or the first event name string if multiple event names are being passed as separate parameters.
   * @param {string} Optional. Event name if multiple event names are being passed as separate parameters.
   * Usage:<pre><code>
  this.addEvents('storeloaded', 'storecleared');
  </code></pre>
   */

/**
   * Adds triangle to the triangulation.
   * @param {import("../coordinate.js").Coordinate} a The target a coordinate.
   * @param {import("../coordinate.js").Coordinate} b The target b coordinate.
   * @param {import("../coordinate.js").Coordinate} c The target c coordinate.
   * @param {import("../coordinate.js").Coordinate} aSrc The source a coordinate.
   * @param {import("../coordinate.js").Coordinate} bSrc The source b coordinate.
   * @param {import("../coordinate.js").Coordinate} cSrc The source c coordinate.
   * @private
   */

/**
   * Adjust the z-index of this shadow
   * @param {Number} zindex The new z-index
   */

/**
   * Aligns the window to the specified element
   * @param {Mixed} element The element to align to.
   * @param {String} position (optional, defaults to "tl-bl?") The position to align to (see {@link Ext.Element#alignTo} for more details).
   * @param {Array} offsets (optional) Offset the positioning by [x, y]
   * @return {Ext.Window} this
   */

/**
   * Aligns this element with another element relative to the specified anchor points. If the other element is the
   * document it aligns it to the viewport.
   * The position parameter is optional, and can be specified in any one of the following formats:
   * <ul>
   *   <li><b>Blank</b>: Defaults to aligning the element's top-left corner to the target's bottom-left corner ("tl-bl").</li>
   *   <li><b>One anchor (deprecated)</b>: The passed anchor position is used as the target element's anchor point.
   *       The element being aligned will position its top-left corner (tl) to that point.  <i>This method has been
   *       deprecated in favor of the newer two anchor syntax below</i>.</li>
   *   <li><b>Two anchors</b>: If two values from the table below are passed separated by a dash, the first value is used as the
   *       element's anchor point, and the second value is used as the target's anchor point.</li>
   * </ul>
   * In addition to the anchor points, the position parameter also supports the "?" character.  If "?" is passed at the end of
   * the position string, the element will attempt to align as specified, but the position will be adjusted to constrain to
   * the viewport if necessary.  Note that the element being aligned might be swapped to align to a different position than
   * that specified in order to enforce the viewport constraints.
   * Following are all of the supported anchor positions:
  <pre>
  Value  Description
  -----  -----------------------------
  tl     The top left corner (default)
  t      The center of the top edge
  tr     The top right corner
  l      The center of the left edge
  c      In the center of the element
  r      The center of the right edge
  bl     The bottom left corner
  b      The center of the bottom edge
  br     The bottom right corner
  </pre>
  Example Usage:
  <pre><code>
  // align el to other-el using the default positioning ("tl-bl", non-constrained)
  el.alignTo("other-el");
  // align the top left corner of el with the top right corner of other-el (constrained to viewport)
  el.alignTo("other-el", "tr?");
  // align the bottom right corner of el with the center left edge of other-el
  el.alignTo("other-el", "br-l?");
  // align the center of el with the bottom left corner of other-el and
  // adjust the x position by -6 pixels (and the y position by 0)
  el.alignTo("other-el", "c-bl", [-6, 0]);
  </code></pre>
   * @param {Mixed} element The element to align to.
   * @param {String} position (optional, defaults to "tl-bl?") The position to align to.
   * @param {Array} offsets (optional) Offset the positioning by [x, y]
   * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
   * @return {Ext.Element} this
   */

/**
   * All child nodes of this node. @type Array
   */

/**
   * All proxy actions are executed through this method.  Automatically fires the "before" + action event
   * @param {String} action Name of the action
   * @param {Ext.data.Record/Ext.data.Record[]/null} rs Will be null when action is 'load'
   * @param {Object} params
   * @param {Ext.data.DataReader} reader
   * @param {Function} callback
   * @param {Object} scope The scope (<code>this</code> reference) in which the callback function is executed. Defaults to the Proxy object.
   * @param {Object} options Any options specified for the action (e.g. see {@link Ext.data.Store#load}.
   */

/**
   * Allows you to define a tokenized string and pass an arbitrary number of arguments to replace the tokens.  Each
   * token must be unique, and must increment in the format {0}, {1}, etc.  Example usage:
   * <pre><code>
  var cls = 'my-class', text = 'Some text';
  var s = String.format('&lt;div class="{0}">{1}&lt;/div>', cls, text);
  // s now contains the string: '&lt;div class="my-class">Some text&lt;/div>'
   * </code></pre>
   * @param {String} string The tokenized string to be formatted
   * @param {String} value1 The value to replace token {0}
   * @param {String} value2 Etc...
   * @return {String} The formatted string
   * @static
   */

/**
   * Although there is repetition between this method and `getTileCoordForXYAndResolution_`,
   * they should have separate implementations.  This method is for integer zoom
   * levels.  The other method should only be called for resolutions corresponding
   * to non-integer zoom levels.
   * @param {number} x Map x coordinate.
   * @param {number} y Map y coordinate.
   * @param {number} z Integer zoom level.
   * @param {boolean} reverseIntersectionPolicy Instead of letting edge
   *     intersections go to the higher tile coordinate, let edge intersections
   *     go to the lower tile coordinate.
   * @param {import("../tilecoord.js").TileCoord} [opt_tileCoord] Temporary import("../tilecoord.js").TileCoord object.
   * @return {import("../tilecoord.js").TileCoord} Tile coordinate.
   * @private
   */

/**
   * An array of textual day names.
   * Override these values for international dates.
   * Example:
   * <pre><code>
  Date.dayNames = [
  'SundayInYourLang',
  'MondayInYourLang',
  ...
  ];
  </code></pre>
   * @type Array
   * @static
   */

/**
   * An array of textual month names.
   * Override these values for international dates.
   * Example:
   * <pre><code>
  Date.monthNames = [
  'JanInYourLang',
  'FebInYourLang',
  ...
  ];
  </code></pre>
   * @type Array
   * @static
   */

/**
   * An empty function by default, but provided so that you can perform a custom action
   * before the dragged item enters the drop target and optionally cancel the onDragEnter.
   * @param {Ext.dd.DragDrop} target The drop target
   * @param {Event} e The event object
   * @param {String} id The id of the dragged element
   * @return {Boolean} isValid True if the drag event is valid, else false to cancel
   */

/**
   * An empty function by default, but provided so that you can perform a custom action
   * while the dragged item is over the drop target and optionally cancel the onDragOver.
   * @param {Ext.dd.DragDrop} target The drop target
   * @param {Event} e The event object
   * @param {String} id The id of the dragged element
   * @return {Boolean} isValid True if the drag event is valid, else false to cancel
   */

/**
   * An empty function by default, but provided so that you can perform a custom action after an invalid
   * drop has occurred.
   * @param {Ext.dd.DragDrop} target The drop target
   * @param {Event} e The event object
   * @param {String} id The id of the dragged element
   * @return {Boolean} isValid True if the invalid drop should proceed, else false to cancel
   */

/**
   * An empty function by default, but provided so that you can perform a custom action before the dragged
   * item is dragged out of the target without dropping, and optionally cancel the onDragOut.
   * @param {Ext.dd.DragDrop} target The drop target
   * @param {Event} e The event object
   * @param {String} id The id of the dragged element
   * @return {Boolean} isValid True if the drag event is valid, else false to cancel
   */

/**
   * An empty function by default, but provided so that you can perform a custom action before the dragged
   * item is dropped onto the target and optionally cancel the onDragDrop.
   * @param {Ext.dd.DragDrop} target The drop target
   * @param {Event} e The event object
   * @param {String} id The id of the dragged element
   * @return {Boolean} isValid True if the drag drop event is valid, else false to cancel
   */

/**
   * An empty function by default, but provided so that you can perform a custom action before the initial
   * drag event begins and optionally cancel it.
   * @param {Object} data An object containing arbitrary data to be shared with drop targets
   * @param {Event} e The event object
   * @return {Boolean} isValid True if the drag event is valid, else false to cancel
   */

/**
   * An empty function by default, but provided so that you can perform a custom action once the initial
   * drag event has begun.  The drag cannot be canceled from this function.
   * @param {Number} x The x position of the click on the dragged object
   * @param {Number} y The y position of the click on the dragged object
   */

/**
   * An empty immplementation. Implement this to provide behaviour after a repair of an invalid drop. An implementation might highlight
   * the selected rows to show that they have not been dragged.
   */

/**
   * An object hash of zero-based javascript month numbers (with short month names as keys. note: keys are case-sensitive).
   * Override these values for international dates.
   * Example:
   * <pre><code>
  Date.monthNumbers = {
  'ShortJanNameInYourLang':0,
  'ShortFebNameInYourLang':1,
  ...
  };
  </code></pre>
   * @type Object
   * @static
   */

/**
   * An object hash representing the data for this Record. Every field name in the Record definition
   * is represented by a property of that name in this object. Note that unless you specified a field
   * with {@link Ext.data.Field#name name} "id" in the Record definition, this will <b>not</b> contain
   * an <tt>id</tt> property.
   * @property data
   * @type {Object}
   */

/**
   * Anchors an element to another element and realigns it when the window is resized.
   * @param {Mixed} element The element to align to.
   * @param {String} position The position to align to.
   * @param {Array} offsets (optional) Offset the positioning by [x, y]
   * @param {Boolean/Object} animate (optional) True for the default animation or a standard Element animation config object
   * @param {Boolean/Number} monitorScroll (optional) True to monitor body scroll and reposition. If this parameter
   * is a number, it is used as the buffer delay (defaults to 50ms).
   * @param {Function} callback The function to call after the animation finishes
   * @return {Ext.Element} this
   */

/**
   * Anchors this window to another element and realigns it when the window is resized or scrolled.
   * @param {Mixed} element The element to align to.
   * @param {String} position The position to align to (see {@link Ext.Element#alignTo} for more details)
   * @param {Array} offsets (optional) Offset the positioning by [x, y]
   * @param {Boolean/Number} monitorScroll (optional) true to monitor body scroll and reposition. If this parameter
   * is a number, it is used as the buffer delay (defaults to 50ms).
   * @return {Ext.Window} this
   */

/**
   * Animate the view.  The view's center, zoom (or resolution), and rotation
   * can be animated for smooth transitions between view states.  For example,
   * to animate the view to a new zoom level:
   *
   *     view.animate({zoom: view.getZoom() + 1});
   *
   * By default, the animation lasts one second and uses in-and-out easing.  You
   * can customize this behavior by including `duration` (in milliseconds) and
   * `easing` options (see {@link module:ol/easing}).
   *
   * To chain together multiple animations, call the method with multiple
   * animation objects.  For example, to first zoom and then pan:
   *
   *     view.animate({zoom: 10}, {center: [0, 0]});
   *
   * If you provide a function as the last argument to the animate method, it
   * will get called at the end of an animation series.  The callback will be
   * called with `true` if the animation series completed on its own or `false`
   * if it was cancelled.
   *
   * Animations are cancelled by user interactions (e.g. dragging the map) or by
   * calling `view.setCenter()`, `view.setResolution()`, or `view.setRotation()`
   * (or another method that calls one of these).
   *
   * @param {...(AnimationOptions|function(boolean): void)} var_args Animation
   *     options.  Multiple animations can be run in series by passing multiple
   *     options objects.  To run multiple animations in parallel, call the method
   *     multiple times.  An optional callback can be provided as a final
   *     argument.  The callback will be called with a boolean indicating whether
   *     the animation completed without being cancelled.
   * @api
   */

/**
   * Append the passed linear ring to this polygon.
   * @param {LinearRing} linearRing Linear ring.
   * @api
   */

/**
   * Appends an event handler (shorthand for {@link #addListener}).
   * @param {String} eventName The name of event to handle.
   * @param {Function} fn The handler function the event invokes.
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the handler function is executed.
   * @param {Object} options (optional) An object containing standard {@link #addListener} options
   * @member Ext.Element
   * @method on
   */

/**
   * Appends an event handler to this object.
   * @param {String}   eventName The name of the event to listen for.
   * @param {Function} handler The method the event invokes.
   * @param {Object}   scope (optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
   * <b>If omitted, defaults to the object which fired the event.</b>
   * @param {Object}   options (optional) An object containing handler configuration.
   * properties. This may contain any of the following properties:<ul>
   * <li><b>scope</b> : Object<div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
   * <b>If omitted, defaults to the object which fired the event.</b></div></li>
   * <li><b>delay</b> : Number<div class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</div></li>
   * <li><b>single</b> : Boolean<div class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>
   * <li><b>buffer</b> : Number<div class="sub-desc">Causes the handler to be scheduled to run in an {@link Ext.util.DelayedTask} delayed
   * by the specified number of milliseconds. If the event fires again within that time, the original
   * handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
   * <li><b>target</b> : Observable<div class="sub-desc">Only call the handler if the event was fired on the target Observable, <i>not</i>
   * if the event was bubbled up from a child Observable.</div></li>
   * </ul><br>
   * <p>
   * <b>Combining Options</b><br>
   * Using the options argument, it is possible to combine different types of listeners:<br>
   * <br>
   * A delayed, one-time listener.
   * <pre><code>
  myDataView.on('click', this.onClick, this, {
  single: true,
  delay: 100
  });</code></pre>
   * <p>
   * <b>Attaching multiple handlers in 1 call</b><br>
   * The method also allows for a single argument to be passed which is a config object containing properties
   * which specify multiple handlers.
   * <p>
   * <pre><code>
  myGridPanel.on({
  'click' : {
  fn: this.onClick,
  scope: this,
  delay: 100
  },
  'mouseover' : {
  fn: this.onMouseOver,
  scope: this
  },
  'mouseout' : {
  fn: this.onMouseOut,
  scope: this
  }
  });</code></pre>
  * <p>
  * Or a shorthand syntax:<br>
  * <pre><code>
  myGridPanel.on({
  'click' : this.onClick,
  'mouseover' : this.onMouseOver,
  'mouseout' : this.onMouseOut,
  scope: this
  });</code></pre>
   */

/**
   * Appends the elements of `values` to `array`.
   *
   * @private
   * @param {Array} array The array to modify.
   * @param {Array} values The values to append.
   * @returns {Array} Returns `array`.
   */

/**
   * Applies the supplied <code>values</code> to the template and appends
   * the new node(s) to the specified <code>el</code>.
   * <p>For example usage {@link #Template see the constructor}.</p>
   * @param {Mixed} el The context element
   * @param {Object/Array} values
   * The template values. Can be an array if the params are numeric (i.e. <code>{0}</code>)
   * or an object (i.e. <code>{foo: 'bar'}</code>).
   * @param {Boolean} returnElement (optional) true to return an Ext.Element (defaults to undefined)
   * @return {HTMLElement/Ext.Element} The new node or Element
   */

/**
   * Applies the supplied values to the template and inserts the new node(s) after el.
   * @param {Mixed} el The context element
   * @param {Object/Array} values The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})
   * @param {Boolean} returnElement (optional) true to return a Ext.Element (defaults to undefined)
   * @return {HTMLElement/Ext.Element} The new node or Element
   */

/**
   * Applies the supplied values to the template and inserts the new node(s) as the first child of el.
   * @param {Mixed} el The context element
   * @param {Object/Array} values The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})
   * @param {Boolean} returnElement (optional) true to return a Ext.Element (defaults to undefined)
   * @return {HTMLElement/Ext.Element} The new node or Element
   */

/**
   * Applies the supplied values to the template and inserts the new node(s) before el.
   * @param {Mixed} el The context element
   * @param {Object/Array} values The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})
   * @param {Boolean} returnElement (optional) true to return a Ext.Element (defaults to undefined)
   * @return {HTMLElement/Ext.Element} The new node or Element
   */

/**
   * Applies the supplied values to the template and overwrites the content of el with the new node(s).
   * @param {Mixed} el The context element
   * @param {Object/Array} values The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})
   * @param {Boolean} returnElement (optional) true to return a Ext.Element (defaults to undefined)
   * @return {HTMLElement/Ext.Element} The new node or Element
   */

/**
   * Apply a transform function to the coordinates of the geometry.
   * The geometry is modified in place.
   * If you do not want the geometry modified in place, first `clone()` it and
   * then use this function on the clone.
   * @abstract
   * @param {import("../proj.js").TransformFunction} transformFn Transform function.
   * Called with a flat array of geometry coordinates.
   */

/**
   * Apply a transform function to the coordinates of the geometry.
   * The geometry is modified in place.
   * If you do not want the geometry modified in place, first `clone()` it and
   * then use this function on the clone.
   * @param {import("../proj.js").TransformFunction} transformFn Transform function.
   * Called with a flat array of geometry coordinates.
   * @api
   */

/**
   * Apply any properties from another object without triggering events.
   * @param {BaseObject} source The source object.
   * @protected
   */

/**
   * Apply this component to existing markup that is valid. With this function, no call to render() is required.
   * @param {String/HTMLElement} el
   */

/**
   * Array of possible degrees
   * @type {Array} degreeData
   */

/**
   * Array which holds the fieldConfigs which can be handled by this plugin
   * Array of Objects: { key: <the raw key>, type: <custom/default>', formField: <the corresponding form field>, recordKey: <used for getters/setters of the record>}
   * @type Array
   */

/**
   * Array with searchcombos for each model
   * @type {Array}
   */

/**
   * Ascii range for lowercase characters
   * @private
   */

/**
   * Ascii range for numerical chars
   * @private
   */

/**
   * Ascii range for special chars
   * @private
   */

/**
   * Ascii range for uppercase characters
   * @private
   */

/**
   * Assigns this Button's click handler
   * @param {Function} handler The function to call when the button is clicked
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the handler function is executed.
   * Defaults to this Button.
   * @return {Ext.Button} this
   */

/**
   * Assuming mode is not local, but the dialog is supposed to treat this.record as a json string and keep those data
   */

/**
   * Asynchronous layer level hit detection.
   * @param {import("../../pixel.js").Pixel} pixel Pixel.
   * @return {Promise<Array<import("../../Feature").default>>} Promise
   * that resolves with an array of features.
   */

/**
   * Asynchronous layer level hit detection.
   * @param {import("../pixel.js").Pixel} pixel Pixel.
   * @return {Promise<Array<import("../Feature").FeatureLike>>} Promise that resolves with
   * an array of features.
   */

/**
   * Attempts to clear all time information from this Date by setting the time to midnight of the same day,
   * automatically adjusting for Daylight Saving Time (DST) where applicable.
   * (note: DST timezone information for the browser's host operating system is assumed to be up-to-date)
   * @param {Boolean} clone true to create a clone of this date, clear the time and return it (defaults to false).
   * @return {Date} this or the clone.
   */

/**
   * Auto-scroll the window if the dragged object has been moved beyond the
   * visible window boundary.
   * @method autoScroll
   * @param {int} x the drag element's x position
   * @param {int} y the drag element's y position
   * @param {int} h the height of the drag element
   * @param {int} w the width of the drag element
   * @private
   */

/**
   * Automatically grows the field to accomodate the height of the text up to the maximum field height allowed.
   * This only takes effect if grow = true, and fires the {@link #autosize} event if the height changes.
   */

/**
   * Automatically grows the field to accomodate the width of the text up to the maximum field width allowed.
   * This only takes effect if <tt><b>{@link #grow}</b> = true</tt>, and fires the {@link #autosize} event.
   */

/**
   * Begin an edit. While in edit mode, no events (e.g.. the <code>update</code> event)
   * are relayed to the containing store.
   * See also: <code>{@link #endEdit}</code> and <code>{@link #cancelEdit}</code>.
   */

/**
   * Binds this ToolTip to the specified element. The tooltip will be displayed when the mouse moves over the element.
   * @param {Mixed} t The Element, HtmlElement, or ID of an element to bind to
   */

/**
   * Brings this window to the front of any other visible windows
   * @param {Boolean} e (optional) Specify <tt>false</tt> to prevent the window from being focused.
   * @return {Ext.Window} this
   */

/**
   * Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (<i>this</i>) of
   * function call will be the scope provided or the current component. The arguments to the function
   * will be the args provided or the current component. If the function returns false at any point,
   * the bubble is stopped.
   * @param {Function} fn The function to call
   * @param {Object} scope (optional) The scope of the function (defaults to current node)
   * @param {Array} args (optional) The args to call the function with (default to passing the current component)
   * @return {Ext.Container} this
   */

/**
   * Bubbles up the tree from this node, calling the specified function with each node. The arguments to the function
   * will be the args provided or the current node. If the function returns false at any point,
   * the bubble is stopped.
   * @param {Function} fn The function to call
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the current Node.
   * @param {Array} args (optional) The args to call the function with (default to passing the current Node)
   */

/**
   * Builds the element that gets added to teh grid's header for showing
   * the menu.
   * The default implementation will render the menu button into the upper
   * right corner of the grid.
   * Overwrite for custom behavior.
   *
   * @return {Ext.Element}
   *
   * @protected
   */

/**
   * Bulk-insert values into the RBush.
   * @param {Array<import("../extent.js").Extent>} extents Extents.
   * @param {Array<T>} values Values.
   */

/**
   * By default returns <tt>false</tt> if any {@link Ext.data.Field field} within the
   * record configured with <tt>{@link Ext.data.Field#allowBlank} = false</tt> returns
   * <tt>true</tt> from an {@link Ext}.{@link Ext#isEmpty isempty} test.
   * @return {Boolean}
   */

/**
   * By default the frame is positioned exactly where the drag element is, so
   * we use the cursor offset provided by Ext.dd.DD.  Another option that works only if
   * you do not have constraints on the obj is to have the drag frame centered
   * around the cursor.  Set centerFrame to true for this effect.
   * @property centerFrame
   * @type boolean
   */

/**
   * By default wait messages are displayed with Ext.MessageBox.wait. You can target a specific
   * element by passing it or its id or mask the form itself by passing in true.
   * @type Mixed
   * @property waitMsgTarget
   */

/**
   * By default we resize the drag frame to be the same size as the element
   * we want to drag (this is to get the frame effect).  We can turn it off
   * if we want a different behavior.
   * @property resizeFrame
   * @type boolean
   */

/**
   * Calculate additional canvas size needed for the miter.
   * @param {string} lineJoin Line join
   * @param {number} strokeWidth Stroke width
   * @param {number} miterLimit Miter limit
   * @return {number} Additional canvas size needed
   * @private
   */

/**
   * Calculate rotated extent
   * @param {import("./geom/SimpleGeometry.js").default} geometry The geometry.
   * @return {import("./extent").Extent} The rotated extent for the geometry.
   */

/**
   * Calculate the extent for the current view state and the passed size.
   * The size is the pixel dimensions of the box into which the calculated extent
   * should fit. In most cases you want to get the extent of the entire map,
   * that is `map.getSize()`.
   * @param {import("./size.js").Size} [size] Box pixel size. If not provided, the size
   * of the map that uses this view will be used.
   * @return {import("./extent.js").Extent} Extent.
   * @api
   */

/**
   * Calculates extent of the `source` coordinates from all the triangles.
   *
   * @return {import("../extent.js").Extent} Calculated extent.
   */

/**
   * Calculates the shift between map and viewport center.
   * @param {import("./coordinate.js").Coordinate} center Center.
   * @param {number} resolution Resolution.
   * @param {number} rotation Rotation.
   * @param {import("./size.js").Size} size Size.
   * @return {Array<number>|undefined} Center shift.
   */

/**
   * Call a function with each tile coordinate for a given extent and zoom level.
   *
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {number} zoom Integer zoom level.
   * @param {function(import("../tilecoord.js").TileCoord): void} callback Function called with each tile coordinate.
   * @api
   */

/**
   * Callback for read action
   * @param {String} action Action name as per {@link Ext.data.Api.actions#read}.
   * @param {Object} o The request transaction object
   * @param {Object} res The server response
   * @fires loadexception (deprecated)
   * @fires exception
   * @fires load
   * @protected
   */

/**
   * Callback for read actions
   * @param {String} action [Ext.data.Api.actions.create|read|update|destroy]
   * @param {Object} trans The request transaction object
   * @param {Object} res The server response
   * @protected
   */

/**
   * Callback for read actions
   * @param {String} action [Ext.data.Api.actions.create|read|update|destroy]
   * @param {Object} trans The request transaction object
   * @param {Object} result Data object picked out of the server-response.
   * @param {Object} res The server response
   * @protected
   */

/**
   * Callback for the itemclick event of the menu.
   * Default implementation calls the view's handleHdMenuClick-method in the
   * scope of the view itself.
   *
   * @param {Ext.menu.BaseItem baseItem} item
   * @param {Ext.EventObject} e
   *
   * @return {Boolean} returns false if hiding the column represented by the
   * column is not allowed, otherwise true
   *
   * @protected
   */

/**
   * Callback for write actions
   * @param {String} action [Ext.data.Api.actions.create|read|update|destroy]
   * @param {Object} trans The request transaction object
   * @param {Object} res The server response
   * @fires exception
   * @fires write
   * @protected
   */

/**
   * Callback for write actions
   * @param {String} action [Ext.data.Api.actions.create|read|update|destroy]
   * @param {Object} trans The request transaction object
   * @param {Object} res The server response
   * @protected
   */

/**
   * Callback for write actions
   * @param {String} action [{@link Ext.data.Api#actions create|read|update|destroy}]
   * @param {Object} trans The request transaction object
   * @param {Object} result Data object picked out of the server-response.
   * @param {Object} res The server response
   * @param {Ext.data.Record/[Ext.data.Record]} rs The Store resultset associated with the action.
   * @protected
   */

/**
   * Called after a repair of an invalid drop. By default, highlights this.dragData.ddel 
   */

/**
   * Called after drag operations to set the size of the resizing element.
   * @param {Ext.SplitBar} s The SplitBar using this adapter
   * @param {Number} newSize The new size to set
   * @param {Function} onComplete A function to be invoked when resizing is complete
   */

/**
   * Called before a repair of an invalid drop to get the XY to animate to. By default returns
   * the XY of this.dragData.ddel
   * @param {EventObject} e The mouse up event
   * @return {Array} The xy location (e.g. [100, 200])
   */

/**
   * Called before drag operations to get the current size of the resizing element.
   * @param {Ext.SplitBar} s The SplitBar using this adapter
   */

/**
   * Called by the tile cache when the tile is removed from the cache due to expiry
   */

/**
   * Called once drag threshold has been reached to initialize the proxy element. By default, it clones the
   * this.dragData.ddel
   * @param {Number} x The x position of the click on the dragged object
   * @param {Number} y The y position of the click on the dragged object
   * @return {Boolean} true to continue the drag, false to cancel
   */

/**
   * Called to get grid's drag proxy text, by default returns this.ddText.
   * @return {String} The text
   */

/**
   * Called when a layer is not visible during a map render.
   */

/**
   * Called when a mousedown occurs in this container. Looks in {@link Ext.dd.Registry}
   * for a valid target to drag based on the mouse down. Override this method
   * to provide your own lookup logic (e.g. finding a child by class name). Make sure your returned
   * object has a "ddel" attribute (with an HTML Element) for other functions to work.
   * @param {EventObject} e The mouse down event
   * @return {Object} The dragData
   */

/**
   * Called when the DropZone determines that a {@link Ext.dd.DragSource} has been dragged out of
   * the drop node without dropping.  This method has no default implementation and should be overridden to provide
   * node-specific processing if necessary.
   * @param {Object} nodeData The custom data associated with the drop node (this is the same value returned from
   * {@link #getTargetFromEvent} for this node)
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag source
   */

/**
   * Called when the DropZone determines that a {@link Ext.dd.DragSource} has been dropped on it,
   * but not on any of its registered drop nodes.  The default implementation returns false, so it should be
   * overridden to provide the appropriate processing of the drop event if you need the drop zone itself to
   * be able to accept drops.  It should return true when valid so that the drag source's repair action does not run.
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag source
   * @return {Boolean} True if the drop was valid, else false
   */

/**
   * Called when the DropZone determines that a {@link Ext.dd.DragSource} has been dropped onto
   * the drop node.  The default implementation returns false, so it should be overridden to provide the
   * appropriate processing of the drop event and return true so that the drag source's repair action does not run.
   * @param {Object} nodeData The custom data associated with the drop node (this is the same value returned from
   * {@link #getTargetFromEvent} for this node)
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag source
   * @return {Boolean} True if the drop was valid, else false
   */

/**
   * Called when the DropZone determines that a {@link Ext.dd.DragSource} has entered a drop node
   * that has either been registered or detected by a configured implementation of {@link #getTargetFromEvent}.
   * This method has no default implementation and should be overridden to provide
   * node-specific processing if necessary.
   * @param {Object} nodeData The custom data associated with the drop node (this is the same value returned from 
   * {@link #getTargetFromEvent} for this node)
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag source
   */

/**
   * Called while the DropZone determines that a {@link Ext.dd.DragSource} is being dragged over it,
   * but not over any of its registered drop nodes.  The default implementation returns this.dropNotAllowed, so
   * it should be overridden to provide the proper feedback if necessary.
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag source
   * @return {String} status The CSS class that communicates the drop status back to the source so that the
   * underlying {@link Ext.dd.StatusProxy} can be updated
   */

/**
   * Called while the DropZone determines that a {@link Ext.dd.DragSource} is over a drop node
   * that has either been registered or detected by a configured implementation of {@link #getTargetFromEvent}.
   * The default implementation returns this.dropNotAllowed, so it should be
   * overridden to provide the proper feedback.
   * 
   * @param {Object} nodeData The custom data associated with the drop node (this is the same value returned from
   * {@link #getTargetFromEvent} for this node)
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag source
   * @return {String} status The CSS class that communicates the drop status back to the source so that the
   * underlying {@link Ext.dd.StatusProxy} can be updated
   */

/**
   * Called while the DropZone determines that a {@link Ext.dd.DragSource} is over a drop node
   * that has either been registered or detected by a configured implementation of {@link #getTargetFromEvent}.
   * The default implementation returns this.dropNotAllowed, so it should be
   * overridden to provide the proper feedback.
   * @param {Object} nodeData The custom data associated with the drop node (this is the same value returned from
   * {@link #getTargetFromEvent} for this node)
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag source
   * @return {String} status The CSS class that communicates the drop status back to the source so that the
   * underlying {@link Ext.dd.StatusProxy} can be updated
   */

/**
   * Calls a callback function with each value in the provided extent.
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {function(T): *} callback Callback.
   * @return {*} Callback return value.
   */

/**
   * Calls a callback function with each value in the tree.
   * If the callback returns a truthy value, this value is returned without
   * checking the rest of the tree.
   * @param {function(T): *} callback Callback.
   * @return {*} Callback return value.
   */

/**
   * Calls the passed function with each selection. If the function returns
   * <tt>false</tt>, iteration is stopped and this function returns
   * <tt>false</tt>. Otherwise it returns <tt>true</tt>.
   * @param {Function} fn The function to call upon each iteration. It is passed the selected {@link Ext.data.Record Record}.
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to this RowSelectionModel.
   * @return {Boolean} true if all selections were iterated
   */

/**
   * Calls the passed function with each selection. If the function returns false, iteration is
   * stopped and this function returns false. Otherwise it returns true.
   * @param {Function} fn
   * @param {Object} scope (optional)
   * @return {Boolean} true if all selections were iterated
   */

/**
   * Calls the specified function for each action
   * 
   * @param {Function} fn The function to call. The action is passed as the first parameter.
   * Returning <tt>false</tt> aborts and exits the iteration.
   * @param {Object} scope (optional) The scope in which to call the function (defaults to the action).
   */

/**
   * Calls the specified function for each of the {@link Ext.data.Record Records} in the cache.
   * @param {Function} fn The function to call. The {@link Ext.data.Record Record} is passed as the first parameter.
   * Returning <tt>false</tt> aborts and exits the iteration.
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed.
   * Defaults to the current {@link Ext.data.Record Record} in the iteration.
   */

/**
   * Calls this function after the number of millseconds specified, optionally in a specific scope. Example usage:
   * <pre><code>
  var sayHi = function(name){
  alert('Hi, ' + name);
  }
  // executes immediately:
  sayHi('Fred');
  // executes after 2 seconds:
  sayHi.defer(2000, this, ['Fred']);
  // this syntax is sometimes useful for deferring
  // execution of an anonymous function:
  (function(){
  alert('Anonymous');
  }).defer(100);
  </code></pre>
   * @param {Number} millis The number of milliseconds for the setTimeout call (if less than or equal to 0 the function is executed immediately)
   * @param {Object} scope (optional) The scope (<code><b>this</b></code> reference) in which the function is executed.
   * <b>If omitted, defaults to the browser window.</b>
   * @param {Array} args (optional) Overrides arguments for the call. (Defaults to the arguments passed by the caller)
   * @param {Boolean/Number} appendArgs (optional) if True args are appended to call args instead of overriding,
   * if a number the args are inserted at the specified position
   * @return {Number} The timeout id that can be used with clearTimeout
   */

/**
   * Calls {@link Ext#applyIf} for all field in this form with the passed object.
   * @param {Object} values
   * @return {BasicForm} this
   */

/**
   * Calls {@link Ext#apply} for all fields in this form with the passed object.
   * @param {Object} values
   * @return {BasicForm} this
   */

/**
   * Cancel any ongoing animations.
   * @api
   */

/**
   * Cancel the last queued timeout
   */

/**
   * Cancels all changes made in the current edit operation.
   */

/**
   * Cancels any pending timeout and queues a new one
   * @param {Number} delay The milliseconds to delay
   * @param {Function} newFn (optional) Overrides function passed to constructor
   * @param {Object} newScope (optional) Overrides scope passed to constructor. Remember that if no scope
   * is specified, <code>this</code> will refer to the browser window.
   * @param {Array} newArgs (optional) Overrides args passed to constructor
   */

/**
   * Cancels the editing process and hides the editor without persisting any changes.  The field value will be
   * reverted to the original starting value.
   * @param {Boolean} remainVisible Override the default behavior and keep the editor visible after
   * cancel (defaults to false)
   */

/**
   * Cascades down the component/container heirarchy from this component (called first), calling the specified function with
   * each component. The scope (<i>this</i>) of
   * function call will be the scope provided or the current component. The arguments to the function
   * will be the args provided or the current component. If the function returns false at any point,
   * the cascade is stopped on that branch.
   * @param {Function} fn The function to call
   * @param {Object} scope (optional) The scope of the function (defaults to current component)
   * @param {Array} args (optional) The args to call the function with (defaults to passing the current component)
   * @return {Ext.Container} this
   */

/**
   * Cascades down the tree from this node, calling the specified function with each node. The arguments to the function
   * will be the args provided or the current node. If the function returns false at any point,
   * the cascade is stopped on that branch.
   * @param {Function} fn The function to call
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the current Node.
   * @param {Array} args (optional) The args to call the function with (default to passing the current Node)
   */

/**
   * Case insensitive string
   * @param {Mixed} s The value being converted
   * @return {String} The comparison value
   */

/**
   * Causes the proxy to return to its position of origin via an animation.  Should be called after an
   * invalid drop operation by the item being dragged.
   * @param {Array} xy The XY position of the element ([x, y])
   * @param {Function} callback The function to call after the repair is complete.
   * @param {Object} scope The scope (<code>this</code> reference) in which the callback function is executed. Defaults to the browser window.
   */

/**
   * Center on coordinate and view position.
   * @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
   * @param {import("./size.js").Size} size Box pixel size.
   * @param {import("./pixel.js").Pixel} position Position on the view to center on.
   * @api
   */

/**
   * Centers this window in the viewport
   * @return {Ext.Window} this
   */

/**
   * Changes the data store bound to this view and refreshes it.
   * @param {Store} store The store to bind to this view
   */

/**
   * Changes the id of this node.
   * @param {String} id The new id for the node.
   */

/**
   * Characters to be used in password
   * @private
   */

/**
   * Check if an object is a DateTime. Works across context boundaries
   * @param {object} o
   * @return {boolean}
   */

/**
   * Check if an object is a Duration. Works across context boundaries
   * @param {object} o
   * @return {boolean}
   */

/**
   * Check if an object is an Interval. Works across context boundaries
   * @param {object} o
   * @return {boolean}
   */

/**
   * Checks if `string` contains Unicode symbols.
   *
   * @private
   * @param {string} string The string to inspect.
   * @returns {boolean} Returns `true` if a symbol is found, else `false`.
   */

/**
   * Checks if `string` contains a word composed of Unicode symbols.
   *
   * @private
   * @param {string} string The string to inspect.
   * @returns {boolean} Returns `true` if a word is found, else `false`.
   */

/**
   * Checks if a `cache` value for `key` exists.
   *
   * @private
   * @param {Object} cache The cache to query.
   * @param {string} key The key of the entry to check.
   * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
   */

/**
   * Checks if the current date falls within a leap year.
   * @return {Boolean} True if the current date falls within a leap year, false otherwise.
   */

/**
   * Checks if the current date is affected by Daylight Saving Time (DST).
   * @return {Boolean} True if the current date is affected by DST.
   */

/**
   * Checks if the passed Date parameters will cause a javascript Date "rollover".
   * @param {Number} year 4-digit year
   * @param {Number} month 1-based month-of-year
   * @param {Number} day Day of month
   * @param {Number} hour (optional) Hour
   * @param {Number} minute (optional) Minute
   * @param {Number} second (optional) Second
   * @param {Number} millisecond (optional) Millisecond
   * @return {Boolean} true if the passed parameters do not cause a Date "rollover", false otherwise.
   * @static
   */

/**
   * Checks if this date falls on or between the given start and end dates.
   * @param {Date} start Start date
   * @param {Date} end End date
   * @return {Boolean} true if this date falls on or between the given start and end dates.
   */

/**
   * Checks local relation constraints
   * 
   * @param {} app
   * @param {} model
   * @param {} checkRecord
   * @param {} type
   * @param {} oldType
   * 
   * @return {Bool}
   */

/**
   * Checks to see if this object has any listeners for a specified event
   * @param {String} eventName The name of the event to check for
   * @return {Boolean} True if the event is being listened for, else false
   */

/**
   * Checks whether or not the current number is within a desired range.  If the number is already within the
   * range it is returned, otherwise the min or max value is returned depending on which side of the range is
   * exceeded.  Note that this method returns the constrained value but does not change the current number.
   * @param {Number} min The minimum number in the range
   * @param {Number} max The maximum number in the range
   * @return {Number} The constrained value if outside the range, otherwise the current value
   */

/**
   * Checks whether or not the specified object exists in the array.
   * @param {Object} o The object to check for
   * @param {Number} from (Optional) The index at which to begin the search
   * @return {Number} The index of o in the array (or -1 if it is not found)
   */

/**
   * Clean up.
   */

/**
   * Cleans up the jubberish html from Word pasted text.
   * @param wordPaste String The text that needs to be cleansed of Word jibberish html.
   * @return {String} The passed in text with all Word jibberish html removed.
   */

/**
   * Clear all selections
   * @param {Boolean} silent True to stop the selectionchange event from firing.
   */

/**
   * Clear all selections
   */

/**
   * Clear any existing layers and add layers to the map.
   * @param {Array<import("./layer/Base.js").default>|Collection<import("./layer/Base.js").default>} layers The layers to be added to the map.
   * @api
   */

/**
   * Clear any invalid styles/messages for this field
   */

/**
   * Clears a value from the state
   * @param {String} name The key name
   */

/**
   * Clears all invalid messages in this form.
   * @return {BasicForm} this
   */

/**
   * Clears all selections if the selection model
   * {@link Ext.grid.AbstractSelectionModel#isLocked is not locked}.
   * @param {Boolean} fast (optional) <tt>true</tt> to bypass the
   * conditional checks and events described in {@link #deselectRow}.
   */

/**
   * Clears all selections.
   * @param {Boolean} suppressEvent (optional) True to skip firing of the selectionchange event
   */

/**
   * Clears all selections.
   */

/**
   * Clears any existing grouping and refreshes the data using the default sort.
   */

/**
   * Clears any text/value currently set in the field
   */

/**
   * Clears the current filter. Note: with the "remove" option
   * set a filter cannot be cleared.
   */

/**
   * Clone the current component using the original config values passed into this instance by default.
   * @param {Object} overrides A new config containing any properties to override in the cloned version.
   * An id property can be passed on this object, otherwise one will be generated to avoid duplicates.
   * @return {Ext.Component} clone The cloned copy of this component
   */

/**
   * Clone this feature. If the original feature has a geometry it
   * is also cloned. The feature id is not set in the clone.
   * @return {Feature<Geometry>} The clone.
   * @api
   */

/**
   * Clones the style.
   * @return {CircleStyle} The cloned style.
   * @api
   */

/**
   * Clones the style.
   * @return {ImageStyle} The cloned style.
   * @api
   */

/**
   * Clones the style.
   * @return {RegularShape} The cloned style.
   * @api
   */

/**
   * Clones the style.
   * @return {Stroke} The cloned style.
   * @api
   */

/**
   * Clones the style.
   * @return {Style} The cloned style.
   * @api
   */

/**
   * Clones the style.
   * @return {Text} The cloned style.
   * @api
   */

/**
   * Clones the style. The color is not cloned if it is an {@link module:ol/colorlike~ColorLike}.
   * @return {Fill} The cloned style.
   * @api
   */

/**
   * Clones the style. The underlying Image/HTMLCanvasElement is not cloned.
   * @return {Icon} The cloned style.
   * @api
   */

/**
   * Closes the window, removes it from the DOM and destroys the window object. 
   * The beforeclose event is fired before the close happens and will cancel 
   * the close action if it returns false.
   */

/**
   * Collapse all child nodes
   * @param {Boolean} deep (optional) true if the child nodes should also collapse their child nodes
   */

/**
   * Collapse all nodes
   */

/**
   * Collapse or expand the attribution according to the passed parameter. Will
   * not do anything if the attribution isn't collapsible or if the current
   * collapsed state is already the one requested.
   * @param {boolean} collapsed True if the widget is collapsed.
   * @api
   */

/**
   * Collapse this node.
   * @param {Boolean} deep (optional) True to collapse all children as well
   * @param {Boolean} anim (optional) false to cancel the default animation
   * @param {Function} callback (optional) A callback to be called when
   * expanding this node completes (does not wait for deep expand to complete).
   * Called with 1 parameter, this node.
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this TreeNode.
   */

/**
   * Collapses all grouped rows.
   */

/**
   * Collapses the panel body so that it becomes hidden.  Fires the {@link #beforecollapse} event which will
   * cancel the collapse action if it returns false.
   * @param {Boolean} animate True to animate the transition, else false (defaults to the value of the
   * {@link #animCollapse} panel config)
   * @return {Ext.Panel} this
   */

/**
   * Collect a list of visible attributions and set the collapsible state.
   * @param {import("../Map.js").FrameState} frameState Frame state.
   * @return {Array<string>} Attributions.
   * @private
   */

/**
   * Collects unique values for a particular dataIndex from this store.
   * @param {String} dataIndex The property to collect
   * @param {Boolean} allowNull (optional) Pass true to allow null, undefined or empty string values
   * @param {Boolean} bypassFilter (optional) Pass true to collect from all records, even ones which are filtered
   * @return {Array} An array of the unique values
   **/

/**
   * Commit all Records with {@link #getModifiedRecords outstanding changes}. To handle updates for changes,
   * subscribe to the Store's {@link #update update event}, and perform updating when the third parameter is
   * Ext.data.Record.COMMIT.
   */

/**
   * Compile the template to a function for optimized performance.  Recommended if the template will be used frequently.
   * @return {Function} The compiled function
   */

/**
   * Compiles a Store recordset into a data-format defined by an extension such as {@link Ext.data.JsonWriter} or {@link Ext.data.XmlWriter} in preparation for a {@link Ext.data.Api#actions server-write action}.  The first two params are similar similar in nature to {@link Ext#apply},
   * Where the first parameter is the <i>receiver</i> of paramaters and the second, baseParams, <i>the source</i>.
   * @param {Object} params The request-params receiver.
   * @param {Object} baseParams as defined by {@link Ext.data.Store#baseParams}.  The baseParms must be encoded by the extending class, eg: {@link Ext.data.JsonWriter}, {@link Ext.data.XmlWriter}.
   * @param {String} action [{@link Ext.data.Api#actions create|update|destroy}]
   * @param {Record/Record[]} rs The recordset to write, the subject(s) of the write action.
   */

/**
   * Compiles the template into an internal function, eliminating the RegEx overhead.
   * @return {Ext.Template} this
   * @hide repeat doc
   */

/**
   * Compiles the template into an internal function, eliminating the RegEx overhead.
   * @return {Ext.Template} this
   */

/**
   * Configures a new quick tip instance and assigns it to a target element.  The following config values are
   * supported (for example usage, see the {@link Ext.QuickTips} class header):
   * <div class="mdetail-params"><ul>
   * <li>autoHide</li>
   * <li>cls</li>
   * <li>dismissDelay (overrides the singleton value)</li>
   * <li>target (required)</li>
   * <li>text (required)</li>
   * <li>title</li>
   * <li>width</li></ul></div>
   * @param {Object} config The config object
   */

/**
   * Confirm application restart
   *
   * @param Boolean closewindow
   */

/**
   * Connect to the server-side and begin the polling process. To handle each
   * response subscribe to the data event.
   */

/**
   * Constructor.
   */

/**
   * Contains the last options object used as the parameter to the {@link #load} method. See {@link #load}
   * for the details of what this may contain. This may be useful for accessing any params which were used
   * to load the current Record cache.
   * @property
   */

/**
   * Convenience function for setting disabled/enabled by boolean.
   * @param {Boolean} disabled
   * @return {Ext.Component} this
   */

/**
   * Convenience function for setting disabled/enabled by boolean.
   * @param {Boolean} disabled
   */

/**
   * Convenience function to hide or show this component by boolean.
   * @param {Boolean} visible True to show, false to hide
   * @return {Ext.Component} this
   */

/**
   * Convenience method for constructing a KeyMap
   * @param {Number/Array/Object/String} key Either a string with the keys to listen for, the numeric key code, array of key codes or an object with the following options:
   * <code>{key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)}</code>
   * @param {Function} fn The function to call
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the specified function is executed. Defaults to this Element.
   * @return {Ext.KeyMap} The KeyMap created
   */

/**
   * Convert this Duration into its representation in a different set of units.
   * @example Duration.fromObject({ hours: 1, seconds: 30 }).shiftTo('minutes', 'milliseconds').toObject() //=> { minutes: 60, milliseconds: 30000 }
   * @return {Duration}
   */

/**
   * Converts `iterator` to an array.
   *
   * @private
   * @param {Object} iterator The iterator to convert.
   * @returns {Array} Returns the converted array.
   */

/**
   * Converts `map` to its key-value pairs.
   *
   * @private
   * @param {Object} map The map to convert.
   * @returns {Array} Returns the key-value pairs.
   */

/**
   * Converts `set` to an array of its values.
   *
   * @private
   * @param {Object} set The set to convert.
   * @returns {Array} Returns the values.
   */

/**
   * Converts `set` to its value-value pairs.
   *
   * @private
   * @param {Object} set The set to convert.
   * @returns {Array} Returns the value-value pairs.
   */

/**
   * Converts `string` to an array.
   *
   * @private
   * @param {string} string The string to convert.
   * @returns {Array} Returns the converted array.
   */

/**
   * Converts a Record to a hash, taking into account the state of the Ext.data.Record along with configuration properties
   * related to its rendering, such as {@link #writeAllFields}, {@link Ext.data.Record#phantom phantom}, {@link Ext.data.Record#getChanges getChanges} and
   * {@link Ext.data.DataReader#idProperty idProperty}
   * @param {Ext.data.Record}
   * @param {Object} config <b>NOT YET IMPLEMENTED</b>.  Will implement an exlude/only configuration for fine-control over which fields do/don't get rendered.
   * @return {Object}
   * @protected
   * TODO Implement excludes/only configuration with 2nd param?
   */

/**
   * Converts a Unicode `string` to an array.
   *
   * @private
   * @param {string} string The string to convert.
   * @returns {Array} Returns the converted array.
   */

/**
   * Converts a {@link Ext.data.DataWriter#toHash Hashed} {@link Ext.data.Record} to fields-array array suitable
   * for encoding to xml via XTemplate, eg:
  <code><pre>&lt;tpl for=".">&lt;{name}>{value}&lt;/{name}&lt;/tpl></pre></code>
   * eg, <b>non-phantom</b>:
  <code><pre>{id: 1, first: 'foo', last: 'bar'} --> [{name: 'id', value: 1}, {name: 'first', value: 'foo'}, {name: 'last', value: 'bar'}]</pre></code>
   * {@link Ext.data.Record#phantom Phantom} records will have had their idProperty omitted in {@link #toHash} if determined to be auto-generated.
   * Non AUTOINCREMENT pks should have been protected.
   * @param {Hash} data Hashed by Ext.data.DataWriter#toHash
   * @return {[Object]} Array of attribute-objects.
   * @protected
   */

/**
   * Converts an ASCII `string` to an array.
   *
   * @private
   * @param {string} string The string to convert.
   * @returns {Array} Returns the converted array.
   */

/**
   * Converts the input into a {@link Zone} instance.
   *
   * * If `input` is already a Zone instance, it is returned unchanged.
   * * If `input` is a string containing a valid time zone name, a Zone instance
   *   with that name is returned.
   * * If `input` is a string that doesn't refer to a known time zone, a Zone
   *   instance with {@link Zone.isValid} == false is returned.
   * * If `input is a number, a Zone instance with the specified fixed offset
   *   in minutes is returned.
   * * If `input` is `null` or `undefined`, the default zone is returned.
   * @param {string|Zone|number} [input] - the value to be converted
   * @return {Zone}
   */

/**
   * Copy record and returns "new record with same settings"
   *
   * @param {Tine.Tinebase.data.Record} record
   */

/**
   * Create Duration from a number of milliseconds.
   * @param {number} count of milliseconds
   * @param {Object} opts - options for parsing
   * @param {string} [opts.locale='en-US'] - the locale to use
   * @param {string} opts.numberingSystem - the numbering system to use
   * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
   * @return {Duration}
   */

/**
   * Create EXTGLOB_CHARS
   */

/**
   * Create GLOB_CHARS
   */

/**
   * Create a DateTime from a Javascript Date object. Uses the default zone.
   * @param {Date} date - a Javascript Date object
   * @param {Object} options - configuration options for the DateTime
   * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
   * @return {DateTime}
   */

/**
   * Create a DateTime from a Javascript object with keys like 'year' and 'hour' with reasonable defaults.
   * @param {Object} obj - the object to create the DateTime from
   * @param {number} obj.year - a year, such as 1987
   * @param {number} obj.month - a month, 1-12
   * @param {number} obj.day - a day of the month, 1-31, depending on the month
   * @param {number} obj.ordinal - day of the year, 1-365 or 366
   * @param {number} obj.weekYear - an ISO week year
   * @param {number} obj.weekNumber - an ISO week number, between 1 and 52 or 53, depending on the year
   * @param {number} obj.weekday - an ISO weekday, 1-7, where 1 is Monday and 7 is Sunday
   * @param {number} obj.hour - hour of the day, 0-23
   * @param {number} obj.minute - minute of the hour, 0-59
   * @param {number} obj.second - second of the minute, 0-59
   * @param {number} obj.millisecond - millisecond of the second, 0-999
   * @param {string|Zone} [obj.zone='local'] - interpret the numbers in the context of a particular zone. Can take any value taken as the first argument to setZone()
   * @param {string} [obj.locale='system's locale'] - a locale to set on the resulting DateTime instance
   * @param {string} obj.outputCalendar - the output calendar to set on the resulting DateTime instance
   * @param {string} obj.numberingSystem - the numbering system to set on the resulting DateTime instance
   * @example DateTime.fromObject({ year: 1982, month: 5, day: 25}).toISODate() //=> '1982-05-25'
   * @example DateTime.fromObject({ year: 1982 }).toISODate() //=> '1982-01-01'
   * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }) //~> today at 10:26:06
   * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6, zone: 'utc' }),
   * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6, zone: 'local' })
   * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6, zone: 'America/New_York' })
   * @example DateTime.fromObject({ weekYear: 2016, weekNumber: 2, weekday: 3 }).toISODate() //=> '2016-01-13'
   * @return {DateTime}
   */

/**
   * Create a DateTime from a SQL date, time, or datetime
   * Defaults to en-US if no locale has been specified, regardless of the system's locale
   * @param {string} text - the string to parse
   * @param {Object} opts - options to affect the creation
   * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone
   * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one
   * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale
   * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system
   * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
   * @example DateTime.fromSQL('2017-05-15')
   * @example DateTime.fromSQL('2017-05-15 09:12:34')
   * @example DateTime.fromSQL('2017-05-15 09:12:34.342')
   * @example DateTime.fromSQL('2017-05-15 09:12:34.342+06:00')
   * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles')
   * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles', { setZone: true })
   * @example DateTime.fromSQL('2017-05-15 09:12:34.342', { zone: 'America/Los_Angeles' })
   * @example DateTime.fromSQL('09:12:34.342')
   * @return {DateTime}
   */

/**
   * Create a DateTime from a number of milliseconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
   * @param {number} milliseconds - a number of milliseconds since 1970 UTC
   * @param {Object} options - configuration options for the DateTime
   * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
   * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
   * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance
   * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance
   * @return {DateTime}
   */

/**
   * Create a DateTime from a number of seconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
   * @param {number} seconds - a number of seconds since 1970 UTC
   * @param {Object} options - configuration options for the DateTime
   * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
   * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
   * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance
   * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance
   * @return {DateTime}
   */

/**
   * Create a DateTime from an HTTP header date
   * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
   * @param {string} text - the HTTP header date
   * @param {Object} opts - options to affect the creation
   * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since HTTP dates are always in UTC, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.
   * @param {boolean} [opts.setZone=false] - override the zone with the fixed-offset zone specified in the string. For HTTP dates, this is always UTC, so this option is equivalent to setting the `zone` option to 'utc', but this option is included for consistency with similar methods.
   * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
   * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
   * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
   * @example DateTime.fromHTTP('Sun, 06 Nov 1994 08:49:37 GMT')
   * @example DateTime.fromHTTP('Sunday, 06-Nov-94 08:49:37 GMT')
   * @example DateTime.fromHTTP('Sun Nov  6 08:49:37 1994')
   * @return {DateTime}
   */

/**
   * Create a DateTime from an ISO 8601 string
   * @param {string} text - the ISO string
   * @param {Object} opts - options to affect the creation
   * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the time to this zone
   * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one
   * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
   * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
   * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
   * @example DateTime.fromISO('2016-05-25T09:08:34.123')
   * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00')
   * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00', {setZone: true})
   * @example DateTime.fromISO('2016-05-25T09:08:34.123', {zone: 'utc'})
   * @example DateTime.fromISO('2016-W05-4')
   * @return {DateTime}
   */

/**
   * Create a DateTime from an RFC 2822 string
   * @param {string} text - the RFC 2822 string
   * @param {Object} opts - options to affect the creation
   * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since the offset is always specified in the string itself, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.
   * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one
   * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
   * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
   * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
   * @example DateTime.fromRFC2822('25 Nov 2016 13:23:12 GMT')
   * @example DateTime.fromRFC2822('Fri, 25 Nov 2016 13:23:12 +0600')
   * @example DateTime.fromRFC2822('25 Nov 2016 13:23 Z')
   * @return {DateTime}
   */

/**
   * Create a DateTime from an input string and format string.
   * Defaults to en-US if no locale has been specified, regardless of the system's locale.
   * @see https://moment.github.io/luxon/docs/manual/parsing.html#table-of-tokens
   * @param {string} text - the string to parse
   * @param {string} fmt - the format the string is expected to be in (see the link below for the formats)
   * @param {Object} opts - options to affect the creation
   * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone
   * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one
   * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale
   * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system
   * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
   * @return {DateTime}
   */

/**
   * Create a DateTime in UTC
   * @param {number} [year] - The calendar year. If omitted (as in, call `utc()` with no arguments), the current time will be used
   * @param {number} [month=1] - The month, 1-indexed
   * @param {number} [day=1] - The day of the month
   * @param {number} [hour=0] - The hour of the day, in 24-hour time
   * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59
   * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59
   * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999
   * @example DateTime.utc()                            //~> now
   * @example DateTime.utc(2017)                        //~> 2017-01-01T00:00:00Z
   * @example DateTime.utc(2017, 3)                     //~> 2017-03-01T00:00:00Z
   * @example DateTime.utc(2017, 3, 12)                 //~> 2017-03-12T00:00:00Z
   * @example DateTime.utc(2017, 3, 12, 5)              //~> 2017-03-12T05:00:00Z
   * @example DateTime.utc(2017, 3, 12, 5, 45)          //~> 2017-03-12T05:45:00Z
   * @example DateTime.utc(2017, 3, 12, 5, 45, 10)      //~> 2017-03-12T05:45:10Z
   * @example DateTime.utc(2017, 3, 12, 5, 45, 10, 765) //~> 2017-03-12T05:45:10.765Z
   * @return {DateTime}
   */

/**
   * Create a Duration from a Javascript object with keys like 'years' and 'hours.
   * If this object is empty then a zero milliseconds duration is returned.
   * @param {Object} obj - the object to create the DateTime from
   * @param {number} obj.years
   * @param {number} obj.quarters
   * @param {number} obj.months
   * @param {number} obj.weeks
   * @param {number} obj.days
   * @param {number} obj.hours
   * @param {number} obj.minutes
   * @param {number} obj.seconds
   * @param {number} obj.milliseconds
   * @param {string} [obj.locale='en-US'] - the locale to use
   * @param {string} obj.numberingSystem - the numbering system to use
   * @param {string} [obj.conversionAccuracy='casual'] - the conversion system to use
   * @return {Duration}
   */

/**
   * Create a Duration from an ISO 8601 duration string.
   * @param {string} text - text to parse
   * @param {Object} opts - options for parsing
   * @param {string} [opts.locale='en-US'] - the locale to use
   * @param {string} opts.numberingSystem - the numbering system to use
   * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
   * @see https://en.wikipedia.org/wiki/ISO_8601#Durations
   * @example Duration.fromISO('P3Y6M1W4DT12H30M5S').toObject() //=> { years: 3, months: 6, weeks: 1, days: 4, hours: 12, minutes: 30, seconds: 5 }
   * @example Duration.fromISO('PT23H').toObject() //=> { hours: 23 }
   * @example Duration.fromISO('P5Y3M').toObject() //=> { years: 5, months: 3 }
   * @return {Duration}
   */

/**
   * Create a combined function call sequence of the original function + the passed function.
   * The resulting function returns the results of the original function.
   * The passed fcn is called with the parameters of the original function. Example usage:
   * <pre><code>
  var sayHi = function(name){
  alert('Hi, ' + name);
  }
  sayHi('Fred'); // alerts "Hi, Fred"
  var sayGoodbye = sayHi.createSequence(function(name){
  alert('Bye, ' + name);
  });
  sayGoodbye('Fred'); // both alerts show
  </code></pre>
   * @param {Function} fcn The function to sequence
   * @param {Object} scope (optional) The scope (<code><b>this</b></code> reference) in which the passed function is executed.
   * <b>If omitted, defaults to the scope in which the original function is called or the browser window.</b>
   * @return {Function} The new function
   */

/**
   * Create a cookie with the specified name and value. Additional settings
   * for the cookie may be optionally specified (for example: expiration,
   * access restriction, SSL).
   * @param {String} name The name of the cookie to set. 
   * @param {Mixed} value The value to set for the cookie.
   * @param {Object} expires (Optional) Specify an expiration date the
   * cookie is to persist until.  Note that the specified Date object will
   * be converted to Greenwich Mean Time (GMT). 
   * @param {String} path (Optional) Setting a path on the cookie restricts
   * access to pages that match that path. Defaults to all pages (<tt>'/'</tt>). 
   * @param {String} domain (Optional) Setting a domain restricts access to
   * pages on a given domain (typically used to allow cookie access across
   * subdomains). For example, "extjs.com" will create a cookie that can be
   * accessed from any subdomain of extjs.com, including www.extjs.com,
   * support.extjs.com, etc.
   * @param {Boolean} secure (Optional) Specify true to indicate that the cookie
   * should only be accessible via SSL on a page using the HTTPS protocol.
   * Defaults to <tt>false</tt>. Note that this will only work if the page
   * calling this code uses the HTTPS protocol, otherwise the cookie will be
   * created with default options.
   */

/**
   * Create a data block containing Ext.data.Records from a JSON object.
   * @param {Object} o An object which contains an Array of row objects in the property specified
   * in the config as 'root, and optionally a property, specified in the config as 'totalProperty'
   * which contains the total size of the dataset.
   * @return {Object} data A data block which is used by an Ext.data.Store object as
   * a cache of Ext.data.Records.
   */

/**
   * Create a data block containing Ext.data.Records from an Array.
   * @param {Object} o An Array of row objects which represents the dataset.
   * @return {Object} data A data block which is used by an Ext.data.Store object as
   * a cache of Ext.data.Records.
   */

/**
   * Create a data block containing Ext.data.Records from an XML document.
   * @param {Object} doc A parsed XML document.
   * @return {Object} records A data block which is used by an {@link Ext.data.Store} as
   * a cache of Ext.data.Records.
   */

/**
   * Create a function that adds loaded tiles to the tile lookup.
   * @param {import("../source/Tile.js").default} source Tile source.
   * @param {import("../proj/Projection.js").default} projection Projection of the tiles.
   * @param {Object<number, Object<string, import("../Tile.js").default>>} tiles Lookup of loaded tiles by zoom level.
   * @return {function(number, import("../TileRange.js").default):boolean} A function that can be
   *     called with a zoom level and a tile range to add loaded tiles to the lookup.
   * @protected
   */

/**
   * Create a local DateTime
   * @param {number} [year] - The calendar year. If omitted (as in, call `local()` with no arguments), the current time will be used
   * @param {number} [month=1] - The month, 1-indexed
   * @param {number} [day=1] - The day of the month
   * @param {number} [hour=0] - The hour of the day, in 24-hour time
   * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59
   * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59
   * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999
   * @example DateTime.local()                            //~> now
   * @example DateTime.local(2017)                        //~> 2017-01-01T00:00:00
   * @example DateTime.local(2017, 3)                     //~> 2017-03-01T00:00:00
   * @example DateTime.local(2017, 3, 12)                 //~> 2017-03-12T00:00:00
   * @example DateTime.local(2017, 3, 12, 5)              //~> 2017-03-12T05:00:00
   * @example DateTime.local(2017, 3, 12, 5, 45)          //~> 2017-03-12T05:45:00
   * @example DateTime.local(2017, 3, 12, 5, 45, 10)      //~> 2017-03-12T05:45:10
   * @example DateTime.local(2017, 3, 12, 5, 45, 10, 765) //~> 2017-03-12T05:45:10.765
   * @return {DateTime}
   */

/**
   * Create a new pristine `lodash` function using the `context` object.
   *
   * @static
   * @memberOf _
   * @since 1.1.0
   * @category Util
   * @param {Object} [context=root] The context object.
   * @returns {Function} Returns a new `lodash` function.
   * @example
   *
   * _.mixin({ 'foo': _.constant('foo') });
   *
   * var lodash = _.runInContext();
   * lodash.mixin({ 'bar': lodash.constant('bar') });
   *
   * _.isFunction(_.foo);
   * // => true
   * _.isFunction(_.bar);
   * // => false
   *
   * lodash.isFunction(lodash.foo);
   * // => false
   * lodash.isFunction(lodash.bar);
   * // => true
   *
   * // Create a suped-up `defer` in Node.js.
   * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;
   */

/**
   * Create a renderer for this layer.
   * @return {RendererType} A layer renderer.
   * @protected
   */

/**
   * Create a simplified version of this geometry using the Douglas Peucker
   * algorithm.
   * See https://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm.
   * @abstract
   * @param {number} squaredTolerance Squared tolerance.
   * @return {Geometry} Simplified geometry.
   */

/**
   * Create a simplified version of this geometry using the Douglas Peucker algorithm.
   * @param {number} squaredTolerance Squared tolerance.
   * @return {SimpleGeometry} Simplified geometry.
   */

/**
   * Create a simplified version of this geometry.  For linestrings, this uses
   * the [Douglas Peucker](https://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm)
   * algorithm.  For polygons, a quantization-based
   * simplification is used to preserve topology.
   * @param {number} tolerance The tolerance distance for simplification.
   * @return {Geometry} A new, simplified version of the original geometry.
   * @api
   */

/**
   * Create an Interval from a start DateTime and a Duration to extend to.
   * @param {DateTime|Date|Object} start
   * @param {Duration|Object|number} duration - the length of the Interval.
   * @return {Interval}
   */

/**
   * Create an Interval from a start DateTime and an end DateTime. Inclusive of the start but not the end.
   * @param {DateTime|Date|Object} start
   * @param {DateTime|Date|Object} end
   * @return {Interval}
   */

/**
   * Create an Interval from an ISO 8601 string.
   * Accepts `<start>/<end>`, `<start>/<duration>`, and `<duration>/<end>` formats.
   * @param {string} text - the ISO string to parse
   * @param {Object} [opts] - options to pass {@link DateTime.fromISO} and optionally {@link Duration.fromISO}
   * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
   * @return {Interval}
   */

/**
   * Create an Interval from an end DateTime and a Duration to extend backwards to.
   * @param {DateTime|Date|Object} end
   * @param {Duration|Object|number} duration - the length of the Interval.
   * @return {Interval}
   */

/**
   * Create an event handler on this element such that when the event fires and is handled by this element,
   * it will be relayed to another object (i.e., fired again as if it originated from that object instead).
   * @param {String} eventName The type of event to relay
   * @param {Object} object Any object that extends {@link Ext.util.Observable} that will provide the context
   * for firing the relayed event
   */

/**
   * Create an invalid DateTime.
   * @param {string} reason - simple string of why this DateTime is invalid. Should not contain parameters or anything else data-dependent
   * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
   * @return {DateTime}
   */

/**
   * Create an invalid Duration.
   * @param {string} reason - simple string of why this datetime is invalid. Should not contain parameters or anything else data-dependent
   * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
   * @return {Duration}
   */

/**
   * Create an invalid Interval.
   * @param {string} reason - simple string of why this Interval is invalid. Should not contain parameters or anything else data-dependent
   * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
   * @return {Interval}
   */

/**
   * Create executors and populate them using the provided instructions.
   * @private
   * @param {!Object<string, !Object<import("../canvas.js").BuilderType, import("../canvas.js").SerializableInstructions>>} allInstructions The serializable instructions
   */

/**
   * Creates a KeyMap for this element
   * @param {Object} config The KeyMap config. See {@link Ext.KeyMap} for more details
   * @return {Ext.KeyMap} The KeyMap created
   */

/**
   * Creates a copy (clone) of this Record.
   * @param {String} id (optional) A new Record id, defaults to the id
   * of the record being copied. See {@link #id}.
   * To generate a phantom record with a new id use:
   var rec = record.copy(); // clone the record
   Ext.data.Record.id(rec); // automatically generate a unique sequential id
   *
   * @return {Record}
   */

/**
   * Creates a copy of this Array, filtered to contain only unique values.
   * @return {Array} The new Array containing unique values.
   */

/**
   * Creates a delegate (callback) that sets the scope to obj.
   * Call directly on any function. Example: <code>this.myFunction.createDelegate(this, [arg1, arg2])</code>
   * Will create a function that is automatically scoped to obj so that the <tt>this</tt> variable inside the
   * callback points to obj. Example usage:
   * <pre><code>
  var sayHi = function(name){
  // Note this use of "this.text" here.  This function expects to
  // execute within a scope that contains a text property.  In this
  // example, the "this" variable is pointing to the btn object that
  // was passed in createDelegate below.
  alert('Hi, ' + name + '. You clicked the "' + this.text + '" button.');
  }
  var btn = new Ext.Button({
  text: 'Say Hi',
  renderTo: Ext.getBody()
  });
  // This callback will execute in the scope of the
  // button instance. Clicking the button alerts
  // "Hi, Fred. You clicked the "Say Hi" button."
  btn.on('click', sayHi.createDelegate(btn, ['Fred']));
  </code></pre>
   * @param {Object} scope (optional) The scope (<code><b>this</b></code> reference) in which the function is executed.
   * <b>If omitted, defaults to the browser window.</b>
   * @param {Array} args (optional) Overrides arguments for the call. (Defaults to the arguments passed by the caller)
   * @param {Boolean/Number} appendArgs (optional) if True args are appended to call args instead of overriding,
   * if a number the args are inserted at the specified position
   * @return {Function} The new function
   */

/**
   * Creates a function to return some particular key of data from a response.
   * @param {String} key
   * @return {Function}
   * @private
   * @ignore
   */

/**
   * Creates a new pop up dialog/window (acc. configuration)
   *
   * @returns {null}
   */

/**
   * Creates a new {@link Ext.menu.Item} based an the supplied config object and adds it to the menu
   * @param {Object} config A MenuItem config object
   * @return {Ext.menu.Item} The menu item that was added
   */

/**
   * Creates a new {@link Ext.menu.TextItem} with the supplied text and adds it to the menu
   * @param {String} text The text to display in the menu item
   * @return {Ext.menu.Item} The menu item that was added
   */

/**
   * Creates a proxy element of this element
   * @param {String/Object} config The class name of the proxy element or a DomHelper config object
   * @param {String/HTMLElement} renderTo (optional) The element or element id to render the proxy to (defaults to document.body)
   * @param {Boolean} matchBox (optional) True to align and size the proxy to this element now (defaults to false)
   * @return {Ext.Element} The new proxy element
   */

/**
   * Creates a shallow copy of this collection
   * @return {MixedCollection}
   */

/**
   * Creates a transform for rendering to an element that will be rotated after rendering.
   * @param {import("../../coordinate.js").Coordinate} center Center.
   * @param {number} resolution Resolution.
   * @param {number} rotation Rotation.
   * @param {number} pixelRatio Pixel ratio.
   * @param {number} width Width of the rendered element (in pixels).
   * @param {number} height Height of the rendered element (in pixels).
   * @param {number} offsetX Offset on the x-axis in view coordinates.
   * @protected
   * @return {!import("../../transform.js").Transform} Transform.
   */

/**
   * Creates a unary function that invokes `func` with its argument transformed.
   *
   * @private
   * @param {Function} func The function to wrap.
   * @param {Function} transform The argument transform.
   * @returns {Function} Returns the new function.
   */

/**
   * Creates a {@link Ext.CompositeElement} for child nodes based on the passed CSS selector (the selector should not contain an id).
   * @param {String} selector The CSS selector
   * @param {Boolean} unique (optional) True to create a unique Ext.Element for each child (defaults to false, which creates a single shared flyweight object)
   * @return {CompositeElement/CompositeElementLite} The composite element
   */

/**
   * Creates and returns a new Date instance with the exact same date value as the called instance.
   * Dates are copied and passed by reference, so if a copied date variable is modified later, the original
   * variable will also be changed.  When the intention is to create a new variable that will not
   * modify the original instance, you should create a clone.
   *
   * Example of correctly cloning a date:
   * <pre><code>
   //wrong way:
   var orig = new Date('10/1/2006');
   var copy = orig;
   copy.setDate(5);
   document.write(orig);  //returns 'Thu Oct 05 2006'!
    //correct way:
   var orig = new Date('10/1/2006');
   var copy = orig.clone();
   copy.setDate(5);
   document.write(orig);  //returns 'Thu Oct 01 2006'
   </code></pre>
   * @return {Date} The new Date instance.
   */

/**
   * Creates namespaces to be used for scoping variables and classes so that they are not global.
   * Specifying the last node of a namespace implicitly creates all other nodes. Usage:
   * <pre><code>
  Ext.namespace('Company', 'Company.data');
  Ext.namespace('Company.data'); // equivalent and preferable to above syntax
  Company.Widget = function() { ... }
  Company.data.CustomStore = function(config) { ... }
  </code></pre>
   * @param {String} namespace1
   * @param {String} namespace2
   * @param {String} etc
   * @return {Object} The namespace object. (If multiple arguments are passed, this will be the last namespace created)
   * @method ns
   */

/**
   * Creates or updates the cached geometry.
   */

/**
   * Creates the proxy element if it does not yet exist
   * @method createFrame
   */

/**
   * Date interval constant
   * @static
   * @type String
   */

/**
   * Date sorting
   * @param {Mixed} s The value being converted
   * @return {Number} The comparison value
   */

/**
   * Decode a json response from server.
   * @param {String} action [Ext.data.Api.actions.create|read|update|destroy]
   * @param {Object} response
   * TODO: refactor code between JsonReader#readRecords, #readResponse into 1 method.
   * there's ugly duplication going on due to maintaining backwards compat. with 2.0.  It's time to do this.
   */

/**
   * Decode a json response from server.
   * @param {String} action [{@link Ext.data.Api#actions} create|read|update|destroy]
   * @param {Object} response HTTP Response object from browser.
   * @return {Ext.data.Response} response Returns an instance of {@link Ext.data.Response}
   */

/**
   * Decodes (parses) a JSON string to an object. If the JSON is invalid, this function throws a SyntaxError unless the safe option is set.
   * @param {String} json The JSON string
   * @return {Object} The resulting object
   */

/**
   * Decodes a string previously encoded with {@link #encodeValue}.
   * @param {String} value The value to decode
   * @return {Mixed} The decoded value
   */

/**
   * Decodes a string previously encoded with {@link #encodeValue}.
   * @param {String} value The value to decode
   * @return {Object} The decoded value
   */

/**
   * Default sort that does nothing
   * @param {Mixed} s The value being converted
   * @return {Mixed} The comparison value
   */

/**
   * Descends down the tree from the root, creating an array of data suitable for use in an XTemplate
   * @param {Ext.tree.ColumnTree} tree The column tree
   * @return {Array} Data suitable for use in the body XTemplate
   */

/**
   * Deselect a node.
   * @param {Ext.tree.TreeNode} node The node to unselect
   */

/**
   * Deselect a node.
   * @param {TreeNode} node The node to unselect
   * @param {Boolean} silent True to stop the selectionchange event from firing.
   */

/**
   * Deselect a node.
   * @param {TreeNode} node The node to unselect
   */

/**
   * Deselects a cell.
   * @param {Array} cell The index of the cell ([rowIndex, columnIndex]) to deselect
   */

/**
   * Deselects a node.
   * @param {HTMLElement/Number} node The node to deselect
   */

/**
   * Deselects a range of cells. All cells in between startCell and endCell are also deselected.
   * @param {Array} startCell The index of the first cell ([rowIndex, columnIndex]) in the range
   * @param {Array} endCell The index of the last cell ([rowIndex, columnIndex]) in the range
   */

/**
   * Deselects a range of rows if the selection model
   * {@link Ext.grid.AbstractSelectionModel#isLocked is not locked}.  
   * All rows in between startRow and endRow are also deselected.
   * @param {Number} startRow The index of the first row in the range
   * @param {Number} endRow The index of the last row in the range
   */

/**
   * Deselects a row.
   * @param {Number} row The index of the row to deselect
   */

/**
   * Deselects a row.  Before deselecting a row, checks if the selection model
   * {@link Ext.grid.AbstractSelectionModel#isLocked is locked}.
   * If this check is satisfied the row will be deselected and followed up by
   * firing the {@link #rowdeselect} and {@link #selectionchange} events.
   * @param {Number} row The index of the row to deselect
   * @param {Boolean} preventViewNotify (optional) Specify <tt>true</tt> to
   * prevent notifying the view (disables updating the selected appearance)
   */

/**
   * Destroy this KeyNav (this is the same as calling disable).
   */

/**
   * Destroy this splitbar.
   * @param {Boolean} removeEl True to remove the element
   */

/**
   * Destroys a record or records.  Should not be used directly.  It's called by Store#remove if a Writer is set.
   * @param {Store} this
   * @param {Ext.data.Record/Ext.data.Record[]}
   * @param {Number} index
   * @private
   */

/**
   * Destroys the node.
   */

/**
   * Destroys the proxy by purging any event listeners and cancelling any active requests.
   */

/**
   * Destroys the store.
   */

/**
   * Destroys this column model by purging any event listeners, and removing any editors.
   */

/**
   * Destroys this component by purging any event listeners, removing the component's element from the DOM,
   * removing the component from its {@link Ext.Container} (if applicable) and unregistering it from
   * {@link Ext.ComponentMgr}.  Destruction is generally handled automatically by the framework and this method
   * should usually not need to be called directly.
   *
   */

/**
   * Destroys this resizable. If the element was wrapped and 
   * removeEl is not true then the element remains.
   * @param {Boolean} removeEl (optional) true to remove the element from the DOM
   */

/**
   * Detect features that intersect a pixel on the viewport, and execute a
   * callback with each intersecting feature. Layers included in the detection can
   * be configured through the `layerFilter` option in `options`.
   * @param {import("./pixel.js").Pixel} pixel Pixel.
   * @param {function(import("./Feature.js").FeatureLike, import("./layer/Layer.js").default<import("./source/Source").default>, import("./geom/SimpleGeometry.js").default): T} callback Feature callback. The callback will be
   *     called with two arguments. The first argument is one
   *     {@link module:ol/Feature~Feature feature} or
   *     {@link module:ol/render/Feature~RenderFeature render feature} at the pixel, the second is
   *     the {@link module:ol/layer/Layer~Layer layer} of the feature and will be null for
   *     unmanaged layers. To stop detection, callback functions can return a
   *     truthy value.
   * @param {AtPixelOptions} [options] Optional options.
   * @return {T|undefined} Callback result, i.e. the return value of last
   * callback execution, or the first truthy callback return value.
   * @template T
   * @api
   */

/**
   * Detect if features intersect a pixel on the viewport. Layers included in the
   * detection can be configured through the `layerFilter` option.
   * @param {import("./pixel.js").Pixel} pixel Pixel.
   * @param {AtPixelOptions} [options] Optional options.
   * @return {boolean} Is there a feature at the given pixel?
   * @api
   */

/**
   * Determine if a tile is in an alpha transition.  A tile is considered in
   * transition if tile.getAlpha() has not yet been called or has been called
   * and returned 1.
   * @param {string} id An id for the renderer.
   * @return {boolean} The tile is in transition.
   */

/**
   * Determine if the user is interacting with the view, such as panning or zooming.
   * @return {boolean} The view is being interacted with.
   * @api
   */

/**
   * Determine if the view is being animated.
   * @return {boolean} The view is being animated.
   * @api
   */

/**
   * Determine whether render should be called.
   * @abstract
   * @param {import("../Map.js").FrameState} frameState Frame state.
   * @return {boolean} Layer is ready to be rendered.
   */

/**
   * Determine whether render should be called.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @return {boolean} Layer is ready to be rendered.
   */

/**
   * Determine whether the symbolizer rotates with the map.
   * @return {boolean} Rotate with map.
   * @api
   */

/**
   * Determine whether the text rotates with the map.
   * @return {boolean|undefined} Rotate with map.
   * @api
   */

/**
   * Determine whether this object has a request outstanding.
   * @param {Number} transactionId (Optional) defaults to the last transaction
   * @return {Boolean} True if there is an outstanding request.
   */

/**
   * Direct access to the Updater {@link Ext.Updater#update} method. The method takes the same object
   * parameter as {@link Ext.Updater#update}
   * @return {Ext.Element} this
   */

/**
   * Direct alignment when values are already available. Show must be called at least once before
   * calling this method to ensure it is initialized.
   * @param {Number} left The target element left position
   * @param {Number} top The target element top position
   * @param {Number} width The target element width
   * @param {Number} height The target element height
   */

/**
   * DirectProxy implementation of {@link Ext.data.DataProxy#doRequest}
   * @param {String} action The crud action type (create, read, update, destroy)
   * @param {Ext.data.Record/Ext.data.Record[]} rs If action is load, rs will be null
   * @param {Object} params An object containing properties which are to be used as HTTP parameters
   * for the request to the remote server.
   * @param {Ext.data.DataReader} reader The Reader object which converts the data
   * object into a block of Ext.data.Records.
   * @param {Function} callback
   * <div class="sub-desc"><p>A function to be called after the request.
   * The <tt>callback</tt> is passed the following arguments:<ul>
   * <li><tt>r</tt> : Ext.data.Record[] The block of Ext.data.Records.</li>
   * <li><tt>options</tt>: Options object from the action request</li>
   * <li><tt>success</tt>: Boolean success indicator</li></ul></p></div>
   * @param {Object} scope The scope (<code>this</code> reference) in which the callback function is executed. Defaults to the browser window.
   * @param {Object} arg An optional argument which is passed to the callback as its second parameter.
   * @protected
   */

/**
   * Disable adding cf tab even if model has support for customfields
   * @type Boolean
   */

/**
   * Disable ok button if no password entered
   * @param el
   */

/**
   * Disable this KeyMap
   */

/**
   * Disable this KeyNav
   */

/**
   * Disable this component and fire the 'disable' event.
   * @return {Ext.Component} this
   */

/**
   * Disables all components using this action.
   */

/**
   * Disables the mask to prevent it from being displayed
   */

/**
   * Disables the repeater and stops events from firing.
   */

/**
   * Disables this node
   */

/**
   * Discards event handlers which listen for load completion or errors.
   *
   * @private
   */

/**
   * Disconnect from the server-side and stop the polling process. The disconnect
   * event will be fired on a successful disconnect.
   */

/**
   * Dispatches an event and calls all listeners listening for events
   * of this type. The event parameter can either be a string or an
   * Object with a `type` property.
   *
   * @param {import("./Event.js").default|string} event Event object.
   * @return {boolean|undefined} `false` if anyone called preventDefault on the
   *     event object or if any of the listeners returned false.
   * @api
   */

/**
   * Displays the shadow under the target element
   * @param {Mixed} targetEl The id or element under which the shadow should display
   */

/**
   * Displays this menu at a specific xy position and fires the 'show' event if a
   * handler for the 'beforeshow' event does not return false cancelling the operation.
   * @param {Array} xyPosition Contains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)
   * @param {Ext.menu.Menu} parentMenu (optional) This menu's parent menu, if applicable (defaults to undefined)
   * @param {boolean} forcePosition (optional) Don't adjust xy position values
   */

/**
   * Displays this proxy
   */

/**
   * Dynamically tries to determine the groupId of a specific value
   * @param {String} value
   * @return {String} The group id
   */

/**
   * Each event type implements a getData() method. The default event types are:
   * <div class="mdetail-params"><ul>
   * <li><b><tt>event</tt></b> : Ext.Direct.Event</li>
   * <li><b><tt>exception</tt></b> : Ext.Direct.ExceptionEvent</li>
   * <li><b><tt>rpc</tt></b> : Ext.Direct.RemotingEvent</li>
   * </ul></div>
   * @property eventTypes
   * @type Object
   */

/**
   * Each window has exactly one viewport containing a card layout in its lifetime
   * The default card is a splash screen.
   *
   * default wait panel (picture only no string!)
   */

/**
   * Edit the text of the passed {@link Ext.tree.TreeNode TreeNode}.
   * @param node {Ext.tree.TreeNode} The TreeNode to edit. The TreeNode must be {@link Ext.tree.TreeNode#editable editable}.
   */

/**
   * Enable or disable using the mouse's location as an anchor when zooming
   * @param {boolean} useAnchor true to zoom to the mouse's location, false
   * to zoom to the center of the map
   * @api
   */

/**
   * Enable state
   * 
   * @type {Boolean}
   */

/**
   * Enable this KeyNav
   */

/**
   * Enable this component and fire the 'enable' event.
   * @return {Ext.Component} this
   */

/**
   * Enables all components using this action.
   */

/**
   * Enables the mask so that it can be displayed
   */

/**
   * Enables the repeater and allows events to fire.
   */

/**
   * Enables this KeyMap
   */

/**
   * Enables this node
   */

/**
   * Encode string
   *
   * @param value
   */

/**
   * Encodes a value including type information.  Decode with {@link #decodeValue}.
   * @param {Mixed} value The value to encode
   * @return {String} The encoded value
   */

/**
   * Encodes a value including type information.  Decode with {@link #decodeValue}.
   * @param {Object} value The value to encode
   * @return {String} The encoded value
   */

/**
   * Encodes an Object, Array or other value
   * @param {Mixed} o The variable to encode
   * @return {String} The JSON string
   */

/**
   * End an edit. If any data was modified, the containing store is notified
   * (ie, the store's <code>update</code> event will fire).
   */

/**
   * Ends the editing process, persists the changed value to the underlying field, and hides the editor.
   * @param {Boolean} remainVisible Override the default behavior and keep the editor visible after edit (defaults to false)
   */

/**
   * Enqueue an element. O(log N).
   * @param {T} element Element.
   * @return {boolean} The element was added to the queue.
   */

/**
   * Ensures all parent nodes are expanded, and if necessary, scrolls
   * the node into view.
   * @param {Function} callback (optional) A function to call when the node has been made visible.
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this TreeNode.
   */

/**
   * Equality check
   * Two DateTimes are equal iff they represent the same millisecond, have the same zone and location, and are both valid.
   * To compare just the millisecond values, use `+dt1 === +dt2`.
   * @param {DateTime} other - the other DateTime
   * @return {boolean}
   */

/**
   * Equality check
   * Two Durations are equal iff they have the same units and the same values for each unit.
   * @param {Duration} other
   * @return {boolean}
   */

/**
   * Escapes the passed string for ' and \
   * @param {String} string The string to escape
   * @return {String} The escaped string
   * @static
   */

/**
   * Event that fires prior to the onDrag event.  Overrides
   * Ext.dd.DragDrop.
   */

/**
   * Event that fires prior to the onMouseDown event.  Overrides
   * Ext.dd.DragDrop.
   */

/**
   * Examines this container's <code>{@link #items}</code> <b>property</b>
   * and gets a direct child component of this container.
   * @param {String/Number} comp This parameter may be any of the following:
   * <div><ul class="mdetail-params">
   * <li>a <b><code>String</code></b> : representing the <code>{@link Ext.Component#itemId itemId}</code>
   * or <code>{@link Ext.Component#id id}</code> of the child component </li>
   * <li>a <b><code>Number</code></b> : representing the position of the child component
   * within the <code>{@link #items}</code> <b>property</b></li>
   * </ul></div>
   * <p>For additional information see {@link Ext.util.MixedCollection#get}.
   * @return Ext.Component The component (if found).
   */

/**
   * Execute a query to filter the dropdown list.  Fires the {@link #beforequery} event prior to performing the
   * query allowing the query action to be canceled if needed.
   * @param {String} query The SQL query to execute
   * @param {Boolean} forceAll <tt>true</tt> to force the query to execute even if there are currently fewer
   * characters in the field than the minimum specified by the <tt>{@link #minChars}</tt> config option.  It
   * also clears any filter previously saved in the current store (defaults to <tt>false</tt>)
   */

/**
   * Executes a Midas editor command directly on the editor document.
   * For visual commands, you should use {@link #relayCmd} instead.
   * <b>This should only be called after the editor is initialized.</b>
   * @param {String} cmd The Midas command
   * @param {String/Boolean} value (optional) The value to pass to the command (defaults to null)
   */

/**
   * Executes a Midas editor command on the editor document and performs necessary focus and
   * toolbar updates. <b>This should only be called after the editor is initialized.</b>
   * @param {String} cmd The Midas command
   * @param {String/Boolean} value (optional) The value to pass to the command (defaults to null)
   */

/**
   * Executes the specified function once for each Component currently tied to this action.  The function passed
   * in should accept a single argument that will be an object that supports the basic Action config/method interface.
   * @param {Function} fn The function to execute for each component
   * @param {Object} scope The scope (<code>this</code> reference) in which the function is executed.  Defaults to the Component.
   */

/**
   * Executes the specified function once for every item in the collection, passing the following arguments:
   * <div class="mdetail-params"><ul>
   * <li><b>item</b> : Mixed<p class="sub-desc">The collection item</p></li>
   * <li><b>index</b> : Number<p class="sub-desc">The item's index</p></li>
   * <li><b>length</b> : Number<p class="sub-desc">The total number of items in the collection</p></li>
   * </ul></div>
   * The function should return a boolean value. Returning false from the function will stop the iteration.
   * @param {Function} fn The function to execute for each item.
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the current item in the iteration.
   */

/**
   * Executes the specified function once for every key in the collection, passing each
   * key, and its associated item as the first two parameters.
   * @param {Function} fn The function to execute for each item.
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the browser window.
   */

/**
   * Executes this action manually using the handler function specified in the original config object
   * or the handler function set with <code>{@link #setHandler}</code>.  Any arguments passed to this
   * function will be passed on to the handler function.
   * @param {Mixed} arg1 (optional) Variable number of arguments passed to the handler function
   * @param {Mixed} arg2 (optional)
   * @param {Mixed} etc... (optional)
   */

/**
   * Expand all child nodes
   * @param {Boolean} deep (optional) true if the child nodes should also expand their child nodes
   */

/**
   * Expand all nodes
   */

/**
   * Expand this node.
   * @param {Boolean} deep (optional) True to expand all children as well
   * @param {Boolean} anim (optional) false to cancel the default animation
   * @param {Function} callback (optional) A callback to be called when
   * expanding this node completes (does not wait for deep expand to complete).
   * Called with 1 parameter, this node.
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this TreeNode.
   */

/**
   * Expands a specified path in this TreePanel. A path can be retrieved from a node with {@link Ext.data.Node#getPath}
   * @param {String} path
   * @param {String} attr (optional) The attribute used in the path (see {@link Ext.data.Node#getPath} for more info)
   * @param {Function} callback (optional) The callback to call when the expand is complete. The callback will be called with
   * (bSuccess, oLastNode) where bSuccess is if the expand was successful and oLastNode is the last node that was expanded.
   */

/**
   * Expands all grouped rows.
   */

/**
   * Expands the dropdown layer if it is currently hidden. Fires the {@link #expand} event on completion.
   */

/**
   * Expands the dropdown list if it is currently hidden. Fires the {@link #expand} event on completion.
   */

/**
   * Expands the panel body so that it becomes visible.  Fires the {@link #beforeexpand} event which will
   * cancel the expand action if it returns false.
   * @param {Boolean} animate True to animate the transition, else false (defaults to the value of the
   * {@link #animCollapse} panel config)
   * @return {Ext.Panel} this
   */

/**
   * Expire the cache.
   * @param {!Object<string, boolean>} [keep] Keys to keep. To be implemented by subclasses.
   */

/**
   * Explain how a string would be parsed by fromFormat()
   * @param {string} text - the string to parse
   * @param {string} fmt - the format the string is expected to be in (see description)
   * @param {Object} options - options taken by fromFormat()
   * @return {Object}
   */

/**
   * Extension point for disposable objects.
   * @protected
   */

/**
   * FIXME empty description for jsdoc
   */

/**
   * Fast paths
   */

/**
   * Filemanager
   */

/**
   * Fills field on click with a random, unique checksum and hides trigger button
   */

/**
   * Filter by a function. Returns a <i>new</i> collection that has been filtered.
   * The passed function will be called with each object in the collection.
   * If the function returns true, the value is included otherwise it is filtered.
   * @param {Function} fn The function to be called, it will receive the args o (the object), k (the key)
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to this MixedCollection.
   * @return {MixedCollection} The new filtered collection
   */

/**
   * Filter by a function. The passed function will be called with each
   * node in the tree (or from the startNode). If the function returns true, the node is kept
   * otherwise it is filtered. If a node is filtered, its children are also filtered.
   * @param {Function} fn The filter function
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the current Node.
   */

/**
   * Filter by a function. The specified function will be called for each
   * Record in this Store. If the function returns <tt>true</tt> the Record is included,
   * otherwise it is filtered out.
   * @param {Function} fn The function to be called. It will be passed the following parameters:<ul>
   * <li><b>record</b> : Ext.data.Record<p class="sub-desc">The {@link Ext.data.Record record}
   * to test for filtering. Access field values using {@link Ext.data.Record#get}.</p></li>
   * <li><b>id</b> : Object<p class="sub-desc">The ID of the Record passed.</p></li>
   * </ul>
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to this Store.
   */

/**
   * Filter the <i>objects</i> in this collection by a specific property.
   * Returns a new collection that has been filtered.
   * @param {String} property A property on your objects
   * @param {String/RegExp} value Either string that the property values
   * should start with or a RegExp to test against the property
   * @param {Boolean} anyMatch (optional) True to match any part of the string, not just the beginning
   * @param {Boolean} caseSensitive (optional) True for case sensitive comparison (defaults to False).
   * @return {MixedCollection} The new filtered collection
   */

/**
   * Filter the {@link Ext.data.Record records} by a specified property.
   * @param {String} field A field on your records
   * @param {String/RegExp} value Either a string that the field should begin with, or a RegExp to test
   * against the field.
   * @param {Boolean} anyMatch (optional) <tt>true</tt> to match any part not just the beginning
   * @param {Boolean} caseSensitive (optional) <tt>true</tt> for case sensitive comparison
   */

/**
   * Filters this composite to only elements that match the passed selector.
   * @param {String/Function} selector A string CSS selector or a comparison function.
   * The comparison function will be called with the following arguments:<ul>
   * <li><code>el</code> : Ext.Element<div class="sub-desc">The current DOM element.</div></li>
   * <li><code>index</code> : Number<div class="sub-desc">The current index within the collection.</div></li>
   * </ul>
   * @return {CompositeElement} this
   */

/**
   * Final action of a write event.  Apply the written data-object to params.
   * @param {Object} http params-object to write-to.
   * @param {Object} baseParams as defined by {@link Ext.data.Store#baseParams}.  The baseParms must be encoded by the extending class, eg: {@link Ext.data.JsonWriter}, {@link Ext.data.XmlWriter}.
   * @param {Object/Object[]} data Data-object representing compiled Store-recordset.
   */

/**
   * Find a component under this container at any level by a custom function. If the passed function returns
   * true, the component will be included in the results. The passed function is called with the arguments (component, this container).
   * @param {Function} fn The function to call
   * @param {Object} scope (optional)
   * @return {Array} Array of Ext.Components
   */

/**
   * Find a component under this container at any level by id
   * @param {String} id
   * @return Ext.Component
   */

/**
   * Find a component under this container at any level by property
   * @param {String} prop
   * @param {String} value
   * @return {Array} Array of Ext.Components
   */

/**
   * Find a component under this container at any level by xtype or class
   * @param {String/Class} xtype The xtype string for a component, or the class of the component directly
   * @param {Boolean} shallow (optional) False to check whether this Component is descended from the xtype (this is
   * the default), or true to check whether this Component is directly of the specified xtype.
   * @return {Array} Array of Ext.Components
   */

/**
   * Find a container above this component at any level by a custom function. If the passed function returns
   * true, the container will be returned.
   * @param {Function} fn The custom function to call with the arguments (container, this component).
   * @return {Ext.Container} The first Container for which the custom function returns true
   */

/**
   * Find a container above this component at any level by xtype or class
   * @param {String/Class} xtype The xtype string for a component, or the class of the component directly
   * @return {Ext.Container} The first Container which matches the given xtype or class
   */

/**
   * Find a {@link Ext.form.Field} in this form.
   * @param {String} id The value to search for (specify either a {@link Ext.Component#id id},
   * {@link Ext.grid.Column#dataIndex dataIndex}, {@link Ext.form.Field#getName name or hiddenName}).
   * @return Field
   */

/**
   * Find the index of the first matching Record in this Store by a function.
   * If the function returns <tt>true</tt> it is considered a match.
   * @param {Function} fn The function to be called. It will be passed the following parameters:<ul>
   * <li><b>record</b> : Ext.data.Record<p class="sub-desc">The {@link Ext.data.Record record}
   * to test for filtering. Access field values using {@link Ext.data.Record#get}.</p></li>
   * <li><b>id</b> : Object<p class="sub-desc">The ID of the Record passed.</p></li>
   * </ul>
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to this Store.
   * @param {Number} startIndex (optional) The index to start searching at
   * @return {Number} The matched index or -1
   */

/**
   * Find the index of the first matching object in this collection by a function.
   * If the function returns <i>true</i> it is considered a match.
   * @param {Function} fn The function to be called, it will receive the args o (the object), k (the key).
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to this MixedCollection.
   * @param {Number} start (optional) The index to start searching at (defaults to 0).
   * @return {Number} The matched index or -1
   */

/**
   * Find the index of the passed element within the composite collection.
   * @param el {Mixed} The id of an element, or an Ext.Element, or an HtmlElement to find within the composite collection.
   * @return Number The index of the passed Ext.Element in the composite collection, or -1 if not found.
   */

/**
   * Finds children of a node
   *
   * @param node
   * @param nodes
   */

/**
   * Finds the first child by a custom function. The child matches if the function passed returns <code>true</code>.
   * @param {Function} fn A function which must return <code>true</code> if the passed Node is the required Node.
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the Node being tested.
   * @return {Node} The found child or null if none was found
   */

/**
   * Finds the first child that has the attribute with the specified value.
   * @param {String} attribute The attribute name
   * @param {Mixed} value The value to search for
   * @return {Node} The found child or null if none was found
   */

/**
   * Finds the index of the first matching Record in this store by a specific field value.
   * @param {String} fieldName The name of the Record field to test.
   * @param {Mixed} value The value to match the field against.
   * @param {Number} startIndex (optional) The index to start searching at
   * @return {Number} The matched index or -1
   */

/**
   * Finds the index of the first matching Record in this store by a specific field value.
   * @param {String} fieldName The name of the Record field to test.
   * @param {String/RegExp} value Either a string that the field value
   * should begin with, or a RegExp to test against the field.
   * @param {Number} startIndex (optional) The index to start searching at
   * @param {Boolean} anyMatch (optional) True to match any part of the string, not just the beginning
   * @param {Boolean} caseSensitive (optional) True for case sensitive comparison
   * @return {Number} The matched index or -1
   */

/**
   * Finds the index of the first matching column for the given dataIndex.
   * @param {String} col The dataIndex to find
   * @return {Number} The column index, or -1 if no match was found
   */

/**
   * Finds the index of the first matching object in this collection by a specific property/value.
   * @param {String} property The name of a property on your objects.
   * @param {String/RegExp} value A string that the property values
   * should start with or a RegExp to test against the property.
   * @param {Number} start (optional) The index to start searching at (defaults to 0).
   * @param {Boolean} anyMatch (optional) True to match any part of the string, not just the beginning.
   * @param {Boolean} caseSensitive (optional) True for case sensitive comparison.
   * @return {Number} The matched index or -1
   */

/**
   * Finds the index of the passed node.
   * @param {HTMLElement/String/Number} nodeInfo An HTMLElement template node, index of a template node or the id of a template node
   * @return {Number} The index of the node or -1
   */

/**
   * Finds the location the element should be placed if we want to move
   * it to where the mouse location less the click offset would place us.
   * @method getTargetCoord
   * @param {int} iPageX the X coordinate of the click
   * @param {int} iPageY the Y coordinate of the click
   * @return an object that contains the coordinates (Object.x and Object.y)
   * @private
   */

/**
   * Fit the given geometry or extent based on the given map size and border.
   * The size is pixel dimensions of the box to fit the extent into.
   * In most cases you will want to use the map size, that is `map.getSize()`.
   * Takes care of the map angle.
   * @param {import("./geom/SimpleGeometry.js").default|import("./extent.js").Extent} geometryOrExtent The geometry or
   *     extent to fit the view to.
   * @param {FitOptions} [options] Options.
   * @api
   */

/**
   * Fits the window within its current container and automatically replaces
   * the {@link #maximizable 'maximize' tool button} with the 'restore' tool button.
   * Also see {@link #toggleMaximize}.
   * @return {Ext.Window} this
   */

/**
   * Flexible handling of a `touch-action: none` css equivalent: because calling
   * `preventDefault()` on a `pointermove` event does not stop native page scrolling
   * and zooming, we also listen for `touchmove` and call `preventDefault()` on it
   * when an interaction (currently `DragPan` handles the event.
   * @param {TouchEvent} event Event.
   * @private
   */

/**
   * Float sorting
   * @param {Mixed} s The value being converted
   * @return {Float} The comparison value
   */

/**
   * Focus the button
   */

/**
   * Focuses the specified cell.
   * @param {Number} row The row index
   * @param {Number} col The column index
   */

/**
   * Focuses the specified row.
   * @param {Number} row The row index
   */

/**
   * Focuses the window.  If a defaultButton is set, it will receive focus, otherwise the
   * window itself will receive focus.
   */

/**
   * For use inside the library only.
   * @param {import("../Map.js").default|null} map Map.
   */

/**
   * For use inside the library only.
   * @return {import("../Map.js").default|null} Map.
   */

/**
   * Force a recalculation of the map viewport size.  This should be called when
   * third-party code changes the size of the map viewport.
   * @api
   */

/**
   * Force the Layer to sync its shadow and shim positions to the element
   */

/**
   * Force the component's size to recalculate based on the underlying element's current height and width.
   * @return {Ext.BoxComponent} this
   */

/**
   * Force this container's layout to be recalculated. A call to this function is required after adding a new component
   * to an already rendered container, or possibly after changing sizing/position properties of child components.
   * @param {Boolean} shallow (optional) True to only calc the layout of this component, and let child components auto
   * calc layouts as required (defaults to false, which calls doLayout recursively for each subcontainer)
   * @param {Boolean} force (optional) True to force a layout to occur, even if the item is hidden.
   * @return {Ext.Container} this
   */

/**
   * Four types of possible exceptions which can occur:
   * <div class="mdetail-params"><ul>
   * <li><b><tt>Ext.Direct.exceptions.TRANSPORT</tt></b> : 'xhr'</li>
   * <li><b><tt>Ext.Direct.exceptions.PARSE</tt></b> : 'parse'</li>
   * <li><b><tt>Ext.Direct.exceptions.LOGIN</tt></b> : 'login'</li>
   * <li><b><tt>Ext.Direct.exceptions.SERVER</tt></b> : 'exception'</li>
   * </ul></div>
   * @property exceptions
   * @type Object
   */

/**
   * Function to execute just before `onboxend` is fired
   * @param {import("../MapBrowserEvent.js").default} event Event.
   */

/**
   * Function which can be overridden to provide custom formatting for each Record that is used by this
   * DataView's {@link #tpl template} to render each node.
   * @param {Array/Object} data The raw data object that was used to create the Record.
   * @param {Number} recordIndex the index number of the Record being prepared for rendering.
   * @param {Record} record The Record being prepared for rendering.
   * @return {Array/Object} The formatted data in a format expected by the internal {@link #tpl template}'s overwrite() method.
   * (either an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'}))
   */

/**
   * Generate pw
   */

/**
   * Generates a random password based on the minimal criteria defined in config
   */

/**
   * Generates the body HTML for the checkbox
   * @param {Ext.form.Field} field The checkbox to print
   */

/**
   * Generates the body HTML for the combo box
   * @param {Ext.form.Field} field The field to print
   */

/**
   * Generates the body HTML for the container
   * @param {Ext.Container} container The container to print
   */

/**
   * Generates the body HTML for the field
   * @param {Ext.form.Field} field The field to print
   */

/**
   * Generates the body HTML for the grid
   * @param {Ext.grid.GridPanel} grid The grid to print
   */

/**
   * Generates the body HTML for the panel
   * @param {Ext.Panel} panel The panel to print
   */

/**
   * Generates the body HTML for the tagsPanel
   * @param {Tine.widgets.tags.TagPanel} tagsPanel
   */

/**
   * Generates the body HTML for the tree
   * @param {Ext.tree.ColumnTree} tree The tree to print
   */

/**
   * Get  the locale of a Duration, such 'en-GB'
   * @type {string}
   */

/**
   * Get a component contained by this container (alias for items.get(key))
   * @param {String/Number} key The index or id of the component
   * @return {Ext.Component} Ext.Component
   */

/**
   * Get a feature by its identifier (the value returned by feature.getId()).
   * Note that the index treats string and numeric identifiers as the same.  So
   * `source.getFeatureById(2)` will return a feature with id `'2'` or `2`.
   *
   * @param {string|number} id Feature identifier.
   * @return {import("../Feature.js").default<Geometry>|null} The feature (or `null` if not found).
   * @api
   */

/**
   * Get a feature by its internal unique identifier (using `getUid`).
   *
   * @param {string} uid Feature identifier.
   * @return {import("../Feature.js").default<Geometry>|null} The feature (or `null` if not found).
   */

/**
   * Get a list of object property names.
   * @return {Array<string>} List of property names.
   * @api
   */

/**
   * Get a reference to the underlying Array object. Warning: if the array
   * is mutated, no events will be dispatched by the collection, and the
   * collection's "length" property won't be in sync with the actual length
   * of the array.
   * @return {!Array<T>} Array.
   * @api
   */

/**
   * Get a rendering container from an existing target, if compatible.
   * @param {HTMLElement} target Potential render target.
   * @param {string} transform CSS Transform.
   * @param {string} [backgroundColor] Background color.
   */

/**
   * Get a snapshot of the features currently on the source in random order. The returned array
   * is a copy, the features are references to the features in the source.
   * @return {Array<import("../Feature.js").default<Geometry>>} Features.
   * @api
   */

/**
   * Get a tile coordinate given a map coordinate and zoom level.
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {number} z Zoom level.
   * @param {import("../tilecoord.js").TileCoord} [opt_tileCoord] Destination import("../tilecoord.js").TileCoord object.
   * @return {import("../tilecoord.js").TileCoord} Tile coordinate.
   * @api
   */

/**
   * Get a tile range for the given extent and integer zoom level.
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {number} z Integer zoom level.
   * @param {import("../TileRange.js").default} [tempTileRange] Temporary tile range object.
   * @return {import("../TileRange.js").default} Tile range.
   */

/**
   * Get a transformed and simplified version of the geometry.
   * @abstract
   * @param {number} squaredTolerance Squared tolerance.
   * @param {import("../proj.js").TransformFunction} [transform] Optional transform function.
   * @return {Geometry} Simplified geometry.
   */

/**
   * Get a valid position for the view center according to the current constraints.
   * @param {import("./coordinate.js").Coordinate|undefined} targetCenter Target center position.
   * @param {number} [targetResolution] Target resolution. If not supplied, the current one will be used.
   * This is useful to guess a valid center position at a different zoom level.
   * @return {import("./coordinate.js").Coordinate|undefined} Valid center position.
   */

/**
   * Get a valid resolution according to the current view constraints.
   * @param {number|undefined} targetResolution Target resolution.
   * @param {number} [direction=0] Indicate which resolution should be used
   * by a renderer if the view resolution does not match any resolution of the tile source.
   * If 0, the nearest resolution will be used. If 1, the nearest lower resolution
   * will be used. If -1, the nearest higher resolution will be used.
   * @return {number|undefined} Valid resolution.
   */

/**
   * Get a valid zoom level according to the current view constraints.
   * @param {number|undefined} targetZoom Target zoom.
   * @param {number} [direction=0] Indicate which resolution should be used
   * by a renderer if the view resolution does not match any resolution of the tile source.
   * If 0, the nearest resolution will be used. If 1, the nearest lower resolution
   * will be used. If -1, the nearest higher resolution will be used.
   * @return {number|undefined} Valid zoom level.
   */

/**
   * Get all features that intersect a pixel on the viewport.
   * @param {import("./pixel.js").Pixel} pixel Pixel.
   * @param {AtPixelOptions} [options] Optional options.
   * @return {Array<import("./Feature.js").FeatureLike>} The detected features or
   * an empty array if none were found.
   * @api
   */

/**
   * Get all features whose bounding box intersects the provided extent.  Note that this returns an array of
   * all features intersecting the given extent in random order (so it may include
   * features whose geometries do not intersect the extent).
   *
   * When `useSpatialIndex` is set to false, this method will return all
   * features.
   *
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {import("../proj/Projection.js").default} [projection] Include features
   * where `extent` exceeds the x-axis bounds of `projection` and wraps around the world.
   * @return {Array<import("../Feature.js").default<Geometry>>} Features.
   * @api
   */

/**
   * Get all features whose geometry intersects the provided coordinate.
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @return {Array<import("../Feature.js").default<Geometry>>} Features.
   * @api
   */

/**
   * Get all layers from all layer groups.
   * @return {Array<import("./layer/Layer.js").default>} Layers.
   * @api
   */

/**
   * Get an instance of FixedOffsetZone from a UTC offset string, like "UTC+6"
   * @param {string} s - The offset string to parse
   * @example FixedOffsetZone.parseSpecifier("UTC+6")
   * @example FixedOffsetZone.parseSpecifier("UTC+06")
   * @example FixedOffsetZone.parseSpecifier("UTC-6:00")
   * @return {FixedOffsetZone}
   */

/**
   * Get an instance with a specified offset
   * @param {number} offset - The offset in minutes
   * @return {FixedOffsetZone}
   */

/**
   * Get an object of all property names and values.
   * @return {Object<string, *>} Object.
   * @api
   */

/**
   * Get an overlay by its identifier (the value returned by overlay.getId()).
   * Note that the index treats string and numeric identifiers as the same. So
   * `map.getOverlayById(2)` will return an overlay with id `'2'` or `2`.
   * @param {string|number} id Overlay identifier.
   * @return {import("./Overlay.js").default} Overlay.
   * @api
   */

/**
   * Get an updated version of the view options used to construct the view.  The
   * current resolution (or zoom), center, and rotation are applied to any stored
   * options.  The provided options can be used to apply new min/max zoom or
   * resolution limits.
   * @param {ViewOptions} newOptions New options to be applied.
   * @return {ViewOptions} New options updated with the current view state.
   */

/**
   * Get available model for given application
   *
   *  @param {Mixed} application
   *  @param {Boolean} customFieldModel
   */

/**
   * Get data for a pixel location.  The return type depends on the source data.  For image tiles,
   * a four element RGBA array will be returned.  For data tiles, the array length will match the
   * number of bands in the dataset.  For requests outside the layer extent, `null` will be returned.
   * Data for a image tiles can only be retrieved if the source's `crossOrigin` property is set.
   *
   * ```js
   * // display layer data on every pointer move
   * map.on('pointermove', (event) => {
   *   console.log(layer.getData(event.pixel));
   * });
   * ```
   * @param {import("../pixel").Pixel} pixel Pixel.
   * @return {Uint8ClampedArray|Uint8Array|Float32Array|DataView|null} Pixel data.
   * @api
   */

/**
   * Get the (primary) radius for the shape.
   * @return {number} Radius.
   * @api
   */

/**
   * Get the DOM element into which this map is rendered. In contrast to
   * `getTarget` this method always return an `Element`, or `null` if the
   * map has no target.
   * @return {HTMLElement} The element that the map is rendered in.
   * @api
   */

/**
   * Get the English ordinal suffix of the current day (equivalent to the format specifier 'S').
   * @return {String} 'st, 'nd', 'rd' or 'th'.
   */

/**
   * Get the HTML Canvas element for this tile.
   * @return {HTMLCanvasElement} Canvas.
   */

/**
   * Get the HTML form Element
   * @return Ext.Element
   */

/**
   * Get the HTML image element for this tile (may be a Canvas, Image, or Video).
   * @return {HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} Image.
   * @api
   */

/**
   * Get the Record at the specified index.
   * @param {Number} index The index of the Record to find.
   * @return {Ext.data.Record} The Record at the passed index. Returns undefined if not found.
   */

/**
   * Get the Record with the specified id.
   * @param {String} id The id of the Record to find.
   * @return {Ext.data.Record} The Record with the passed id. Returns undefined if not found.
   */

/**
   * Get the `overflow` configuration.
   * @return {boolean} Let text overflow the length of the path they follow.
   * @api
   */

/**
   * Get the adapter this SplitBar uses
   * @return The adapter object
   */

/**
   * Get the alpha value for rendering.
   * @param {string} id An id for the renderer.
   * @param {number} time The render frame time.
   * @return {number} A number between 0 and 1.
   */

/**
   * Get the amount of meters per unit of this projection.  If the projection is
   * not configured with `metersPerUnit` or a units identifier, the return is
   * `undefined`.
   * @return {number|undefined} Meters.
   * @api
   */

/**
   * Get the anchor point in pixels. The anchor determines the center point for the
   * symbolizer.
   * @abstract
   * @return {Array<number>} Anchor.
   */

/**
   * Get the anchor point in pixels. The anchor determines the center point for the
   * symbolizer.
   * @return {Array<number>} Anchor.
   * @api
   */

/**
   * Get the angle used in generating the shape.
   * @return {number} Shape's rotation in radians.
   * @api
   */

/**
   * Get the attribution function for the source.
   * @return {?Attribution} Attribution function.
   * @api
   */

/**
   * Get the axis orientation of this projection.
   * Example values are:
   * enu - the default easting, northing, elevation.
   * neu - northing, easting, up - useful for "lat/long" geographic coordinates,
   *     or south orientated transverse mercator.
   * wnu - westing, northing, up - some planetary coordinate systems have
   *     "west positive" coordinate systems
   * @return {string} Axis orientation.
   * @api
   */

/**
   * Get the background fill style for the text.
   * @return {import("./Fill.js").default} Fill style.
   * @api
   */

/**
   * Get the background for this layer.
   * @return {BackgroundColor|false} Layer background.
   */

/**
   * Get the background stroke style for the text.
   * @return {import("./Stroke.js").default} Stroke style.
   * @api
   */

/**
   * Get the buffered rendering extent.  Rendering will be clipped to the extent
   * provided to the constructor.  To account for symbolizers that may intersect
   * this extent, we calculate a buffered extent (e.g. based on stroke width).
   * @return {import("../../extent.js").Extent} The buffered rendering extent.
   * @protected
   */

/**
   * Get the closest feature to the provided coordinate.
   *
   * This method is not available when the source is configured with
   * `useSpatialIndex` set to `false`.
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {function(import("../Feature.js").default<Geometry>):boolean} [filter] Feature filter function.
   *     The filter function will receive one argument, the {@link module:ol/Feature~Feature feature}
   *     and it should return a boolean value. By default, no filtering is made.
   * @return {import("../Feature.js").default<Geometry>} Closest feature.
   * @api
   */

/**
   * Get the code for this projection, e.g. 'EPSG:4326'.
   * @return {string} Code.
   * @api
   */

/**
   * Get the collection of layers associated with this map.
   * @return {!Collection<import("./layer/Base.js").default>} Layers.
   * @api
   */

/**
   * Get the coordinate array for this geometry.  This array has the structure
   * of a GeoJSON coordinate array for polygons.
   *
   * @param {boolean} [right] Orient coordinates according to the right-hand
   *     rule (counter-clockwise for exterior and clockwise for interior rings).
   *     If `false`, coordinates will be oriented according to the left-hand rule
   *     (clockwise for exterior and counter-clockwise for interior rings).
   *     By default, coordinate orientation will depend on how the geometry was
   *     constructed.
   * @return {Array<Array<import("../coordinate.js").Coordinate>>} Coordinates.
   * @api
   */

/**
   * Get the coordinate for a given pixel.  This returns a coordinate in the
   * map view projection.
   * @param {import("./pixel.js").Pixel} pixel Pixel position in the map viewport.
   * @return {import("./coordinate.js").Coordinate} The coordinate for the pixel position.
   */

/**
   * Get the coordinate for a given pixel.  This returns a coordinate in the
   * user projection.
   * @param {import("./pixel.js").Pixel} pixel Pixel position in the map viewport.
   * @return {import("./coordinate.js").Coordinate} The coordinate for the pixel position.
   * @api
   */

/**
   * Get the current zoom level. This method may return non-integer zoom levels
   * if the view does not constrain the resolution, or if an interaction or
   * animation is underway.
   * @return {number|undefined} Zoom.
   * @api
   */

/**
   * Get the custom point resolution function for this projection (if set).
   * @return {function(number, import("../coordinate.js").Coordinate):number|undefined} The custom point
   * resolution function (if set).
   */

/**
   * Get the custom renderer function that was configured with
   * {@link #setHitDetectionRenderer} or the `hitDetectionRenderer` constructor option.
   * @return {RenderFunction|null} Custom renderer function.
   * @api
   */

/**
   * Get the custom renderer function that was configured with
   * {@link #setRenderer} or the `renderer` constructor option.
   * @return {RenderFunction|null} Custom renderer function.
   * @api
   */

/**
   * Get the date of the first day of the month in which this date resides.
   * @return {Date}
   */

/**
   * Get the date of the last day of the month in which this date resides.
   * @return {Date}
   */

/**
   * Get the declutter mode of the shape
   * @return {"declutter"|"obstacle"|"none"|undefined} Shape's declutter mode
   * @api
   */

/**
   * Get the displacement of the shape
   * @return {Array<number>} Shape's center displacement
   * @api
   */

/**
   * Get the element at the provided index.
   * @param {number} index Index.
   * @return {T} Element.
   * @api
   */

/**
   * Get the element that serves as a container for overlays that don't allow
   * event propagation. Elements added to this container won't let mousedown and
   * touchstart events through to the map, so clicks and gestures on an overlay
   * don't trigger any {@link module:ol/MapBrowserEvent~MapBrowserEvent}.
   * @return {!HTMLElement} The map's overlay container that stops events.
   */

/**
   * Get the element that serves as the container for overlays.  Elements added to
   * this container will let mousedown and touchstart events through to the map,
   * so clicks and gestures on an overlay will trigger {@link module:ol/MapBrowserEvent~MapBrowserEvent}
   * events.
   * @return {!HTMLElement} The map's overlay container.
   */

/**
   * Get the element that serves as the map viewport.
   * @return {HTMLElement} Viewport.
   * @api
   */

/**
   * Get the extent for a tile range.
   * @param {number} z Integer zoom level.
   * @param {import("../TileRange.js").default} tileRange Tile range.
   * @param {import("../extent.js").Extent} [tempExtent] Temporary import("../extent.js").Extent object.
   * @return {import("../extent.js").Extent} Extent.
   */

/**
   * Get the extent for this tile grid, if it was configured.
   * @return {import("../extent.js").Extent} Extent.
   * @api
   */

/**
   * Get the extent of a tile coordinate.
   *
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {import("../extent.js").Extent} [tempExtent] Temporary extent object.
   * @return {import("../extent.js").Extent} Extent.
   * @api
   */

/**
   * Get the extent of the features currently in the source.
   *
   * This method is not available when the source is configured with
   * `useSpatialIndex` set to `false`.
   * @param {import("../extent.js").Extent} [extent] Destination extent. If provided, no new extent
   *     will be created. Instead, that extent's coordinates will be overwritten.
   * @return {import("../extent.js").Extent} Extent.
   * @api
   */

/**
   * Get the extent of the geometry.
   * @param {import("../extent.js").Extent} [extent] Extent.
   * @return {import("../extent.js").Extent} extent Extent.
   * @api
   */

/**
   * Get the feature identifier.  This is a stable identifier for the feature and
   * is either set when reading data from a remote source or set explicitly by
   * calling {@link module:ol/Feature~Feature#setId}.
   * @return {number|string|undefined} Id.
   * @api
   */

/**
   * Get the feature's default geometry.  A feature may have any number of named
   * geometries.  The "default" geometry (the one that is rendered by default) is
   * set when calling {@link module:ol/Feature~Feature#setGeometry}.
   * @return {Geometry|undefined} The default geometry for the feature.
   * @api
   * @observable
   */

/**
   * Get the feature's style function.
   * @return {import("./style/Style.js").StyleFunction|undefined} Return a function
   * representing the current style of this feature.
   * @api
   */

/**
   * Get the feature's style. Will return what was provided to the
   * {@link module:ol/Feature~Feature#setStyle} method.
   * @return {import("./style/Style.js").StyleLike|undefined} The feature style.
   * @api
   */

/**
   * Get the features collection associated with this source. Will be `null`
   * unless the source was configured with `useSpatialIndex` set to `false`, or
   * with an {@link module:ol/Collection~Collection} as `features`.
   * @return {Collection<import("../Feature.js").default<Geometry>>|null} The collection of features.
   * @api
   */

/**
   * Get the fill color.
   * @return {import("../color.js").Color|import("../colorlike.js").ColorLike|null} Color.
   * @api
   */

/**
   * Get the fill style for the shape.
   * @return {import("./Fill.js").default} Fill style.
   * @api
   */

/**
   * Get the fill style for the text.
   * @return {import("./Fill.js").default} Fill style.
   * @api
   */

/**
   * Get the fill style.
   * @return {import("./Fill.js").default} Fill style.
   * @api
   */

/**
   * Get the first day of the current month, adjusted for leap year.  The returned value
   * is the numeric day index within the week (0-6) which can be used in conjunction with
   * the {@link #monthNames} array to retrieve the textual day name.
   * Example:
   * <pre><code>
   var dt = new Date('1/10/2007');
   document.write(Date.dayNames[dt.getFirstDayOfMonth()]); //output: 'Monday'
   </code></pre>
   * @return {Number} The day number (0-6).
   */

/**
   * Get the font name.
   * @return {string|undefined} Font.
   * @api
   */

/**
   * Get the format associated with this source.
   *
   * @return {import("../format/Feature.js").default|undefined} The feature format.
   * @api
   */

/**
   * Get the function used to generate a geometry for rendering.
   * @return {!GeometryFunction} Function that is called with a feature
   * and returns the geometry to render instead of the feature's geometry.
   * @api
   */

/**
   * Get the geometry to be rendered.
   * @return {string|import("../geom/Geometry.js").default|GeometryFunction}
   * Feature property or geometry or function that returns the geometry that will
   * be rendered with this style.
   * @api
   */

/**
   * Get the height of the icon (in pixels).
   * @return {number} Icon height (in pixels).
   * @api
   */

/**
   * Get the icon color.
   * @return {import("../color.js").Color} Color.
   * @api
   */

/**
   * Get the image URL.
   * @return {string|undefined} Image src.
   * @api
   */

/**
   * Get the image element for the symbolizer.
   * @abstract
   * @param {number} pixelRatio Pixel ratio.
   * @return {HTMLCanvasElement|HTMLVideoElement|HTMLImageElement} Image element.
   */

/**
   * Get the image from a tile.
   * @param {import("../../ImageTile.js").default} tile Tile.
   * @return {HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} Image.
   * @protected
   */

/**
   * Get the image icon.
   * @param {number} pixelRatio Pixel ratio.
   * @return {HTMLCanvasElement} Image or Canvas element.
   * @api
   */

/**
   * Get the image icon.
   * @param {number} pixelRatio Pixel ratio.
   * @return {HTMLImageElement|HTMLCanvasElement} Image or Canvas element.
   * @api
   */

/**
   * Get the image pixel ratio.
   * @param {number} pixelRatio Pixel ratio.
   * @return {number} Pixel ratio.
   */

/**
   * Get the image style.
   * @return {import("./Image.js").default} Image style.
   * @api
   */

/**
   * Get the index within the cache of the Record with the passed id.
   * @param {String} id The id of the Record to find.
   * @return {Number} The index of the Record. Returns -1 if not found.
   */

/**
   * Get the index within the cache of the passed Record.
   * @param {Ext.data.Record} record The Ext.data.Record object to find.
   * @return {Number} The index of the passed Record. Returns -1 if not found.
   */

/**
   * Get the interim tile most suitable for rendering using the chain of interim
   * tiles. This corresponds to the  most recent tile that has been loaded, if no
   * such tile exists, the original tile is returned.
   * @return {!Tile} Best tile for rendering.
   */

/**
   * Get the justification.
   * @return {TextJustify|undefined} Justification.
   * @api
   */

/**
   * Get the key of the newest item in the cache.  Throws if the cache is empty.
   * @return {string} The newest key.
   */

/**
   * Get the label placement.
   * @return {TextPlacement} Text placement.
   * @api
   */

/**
   * Get the last day of the current month, adjusted for leap year.  The returned value
   * is the numeric day index within the week (0-6) which can be used in conjunction with
   * the {@link #monthNames} array to retrieve the textual day name.
   * Example:
   * <pre><code>
   var dt = new Date('1/10/2007');
   document.write(Date.dayNames[dt.getLastDayOfMonth()]); //output: 'Wednesday'
   </code></pre>
   * @return {Number} The day number (0-6).
   */

/**
   * Get the layer source.
   * @return {SourceType|null} The layer source (or `null` if not yet set).
   * @observable
   * @api
   */

/**
   * Get the layer states list and use this groups z-index as the default
   * for all layers in this and nested groups, if it is unset at this point.
   * If dest is not provided and this group's z-index is undefined
   * 0 is used a the default z-index.
   * @param {Array<import("./Layer.js").State>} [dest] Optional list
   * of layer states (to be modified in place).
   * @return {Array<import("./Layer.js").State>} List of layer states.
   */

/**
   * Get the layergroup associated with this map.
   * @return {LayerGroup} A layer group containing the layers in this map.
   * @observable
   * @api
   */

/**
   * Get the length of this collection.
   * @return {number} The length of the array.
   * @observable
   * @api
   */

/**
   * Get the line cap type for the stroke.
   * @return {CanvasLineCap|undefined} Line cap.
   * @api
   */

/**
   * Get the line dash offset for the stroke.
   * @return {number|undefined} Line dash offset.
   * @api
   */

/**
   * Get the line dash style for the stroke.
   * @return {Array<number>|null} Line dash.
   * @api
   */

/**
   * Get the line join type for the stroke.
   * @return {CanvasLineJoin|undefined} Line join.
   * @api
   */

/**
   * Get the list of resolutions for the tile grid.
   * @return {Array<number>} Resolutions.
   * @api
   */

/**
   * Get the listeners for a specified event type. Listeners are returned in the
   * order that they will be called in.
   *
   * @param {string} type Type.
   * @return {Array<import("../events.js").Listener>|undefined} Listeners.
   */

/**
   * Get the map associated with this control.
   * @return {import("../Map.js").default|null} Map.
   * @api
   */

/**
   * Get the map associated with this interaction.
   * @return {import("../Map.js").default|null} Map.
   * @api
   */

/**
   * Get the map controls. Modifying this collection changes the controls
   * associated with the map.
   * @return {Collection<import("./control/Control.js").default>} Controls.
   * @api
   */

/**
   * Get the map interactions. Modifying this collection changes the interactions
   * associated with the map.
   *
   * Interactions are used for e.g. pan, zoom and rotate.
   * @return {Collection<import("./interaction/Interaction.js").default>} Interactions.
   * @api
   */

/**
   * Get the map overlays. Modifying this collection changes the overlays
   * associated with the map.
   * @return {Collection<import("./Overlay.js").default>} Overlays.
   * @api
   */

/**
   * Get the map renderer.
   * @return {import("./renderer/Map.js").default|null} Renderer
   */

/**
   * Get the maximum angle between adjacent characters.
   * @return {number} Angle in radians.
   * @api
   */

/**
   * Get the maximum resolution of the view.
   * @return {number} The maximum resolution of the view.
   * @api
   */

/**
   * Get the maximum zoom level for the grid.
   * @return {number} Max zoom.
   * @api
   */

/**
   * Get the maximum zoom level for the view.
   * @return {number} The maximum zoom level.
   * @api
   */

/**
   * Get the minimum resolution of the view.
   * @return {number} The minimum resolution of the view.
   * @api
   */

/**
   * Get the minimum zoom level for the grid.
   * @return {number} Min zoom.
   * @api
   */

/**
   * Get the minimum zoom level for the view.
   * @return {number} The minimum zoom level.
   * @api
   */

/**
   * Get the miter limit for the stroke.
   * @return {number|undefined} Miter limit.
   * @api
   */

/**
   * Get the name of the feature's default geometry.  By default, the default
   * geometry is named `geometry`.
   * @return {string} Get the property name associated with the default geometry
   *     for this feature.
   * @api
   */

/**
   * Get the number of days in the current month, adjusted for leap year.
   * @return {Number} The number of days in the month.
   */

/**
   * Get the number of points for generating the shape.
   * @return {number} Number of points for stars and regular polygons.
   * @api
   */

/**
   * Get the numeric ISO-8601 week number of the year.
   * (equivalent to the format specifier 'W', but without a leading zero).
   * @return {Number} 1 to 53
   */

/**
   * Get the numeric day number of the year, adjusted for leap year.
   * @return {Number} 0 to 364 (365 in leap years).
   */

/**
   * Get the offset from GMT of the current date (equivalent to the format specifier 'O').
   * @param {Boolean} colon (optional) true to separate the hours and minutes with a colon (defaults to false).
   * @return {String} The 4-character offset string prefixed with + or - (e.g. '-0600').
   */

/**
   * Get the origin for the grid at the given zoom level.
   * @param {number} z Integer zoom level.
   * @return {import("../coordinate.js").Coordinate} Origin.
   * @api
   */

/**
   * Get the origin of the symbolizer.
   * @abstract
   * @return {Array<number>} Origin.
   */

/**
   * Get the origin of the symbolizer.
   * @return {Array<number>} Origin.
   * @api
   */

/**
   * Get the padding for the text.
   * @return {Array<number>|null} Padding.
   * @api
   */

/**
   * Get the pixel for a coordinate.  This takes a coordinate in the map view
   * projection and returns the corresponding pixel.
   * @param {import("./coordinate.js").Coordinate} coordinate A map coordinate.
   * @return {import("./pixel.js").Pixel} A pixel position in the map viewport.
   */

/**
   * Get the pixel for a coordinate.  This takes a coordinate in the user
   * projection and returns the corresponding pixel.
   * @param {import("./coordinate.js").Coordinate} coordinate A map coordinate.
   * @return {import("./pixel.js").Pixel} A pixel position in the map viewport.
   * @api
   */

/**
   * Get the pixel ratio.
   * @param {number} pixelRatio Pixel ratio.
   * @return {number} The pixel ratio of the image.
   * @api
   */

/**
   * Get the projection of the source.
   * @return {import("../proj/Projection.js").default|null} Projection.
   * @api
   */

/**
   * Get the renderer for this layer.
   * @return {RendererType|null} The layer renderer.
   */

/**
   * Get the resolution for a provided extent (in map units) and size (in pixels).
   * @param {import("./extent.js").Extent} extent Extent.
   * @param {import("./size.js").Size} [size] Box pixel size.
   * @return {number} The resolution at which the provided extent will render at
   *     the given size.
   * @api
   */

/**
   * Get the resolution for a provided extent (in map units) and size (in pixels).
   * @param {import("./extent.js").Extent} extent Extent.
   * @param {import("./size.js").Size} [size] Box pixel size.
   * @return {number} The resolution at which the provided extent will render at
   *     the given size.
   */

/**
   * Get the resolution for a zoom level.
   * @param {number} zoom Zoom level.
   * @return {number} The view resolution for the provided zoom level.
   * @api
   */

/**
   * Get the resolution for the given zoom level.
   * @param {number} z Integer zoom level.
   * @return {number} Resolution.
   * @api
   */

/**
   * Get the resolutions for the view. This returns the array of resolutions
   * passed to the constructor of the View, or undefined if none were given.
   * @return {Array<number>|undefined} The resolutions of the view.
   * @api
   */

/**
   * Get the secondary radius for the shape.
   * @return {number|undefined} Radius2.
   * @api
   */

/**
   * Get the selected node
   * @return {TreeNode} The selected node
   */

/**
   * Get the short day name for the given day number.
   * Override this function for international dates.
   * @param {Number} day A zero-based javascript day number.
   * @return {String} The short day name.
   * @static
   */

/**
   * Get the short month name for the given month number.
   * Override this function for international dates.
   * @param {Number} month A zero-based javascript month number.
   * @return {String} The short month name.
   * @static
   */

/**
   * Get the size of the icon (in pixels).
   * @return {import("../size.js").Size} Image size.
   * @api
   */

/**
   * Get the size of the icon (in pixels).
   * @return {import("../size.js").Size} Image size.
   */

/**
   * Get the size of the symbolizer (in pixels).
   * @abstract
   * @return {import("../size.js").Size} Size.
   */

/**
   * Get the size of the symbolizer (in pixels).
   * @return {import("../size.js").Size} Size.
   * @api
   */

/**
   * Get the size of this map.
   * @return {import("./size.js").Size|undefined} The size in pixels of the map in the DOM.
   * @observable
   * @api
   */

/**
   * Get the state of the source, see {@link import("./Source.js").State} for possible states.
   * @return {import("./Source.js").State} State.
   * @api
   */

/**
   * Get the stroke color.
   * @return {import("../color.js").Color|import("../colorlike.js").ColorLike} Color.
   * @api
   */

/**
   * Get the stroke style for the shape.
   * @return {import("./Stroke.js").default} Stroke style.
   * @api
   */

/**
   * Get the stroke style for the text.
   * @return {import("./Stroke.js").default} Stroke style.
   * @api
   */

/**
   * Get the stroke style.
   * @return {import("./Stroke.js").default} Stroke style.
   * @api
   */

/**
   * Get the stroke width.
   * @return {number|undefined} Width.
   * @api
   */

/**
   * Get the style for features.  This returns whatever was passed to the `style`
   * option at construction or to the `setStyle` method.
   * @return {import("../style/Style.js").StyleLike|null|undefined} Layer style.
   * @api
   */

/**
   * Get the style function.
   * @return {import("../style/Style.js").StyleFunction|undefined} Layer style function.
   * @api
   */

/**
   * Get the symbolizer opacity.
   * @return {number} Opacity.
   * @api
   */

/**
   * Get the symbolizer scale array.
   * @return {import("../size.js").Size} Scale array.
   */

/**
   * Get the symbolizer scale.
   * @return {number|import("../size.js").Size} Scale.
   * @api
   */

/**
   * Get the symoblizer rotation.
   * @return {number} Rotation.
   * @api
   */

/**
   * Get the target in which this map is rendered.
   * Note that this returns what is entered as an option or in setTarget:
   * if that was an element, it returns an element; if a string, it returns that.
   * @return {HTMLElement|string|undefined} The Element or id of the Element that the
   *     map is rendered in.
   * @observable
   * @api
   */

/**
   * Get the text alignment.
   * @return {CanvasTextAlign|undefined} Text align.
   * @api
   */

/**
   * Get the text baseline.
   * @return {CanvasTextBaseline|undefined} Text baseline.
   * @api
   */

/**
   * Get the text rotation.
   * @return {number|undefined} Rotation.
   * @api
   */

/**
   * Get the text scale.
   * @return {number|import("../size.js").Size|undefined} Scale.
   * @api
   */

/**
   * Get the text style.
   * @return {import("./Text.js").default} Text style.
   * @api
   */

/**
   * Get the text to be rendered.
   * @return {string|Array<string>|undefined} Text.
   * @api
   */

/**
   * Get the tile coordinate for the given map coordinate and resolution.  This
   * method considers that coordinates that intersect tile boundaries should be
   * assigned the higher tile coordinate.
   *
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {number} resolution Resolution.
   * @param {import("../tilecoord.js").TileCoord} [opt_tileCoord] Destination import("../tilecoord.js").TileCoord object.
   * @return {import("../tilecoord.js").TileCoord} Tile coordinate.
   * @api
   */

/**
   * Get the tile coordinate for this tile.
   * @return {import("./tilecoord.js").TileCoord} The tile coordinate.
   * @api
   */

/**
   * Get the tile pixel ratio for this source. Subclasses may override this
   * method, which is meant to return a supported pixel ratio that matches the
   * provided `pixelRatio` as close as possible.
   * @param {number} pixelRatio Pixel ratio.
   * @return {number} Tile pixel ratio.
   */

/**
   * Get the tile size for a zoom level. The type of the return value matches the
   * `tileSize` or `tileSizes` that the tile grid was configured with. To always
   * get an {@link import("../size.js").Size}, run the result through {@link module:ol/size.toSize}.
   * @param {number} z Z.
   * @return {number|import("../size.js").Size} Tile size.
   * @api
   */

/**
   * Get the timezone abbreviation of the current date (equivalent to the format specifier 'T').
   *
   * Note: The date string returned by the javascript Date object's toString() method varies
   * between browsers (e.g. FF vs IE) and system region settings (e.g. IE in Asia vs IE in America).
   * For a given date string e.g. "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)",
   * getTimezone() first tries to get the timezone abbreviation from between a pair of parentheses
   * (which may or may not be present), failing which it proceeds to get the timezone abbreviation
   * from the GMT offset portion of the date string.
   * @return {String} The abbreviated timezone name (e.g. 'CST', 'PDT', 'EDT', 'MPST' ...).
   */

/**
   * Get the topmost feature that intersects the given pixel on the viewport. Returns a promise
   * that resolves with an array of features. The array will either contain the topmost feature
   * when a hit was detected, or it will be empty.
   *
   * The hit detection algorithm used for this method is optimized for performance, but is less
   * accurate than the one used in [map.getFeaturesAtPixel()]{@link import("../Map.js").default#getFeaturesAtPixel}.
   * Text is not considered, and icons are only represented by their bounding box instead of the exact
   * image.
   *
   * @param {import("../pixel.js").Pixel} pixel Pixel.
   * @return {Promise<Array<import("../Feature").FeatureLike>>} Promise that resolves with an array of features.
   * @api
   */

/**
   * Get the type of this geometry.
   * @abstract
   * @return {Type} Geometry type.
   */

/**
   * Get the type of this geometry.
   * @return {import("./Geometry.js").Type} Geometry type.
   * @api
   */

/**
   * Get the units of this projection.
   * @return {import("./Units.js").Units} Units.
   * @api
   */

/**
   * Get the url associated with this source.
   *
   * @return {string|import("../featureloader.js").FeatureUrlFunction|undefined} The url.
   * @api
   */

/**
   * Get the validity extent for this projection.
   * @return {import("../extent.js").Extent} Extent.
   * @api
   */

/**
   * Get the value of the {@link Ext.data.Field#name named field}.
   * @param {String} name The {@link Ext.data.Field#name name of the field} to get the value of.
   * @return {Object} The value of the field.
   */

/**
   * Get the value of the {@link Field#name named field}.
   * @param {String} name The {@link Field#name name of the field} to get the value of.
   * @return {Object} The value of the field.
   */

/**
   * Get the value of unit.
   * @param {string} unit - a unit such as 'minute' or 'day'
   * @example DateTime.local(2017, 7, 4).get('month'); //=> 7
   * @example DateTime.local(2017, 7, 4).get('day'); //=> 4
   * @return {number}
   */

/**
   * Get the value of unit.
   * @param {string} unit - a unit such as 'minute' or 'day'
   * @example Duration.fromObject({years: 2, days: 3}).years //=> 2
   * @example Duration.fromObject({years: 2, days: 3}).months //=> 0
   * @example Duration.fromObject({years: 2, days: 3}).days //=> 3
   * @return {number}
   */

/**
   * Get the version number for this object.  Each time the object is modified,
   * its version number will be incremented.
   * @return {number} Revision.
   * @api
   */

/**
   * Get the view associated with this map. A view manages properties such as
   * center and resolution.
   * @return {View} The view that controls this map.
   * @observable
   * @api
   */

/**
   * Get the view center without transforming to user projection.
   * @return {import("./coordinate.js").Coordinate|undefined} The center of the view.
   */

/**
   * Get the view center.
   * @return {import("./coordinate.js").Coordinate|undefined} The center of the view.
   * @observable
   * @api
   */

/**
   * Get the view projection.
   * @return {import("./proj/Projection.js").default} The projection of the view.
   * @api
   */

/**
   * Get the view resolution.
   * @return {number|undefined} The resolution of the view.
   * @observable
   * @api
   */

/**
   * Get the view rotation.
   * @return {number} The rotation of the view in radians.
   * @observable
   * @api
   */

/**
   * Get the width of the icon (in pixels).
   * @return {number} Icon width (in pixels).
   * @api
   */

/**
   * Get the world extent for this projection.
   * @return {import("../extent.js").Extent} Extent.
   * @api
   */

/**
   * Get the x-offset for the text.
   * @return {number} Horizontal text offset.
   * @api
   */

/**
   * Get the y-offset for the text.
   * @return {number} Vertical text offset.
   * @api
   */

/**
   * Get the years.
   * @type {number}
   */

/**
   * Get the z-index for the style.
   * @return {number|undefined} ZIndex.
   * @api
   */

/**
   * Get the zero-based javascript month number for the given short/full month name.
   * Override this function for international dates.
   * @param {String} name The short/full month name.
   * @return {Number} The zero-based javascript month number.
   * @static
   */

/**
   * Get the zoom level for a resolution.
   * @param {number} resolution The resolution.
   * @return {number|undefined} The zoom level for the provided resolution.
   * @api
   */

/**
   * Get the {@link Ext.Updater} for this panel. Enables you to perform Ajax updates of this panel's body.
   * @return {Ext.Updater} The Updater
   */

/**
   * Gets a hash of only the fields that have been modified since this Record was created or commited.
   * @return Object
   */

/**
   * Gets a node in this tree by its id
   * @param {String} id
   * @return {Node}
   */

/**
   * Gets a node in this tree by its id.
   * @param {String} id
   * @return {Node}
   */

/**
   * Gets a node in this tree by its path
   * @param {String} path
   * @return {Node}
   */

/**
   * Gets a range nodes.
   * @param {Number} start (optional) The index of the first node in the range
   * @param {Number} end (optional) The index of the last node in the range
   * @return {Array} An array of nodes
   */

/**
   * Gets a record from a node
   * @param {HTMLElement} node The node to evaluate
   * @return {Record} record The {@link Ext.data.Record} object
   */

/**
   * Gets a registered Store by id
   * @param {String/Object} id The id of the Store, or a Store instance
   * @return {Ext.data.Store}
   */

/**
   * Gets a template node.
   * @param {HTMLElement/String/Number} nodeInfo An HTMLElement template node, index of a template node or the id of a template node
   * @return {HTMLElement} The node or null if it wasn't found
   */

/**
   * Gets a value.
   * @param {string} key Key name.
   * @return {*} Value.
   * @api
   */

/**
   * Gets all {@link Ext.data.Record records} modified since the last commit.  Modified records are
   * persisted across load operations (e.g., during paging). <b>Note</b>: deleted records are not
   * included.  See also <tt>{@link #pruneModifiedRecords}</tt> and
   * {@link Ext.data.Record}<tt>{@link Ext.data.Record#markDirty markDirty}.</tt>.
   * @return {Ext.data.Record[]} An array of {@link Ext.data.Record Records} containing outstanding
   * modifications.  To obtain modified fields within a modified record see
   *{@link Ext.data.Record}<tt>{@link Ext.data.Record#modified modified}.</tt>.
   */

/**
   * Gets an array of the records from an array of nodes
   * @param {Array} nodes The nodes to evaluate
   * @return {Array} records The {@link Ext.data.Record} objects
   */

/**
   * Gets an array of the selected records
   * @return {Array} An array of {@link Ext.data.Record} objects
   */

/**
   * Gets an array of the selected {@link Ext.form.Checkbox} in the group.
   * @return {Array} An array of the selected checkboxes.
   */

/**
   * Gets the DOM element for the tab strip item which activates the child panel with the specified
   * ID. Access this to change the visual treatment of the item, for example by changing the CSS class name.
   * @param {Panel/Number/String} tab The tab component, or the tab's index, or the tabs id or itemId.
   * @return {HTMLElement} The DOM node
   */

/**
   * Gets the active error message for this field.
   * @return {String} Returns the active error message on the field, if there is no error, an empty string is returned.
   */

/**
   * Gets the current XY position of the component's underlying element.
   * @param {Boolean} local (optional) If true the element's left and top are returned instead of page XY (defaults to false)
   * @return {Array} The XY position of the element (e.g., [100, 200])
   */

/**
   * Gets the current box measurements of the component's underlying element.
   * @param {Boolean} local (optional) If true the element's left and top are returned instead of page XY (defaults to false)
   * @return {Object} box An object in the format {x, y, width, height}
   */

/**
   * Gets the current height of the component's underlying element.
   * @return {Number}
   */

/**
   * Gets the current selected value of the date field
   * @return {Date} The selected date
   */

/**
   * Gets the current size of the component's underlying element, including space taken by its margins.
   * @return {Object} An object containing the element's size {width: (element width + left/right margins), height: (element height + top/bottom margins)}
   */

/**
   * Gets the current size of the component's underlying element.
   * @return {Object} An object containing the element's size {width: (element width), height: (element height)}
   */

/**
   * Gets the current width of the component's underlying element.
   * @return {Number}
   */

/**
   * Gets the currently active menu item.
   * @return {Ext.menu.CheckItem} The active item
   */

/**
   * Gets the currently selected nodes.
   * @return {Array} An array of HTMLElements
   */

/**
   * Gets the data value of the editor
   * @return {Mixed} The data value
   */

/**
   * Gets the icon CSS class currently used by all components using this action.
   */

/**
   * Gets the index of the left child of the node at the given index.
   * @param {number} index The index of the node to get the left child for.
   * @return {number} The index of the left child.
   * @private
   */

/**
   * Gets the index of the parent of the node at the given index.
   * @param {number} index The index of the node to get the parent for.
   * @return {number} The index of the parent.
   * @private
   */

/**
   * Gets the index of the right child of the node at the given index.
   * @param {number} index The index of the node to get the right child for.
   * @return {number} The index of the right child.
   * @private
   */

/**
   * Gets the indexes of the selected nodes.
   * @return {Array} An array of numeric indexes
   */

/**
   * Gets the maximum size for the resizing element
   * @return {Number} The maximum size
   */

/**
   * Gets the minimum size for the resizing element
   * @return {Number} The minimum size
   */

/**
   * Gets the number of `placeholder` occurrences in `array`.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} placeholder The placeholder to search for.
   * @returns {number} Returns the placeholder count.
   */

/**
   * Gets the number of cached records.
   * <p>If using paging, this may not be the total size of the dataset. If the data object
   * used by the Reader contains the dataset size, then the {@link #getTotalCount} function returns
   * the dataset size.  <b>Note</b>: see the Important note in {@link #load}.</p>
   * @return {Number} The number of Records in the Store's cache.
   */

/**
   * Gets the number of selected cells.
   * @return {Number}
   */

/**
   * Gets the number of selected nodes.
   * @return {Number} The node count
   */

/**
   * Gets the number of selected rows.
   * @return {Number}
   */

/**
   * Gets the number of symbols in `string`.
   *
   * @private
   * @param {string} string The string to inspect.
   * @returns {number} Returns the string size.
   */

/**
   * Gets the proxy's element
   * @return {Element} The proxy's element
   */

/**
   * Gets the proxy's ghost element
   * @return {Element} The proxy's ghost element
   */

/**
   * Gets the selected {@link Ext.form.Radio} in the group, if it exists.
   * @return {Ext.form.Radio} The selected radio.
   */

/**
   * Gets the size of a Unicode `string`.
   *
   * @private
   * @param {string} string The string inspect.
   * @returns {number} Returns the string size.
   */

/**
   * Gets the size of an ASCII `string`.
   *
   * @private
   * @param {string} string The string inspect.
   * @returns {number} Returns the string size.
   */

/**
   * Gets the source data object containing the property data.  See {@link #setSource} for details regarding the
   * format of the data object.
   * @return {Object} The data object
   */

/**
   * Gets the specified tab by id.
   * @param {String} id The tab id
   * @return {Panel} The tab
   */

/**
   * Gets the text currently displayed by all components using this action.
   */

/**
   * Gets the text for this Button
   * @return {String} The button text
   */

/**
   * Gets the total number of records in the dataset as returned by the server.
   * <p>If using paging, for this to be accurate, the data object used by the {@link #reader Reader}
   * must contain the dataset size. For remote data sources, the value for this property
   * (<tt>totalProperty</tt> for {@link Ext.data.JsonReader JsonReader},
   * <tt>totalRecords</tt> for {@link Ext.data.XmlReader XmlReader}) shall be returned by a query on the server.
   * <b>Note</b>: see the Important note in {@link #load}.</p>
   * @return {Number} The number of Records as specified in the data object passed to the Reader
   * by the Proxy.
   * <p><b>Note</b>: this value is not updated when changing the contents of the Store locally.</p>
   */

/**
   * Gets the value at `key` of `object`.
   *
   * @private
   * @param {Object} [object] The object to query.
   * @param {string} key The key of the property to get.
   * @returns {*} Returns the property value.
   */

/**
   * Gets the x,y coordinates specified by the anchor position on the element.
   * @param {String} anchor (optional) The specified anchor position (defaults to "c").  See {@link #alignTo}
   * for details on supported anchor positions.
   * @param {Boolean} local (optional) True to get the local (element top/left-relative) anchor position instead
   * of page coordinates
   * @param {Object} size (optional) An object containing the size to use for calculating anchor position
   * {width: (target width), height: (target height)} (defaults to the element's current size)
   * @return {Array} [x, y] An array containing the element's x and y coordinates
   */

/**
   * Gets the x,y coordinates to align this element with another element. See {@link #alignTo} for more info on the
   * supported position values.
   * @param {Mixed} element The element to align to.
   * @param {String} position (optional, defaults to "tl-bl?") The position to align to.
   * @param {Array} offsets (optional) Offset the positioning by [x, y]
   * @return {Array} [x, y]
   */

/**
   * Gets the xtype for this component as registered with {@link Ext.ComponentMgr}. For a list of all
   * available xtypes, see the {@link Ext.Component} header. Example usage:
   * <pre><code>
  var t = new Ext.form.TextField();
  alert(t.getXType());  // alerts 'textfield'
  </code></pre>
   * @return {String} The xtype
   */

/**
   * Goes through the chain of interim tiles and discards sections of the chain
   * that are no longer relevant.
   */

/**
   * Groups the data by the specified field.
   * @param {String} field The field name by which to sort the store's data
   * @param {Boolean} forceRegroup (optional) True to force the group to be refreshed even if the field passed
   * in is the same as the current grouping field, false to skip grouping on the same field (defaults to false)
   */

/**
   * HTML-encodes a string twice
   * @param {String} value
   * @return {String}
   */

/**
   * Handle changes in image state.
   * @param {import("../events/Event.js").default} event Image change event.
   * @private
   */

/**
   * Handle changes in image style state.
   * @param {import("../../events/Event.js").default} event Image style change event.
   * @private
   */

/**
   * Handle pointer down events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   * @protected
   */

/**
   * Handle pointer down events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   */

/**
   * Handle pointer drag events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @protected
   */

/**
   * Handle pointer drag events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   */

/**
   * Handle pointer move events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @protected
   */

/**
   * Handle pointer up events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   * @protected
   */

/**
   * Handle pointer up events.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Event.
   * @return {boolean} If the event was consumed.
   */

/**
   * Handle tile change events.
   * @param {import("../events/Event.js").default} event Event.
   * @protected
   */

/**
   * Handler when inputFileEl changes value (i.e. a new file is selected).
   * @param e
   * @private
   */

/**
   * Handler: Opens a dialog and for note creation and saves to store
   * @param action
   * @param event
   */

/**
   * Handler: Remove every selected note, 1 or more
   * @param sel
   */

/**
   * Handles the {@link module:ol/MapBrowserEvent~MapBrowserEvent map browser event} (if it was a
   * doubleclick) and eventually zooms the map.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
   * @return {boolean} `false` to stop event propagation.
   */

/**
   * Handles the {@link module:ol/MapBrowserEvent~MapBrowserEvent map browser event} (if it was a mousewheel-event) and eventually
   * zooms the map.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
   * @return {boolean} `false` to stop event propagation.
   */

/**
   * Handles the {@link module:ol/MapBrowserEvent~MapBrowserEvent map browser event} and may call into
   * other functions, if event sequences like e.g. 'drag' or 'down-up' etc. are
   * detected.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
   * @return {boolean} `false` to stop event propagation.
   * @api
   */

/**
   * Handles the {@link module:ol/MapBrowserEvent~MapBrowserEvent map browser event} if it was a
   * `KeyEvent`, and decides the direction to pan to (if an arrow key was
   * pressed).
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
   * @return {boolean} `false` to stop event propagation.
   */

/**
   * Handles the {@link module:ol/MapBrowserEvent~MapBrowserEvent map browser event} if it was a
   * `KeyEvent`, and decides whether to zoom in or out (depending on whether the
   * key pressed was '+' or '-').
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
   * @return {boolean} `false` to stop event propagation.
   */

/**
   * Handles the {@link module:ol/MapBrowserEvent~MapBrowserEvent map browser event}.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
   * @return {boolean} `false` to stop event propagation.
   * @api
   */

/**
   * Helpers
   */

/**
   * Hide this LoadMask.
   */

/**
   * Hide this button's menu (if it has one)
   */

/**
   * Hide this component.  Listen to the '{@link #beforehide}' event and return
   * <tt>false</tt> to cancel hiding the component.  Fires the '{@link #hide}'
   * event after hiding the component. Note this method is called internally if
   * the component is configured to be <code>{@link #hidden}</code>.
   * @return {Ext.Component} this
   */

/**
   * Hides a visible tip or cancels an impending show for a particular element.
   * @param {String/HTMLElement/Element} el The element that is the target of the tip.
   */

/**
   * Hides all components using this action.
   */

/**
   * Hides the drag source's {@link Ext.dd.StatusProxy}
   */

/**
   * Hides the dropdown layer if it is currently expanded. Fires the {@link #collapse} event on completion.
   */

/**
   * Hides the dropdown list if it is currently expanded. Fires the {@link #collapse} event on completion.
   */

/**
   * Hides the proxy
   * @param {Boolean} clear True to reset the status and clear the ghost contents, false to preserve them
   */

/**
   * Hides the proxy
   */

/**
   * Hides the tab strip item for the passed tab
   * @param {Number/String/Panel} item The tab index, id or item
   */

/**
   * Hides the window, setting it to invisible and applying negative offsets.
   * @param {String/Element} animateTarget (optional) The target element or id to which the window should
   * animate while hiding (defaults to null with no animation)
   * @param {Function} callback (optional) A callback function to call after the window is hidden
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this Window.
   * @return {Ext.Window} this
   */

/**
   * Hides this menu and optionally all parent menus
   * @param {Boolean} deep (optional) True to hide all parent menus recursively, if any (defaults to false)
   */

/**
   * Hides this node.
   */

/**
   * Hides this shadow
   */

/**
   * Hides this tooltip if visible.
   */

/**
   * Hooks into the view's destroy method and removes the menu and the menu
   * button.
   *
   * @protected
   */

/**
   * HttpProxy implementation of DataProxy#doRequest
   * @param {String} action
   * @param {Ext.data.Record/Ext.data.Record[]} rs If action is <tt>read</tt>, rs will be null
   * @param {Object} params An object containing properties which are to be used as HTTP parameters
   * for the request to the remote server.
   * @param {Ext.data.DataReader} reader The Reader object which converts the data
   * object into a block of Ext.data.Records.
   * @param {Function} callback The function into which to pass the block of Ext.data.Records.
   * The function must be passed <ul>
   * <li>The Record block object</li>
   * <li>The "arg" argument from the load function</li>
   * <li>A boolean success indicator</li>
   * </ul>
   * @param {Object} scope The scope (<code>this</code> reference) in which the callback function is executed. Defaults to the browser window.
   * @param {Object} arg An optional argument which is passed to the callback as its second parameter.
   */

/**
   * HttpProxy implementation of DataProxy#doRequest
   * @param {String} action The crud action type (create, read, update, destroy)
   * @param {Ext.data.Record/Ext.data.Record[]} rs If action is load, rs will be null
   * @param {Object} params An object containing properties which are to be used as HTTP parameters
   * for the request to the remote server.
   * @param {Ext.data.DataReader} reader The Reader object which converts the data
   * object into a block of Ext.data.Records.
   * @param {Function} callback
   * <div class="sub-desc"><p>A function to be called after the request.
   * The <tt>callback</tt> is passed the following arguments:<ul>
   * <li><tt>r</tt> : Ext.data.Record[] The block of Ext.data.Records.</li>
   * <li><tt>options</tt>: Options object from the action request</li>
   * <li><tt>success</tt>: Boolean success indicator</li></ul></p></div>
   * @param {Object} scope The scope (<code>this</code> reference) in which the callback function is executed. Defaults to the browser window.
   * @param {Object} arg An optional argument which is passed to the callback as its second parameter.
   * @protected
   */

/**
   * If <code>{@link #floating}=true</code>, shows this menu relative to
   * another element using {@link #showat}, otherwise uses {@link Ext.Component#show}.
   * @param {Mixed} element The element to align to
   * @param {String} position (optional) The {@link Ext.Element#alignTo} anchor position to use in aligning to
   * the element (defaults to this.defaultAlign)
   * @param {Ext.menu.Menu} parentMenu (optional) This menu's parent menu, if applicable (defaults to undefined)
   */

/**
   * If a state it passed, it becomes the pressed state otherwise the current state is toggled.
   * @param {Boolean} state (optional) Force a particular state
   * @param {Boolean} supressEvent (optional) True to stop events being fired when calling this method.
   * @return {Ext.Button} this
   */

/**
   * If any constraints need to be applied, an animation will be triggered.
   * This is typically done on interaction end.
   * Note: calling this with a duration of 0 will apply the constrained values straight away,
   * without animation.
   * @param {number} [duration] The animation duration in ms.
   * @param {number} [resolutionDirection] Which direction to zoom.
   * @param {import("./coordinate.js").Coordinate} [anchor] The origin of the transformation.
   */

/**
   * If anything is selected, clears all selections and fires the selectionchange event.
   * @param {Boolean} preventNotify <tt>true</tt> to prevent the gridview from
   * being notified about the change.
   */

/**
   * If set, these fields are readOnly (when called dependent to related record)
   *
   * @type {Ext.util.MixedCollection}
   */

/**
   * If this Region is {@link #floatable}, and this Region has been slid into floating visibility, then this method slides
   * this region back into its collapsed state.
   */

/**
   * If this Region is {@link #floatable}, this method slides this Region into full visibility <i>over the top
   * of the center Region</i> where it floats until either {@link #slideIn} is called, or other regions of the layout
   * are clicked, or the mouse exits the Region.
   */

/**
   * If this component is called from another app than the container belongs to, set this to this app
   * 
   * @cfg {Tine.Tinebase.Application} callingApp
   */

/**
   * If this radio is part of a group, it will return the selected value
   * @return {String}
   */

/**
   * Implements abstract Ext.data.DataWriter#createRecord
   * @protected
   * @param {Ext.data.Record} rec
   * @return {Object}
   */

/**
   * Implements abstract Ext.data.DataWriter#destroyRecord
   * @protected
   * @param {Ext.data.Record} rec
   * @return {Object}
   */

/**
   * Implements abstract Ext.data.DataWriter#updateRecord
   * @protected
   * @param {Ext.data.Record} rec
   * @return {Object}
   */

/**
   * Implements the default empty TriggerField.onTriggerClick function
   * 
   * @private
   */

/**
   * In charge to manage the rendering of the layer. One layer type is
   * bounded with one layer renderer.
   * @param {?import("../Map.js").FrameState} frameState Frame state.
   * @param {HTMLElement} target Target which the renderer may (but need not) use
   * for rendering its content.
   * @return {HTMLElement} The rendered element.
   */

/**
   * Increases the cache size if needed
   * @param {number} tileCount Minimum number of tiles needed.
   * @param {import("../proj/Projection.js").default} projection Projection.
   */

/**
   * Increases the revision counter and dispatches a 'change' event.
   * @api
   */

/**
   * Init actions
   */

/**
   * Initialization for the drag frame element.  Must be called in the
   * constructor of all subclasses
   * @method initFrame
   */

/**
   * Initializes a {@link Ext.dd.DDProxy} object for this element.
   * @param {String} group The group the DDProxy object is member of
   * @param {Object} config The DDProxy config object
   * @param {Object} overrides An object containing methods to override/implement on the DDProxy object
   * @return {Ext.dd.DDProxy} The DDProxy object
   */

/**
   * Initializes a {@link Ext.dd.DDTarget} object for this element.
   * @param {String} group The group the DDTarget object is member of
   * @param {Object} config The DDTarget config object
   * @param {Object} overrides An object containing methods to override/implement on the DDTarget object
   * @return {Ext.dd.DDTarget} The DDTarget object
   */

/**
   * Initializes a {@link Ext.dd.DD} drag drop object for this element.
   * @param {String} group The group the DD object is member of
   * @param {Object} config The DD config object
   * @param {Object} overrides An object containing methods to override/implement on the DD object
   * @return {Ext.dd.DD} The DD object
   */

/**
   * Initiates an auto-updating progress bar.  A duration can be specified, in which case the progress
   * bar will automatically reset after a fixed amount of time and optionally call a callback function
   * if specified.  If no duration is passed in, then the progress bar will run indefinitely and must
   * be manually cleared by calling {@link #reset}.  The wait method accepts a config object with
   * the following properties:
   * <pre>
  Property   Type          Description
  ---------- ------------  ----------------------------------------------------------------------
  duration   Number        The length of time in milliseconds that the progress bar should
                       run before resetting itself (defaults to undefined, in which case it
                       will run indefinitely until reset is called)
  interval   Number        The length of time in milliseconds between each progress update
                       (defaults to 1000 ms)
  animate    Boolean       Whether to animate the transition of the progress bar. If this value is
                       not specified, the default for the class is used.                                                   
  increment  Number        The number of progress update segments to display within the progress
                       bar (defaults to 10).  If the bar reaches the end and is still
                       updating, it will automatically wrap back to the beginning.
  text       String        Optional text to display in the progress bar element (defaults to '').
  fn         Function      A callback function to execute after the progress bar finishes auto-
                       updating.  The function will be called with no arguments.  This function
                       will be ignored if duration is not specified since in that case the
                       progress bar can only be stopped programmatically, so any required function
                       should be called by the same code after it resets the progress bar.
  scope      Object        The scope that is passed to the callback function (only applies when
                       duration and fn are both passed).
  </pre>
       *
       * Example usage:
       * <pre><code>
  var p = new Ext.ProgressBar({
  renderTo: 'my-el'
  });
  //Wait for 5 seconds, then update the status el (progress bar will auto-reset)
  p.wait({
  interval: 100, //bar will move fast!
  duration: 5000,
  increment: 15,
  text: 'Updating...',
  scope: this,
  fn: function(){
    Ext.fly('status').update('Done!');
  }
  });
  //Or update indefinitely until some async action completes, then reset manually
  p.wait();
  myAction.on('complete', function(){
  p.reset();
  Ext.fly('status').update('Done!');
  });
  </code></pre>
   * @param {Object} config (optional) Configuration options
   * @return {Ext.ProgressBar} this
   */

/**
   * Inits this plugin.
   * Method is API-only. Will be called automatically from the grid this
   * plugin is bound to.
   *
   * @param {Ext.grid.GridPanel} grid
   *
   * @throws {Exception} throws an exception if the plugin recognizes the
   * grid's "enableHdMenu" property to be set to "true"
   */

/**
   * Insert a horizontal rule into the document.
   * @param w String The width of the horizontal rule as the <tt>width</tt> attribute of the HR tag expects. ie: '100%' or '400' (pixels).
   */

/**
   * Insert a single special character into the document.
   * @param c String The special character to insert (not just the numeric code, but the entire ASCII HTML entity).
   */

/**
   * Insert a value into the RBush.
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {T} value Value.
   */

/**
   * Insert an element at the provided index.
   * @param {number} index Index.
   * @param {T} elem Element.
   * @api
   */

/**
   * Insert node(s) as the last child node of this node.
   * @param {Node/Array} node The node or Array of nodes to append
   * @return {Node} The appended node if single append, or null if an array was passed
   */

/**
   * Insert the provided element at the end of the collection.
   * @param {T} elem Element.
   * @return {number} New length of the collection.
   * @api
   */

/**
   * Inserts Records into the Store at the given index and fires the {@link #add} event.
   * See also <code>{@link #add}</code> and <code>{@link #addSorted}</code>.
   * @param {Number} index The start index at which to insert the passed Records.
   * @param {Ext.data.Record[]} records An Array of Ext.data.Record objects to add to the cache.
   */

/**
   * Inserts a Component into this Container at a specified index. Fires the
   * {@link #beforeadd} event before inserting, then fires the {@link #add} event after the
   * Component has been inserted.
   * @param {Number} index The index at which the Component will be inserted
   * into the Container's items collection
   * @param {Ext.Component} component The child Component to insert.<br><br>
   * Ext uses lazy rendering, and will only render the inserted Component should
   * it become necessary.<br><br>
   * A Component config object may be passed in order to avoid the overhead of
   * constructing a real Component object if lazy rendering might mean that the
   * inserted Component will not be rendered immediately. To take advantage of
   * this 'lazy instantiation', set the {@link Ext.Component#xtype} config
   * property to the registered type of the Component wanted.<br><br>
   * For a list of all available xtypes, see {@link Ext.Component}.
   * @return {Ext.Component} component The Component (or config object) that was
   * inserted with the Container's default config values applied.
   */

/**
   * Inserts an item at the specified index in the collection. Fires the {@link #add} event when complete.
   * @param {Number} index The index to insert the item at.
   * @param {String} key The key to associate with the new item, or the item itself.
   * @param {Object} o (optional) If the second parameter was a key, the new item.
   * @return {Object} The item inserted.
   */

/**
   * Inserts the first node before the second node in this nodes childNodes collection.
   * @param {Node} node The node to insert
   * @param {Node} refNode The node to insert before (if null the node is appended)
   * @return {Node} The inserted node
   */

/**
   * Inserts the passed text at the current cursor position. Note: the editor must be initialized and activated
   * to insert text.
   * @param {String} text
   */

/**
   * Integer sorting
   * @param {Mixed} s The value being converted
   * @return {Number} The comparison value
   */

/**
   * Interates the child nodes of this node, calling the specified function with each node. The arguments to the function
   * will be the args provided or the current node. If the function returns false at any point,
   * the iteration stops.
   * @param {Function} fn The function to call
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the current Node in the iteration.
   * @param {Array} args (optional) The args to call the function with (default to passing the current Node)
   */

/**
   * Is called after all validation is done
   * 
   * @param {Tine.Tinebase.Model.Relation} relationRecord
   * @param {Tine.Tinebase.data.Record} record
   */

/**
   * Is called when a record gets selected in the picker combo
   *
   * @param {Ext.form.ComboBox} picker
   * @param {Record} recordToAdd
   */

/**
   * Is this projection a global projection which spans the whole world?
   * @return {boolean} Whether the projection is global.
   * @api
   */

/**
   * Iterate over each element, calling the provided callback.
   * @param {function(T, number, Array<T>): *} f The function to call
   *     for every element. This function takes 3 arguments (the element, the
   *     index and the array). The return value is ignored.
   * @api
   */

/**
   * Iterate through all features on the source, calling the provided callback
   * with each one.  If the callback returns any "truthy" value, iteration will
   * stop and the function will return the same value.
   * Note: this function only iterate through the feature that have a defined geometry.
   *
   * @param {function(import("../Feature.js").default<Geometry>): T} callback Called with each feature
   *     on the source.  Return a truthy value to stop iteration.
   * @return {T|undefined} The return value from the last call to the callback.
   * @template T
   * @api
   */

/**
   * Iterate through all features whose bounding box intersects the provided
   * extent (note that the feature's geometry may not intersect the extent),
   * calling the callback with each feature.  If the callback returns a "truthy"
   * value, iteration will stop and the function will return the same value.
   *
   * If you are interested in features whose geometry intersects an extent, call
   * the {@link module:ol/source/Vector~VectorSource#forEachFeatureIntersectingExtent #forEachFeatureIntersectingExtent()} method instead.
   *
   * When `useSpatialIndex` is set to false, this method will loop through all
   * features, equivalent to {@link module:ol/source/Vector~VectorSource#forEachFeature #forEachFeature()}.
   *
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {function(import("../Feature.js").default<Geometry>): T} callback Called with each feature
   *     whose bounding box intersects the provided extent.
   * @return {T|undefined} The return value from the last call to the callback.
   * @template T
   * @api
   */

/**
   * Iterate through all features whose geometries contain the provided
   * coordinate, calling the callback with each feature.  If the callback returns
   * a "truthy" value, iteration will stop and the function will return the same
   * value.
   *
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @param {function(import("../Feature.js").default<Geometry>): T} callback Called with each feature
   *     whose goemetry contains the provided coordinate.
   * @return {T|undefined} The return value from the last call to the callback.
   * @template T
   */

/**
   * Iterate through all features whose geometry intersects the provided extent,
   * calling the callback with each feature.  If the callback returns a "truthy"
   * value, iteration will stop and the function will return the same value.
   *
   * If you only want to test for bounding box intersection, call the
   * {@link module:ol/source/Vector~VectorSource#forEachFeatureInExtent #forEachFeatureInExtent()} method instead.
   *
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {function(import("../Feature.js").default<Geometry>): T} callback Called with each feature
   *     whose geometry intersects the provided extent.
   * @return {T|undefined} The return value from the last call to the callback.
   * @template T
   * @api
   */

/**
   * Iterates each <code>element</code> in this <code>composite</code>
   * calling the supplied function using {@link Ext#each}.
   * @param {Function} fn The function to be called with each
   * <code>element</code>. If the supplied function returns <tt>false</tt>,
   * iteration stops. This function is called with the following arguments:
   * <div class="mdetail-params"><ul>
   * <li><code>element</code> : <i>Ext.Element</i><div class="sub-desc">The element at the current <code>index</code>
   * in the <code>composite</code></div></li>
   * <li><code>composite</code> : <i>Object</i> <div class="sub-desc">This composite.</div></li>
   * <li><code>index</code> : <i>Number</i> <div class="sub-desc">The current index within the <code>composite</code> </div></li>
   * </ul></div>
   * @param {Object} scope (optional) The scope (<code><this</code> reference) in which the specified function is executed.
   * Defaults to the <code>element</code> at the current <code>index</code>
   * within the composite.
   * @return {CompositeElement} this
   */

/**
   * Iterates through the {@link Ext.form.Field Field}s which have been {@link #add add}ed to this BasicForm,
   * checks them for an id attribute, and calls {@link Ext.form.Field#applyToMarkup} on the existing dom element with that id.
   * @return {BasicForm} this
   */

/**
   * Json Response from updateMultipleRecords
   * @type String
   */

/**
   * Keeps track on how many pointers are currently active.
   *
   * @param {PointerEvent} pointerEvent Pointer
   * event.
   * @private
   */

/**
   * Listener for the beforeshow-event of the menu.
   * Default implementation calls the view's beforeColMenuShow-method
   * in the scope of this plugin.
   *
   * Overwrite this for custom behavior.
   *
   * @param {Ext.menu.Menu} menu
   *
   * @protected
   */

/**
   * Listener for the click event of the menuBtn element.
   * Used internally to show the menu.
   *
   * @param {Ext.EventObject} e
   * @param {HtmlElement} t
   *
   * @protected
   */

/**
   * Load an {@link Ext.tree.TreeNode} from the URL specified in the constructor.
   * This is called automatically when a node is expanded, but may be used to reload
   * a node (or append new children if the {@link #clearOnLoad} option is false.)
   * @param {Ext.tree.TreeNode} node
   * @param {Function} callback Function to call after the node has been loaded. The
   * function is passed the TreeNode which was requested to be loaded.
   * @param (Object) scope The cope (<code>this</code> reference) in which the callback is executed.
   * defaults to the loaded TreeNode.
   */

/**
   * Load not yet loaded URI.
   * @abstract
   */

/**
   * Load not yet loaded URI.
   * When rendering a feature with an icon style, the vector renderer will
   * automatically call this method. However, you might want to call this
   * method yourself for preloading or other purposes.
   * @api
   */

/**
   * Load not yet loaded URI.
   */

/**
   * Load the image if not already loaded, and register the image change
   * listener if needed.
   * @param {import("../ImageBase.js").default} image Image.
   * @return {boolean} `true` if the image is already loaded, `false` otherwise.
   * @protected
   */

/**
   * Load the image or retry if loading previously failed.
   * Loading is taken care of by the tile queue, and calling this method is
   * only needed for preloading or for reloading in case of an error.
   *
   * To retry loading tiles on failed requests, use a custom `tileLoadFunction`
   * that checks for error status codes and reloads only when the status code is
   * 408, 429, 500, 502, 503 and 504, and only when not too many retries have been
   * made already:
   *
   * ```js
   * const retryCodes = [408, 429, 500, 502, 503, 504];
   * const retries = {};
   * source.setTileLoadFunction((tile, src) => {
   *   const image = tile.getImage();
   *   fetch(src)
   *     .then((response) => {
   *       if (retryCodes.includes(response.status)) {
   *         retries[src] = (retries[src] || 0) + 1;
   *         if (retries[src] <= 3) {
   *           setTimeout(() => tile.load(), retries[src] * 1000);
   *         }
   *         return Promise.reject();
   *       }
   *       return response.blob();
   *     })
   *     .then((blob) => {
   *       const imageUrl = URL.createObjectURL(blob);
   *       image.src = imageUrl;
   *       setTimeout(() => URL.revokeObjectURL(imageUrl), 5000);
   *     })
   *     .catch(() => tile.setState(3)); // error
   * });
   * ```
   *
   * @api
   */

/**
   * Load the image or retry if loading previously failed.
   * Loading is taken care of by the tile queue, and calling this method is
   * only needed for preloading or for reloading in case of an error.
   * @abstract
   * @api
   */

/**
   * Loads an {@link Ext.data.Record} into this form by calling {@link #setValues} with the
   * {@link Ext.data.Record#data record data}.
   * See also {@link #trackResetOnLoad}.
   * @param {Record} record The record to load
   * @return {BasicForm} this
   */

/**
   * Loads data from a passed data block and fires the {@link #load} event. A {@link Ext.data.Reader Reader}
   * which understands the format of the data must have been configured in the constructor.
   * @param {Object} data The data block from which to read the Records.  The format of the data expected
   * is dependent on the type of {@link Ext.data.Reader Reader} that is configured and should correspond to
   * that {@link Ext.data.Reader Reader}'s <tt>{@link Ext.data.Reader#readRecords}</tt> parameter.
   * @param {Boolean} append (Optional) <tt>true</tt> to append the new Records rather the default to replace
   * the existing cache.
   * <b>Note</b>: that Records in a Store are keyed by their {@link Ext.data.Record#id id}, so added Records
   * with ids which are already present in the Store will <i>replace</i> existing Records. Only Records with
   * new, unique ids will be added.
   */

/**
   * Locks the selections.
   */

/**
   * Make a complete copy of the geometry.
   * @abstract
   * @return {!Geometry} Clone.
   */

/**
   * Make a complete copy of the geometry.
   * @return {!LinearRing} Clone.
   * @api
   */

/**
   * Make a complete copy of the geometry.
   * @return {!Point} Clone.
   * @api
   */

/**
   * Make a complete copy of the geometry.
   * @return {!Polygon} Clone.
   * @api
   */

/**
   * Make this Duration longer by the specified amount. Return a newly-constructed Duration.
   * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
   * @return {Duration}
   */

/**
   * Make this Duration shorter by the specified amount. Return a newly-constructed Duration.
   * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
   * @return {Duration}
   */

/**
   * Make this a heap. O(N).
   * @private
   */

/**
   * Makes the grid readonly, this means, no dialogs, no actions, nothing else than selection, no dbclick
   */

/**
   * Makes this the active window by showing its shadow, or deactivates it by hiding its shadow.  This method also
   * fires the {@link #activate} or {@link #deactivate} event depending on which action occurred. This method is
   * called internally by {@link Ext.WindowMgr}.
   * @param {Boolean} active True to activate the window, false to deactivate it (defaults to false)
   */

/**
   * Manage tile pyramid.
   * This function performs a number of functions related to the tiles at the
   * current zoom and lower zoom levels:
   * - registers idle tiles in frameState.wantedTiles so that they are not
   *   discarded by the tile queue
   * - enqueues missing tiles
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {import("../../source/Tile.js").default} tileSource Tile source.
   * @param {import("../../tilegrid/TileGrid.js").default} tileGrid Tile grid.
   * @param {number} pixelRatio Pixel ratio.
   * @param {import("../../proj/Projection.js").default} projection Projection.
   * @param {import("../../extent.js").Extent} extent Extent.
   * @param {number} currentZ Current Z.
   * @param {number} preload Load low resolution tiles up to `preload` levels.
   * @param {function(import("../../Tile.js").default):void} [tileCallback] Tile callback.
   * @protected
   */

/**
   * Mark a transition as complete.
   * @param {string} id An id for the renderer.
   */

/**
   * Mark fields in this form invalid in bulk.
   * @param {Array/Object} errors Either an array in the form [{id:'fieldId', msg:'The message'},...] or an object hash of {id: msg, id2: msg2}
   * @return {BasicForm} this
   */

/**
   * Marks a tile coord as being used, without triggering a load.
   * @abstract
   * @param {number} z Tile coordinate z.
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   * @param {import("../proj/Projection.js").default} projection Projection.
   */

/**
   * Marks a tile coord as being used, without triggering a load.
   * @param {number} z Tile coordinate z.
   * @param {number} x Tile coordinate x.
   * @param {number} y Tile coordinate y.
   */

/**
   * Math.trunc polyfill
   *
   * https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc
   *
   * @param x
   * @return {*}
   */

/**
   * Merge an array of Intervals into a equivalent minimal set of Intervals.
   * Combines overlapping and adjacent Intervals.
   * @param {[Interval]} intervals
   * @return {[Interval]}
   */

/**
   * Method that is called immediately before the <code>hide</code> event is fired.
   * Defaults to <code>Ext.emptyFn</code>.
   */

/**
   * Method that is called immediately before the <code>show</code> event is fired.
   * Defaults to <code>Ext.emptyFn</code>.
   */

/**
   * Move this element relative to its current position.
   * @param {String} direction Possible values are: "l" (or "left"), "r" (or "right"), "t" (or "top", or "up"), "b" (or "bottom", or "down").
   * @param {Number} distance How far to move the element in pixels
   * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
   * @return {Ext.Element} this
   */

/**
   * Moves a column from one position to another.
   * @param {Number} oldIndex The index of the column to move.
   * @param {Number} newIndex The position at which to reinsert the coolumn.
   * @param suppressEvent
   */

/**
   * Moves the proxy to a different position in the DOM.  This is typically called while dragging the Panel
   * to keep the proxy sync'd to the Panel's location.
   * @param {HTMLElement} parentNode The proxy's parent DOM node
   * @param {HTMLElement} before (optional) The sibling node before which the proxy should be inserted (defaults
   * to the parent's last child if not specified)
   */

/**
   * Multiply the view resolution by a ratio, optionally using an anchor. Any resolution
   * constraint will apply.
   * @param {number} ratio The ratio to apply on the view resolution.
   * @param {import("./coordinate.js").Coordinate} [anchor] The origin of the transformation.
   * @api
   */

/**
   * Multiply the view resolution by a ratio, optionally using an anchor. Any resolution
   * constraint will apply.
   * @param {number} ratio The ratio to apply on the view resolution.
   * @param {import("./coordinate.js").Coordinate} [anchor] The origin of the transformation.
   */

/**
   * NOTE as localStorage don't sends events for own window, we need to
   * intercept store write options
   */

/**
   * NOTE: in Ext.util.MixedCollection you can't register for specific keys
   *       so we add this capability as a fours parameter
   * NOTE: we only support the replace event yet and do no mapping computations
   */

/**
   * No user interactions, menus etc. allowed except for browsing
   */

/**
   * Note that this method should not be called for resolutions that correspond
   * to an integer zoom level.  Instead call the `getTileCoordForXYAndZ_` method.
   * @param {number} x X.
   * @param {number} y Y.
   * @param {number} resolution Resolution (for a non-integer zoom level).
   * @param {boolean} reverseIntersectionPolicy Instead of letting edge
   *     intersections go to the higher tile coordinate, let edge intersections
   *     go to the lower tile coordinate.
   * @param {import("../tilecoord.js").TileCoord} [opt_tileCoord] Temporary import("../tilecoord.js").TileCoord object.
   * @return {import("../tilecoord.js").TileCoord} Tile coordinate.
   * @private
   */

/**
   * Notify the View that an interaction has ended. The view state will be resolved
   * to a stable one if needed (depending on its constraints).
   * @param {number} [duration] Animation duration in ms.
   * @param {number} [resolutionDirection] Which direction to zoom.
   * @param {import("./coordinate.js").Coordinate} [anchor] The origin of the transformation.
   * @api
   */

/**
   * Notify the View that an interaction has ended. The view state will be resolved
   * to a stable one if needed (depending on its constraints).
   * @param {number} [duration] Animation duration in ms.
   * @param {number} [resolutionDirection] Which direction to zoom.
   * @param {import("./coordinate.js").Coordinate} [anchor] The origin of the transformation.
   */

/**
   * Notify the View that an interaction has started.
   * The view state will be resolved to a stable one if needed
   * (depending on its constraints).
   * @api
   */

/**
   * Number of lines the box can grow to be.
   * NOTE: if set, the container in which the Picker is rendered has to adjust it's height to show the full content.
   *
   * @type {number|null} MultiLine
   */

/**
   * Object collection of toolbar tooltips for the buttons in the editor. The key
   * is the command id associated with that button and the value is a valid QuickTips object.
   * For example:
  <pre><code>
  {
  bold : {
      title: 'Bold (Ctrl+B)',
      text: 'Make the selected text bold.',
      cls: 'x-html-editor-tip'
  },
  italic : {
      title: 'Italic (Ctrl+I)',
      text: 'Make the selected text italic.',
      cls: 'x-html-editor-tip'
  },
  ...
  </code></pre>
  * @type Object
   */

/**
   * Open browsers native popup
   *
   * @param {string}     windowName
   * @param {string}     url
   * @param width
   * @param height
   */

/**
   * Opens the required EditDialog
   * @param {Object} actionButton the button the action was called from
   * @param {Tine.Tinebase.data.Record} record the record to display/edit in the dialog
   * @param {Array} plugins the plugins used for the edit dialog
   * @param {Object} additionalConfig plain Object, which will be applied to the edit dialog on initComponent
   * @return {Boolean}
   */

/**
   * Optional. A function which returns displayable data when passed the following parameters:
   * <div class="mdetail-params"><ul>
   * <li><b>value</b> : Object<p class="sub-desc">The data value for the cell.</p></li>
   * <li><b>metadata</b> : Object<p class="sub-desc">An object in which you may set the following attributes:<ul>
   * <li><b>css</b> : String<p class="sub-desc">A CSS class name to add to the cell's TD element.</p></li>
   * <li><b>attr</b> : String<p class="sub-desc">An HTML attribute definition string to apply to the data container
   * element <i>within</i> the table cell (e.g. 'style="color:red;"').</p></li></ul></p></li>
   * <li><b>record</b> : Ext.data.record<p class="sub-desc">The {@link Ext.data.Record} from which the data was
   * extracted.</p></li>
   * <li><b>rowIndex</b> : Number<p class="sub-desc">Row index</p></li>
   * <li><b>colIndex</b> : Number<p class="sub-desc">Column index</p></li>
   * <li><b>store</b> : Ext.data.Store<p class="sub-desc">The {@link Ext.data.Store} object from which the Record
   * was extracted.</p></li>
   * </ul></div>
   * @property renderer
   * @type Function
   */

/**
   * Overridden and disabled. The editor element does not support standard valid/invalid marking. @hide
   * @method
   */

/**
   * Override this function to apply custom CSS classes to rows during rendering.  You can also supply custom
   * parameters to the row template for the current row to customize how it is rendered using the <b>rowParams</b>
   * parameter.  This function should return the CSS class name (or empty string '' for none) that will be added
   * to the row's wrapping div.  To apply multiple class names, simply return them space-delimited within the string
   * (e.g., 'my-class another-class'). Example usage:
  <pre><code>
  viewConfig: {
  forceFit: true,
  showPreview: true, // custom property
  enableRowBody: true, // required to create a second, full-width row to show expanded Record data
  getRowClass: function(record, rowIndex, rp, ds){ // rp = rowParams
      if(this.showPreview){
          rp.body = '&lt;p>'+record.data.excerpt+'&lt;/p>';
          return 'x-grid3-row-expanded';
      }
      return 'x-grid3-row-collapsed';
  }
  },     
  </code></pre>
   * @param {Record} record The {@link Ext.data.Record} corresponding to the current row.
   * @param {Number} index The row index.
   * @param {Object} rowParams A config object that is passed to the row template during rendering that allows
   * customization of various aspects of a grid row.
   * <p>If {@link #enableRowBody} is configured <b><tt></tt>true</b>, then the following properties may be set
   * by this function, and will be used to render a full-width expansion row below each grid row:</p>
   * <ul>
   * <li><code>body</code> : String <div class="sub-desc">An HTML fragment to be used as the expansion row's body content (defaults to '').</div></li>
   * <li><code>bodyStyle</code> : String <div class="sub-desc">A CSS style specification that will be applied to the expansion row's &lt;tr> element. (defaults to '').</div></li>
   * </ul>
   * The following property will be passed in, and may be appended to:
   * <ul>
   * <li><code>tstyle</code> : String <div class="sub-desc">A CSS style specification that willl be applied to the &lt;table> element which encapsulates
   * both the standard grid row, and any expansion row.</div></li>
   * </ul>
   * @param {Store} store The {@link Ext.data.Store} this grid is bound to
   * @method getRowClass
   * @return {String} a CSS class name to add to the row.
   */

/**
   * Overrides initComponent to reenable field if it is empty
   */

/**
   * Overrides setValue and shows trigger field if value is empty and hides if it is filled
   *
   * @return {Ext.form.Field} this
   * @param value
   */

/**
   * Padding (in css pixels).
   * If the map viewport is partially covered with other content (overlays) along
   * its edges, this setting allows to shift the center of the viewport away from that
   * content. The order of the values in the array is top, right, bottom, left.
   * The default is no padding, which is equivalent to `[0, 0, 0, 0]`.
   * @type {Array<number>|undefined}
   * @api
   */

/**
   * Pads the left side of a string with a specified character.  This is especially useful
   * for normalizing number and date strings.  Example usage:
   * <pre><code>
  var s = String.leftPad('123', 5, '0');
  // s now contains the string: '00123'
   * </code></pre>
   * @param {String} string The original string
   * @param {Number} size The total length of the output string
   * @param {String} char (optional) The character with which to pad the original string (defaults to empty string " ")
   * @return {String} The padded string
   * @static
   */

/**
   * Parses the passed string using the specified date format.
   * Note that this function expects normal calendar dates, meaning that months are 1-based (i.e. 1 = January).
   * The {@link #defaults} hash will be used for any date value (i.e. year, month, day, hour, minute, second or millisecond)
   * which cannot be found in the passed string. If a corresponding default date value has not been specified in the {@link #defaults} hash,
   * the current date's year, month, day or DST-adjusted zero-hour time value will be used instead.
   * Keep in mind that the input date string must precisely match the specified format string
   * in order for the parse operation to be successful (failed parse operations return a null value).
   * <p>Example:</p><pre><code>
  //dt = Fri May 25 2007 (current date)
  var dt = new Date();
  //dt = Thu May 25 2006 (today&#39;s month/day in 2006)
  dt = Date.parseDate("2006", "Y");
  //dt = Sun Jan 15 2006 (all date parts specified)
  dt = Date.parseDate("2006-01-15", "Y-m-d");
  //dt = Sun Jan 15 2006 15:20:01
  dt = Date.parseDate("2006-01-15 3:20:01 PM", "Y-m-d g:i:s A");
  // attempt to parse Sun Feb 29 2006 03:20:01 in strict mode
  dt = Date.parseDate("2006-02-29 03:20:01", "Y-m-d H:i:s", true); // returns null
  </code></pre>
   * @param {String} input The raw date string.
   * @param {String} format The expected date string format.
   * @param {Boolean} strict (optional) True to validate date strings while parsing (i.e. prevents javascript Date "rollover")
                      (defaults to false). Invalid date strings will return null when parsed.
   * @return {Date} The parsed Date.
   * @static
   */

/**
   * Perform a manual resize and fires the 'resize' event.
   * @param {Number} width
   * @param {Number} height
   */

/**
   * Perform action necessary to get the layer rendered after new fonts have loaded
   * @abstract
   */

/**
   * Perform action necessary to get the layer rendered after new fonts have loaded
   */

/**
   * Performs a predefined action ({@link Ext.form.Action.Submit} or
   * {@link Ext.form.Action.Load}) or a custom extension of {@link Ext.form.Action}
   * to perform application-specific processing.
   * @param {String/Object} actionName The name of the predefined action type,
   * or instance of {@link Ext.form.Action} to perform.
   * @param {Object} options (optional) The options to pass to the {@link Ext.form.Action}.
   * All of the config options listed below are supported by both the
   * {@link Ext.form.Action.Submit submit} and {@link Ext.form.Action.Load load}
   * actions unless otherwise noted (custom actions could also accept
   * other config options):<ul>
   *
   * <li><b>url</b> : String<div class="sub-desc">The url for the action (defaults
   * to the form's {@link #url}.)</div></li>
   *
   * <li><b>method</b> : String<div class="sub-desc">The form method to use (defaults
   * to the form's method, or POST if not defined)</div></li>
   *
   * <li><b>params</b> : String/Object<div class="sub-desc"><p>The params to pass
   * (defaults to the form's baseParams, or none if not defined)</p>
   * <p>Parameters are encoded as standard HTTP parameters using {@link Ext#urlEncode}.</p></div></li>
   *
   * <li><b>headers</b> : Object<div class="sub-desc">Request headers to set for the action
   * (defaults to the form's default headers)</div></li>
   *
   * <li><b>success</b> : Function<div class="sub-desc">The callback that will
   * be invoked after a successful response (see top of
   * {@link Ext.form.Action.Submit submit} and {@link Ext.form.Action.Load load}
   * for a description of what constitutes a successful response).
   * The function is passed the following parameters:<ul>
   * <li><tt>form</tt> : Ext.form.BasicForm<div class="sub-desc">The form that requested the action</div></li>
   * <li><tt>action</tt> : The {@link Ext.form.Action Action} object which performed the operation.
   * <div class="sub-desc">The action object contains these properties of interest:<ul>
   * <li><tt>{@link Ext.form.Action#response response}</tt></li>
   * <li><tt>{@link Ext.form.Action#result result}</tt> : interrogate for custom postprocessing</li>
   * <li><tt>{@link Ext.form.Action#type type}</tt></li>
   * </ul></div></li></ul></div></li>
   *
   * <li><b>failure</b> : Function<div class="sub-desc">The callback that will be invoked after a
   * failed transaction attempt. The function is passed the following parameters:<ul>
   * <li><tt>form</tt> : The {@link Ext.form.BasicForm} that requested the action.</li>
   * <li><tt>action</tt> : The {@link Ext.form.Action Action} object which performed the operation.
   * <div class="sub-desc">The action object contains these properties of interest:<ul>
   * <li><tt>{@link Ext.form.Action#failureType failureType}</tt></li>
   * <li><tt>{@link Ext.form.Action#response response}</tt></li>
   * <li><tt>{@link Ext.form.Action#result result}</tt> : interrogate for custom postprocessing</li>
   * <li><tt>{@link Ext.form.Action#type type}</tt></li>
   * </ul></div></li></ul></div></li>
   *
   * <li><b>scope</b> : Object<div class="sub-desc">The scope in which to call the
   * callback functions (The <tt>this</tt> reference for the callback functions).</div></li>
   *
   * <li><b>clientValidation</b> : Boolean<div class="sub-desc">Submit Action only.
   * Determines whether a Form's fields are validated in a final call to
   * {@link Ext.form.BasicForm#isValid isValid} prior to submission. Set to <tt>false</tt>
   * to prevent this. If undefined, pre-submission field validation is performed.</div></li></ul>
   *
   * @return {BasicForm} this
   */

/**
   * Persists the values in this form into the passed {@link Ext.data.Record} object in a beginEdit/endEdit block.
   * @param {Record} record The record to edit
   * @return {BasicForm} this
   */

/**
   * Placeholder method for minimizing the window.  By default, this method simply fires the {@link #minimize} event
   * since the behavior of minimizing a window is application-specific.  To implement custom minimize behavior,
   * either the minimize event can be handled or this method can be overridden.
   * @return {Ext.Window} this
   */

/**
   * Plain Object with additional configuration (JSON-encoded)
   *
   * @type {Object}
   */

/**
   * Points the source to a new url. The next render cycle will use the new url.
   * @param {string|import("../featureloader.js").FeatureUrlFunction} url Url.
   * @api
   */

/**
   * Prepares data from the grid for use in the XTemplate
   * @param {Ext.grid.GridPanel} grid The grid panel
   * @return {Array} Data suitable for use in the XTemplate
   */

/**
   * Prevent default. This means that no emulated `click`, `singleclick` or `doubleclick` events
   * will be fired.
   * @api
   */

/**
   * Prevents further propagation of the current event.
   * See https://developer.mozilla.org/en-US/docs/Web/API/event.stopPropagation.
   * @api
   */

/**
   * Prevents the default browser action.
   * See https://developer.mozilla.org/en-US/docs/Web/API/event.preventDefault.
   * @api
   */

/**
   * Prints the component using the hidden iframe strategy
   * @param {Ext.Component} component The component to print
   */

/**
   * Programmatically sets the value of the Slider. Ensures that the value is constrained within
   * the minValue and maxValue.
   * @param {Number} value The value to set the slider to. (This will be constrained within minValue and maxValue)
   * @param {Boolean} animate Turn on or off animation, defaults to true
   */

/**
   * Protected method that will not generally be called directly. If you need/want
   * custom HTML cleanup, this is the method you should override.
   * @param {String} html The HTML to be cleaned
   * @return {String} The cleaned HTML
   */

/**
   * Protected method that will not generally be called directly. It
   * is called when the editor initializes the iframe with HTML contents. Override this method if you
   * want to change the initialization markup of the iframe (e.g. to add stylesheets).
   *
   * Note: IE8-Standards has unwanted scroller behavior, so the default meta tag forces IE7 compatibility
   */

/**
   * Protected method that will not generally be called directly. It triggers
   * a toolbar update by reading the markup state of the current selection in the editor.
   */

/**
   * Protected method that will not generally be called directly. Pushes the value of the textarea
   * into the iframe editor.
   */

/**
   * Protected method that will not generally be called directly. Syncs the contents
   * of the editor iframe with the textarea.
   */

/**
   * Provides a convenient method for performing basic date arithmetic. This method
   * does not modify the Date instance being called - it creates and returns
   * a new Date instance containing the resulting date value.
   *
   * Examples:
   * <pre><code>
   // Basic usage:
   var dt = new Date('10/29/2006').add(Date.DAY, 5);
   document.write(dt); //returns 'Fri Nov 03 2006 00:00:00'
    // Negative values will be subtracted:
   var dt2 = new Date('10/1/2006').add(Date.DAY, -5);
   document.write(dt2); //returns 'Tue Sep 26 2006 00:00:00'
    // You can even chain several calls together in one line:
   var dt3 = new Date('10/1/2006').add(Date.DAY, 5).add(Date.HOUR, 8).add(Date.MINUTE, -30);
   document.write(dt3); //returns 'Fri Oct 06 2006 07:30:00'
   </code></pre>
   *
   * @param {String} interval A valid date interval enum value.
   * @param {Number} value The amount to add to the current date.
   * @return {Date} The new Date instance.
   */

/**
   * Provides access to the {@link Ext.form.BasicForm Form} which this Panel contains.
   * @return {Ext.form.BasicForm} The {@link Ext.form.BasicForm Form} which this Panel contains.
   */

/**
   * Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.
   * @return {Ext.Container} the Container which owns this Component.
   */

/**
   * Prune all tiles from the cache that don't have the same z as the newest tile.
   */

/**
   * Query the cached records in this Store using a filtering function. The specified function
   * will be called with each record in this Store. If the function returns <tt>true</tt> the record is
   * included in the results.
   * @param {Function} fn The function to be called. It will be passed the following parameters:<ul>
   * <li><b>record</b> : Ext.data.Record<p class="sub-desc">The {@link Ext.data.Record record}
   * to test for filtering. Access field values using {@link Ext.data.Record#get}.</p></li>
   * <li><b>id</b> : Object<p class="sub-desc">The ID of the Record passed.</p></li>
   * </ul>
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to this Store.
   * @return {MixedCollection} Returns an Ext.util.MixedCollection of the matched records
   **/

/**
   * Query the records by a specified property.
   * @param {String} field A field on your records
   * @param {String/RegExp} value Either a string that the field
   * should begin with, or a RegExp to test against the field.
   * @param {Boolean} anyMatch (optional) True to match any part not just the beginning
   * @param {Boolean} caseSensitive (optional) True for case sensitive comparison
   * @return {MixedCollection} Returns an Ext.util.MixedCollection of the matched records
   */

/**
   * Quick set left and top adding default units
   * @param {String} left The left CSS property value
   * @param {String} top The top CSS property value
   * @return {Ext.Element} this
   */

/**
   * Read only. The CSS style specification string added to field labels in this layout if not
   * otherwise {@link Ext.Component#labelStyle specified by each contained field}.
   * @type String
   * @property labelStyle
   */

/**
   * Read-only. The UI for this node
   * @type TreeNodeUI
   */

/**
   * Read-only. The text for this node. To change it use <code>{@link #setText}</code>.
   * @type String
   */

/**
   * Read-only. True if the mask is currently disabled so that it will not be displayed (defaults to false)
   * @type Boolean
   */

/**
   * Read-only. True if this button is disabled
   * @type Boolean
   */

/**
   * Read-only. True if this button is hidden
   * @type Boolean
   */

/**
   * Read-only. True if this button is pressed (only if enableToggle = true)
   * @type Boolean
   */

/**
   * Readonly flag - true if this Record has been modified.
   * @type Boolean
   */

/**
   * Realigns the editor to the bound field based on the current alignment config value.
   * @param {Boolean} autoSize (optional) True to size the field to the dimensions of the bound element.
   */

/**
   * Recompute rotation/resolution/center based on target values.
   * Note: we have to compute rotation first, then resolution and center considering that
   * parameters can influence one another in case a view extent constraint is present.
   * @param {boolean} [doNotCancelAnims] Do not cancel animations.
   * @param {boolean} [forceMoving] Apply constraints as if the view is moving.
   * @private
   */

/**
   * Recomputes the viewport size and save it on the view object (if any)
   * @private
   */

/**
   * Redraws all text after new fonts have loaded
   */

/**
   * Reduce this Duration to its canonical representation in its current units.
   * @example Duration.fromObject({ years: 2, days: 5000 }).normalize().toObject() //=> { years: 15, days: 255 }
   * @example Duration.fromObject({ hours: 12, minutes: -45 }).normalize().toObject() //=> { hours: 11, minutes: 15 }
   * @return {Duration}
   */

/**
   * Referenced grid panel
   */

/**
   * Refreshes an individual node's data from the store.
   * @param {Number} index The item's data index in the store
   */

/**
   * Refreshes the source. The source will be cleared, and data from the server will be reloaded.
   * @api
   */

/**
   * Refreshes the view by reloading the data from the store and re-rendering the template.
   */

/**
   * Refreshs the grid UI
   * @param {Boolean} headersToo (optional) True to also refresh the headers
   */

/**
   * Registers one or more Stores with the StoreMgr. You do not normally need to register stores
   * manually.  Any store initialized with a {@link Ext.data.Store#storeId} will be auto-registered. 
   * @param {Ext.data.Store} store1 A Store instance
   * @param {Ext.data.Store} store2 (optional)
   * @param {Ext.data.Store} etc... (optional)
   */

/**
   * Registry for other relationgridpanels than the generic one,
   * handling special types of relations the generic one will not.
   * Panels registered here must have a store with the relation records.
   *
   * @type {Array}
   */

/**
   * Remove Records from the Store and fires the {@link #remove} event.
   * @param {Ext.data.Record/Ext.data.Record[]} record The record object or array of records to remove from the cache.
   */

/**
   * Remove a Record from the Store at the specified index. Fires the {@link #remove} event.
   * @param {Number} index The index of the record to remove.
   */

/**
   * Remove a feature from the id index.  Called internally when the feature id
   * may have changed.
   * @param {import("../Feature.js").default<Geometry>} feature The feature.
   * @return {boolean} Removed the feature from the index.
   * @private
   */

/**
   * Remove a single feature from the source.  If you want to remove all features
   * at once, use the {@link module:ol/source/Vector~VectorSource#clear #clear()} method
   * instead.
   * @param {import("../Feature.js").default<Geometry>} feature Feature to remove.
   * @api
   */

/**
   * Remove a value from the RBush.
   * @param {T} value Value.
   * @return {boolean} Removed.
   */

/**
   * Remove all Records from the Store and fires the {@link #clear} event.
   * @param {Boolean} silent [false] Defaults to <tt>false</tt>.  Set <tt>true</tt> to not fire clear event.
   */

/**
   * Remove all cached tiles from the source. The next render cycle will fetch new tiles.
   * @api
   */

/**
   * Remove all elements from the collection.
   * @api
   */

/**
   * Remove all features from the source.
   * @param {boolean} [fast] Skip dispatching of {@link module:ol/source/Vector.VectorSourceEvent#event:removefeature} events.
   * @api
   */

/**
   * Remove all values from the RBush.
   */

/**
   * Remove an entry from the cache.
   * @param {string} key The entry key.
   * @return {T} The removed entry.
   */

/**
   * Remove an extent from the list of loaded extents.
   * @param {import("../extent.js").Extent} extent Extent.
   * @api
   */

/**
   * Remove an item from a specified index in the collection. Fires the {@link #remove} event when complete.
   * @param {Number} index The index within the collection of the item to remove.
   * @return {Object} The item removed or false if no item was removed.
   */

/**
   * Remove an item from the collection.
   * @param {Object} o The item to remove.
   * @return {Object} The item removed or false if no item was removed.
   */

/**
   * Remove and return the highest-priority element. O(log N).
   * @return {T} Element.
   */

/**
   * Remove any anchor to this element. See {@link #anchorTo}.
   * @return {Ext.Element} this
   */

/**
   * Remove feature without firing a `change` event.
   * @param {import("../Feature.js").default<Geometry>} feature Feature.
   * @return {import("../Feature.js").default<Geometry>|undefined} The removed feature
   *     (or undefined if the feature was not found).
   * @protected
   */

/**
   * Remove from the cache due to expiry
   */

/**
   * Remove the control from its current map and attach it to the new map.
   * Pass `null` to just remove the control from the current map.
   * Subclasses may set up event handlers to get notified about changes to
   * the map here.
   * @param {import("../Map.js").default|null} map Map.
   * @api
   */

/**
   * Remove the element at the provided index and return it.
   * Return `undefined` if the collection does not contain this index.
   * @param {number} index Index.
   * @return {T|undefined} Value.
   * @api
   */

/**
   * Remove the first occurrence of an element from the collection.
   * @param {T} elem Element.
   * @return {T|undefined} The removed element or undefined if none found.
   * @api
   */

/**
   * Remove the given control from the map.
   * @param {import("./control/Control.js").default} control Control.
   * @return {import("./control/Control.js").default|undefined} The removed control (or undefined
   *     if the control was not found).
   * @api
   */

/**
   * Remove the given interaction from the map.
   * @param {import("./interaction/Interaction.js").default} interaction Interaction to remove.
   * @return {import("./interaction/Interaction.js").default|undefined} The removed interaction (or
   *     undefined if the interaction was not found).
   * @api
   */

/**
   * Remove the given overlay from the map.
   * @param {import("./Overlay.js").default} overlay Overlay.
   * @return {import("./Overlay.js").default|undefined} The removed overlay (or undefined
   *     if the overlay was not found).
   * @api
   */

/**
   * Remove the interaction from its current map and attach it to the new map.
   * Subclasses may set up event handlers to get notified about changes to
   * the map here.
   * @param {import("../Map.js").default|null} map Map.
   */

/**
   * Remove the last element of the collection and return it.
   * Return `undefined` if the collection is empty.
   * @return {T|undefined} Element.
   * @api
   */

/**
   * Removed an item associated with the passed key fom the collection.
   * @param {String} key The key of the item to remove.
   * @return {Object} The item removed or false if no item was removed.
   */

/**
   * Removes a CSS class from the component's underlying element.
   * @param {string} cls The CSS class name to remove
   * @return {Ext.Component} this
   */

/**
   * Removes a child node from this node.
   * @param {Node} node The node to remove
   * @param {Boolean} destroy <tt>true</tt> to destroy the node upon removal. Defaults to <tt>false</tt>.
   * @return {Node} The removed node
   */

/**
   * Removes a component from this container.  Fires the {@link #beforeremove} event before removing, then fires
   * the {@link #remove} event after the component has been removed.
   * @param {Component/String} component The component reference or id to remove.
   * @param {Boolean} autoDestroy (optional) True to automatically invoke the removed Component's {@link Ext.Component#destroy} function.
   * Defaults to the value of this Container's {@link #autoDestroy} config.
   * @return {Ext.Component} component The Component that was removed.
   */

/**
   * Removes a cookie with the provided name from the browser
   * if found by setting its expiration date to sometime in the past. 
   * @param {String} name The name of the cookie to remove
   */

/**
   * Removes a field from the items collection (does NOT remove its markup).
   * @param {Field} field
   * @return {BasicForm} this
   */

/**
   * Removes a property from the grid.
   * @param {String} prop The name of the property to remove
   */

/**
   * Removes all child nodes from this node.
   * @param {Boolean} destroy <tt>true</tt> to destroy the node upon removal. Defaults to <tt>false</tt>.
   * @return {Node} this
   */

/**
   * Removes all components from this container.
   * @param {Boolean} autoDestroy (optional) True to automatically invoke the removed Component's {@link Ext.Component#destroy} function.
   * Defaults to the value of this Container's {@link #autoDestroy} config.
   * @return {Array} Array of the destroyed components
   */

/**
   * Removes all elements.
   */

/**
   * Removes all items from the collection.  Fires the {@link #clear} event when complete.
   */

/**
   * Removes all listeners for this object
   */

/**
   * Removes an event handler from an element.  Shorthand for {@link #removeListener}.
   * @param {String/HTMLElement} el The id or html element from which to remove the listener.
   * @param {String} eventName The name of the event.
   * @param {Function} fn The handler function to remove. <b>This must be a reference to the function passed into the {@link #on} call.</b>
   * @param {Object} scope If a scope (<b><code>this</code></b> reference) was specified when the listener was added,
   * then this must refer to the same object.
   * @member Ext.EventManager
   * @method un
   */

/**
   * Removes an event handler from this element (see {@link #removeListener} for additional notes).
   * @param {String} eventName The name of the event from which to remove the handler.
   * @param {Function} fn The handler function to remove. <b>This must be a reference to the function passed into the {@link #addListener} call.</b>
   * @param {Object} scope If a scope (<b><code>this</code></b> reference) was specified when the listener was added,
   * then this must refer to the same object.
   * @return {Ext.Element} this
   * @member Ext.Element
   * @method un
   */

/**
   * Removes an event handler.
   * @param {String}   eventName The type of event the handler was associated with.
   * @param {Function} handler   The handler to remove. <b>This must be a reference to the function passed into the {@link #addListener} call.</b>
   * @param {Object}   scope     (optional) The scope originally specified for the handler.
   */

/**
   * Removes listeners that were added by the {@link #mon} method.
   * @param {Observable|Element} item The item from which to remove a listener/listeners.
   * @param {Object|String} ename The event name, or an object containing event name properties.
   * @param {Function} fn Optional. If the <code>ename</code> parameter was an event name, this
   * is the handler function.
   * @param {Object} scope Optional. If the <code>ename</code> parameter was an event name, this
   * is the scope (<code>this</code> reference) in which the handler function is executed.
   */

/**
   * Removes one or more CSS classes from the node's UI element.
   * @param {String/Array} className The CSS class to remove, or an array of classes
   */

/**
   * Removes the given layer from the map.
   * @param {import("./layer/Base.js").default} layer Layer.
   * @return {import("./layer/Base.js").default|undefined} The removed layer (or undefined if the
   *     layer was not found).
   * @api
   */

/**
   * Removes the specified object from the array.  If the object is not found nothing happens.
   * @param {Object} o The object to remove
   * @return {Array} this array
   */

/**
   * Removes this node from its parent
   * @param {Boolean} destroy <tt>true</tt> to destroy the node upon removal. Defaults to <tt>false</tt>.
   * @return {Node} this
   */

/**
   * Removes this quick tip from its element and destroys it.
   * @param {String/HTMLElement/Element} el The element from which the quick tip is to be removed.
   */

/**
   * Removes worthless text nodes
   * @param {Boolean} forceReclean (optional) By default the element
   * keeps track if it has been cleaned already so
   * you can call this over and over. However, if you update the element and
   * need to force a reclean, you can pass true.
   */

/**
   * Render MultiPolygon geometry into the canvas.  Rendering is immediate and
   * uses the current style.
   * @param {import("../../geom/MultiPolygon.js").default} geometry MultiPolygon geometry.
   */

/**
   * Render a GeometryCollection to the canvas.  Rendering is immediate and
   * uses the current styles appropriate for each geometry in the collection.
   *
   * @param {import("../../geom/GeometryCollection.js").default} geometry Geometry collection.
   */

/**
   * Render a LineString into the canvas.  Rendering is immediate and uses
   * the current style.
   *
   * @param {import("../../geom/LineString.js").default|import("../Feature.js").default} geometry LineString geometry.
   */

/**
   * Render a MultiLineString geometry into the canvas.  Rendering is immediate
   * and uses the current style.
   *
   * @param {import("../../geom/MultiLineString.js").default|import("../Feature.js").default} geometry MultiLineString geometry.
   */

/**
   * Render a MultiPoint geometry  into the canvas.  Rendering is immediate and
   * uses the current style.
   *
   * @param {import("../../geom/MultiPoint.js").default|import("../Feature.js").default} geometry MultiPoint geometry.
   */

/**
   * Render a Point geometry into the canvas.  Rendering is immediate and uses
   * the current style.
   *
   * @param {import("../../geom/Point.js").default|import("../Feature.js").default} geometry Point geometry.
   */

/**
   * Render a Polygon geometry into the canvas.  Rendering is immediate and uses
   * the current style.
   *
   * @param {import("../../geom/Polygon.js").default|import("../Feature.js").default} geometry Polygon geometry.
   */

/**
   * Render a circle geometry into the canvas.  Rendering is immediate and uses
   * the current fill and stroke styles.
   *
   * @param {import("../../geom/Circle.js").default} geometry Circle geometry.
   * @api
   */

/**
   * Render a feature into the canvas.  Note that any `zIndex` on the provided
   * style will be ignored - features are rendered immediately in the order that
   * this method is called.  If you need `zIndex` support, you should be using an
   * {@link module:ol/layer/Vector~VectorLayer} instead.
   *
   * @param {import("../../Feature.js").default} feature Feature.
   * @param {import("../../style/Style.js").default} style Style.
   * @api
   */

/**
   * Render a geometry into the canvas.  Call
   * {@link module:ol/render/canvas/Immediate~CanvasImmediateRenderer#setStyle renderer.setStyle()} first to set the rendering style.
   *
   * @param {import("../../geom/Geometry.js").default|import("../Feature.js").default} geometry The geometry to render.
   * @api
   */

/**
   * Render a geometry with a custom renderer.
   *
   * @param {import("../geom/SimpleGeometry.js").default} geometry Geometry.
   * @param {import("../Feature.js").FeatureLike} feature Feature.
   * @param {Function} renderer Renderer.
   * @param {Function} hitDetectionRenderer Renderer.
   */

/**
   * Render a geometry.
   *
   * @param {import("../geom/Geometry.js").default} geometry The geometry to render.
   */

/**
   * Render declutter items for this layer
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   */

/**
   * Render declutter items for this layer
   * @param {import("../Map.js").FrameState} frameState Frame state.
   */

/**
   * Render the layer.
   * @abstract
   * @param {import("../Map.js").FrameState} frameState Frame state.
   * @param {HTMLElement} target Target that may be used to render content to.
   * @return {HTMLElement} The rendered element.
   */

/**
   * Render the layer.
   * @param {import("../../Map.js").FrameState} frameState Frame state.
   * @param {HTMLElement} target Target that may be used to render content to.
   * @return {HTMLElement} The rendered element.
   */

/**
   * Render.
   * @abstract
   * @param {?import("../Map.js").FrameState} frameState Frame state.
   */

/**
   * Render.
   * @param {?import("../Map.js").FrameState} frameState Frame state.
   */

/**
   * Renders a float or integer as percent
   *
   * @param {Number} v The number to format.
   * @see Ext.util.Format.number
   *
   * @return {String} The formatted number.
   */

/**
   * Renders the control.
   * @param {import("../MapEvent.js").default} mapEvent Map event.
   * @api
   */

/**
   * Replaces all `placeholder` elements in `array` with an internal placeholder
   * and returns an array of their indexes.
   *
   * @private
   * @param {Array} array The array to modify.
   * @param {*} placeholder The placeholder to replace.
   * @returns {Array} Returns the new array of placeholder indexes.
   */

/**
   * Replaces an item in the collection. Fires the {@link #replace} event when complete.
   * @param {String} key <p>The key associated with the item to replace, or the replacement item.</p>
   * <p>If you supplied a {@link #getKey} implementation for this MixedCollection, or if the key
   * of your stored items is in a property called <tt><b>id</b></tt>, then the MixedCollection
   * will be able to <i>derive</i> the key of the replacement item. If you want to replace an item
   * with one having the same key value, then just pass the replacement item in this parameter.</p>
   * @param o {Object} o (optional) If the first parameter passed was a key, the item to associate
   * with that key.
   * @return {Object}  The new item.
   */

/**
   * Replaces any existing <tt>{@link #maxValue}</tt> with the new value and refreshes the DatePicker.
   * @param {Date} value The maximum date that can be selected
   */

/**
   * Replaces any existing <tt>{@link #minValue}</tt> with the new value and refreshes the DatePicker.
   * @param {Date} value The minimum date that can be selected
   */

/**
   * Replaces any existing disabled dates with new values and refreshes the DatePicker.
   * @param {Array/RegExp} disabledDates An array of date strings (see the {@link #disabledDates} config
   * for details on supported values), or a JavaScript regular expression used to disable a pattern of dates.
   */

/**
   * Replaces any existing disabled dates with new values and refreshes the DatePicker.
   * @param {Array} disabledDates An array of date strings (see the <tt>{@link #disabledDates}</tt> config
   * for details on supported values) used to disable a pattern of dates.
   */

/**
   * Replaces any existing disabled days (by index, 0-6) with new values and refreshes the DatePicker.
   * @param {Array} disabledDays An array of disabled day indexes. See the <tt>{@link #disabledDays}</tt>
   * config for details on supported values.
   */

/**
   * Replaces any existing disabled days (by index, 0-6) with new values and refreshes the DatePicker.
   * @param {Array} disabledDays An array of disabled day indexes. See the {@link #disabledDays} config
   * for details on supported values.
   */

/**
   * Replaces any existing {@link #maxDate} with the new value and refreshes the DatePicker.
   * @param {Date} value The maximum date that can be selected
   */

/**
   * Replaces any existing {@link #maxValue} with the new time and refreshes the store.
   * @param {Date/String} value The maximum time that can be selected
   */

/**
   * Replaces any existing {@link #maxValue} with the new value.
   * @param {Number} value The maximum value
   */

/**
   * Replaces any existing {@link #minDate} with the new value and refreshes the DatePicker.
   * @param {Date} value The minimum date that can be selected
   */

/**
   * Replaces any existing {@link #minValue} with the new time and refreshes the store.
   * @param {Date/String} value The minimum time that can be selected
   */

/**
   * Replaces any existing {@link #minValue} with the new value.
   * @param {Number} value The minimum value
   */

/**
   * Replaces one child node in this node with another.
   * @param {Node} newChild The replacement node
   * @param {Node} oldChild The node to replace
   * @return {Node} The replaced node
   */

/**
   * Request a map rendering (at the next animation frame).
   * @api
   */

/**
   * Requests an immediate render in a synchronous manner.
   * @api
   */

/**
   * Reset Luxon's global caches. Should only be necessary in testing scenarios.
   * @return {void}
   */

/**
   * Reset local caches. Should only be necessary in testing scenarios.
   * @return {void}
   */

/**
   * Resets the current field value to the originally loaded value and clears any validation messages.
   * See {@link Ext.form.BasicForm}.{@link Ext.form.BasicForm#trackResetOnLoad trackResetOnLoad}
   */

/**
   * Resets the current field value to the originally-loaded value and clears any validation messages.
   * Also adds <tt><b>{@link #emptyText}</b></tt> and <tt><b>{@link #emptyClass}</b></tt> if the
   * original value was blank.
   */

/**
   * Resets the progress bar value to 0 and text to empty string.  If hide = true, the progress
   * bar will also be hidden (using the {@link #hideMode} property internally).
   * @param {Boolean} hide (optional) True to hide the progress bar (defaults to false)
   * @return {Ext.ProgressBar} this
   */

/**
   * Resets the status indicator to the default dropNotAllowed value
   * @param {Boolean} clearGhost True to also remove all content from the ghost, false to preserve it
   */

/**
   * Resets this form.
   * @return {BasicForm} this
   */

/**
   * Resizes the drag frame to the dimensions of the clicked object, positions
   * it over the object, and finally displays it
   * @method showFrame
   * @param {int} iPageX X click position
   * @param {int} iPageY Y click position
   * @private
   */

/**
   * Responsive breakpoint level till which to stack the  {@link Ext.layout.BorderLayout.SplitRegion west} region
   * @type {number} floatWestLevel
   */

/**
   * Responsive breakpoint level till which to stack the {@link Ext.layout.BorderLayout.SplitRegion east} region
   * @type {number} stackEastLevel
   */

/**
   * Responsive level at which the content of the Container are stacked horizontally
   * @todo better name
   */

/**
   * Restores a {@link #maximizable maximized}  window back to its original
   * size and position prior to being maximized and also replaces
   * the 'restore' tool button with the 'maximize' tool button.
   * Also see {@link #toggleMaximize}.
   * @return {Ext.Window} this
   */

/**
   * Resume firing events. (see {@link #suspendEvents})
   * If events were suspended using the <tt><b>queueSuspended</b></tt> parameter, then all
   * events fired during event suspension will be sent to any listeners now.
   */

/**
   * Resumes calculations and scrolling at the end of a bulk operation. See {@link #beginUpdate}
   */

/**
   * Retrieve a tool by id.
   * @param {String} id
   * @return {Object} tool
   */

/**
   * Retrieve a {@link Ext.direct.Provider provider} by the
   * <b><tt>{@link Ext.direct.Provider#id id}</tt></b> specified when the provider is
   * {@link #addProvider added}.
   * @param {String} id Unique identifier assigned to the provider when calling {@link #addProvider} 
   */

/**
   * Retrieve an array of checked nodes, or an array of a specific attribute of checked nodes (e.g. 'id')
   * @param {String} attribute (optional) Defaults to null (return the actual nodes)
   * @param {TreeNode} startNode (optional) The node to start from, defaults to the root
   * @return {Array}
   */

/**
   * Retrieves Ext.Element objects.
   * <p><b>This method does not retrieve {@link Ext.Component Component}s.</b> This method
   * retrieves Ext.Element objects which encapsulate DOM elements. To retrieve a Component by
   * its ID, use {@link Ext.ComponentMgr#get}.</p>
   * <p>Uses simple caching to consistently return the same object. Automatically fixes if an
   * object was recreated with the same id via AJAX or DOM.</p>
   * @param {Mixed} el The id of the node, a DOM Node or an existing Element.
   * @return {Element} The Element object (or null if no matching element was found)
   * @static
   * @member Ext.Element
   * @method get
   */

/**
   * Retrieves Ext.Element objects.
   * <p><b>This method does not retrieve {@link Ext.Component Component}s.</b> This method
   * retrieves Ext.Element objects which encapsulate DOM elements. To retrieve a Component by
   * its ID, use {@link Ext.ComponentMgr#get}.</p>
   * <p>Uses simple caching to consistently return the same object. Automatically fixes if an
   * object was recreated with the same id via AJAX or DOM.</p>
   * Shorthand of {@link Ext.Element#get}
   * @param {Mixed} el The id of the node, a DOM Node or an existing Element.
   * @return {Element} The Element object (or null if no matching element was found)
   * @member Ext
   * @method get
   */

/**
   * Retrieves cookies that are accessible by the current page. If a cookie
   * does not exist, <code>get()</code> returns <tt>null</tt>.  The following
   * example retrieves the cookie called "valid" and stores the String value
   * in the variable <tt>validStatus</tt>.
   * <pre><code>
   * var validStatus = Ext.util.Cookies.get("valid");
   * </code></pre>
   * @param {String} name The name of the cookie to get
   * @return {Mixed} Returns the cookie value for the specified name;
   * null if the cookie name does not exist.
   */

/**
   * Retrieves the fields in the form as a set of key/value pairs, using the {@link Ext.form.Field#getValue getValue()} method.
   * If multiple fields exist with the same name they are returned as an array.
   * @param {Boolean} dirtyOnly (optional) True to return only fields that are dirty.
   * @return {Object} The values in the form
   */

/**
   * Return `true` if the attribution is collapsible, `false` otherwise.
   * @return {boolean} True if the widget is collapsible.
   * @api
   */

/**
   * Return `true` when the attribution is currently collapsed or `false`
   * otherwise.
   * @return {boolean} True if the widget is collapsed.
   * @api
   */

/**
   * Return a Duration representing the time spanned by this interval.
   * @param {string|string[]} [unit=['milliseconds']] - the unit or units (such as 'hours' or 'days') to include in the duration.
   * @param {Object} opts - options that affect the creation of the Duration
   * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
   * @example Interval.fromDateTimes(dt1, dt2).toDuration().toObject() //=> { milliseconds: 88489257 }
   * @example Interval.fromDateTimes(dt1, dt2).toDuration('days').toObject() //=> { days: 1.0241812152777778 }
   * @example Interval.fromDateTimes(dt1, dt2).toDuration(['hours', 'minutes']).toObject() //=> { hours: 24, minutes: 34.82095 }
   * @example Interval.fromDateTimes(dt1, dt2).toDuration(['hours', 'minutes', 'seconds']).toObject() //=> { hours: 24, minutes: 34, seconds: 49.257 }
   * @example Interval.fromDateTimes(dt1, dt2).toDuration('seconds').toObject() //=> { seconds: 88489.257 }
   * @return {Duration}
   */

/**
   * Return a function that returns a resolution for a value between
   * 0 and 1. Exponential scaling is assumed.
   * @param {number} [power] Power.
   * @return {function(number): number} Value for resolution function.
   */

/**
   * Return a function that returns a value between 0 and 1 for a
   * resolution. Exponential scaling is assumed.
   * @param {number} [power] Power.
   * @return {function(number): number} Resolution for value function.
   */

/**
   * Return all values in the RBush.
   * @return {Array<T>} All.
   */

/**
   * Return all values in the given extent.
   * @param {import("../extent.js").Extent} extent Extent.
   * @return {Array<T>} All in extent.
   */

/**
   * Return an Interval representing the intersection of this Interval and the specified Interval.
   * Specifically, the resulting Interval has the maximum start time and the minimum end time of the two Intervals.
   * Returns null if the intersection is empty, meaning, the intervals don't intersect.
   * @param {Interval} other
   * @return {Interval}
   */

/**
   * Return an Interval representing the span of time in this Interval that doesn't overlap with any of the specified Intervals.
   * @param {...Interval} intervals
   * @return {[Interval]}
   */

/**
   * Return an Interval representing the union of this Interval and the specified Interval.
   * Specifically, the resulting Interval has the minimum start time and the maximum end time of the two Intervals.
   * @param {Interval} other
   * @return {Interval}
   */

/**
   * Return an Interval spanning between this DateTime and another DateTime
   * @param {DateTime} otherDateTime - the other end point of the Interval
   * @return {Interval}
   */

/**
   * Return an array of Intervals representing the spans of time that only appear in one of the specified Intervals.
   * @param {[Interval]} intervals
   * @return {[Interval]}
   */

/**
   * Return an array of eras, such as ['BC', 'AD']. The locale can be specified, but the calendar system is always Gregorian.
   * @param {string} [length='short'] - the length of the era representation, such as "short" or "long".
   * @param {Object} opts - options
   * @param {string} [opts.locale] - the locale code
   * @example Info.eras() //=> [ 'BC', 'AD' ]
   * @example Info.eras('long') //=> [ 'Before Christ', 'Anno Domini' ]
   * @example Info.eras('long', { locale: 'fr' }) //=> [ 'avant Jésus-Christ', 'après Jésus-Christ' ]
   * @return {[string]}
   */

/**
   * Return an array of format month names.
   * Format months differ from standalone months in that they're meant to appear next to the day of the month. In some languages, that
   * changes the string.
   * See {@link months}
   * @param {string} [length='long'] - the length of the month representation, such as "numeric", "2-digit", "narrow", "short", "long"
   * @param {Object} opts - options
   * @param {string} [opts.locale] - the locale code
   * @param {string} [opts.numberingSystem=null] - the numbering system
   * @param {string} [opts.outputCalendar='gregory'] - the calendar
   * @return {[string]}
   */

/**
   * Return an array of format week names.
   * Format weekdays differ from standalone weekdays in that they're meant to appear next to more date information. In some languages, that
   * changes the string.
   * See {@link weekdays}
   * @param {string} [length='long'] - the length of the month representation, such as "narrow", "short", "long".
   * @param {Object} opts - options
   * @param {string} [opts.locale=null] - the locale code
   * @param {string} [opts.numberingSystem=null] - the numbering system
   * @return {[string]}
   */

/**
   * Return an array of meridiems.
   * @param {Object} opts - options
   * @param {string} [opts.locale] - the locale code
   * @example Info.meridiems() //=> [ 'AM', 'PM' ]
   * @example Info.meridiems({ locale: 'my' }) //=> [ 'နံနက်', 'ညနေ' ]
   * @return {[string]}
   */

/**
   * Return an array of standalone month names.
   * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
   * @param {string} [length='long'] - the length of the month representation, such as "numeric", "2-digit", "narrow", "short", "long"
   * @param {Object} opts - options
   * @param {string} [opts.locale] - the locale code
   * @param {string} [opts.numberingSystem=null] - the numbering system
   * @param {string} [opts.outputCalendar='gregory'] - the calendar
   * @example Info.months()[0] //=> 'January'
   * @example Info.months('short')[0] //=> 'Jan'
   * @example Info.months('numeric')[0] //=> '1'
   * @example Info.months('short', { locale: 'fr-CA' } )[0] //=> 'janv.'
   * @example Info.months('numeric', { locale: 'ar' })[0] //=> '١'
   * @example Info.months('long', { outputCalendar: 'islamic' })[0] //=> 'Rabiʻ I'
   * @return {[string]}
   */

/**
   * Return an array of standalone week names.
   * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
   * @param {string} [length='long'] - the length of the month representation, such as "narrow", "short", "long".
   * @param {Object} opts - options
   * @param {string} [opts.locale] - the locale code
   * @param {string} [opts.numberingSystem=null] - the numbering system
   * @example Info.weekdays()[0] //=> 'Monday'
   * @example Info.weekdays('short')[0] //=> 'Mon'
   * @example Info.weekdays('short', { locale: 'fr-CA' })[0] //=> 'lun.'
   * @example Info.weekdays('short', { locale: 'ar' })[0] //=> 'الاثنين'
   * @return {[string]}
   */

/**
   * Return an entry without updating least recently used time.
   * @param {string} key Key.
   * @return {T} Value.
   */

/**
   * Return an interior point of the polygon.
   * @return {Point} Interior point as XYM coordinate, where M is the
   * length of the horizontal intersection that the point belongs to.
   * @api
   */

/**
   * Return an object defining the area of this Element which can be passed to {@link #setBox} to
   * set another Element's size/location to match this element.
   * @param {Boolean} contentBox (optional) If true a box for the content of the element is returned.
   * @param {Boolean} local (optional) If true the element's left and top are returned instead of page x/y.
   * @return {Object} box An object in the format<pre><code>
  {
  x: &lt;Element's X position>,
  y: &lt;Element's Y position>,
  width: &lt;Element's width>,
  height: &lt;Element's height>,
  bottom: &lt;Element's lower bound>,
  right: &lt;Element's rightmost bound>
  }
  </code></pre>
   * The returned object may also be addressed as an Array where index 0 contains the X position
   * and index 1 contains the Y position. So the result may also be used for {@link #setXY}
   */

/**
   * Return the <tt>&lt;div></tt> HtmlElement which represents a Grid row for the specified index.
   * @param {Number} index The row index
   * @return {HtmlElement} The div element.
   */

/**
   * Return the <tt>&lt;td></tt> HtmlElement which represents the Grid's header cell for the specified column index.
   * @param {Number} index The column index
   * @return {HtmlElement} The td element.
   */

/**
   * Return the HtmlElement representing the grid row body which contains the passed element.
   * @param {HTMLElement} el The target HTMLElement
   * @return {HTMLElement} The row body element, or null if the target element is not within a row body of this GridView.
   */

/**
   * Return the HtmlElement representing the grid row which contains the passed element.
   * @param {HTMLElement} el The target HTMLElement
   * @return {HTMLElement} The row element, or null if the target element is not within a row of this GridView.
   */

/**
   * Return the Nth linear ring of the polygon geometry. Return `null` if the
   * given index is out of range.
   * The exterior linear ring is available at index `0` and the interior rings
   * at index `1` and beyond.
   *
   * @param {number} index Index.
   * @return {LinearRing|null} Linear ring.
   * @api
   */

/**
   * Return the URLs used for this source.
   * When a tileUrlFunction is used instead of url or urls,
   * null will be returned.
   * @return {!Array<string>|null} URLs.
   * @api
   */

/**
   * Return the Z-index of the layer, which is used to order layers before
   * rendering. The default Z-index is 0.
   * @return {number} The Z-index of the layer.
   * @observable
   * @api
   */

/**
   * Return the area of the linear ring on projected plane.
   * @return {number} Area (on projected plane).
   * @api
   */

/**
   * Return the area of the polygon on projected plane.
   * @return {number} Area (on projected plane).
   * @api
   */

/**
   * Return the closest point of the geometry to the passed point as
   * {@link module:ol/coordinate~Coordinate coordinate}.
   * @param {import("../coordinate.js").Coordinate} point Point.
   * @param {import("../coordinate.js").Coordinate} [closestPoint] Closest point.
   * @return {import("../coordinate.js").Coordinate} Closest point.
   * @api
   */

/**
   * Return the coordinate of the point.
   * @return {import("../coordinate.js").Coordinate} Coordinates.
   * @api
   */

/**
   * Return the coordinates of the linear ring.
   * @return {Array<import("../coordinate.js").Coordinate>} Coordinates.
   * @api
   */

/**
   * Return the difference between this DateTime and right now.
   * See {@link diff}
   * @param {string|string[]} [unit=['milliseconds']] - the unit or units units (such as 'hours' or 'days') to include in the duration
   * @param {Object} opts - options that affect the creation of the Duration
   * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
   * @return {Duration}
   */

/**
   * Return the difference between two DateTimes as a Duration.
   * @param {DateTime} otherDateTime - the DateTime to compare this one to
   * @param {string|string[]} [unit=['milliseconds']] - the unit or array of units (such as 'hours' or 'days') to include in the duration.
   * @param {Object} opts - options that affect the creation of the Duration
   * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
   * @example
   * var i1 = DateTime.fromISO('1982-05-25T09:45'),
   *     i2 = DateTime.fromISO('1983-10-14T10:30');
   * i2.diff(i1).toObject() //=> { milliseconds: 43807500000 }
   * i2.diff(i1, 'hours').toObject() //=> { hours: 12168.75 }
   * i2.diff(i1, ['months', 'days']).toObject() //=> { months: 16, days: 19.03125 }
   * i2.diff(i1, ['months', 'days', 'hours']).toObject() //=> { months: 16, days: 19, hours: 0.75 }
   * @return {Duration}
   */

/**
   * Return the first coordinate of the geometry.
   * @return {import("../coordinate.js").Coordinate} First coordinate.
   * @api
   */

/**
   * Return the key to be used for all tiles in the source.
   * @return {string} The key for all tiles.
   */

/**
   * Return the last coordinate of the geometry.
   * @return {import("../coordinate.js").Coordinate} Last point.
   * @api
   */

/**
   * Return the length of the duration in the specified unit.
   * @param {string} unit - a unit such as 'minutes' or 'days'
   * @example Duration.fromObject({years: 1}).as('days') //=> 365
   * @example Duration.fromObject({years: 1}).as('months') //=> 12
   * @example Duration.fromObject({hours: 60}).as('days') //=> 2.5
   * @return {number}
   */

/**
   * Return the level as number to which we will preload tiles up to.
   * @return {number} The level to preload tiles up to.
   * @observable
   * @api
   */

/**
   * Return the linear rings of the polygon.
   * @return {Array<LinearRing>} Linear rings.
   * @api
   */

/**
   * Return the max of several date times
   * @param {...DateTime} dateTimes - the DateTimes from which to choose the maximum
   * @return {DateTime} the max DateTime, or undefined if called with no argument
   */

/**
   * Return the maximum resolution of the layer.
   * @return {number} The maximum resolution of the layer.
   * @observable
   * @api
   */

/**
   * Return the maximum zoom level of the layer.
   * @return {number} The maximum zoom level of the layer.
   * @observable
   * @api
   */

/**
   * Return the min of several date times
   * @param {...DateTime} dateTimes - the DateTimes from which to choose the minimum
   * @return {DateTime} the min DateTime, or undefined if called with no argument
   */

/**
   * Return the minimum resolution of the layer.
   * @return {number} The minimum resolution of the layer.
   * @observable
   * @api
   */

/**
   * Return the minimum zoom level of the layer.
   * @return {number} The minimum zoom level of the layer.
   * @observable
   * @api
   */

/**
   * Return the negative of this Duration.
   * @example Duration.fromObject({ hours: 1, seconds: 30 }).negate().toObject() //=> { hours: -1, seconds: -30 }
   * @return {Duration}
   */

/**
   * Return the number of rings of the polygon,  this includes the exterior
   * ring and any interior rings.
   *
   * @return {number} Number of rings.
   * @api
   */

/**
   * Return the offset in minutes for this zone at the specified timestamp.
   * @abstract
   * @param {number} ts - Epoch milliseconds for which to compute the offset
   * @return {number}
   */

/**
   * Return the opacity of the layer (between 0 and 1).
   * @return {number} The opacity of the layer.
   * @observable
   * @api
   */

/**
   * Return the set of available features in this environment.
   * Some features of Luxon are not available in all environments. For example, on older browsers, timezone support is not available. Use this function to figure out if that's the case.
   * Keys:
   * * `zones`: whether this environment supports IANA timezones
   * * `intlTokens`: whether this environment supports internationalized token-based formatting/parsing
   * * `intl`: whether this environment supports general internationalization
   * * `relative`: whether this environment supports relative time formatting
   * @example Info.features() //=> { intl: true, intlTokens: false, zones: true, relative: false }
   * @return {Object}
   */

/**
   * Return the tile URL function of the source.
   * @return {import("../Tile.js").UrlFunction} TileUrlFunction
   * @api
   */

/**
   * Return the tile grid of the tile source.
   * @return {import("../tilegrid/TileGrid.js").default|null} Tile grid.
   * @api
   */

/**
   * Return the tile load function of the source.
   * @return {import("../Tile.js").LoadFunction} TileLoadFunction
   * @api
   */

/**
   * Return the visibility of the layer (`true` or `false`).
   * @return {boolean} The visibility of the layer.
   * @observable
   * @api
   */

/**
   * Return the {@link Ext.data.Connection} object being used by this Proxy.
   * @return {Connection} The Connection object. This object may be used to subscribe to events on
   * a finer-grained basis than the DataProxy events.
   */

/**
   * Return the {@link import("./Geometry.js").GeometryLayout layout} of the geometry.
   * @return {import("./Geometry.js").GeometryLayout} Layout.
   * @api
   */

/**
   * Return the {@link module:ol/extent~Extent extent} of the layer or `undefined` if it
   * will be visible regardless of extent.
   * @return {import("../extent.js").Extent|undefined} The layer extent.
   * @observable
   * @api
   */

/**
   * Return whether the interaction is currently active.
   * @return {boolean} `true` if the interaction is active, `false` otherwise.
   * @observable
   * @api
   */

/**
   * Return whether the specified zone contains a DST.
   * @param {string|Zone} [zone='local'] - Zone to check. Defaults to the environment's local zone.
   * @return {boolean}
   */

/**
   * Return whether the specified zone is a valid IANA specifier.
   * @param {string} zone - Zone to check
   * @return {boolean}
   */

/**
   * Return whether this DateTime is in the same unit of time as another DateTime
   * @param {DateTime} otherDateTime - the other DateTime
   * @param {string} unit - the unit of time to check sameness on
   * @example DateTime.local().hasSame(otherDT, 'day'); //~> true if both the same calendar day
   * @return {boolean}
   */

/**
   * Return whether this Interval contains the specified DateTime.
   * @param {DateTime} dateTime
   * @return {boolean}
   */

/**
   * Return whether this Interval engulfs the start and end of the specified Interval.
   * @param {Interval} other
   * @return {boolean}
   */

/**
   * Return whether this Interval has the same start and end DateTimes.
   * @return {boolean}
   */

/**
   * Return whether this Interval has the same start and end as the specified Interval.
   * @param {Interval} other
   * @return {boolean}
   */

/**
   * Return whether this Interval overlaps with the specified Interval
   * @param {Interval} other
   * @return {boolean}
   */

/**
   * Return whether this Interval's end is adjacent to the specified Interval's start.
   * @param {Interval} other
   * @return {boolean}
   */

/**
   * Return whether this Interval's end is before the specified DateTime.
   * @param {DateTime} dateTime
   * @return {boolean}
   */

/**
   * Return whether this Interval's start is adjacent to the specified Interval's end.
   * @param {Interval} other
   * @return {boolean}
   */

/**
   * Return whether this Interval's start is after the specified DateTime.
   * @param {DateTime} dateTime
   * @return {boolean}
   */

/**
   * Return whether this Zone is equal to another zone
   * @abstract
   * @param {Zone} otherZone - the zone to compare
   * @return {boolean}
   */

/**
   * Return whether this Zone is valid.
   * @abstract
   * @type {boolean}
   */

/**
   * Returns <tt>true</tt> if the column is <code>{@link Ext.grid.Column#fixed fixed}</code>,
   * <tt>false</tt> otherwise.
   * @param {Number} colIndex The column index
   * @return {Boolean}
   */

/**
   * Returns <tt>true</tt> if the column is <code>{@link Ext.grid.Column#hidden hidden}</code>,
   * <tt>false</tt> otherwise.
   * @param {Number} colIndex The column index
   * @return {Boolean}
   */

/**
   * Returns <tt>true</tt> if the passed field name has been <code>{@link #modified}</code>
   * since the load or last commit.
   * @param {String} fieldName {@link Ext.data.Field.{@link Ext.data.Field#name}
   * @return {Boolean}
   */

/**
   * Returns <tt>true</tt> if the specified record id is selected.
   * @param {String} id The id of record to check
   * @return {Boolean}
   */

/**
   * Returns <tt>true</tt> if the specified row is selected.
   * @param {Number/Record} index The record or index of the record to check
   * @return {Boolean}
   */

/**
   * Returns <tt>true</tt> if there is a selection.
   * @return {Boolean}
   */

/**
   * Returns True if the specified cell is selected.
   * @param {Array/Record} record The cell-index ([rowIndex, columnIndex]) to check
   * @return {Boolean}
   */

/**
   * Returns True if there is a selection.
   * @return {Boolean}
   */

/**
   * Returns a BSON serializable equivalent to this DateTime.
   * @return {Date}
   */

/**
   * Returns a Javascript Date equivalent to this DateTime.
   * @return {Date}
   */

/**
   * Returns a Javascript object with this DateTime's year, month, day, and so on.
   * @param opts - options for generating the object
   * @param {boolean} [opts.includeConfig=false] - include configuration attributes in the output
   * @example DateTime.local().toObject() //=> { year: 2017, month: 4, day: 22, hour: 20, minute: 49, second: 42, millisecond: 268 }
   * @return {Object}
   */

/**
   * Returns a Javascript object with this Duration's values.
   * @param opts - options for generating the object
   * @param {boolean} [opts.includeConfig=false] - include configuration attributes in the output
   * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toObject() //=> { years: 1, days: 6, seconds: 2 }
   * @return {Object}
   */

/**
   * Returns a callback function for a request.  Note a special case is made for the
   * read action vs all the others.
   * @param {String} action [create|update|delete|load]
   * @param {Ext.data.Record[]} rs The Store-recordset being acted upon
   * @private
   */

/**
   * Returns a custom data object associated with the DOM node that is the target of the event.  By default
   * this looks up the event target in the {@link Ext.dd.Registry}, although you can override this method to
   * provide your own custom lookup.
   * @param {Event} e The event
   * @return {Object} data The custom data
   */

/**
   * Returns a flyweight Element of the dom element object at the specified index
   * @param {Number} index
   * @return {Ext.Element}
   */

/**
   * Returns a localized string representing this date. Accepts the same options as the Intl.DateTimeFormat constructor and any presets defined by Luxon, such as `DateTime.DATE_FULL` or `DateTime.TIME_SIMPLE`.
   * The exact behavior of this method is browser-specific, but in general it will return an appropriate representation
   * of the DateTime in the assigned locale.
   * Defaults to the system's locale if no locale has been specified
   * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
   * @param opts {Object} - Intl.DateTimeFormat constructor options and configuration options
   * @example DateTime.local().toLocaleString(); //=> 4/20/2017
   * @example DateTime.local().setLocale('en-gb').toLocaleString(); //=> '20/04/2017'
   * @example DateTime.local().toLocaleString({ locale: 'en-gb' }); //=> '20/04/2017'
   * @example DateTime.local().toLocaleString(DateTime.DATE_FULL); //=> 'April 20, 2017'
   * @example DateTime.local().toLocaleString(DateTime.TIME_SIMPLE); //=> '11:32 AM'
   * @example DateTime.local().toLocaleString(DateTime.DATETIME_SHORT); //=> '4/20/2017, 11:32 AM'
   * @example DateTime.local().toLocaleString({ weekday: 'long', month: 'long', day: '2-digit' }); //=> 'Thursday, April 20'
   * @example DateTime.local().toLocaleString({ weekday: 'short', month: 'short', day: '2-digit', hour: '2-digit', minute: '2-digit' }); //=> 'Thu, Apr 20, 11:27 AM'
   * @example DateTime.local().toLocaleString({ hour: '2-digit', minute: '2-digit', hour12: false }); //=> '11:32'
   * @return {string}
   */

/**
   * Returns a range of Records between specified indices.
   * @param {Number} startIndex (optional) The starting index (defaults to 0)
   * @param {Number} endIndex (optional) The ending index (defaults to the last Record in the Store)
   * @return {Ext.data.Record[]} An array of Records
   */

/**
   * Returns a range of items in this collection
   * @param {Number} startIndex (optional) The starting index. Defaults to 0.
   * @param {Number} endIndex (optional) The ending index. Defaults to the last item.
   * @return {Array} An array of items
   */

/**
   * Returns a reference to the split bar in use by this region.
   * @return {Ext.SplitBar} The split bar
   */

/**
   * Returns a string representation of a this time relative to now, such as "in two days". Can only internationalize if your
   * platform supports Intl.RelativeTimeFormat. Rounds down by default.
   * @param {Object} options - options that affect the output
   * @param {DateTime} [options.base=DateTime.local()] - the DateTime to use as the basis to which this time is compared. Defaults to now.
   * @param {string} [options.style="long"] - the style of units, must be "long", "short", or "narrow"
   * @param {string} options.unit - use a specific unit; if omitted, the method will pick the unit. Use one of "years", "quarters", "months", "weeks", "days", "hours", "minutes", or "seconds"
   * @param {boolean} [options.round=true] - whether to round the numbers in the output.
   * @param {boolean} [options.padding=0] - padding in milliseconds. This allows you to round up the result if it fits inside the threshold. Don't use in combination with {round: false} because the decimal output will include the padding.
   * @param {string} options.locale - override the locale of this DateTime
   * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this
   * @example DateTime.local().plus({ days: 1 }).toRelative() //=> "in 1 day"
   * @example DateTime.local().setLocale("es").toRelative({ days: 1 }) //=> "dentro de 1 día"
   * @example DateTime.local().plus({ days: 1 }).toRelative({ locale: "fr" }) //=> "dans 23 heures"
   * @example DateTime.local().minus({ days: 2 }).toRelative() //=> "2 days ago"
   * @example DateTime.local().minus({ days: 2 }).toRelative({ unit: "hours" }) //=> "48 hours ago"
   * @example DateTime.local().minus({ hours: 36 }).toRelative({ round: false }) //=> "1.5 days ago"
   */

/**
   * Returns a string representation of this DateTime appropriate for debugging
   * @return {string}
   */

/**
   * Returns a string representation of this DateTime appropriate for use in HTTP headers.
   * Specifically, the string conforms to RFC 1123.
   * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
   * @example DateTime.utc(2014, 7, 13).toHTTP() //=> 'Sun, 13 Jul 2014 00:00:00 GMT'
   * @example DateTime.utc(2014, 7, 13, 19).toHTTP() //=> 'Sun, 13 Jul 2014 19:00:00 GMT'
   * @return {string}
   */

/**
   * Returns a string representation of this DateTime appropriate for use in SQL Date
   * @example DateTime.utc(2014, 7, 13).toSQLDate() //=> '2014-07-13'
   * @return {string}
   */

/**
   * Returns a string representation of this DateTime appropriate for use in SQL DateTime
   * @param {Object} opts - options
   * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.
   * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
   * @example DateTime.utc(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 Z'
   * @example DateTime.local(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 -04:00'
   * @example DateTime.local(2014, 7, 13).toSQL({ includeOffset: false }) //=> '2014-07-13 00:00:00.000'
   * @example DateTime.local(2014, 7, 13).toSQL({ includeZone: true }) //=> '2014-07-13 00:00:00.000 America/New_York'
   * @return {string}
   */

/**
   * Returns a string representation of this DateTime appropriate for use in SQL Time
   * @param {Object} opts - options
   * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.
   * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
   * @example DateTime.utc().toSQL() //=> '05:15:16.345'
   * @example DateTime.local().toSQL() //=> '05:15:16.345 -04:00'
   * @example DateTime.local().toSQL({ includeOffset: false }) //=> '05:15:16.345'
   * @example DateTime.local().toSQL({ includeZone: false }) //=> '05:15:16.345 America/New_York'
   * @return {string}
   */

/**
   * Returns a string representation of this DateTime formatted according to the specified format string.
   * **You may not want this.** See {@link toLocaleString} for a more flexible formatting tool. For a table of tokens and their interpretations, see [here](https://moment.github.io/luxon/docs/manual/formatting.html#table-of-tokens).
   * Defaults to en-US if no locale has been specified, regardless of the system's locale.
   * @see https://moment.github.io/luxon/docs/manual/formatting.html#table-of-tokens
   * @param {string} fmt - the format string
   * @param {Object} opts - opts to override the configuration options
   * @example DateTime.local().toFormat('yyyy LLL dd') //=> '2017 Apr 22'
   * @example DateTime.local().setLocale('fr').toFormat('yyyy LLL dd') //=> '2017 avr. 22'
   * @example DateTime.local().toFormat('yyyy LLL dd', { locale: "fr" }) //=> '2017 avr. 22'
   * @example DateTime.local().toFormat("HH 'hours and' mm 'minutes'") //=> '20 hours and 55 minutes'
   * @return {string}
   */

/**
   * Returns a string representation of this Duration formatted according to the specified format string. You may use these tokens:
   * * `S` for milliseconds
   * * `s` for seconds
   * * `m` for minutes
   * * `h` for hours
   * * `d` for days
   * * `M` for months
   * * `y` for years
   * Notes:
   * * Add padding by repeating the token, e.g. "yy" pads the years to two digits, "hhhh" pads the hours out to four digits
   * * The duration will be converted to the set of units in the format string using {@link Duration.shiftTo} and the Durations's conversion accuracy setting.
   * @param {string} fmt - the format string
   * @param {Object} opts - options
   * @param {boolean} [opts.floor=true] - floor numerical values
   * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("y d s") //=> "1 6 2"
   * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("yy dd sss") //=> "01 06 002"
   * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("M S") //=> "12 518402000"
   * @return {string}
   */

/**
   * Returns a string representation of this Interval appropriate for debugging.
   * @return {string}
   */

/**
   * Returns a string representation of this Interval formatted according to the specified format string.
   * @param {string} dateFormat - the format string. This string formats the start and end time. See {@link DateTime.toFormat} for details.
   * @param {Object} opts - options
   * @param {string} [opts.separator =  ' – '] - a separator to place between the start and end representations
   * @return {string}
   */

/**
   * Returns a string representation of this date relative to today, such as "yesterday" or "next month".
   * Only internationalizes on platforms that supports Intl.RelativeTimeFormat.
   * @param {Object} options - options that affect the output
   * @param {DateTime} [options.base=DateTime.local()] - the DateTime to use as the basis to which this time is compared. Defaults to now.
   * @param {string} options.locale - override the locale of this DateTime
   * @param {string} options.unit - use a specific unit; if omitted, the method will pick the unit. Use one of "years", "quarters", "months", "weeks", or "days"
   * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this
   * @example DateTime.local().plus({ days: 1 }).toRelativeCalendar() //=> "tomorrow"
   * @example DateTime.local().setLocale("es").plus({ days: 1 }).toRelative() //=> ""mañana"
   * @example DateTime.local().plus({ days: 1 }).toRelativeCalendar({ locale: "fr" }) //=> "demain"
   * @example DateTime.local().minus({ days: 2 }).toRelativeCalendar() //=> "2 days ago"
   */

/**
   * Returns a tile coordinate wrapped around the x-axis. When the tile coordinate
   * is outside the resolution and extent range of the tile grid, `null` will be
   * returned.
   * @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
   * @param {import("../proj/Projection.js").default} [projection] Projection.
   * @return {import("../tilecoord.js").TileCoord} Tile coordinate to be passed to the tileUrlFunction or
   *     null if no tile URL should be created for the passed `tileCoord`.
   */

/**
   * Returns a username or groupname with according icon in front
   */

/**
   * Returns account type icon
   *
   * @return String
   */

/**
   * Returns an HTML fragment of this template with the specified <code>values</code> applied.
   * @param {Object/Array} values
   * The template values. Can be an array if the params are numeric (i.e. <code>{0}</code>)
   * or an object (i.e. <code>{foo: 'bar'}</code>).
   * @return {String} The HTML fragment
   */

/**
   * Returns an HTML fragment of this template with the specified values applied.
   * @param {Object/Array} values The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})
   * @return {String} The HTML fragment
   * @hide repeat doc
   */

/**
   * Returns an HTML fragment of this template with the specified values applied.
   * @param {Object} values The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})
   * @return {String} The HTML fragment
   */

/**
   * Returns an ISO 8601 representation of this DateTime appropriate for use in JSON.
   * @return {string}
   */

/**
   * Returns an ISO 8601 representation of this Duration appropriate for use in JSON.
   * @return {string}
   */

/**
   * Returns an ISO 8601 representation of this Duration appropriate for use in debugging.
   * @return {string}
   */

/**
   * Returns an ISO 8601-compliant string representation of date of this Interval.
   * The time components are ignored.
   * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
   * @return {string}
   */

/**
   * Returns an ISO 8601-compliant string representation of this DateTime
   * @param {Object} opts - options
   * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
   * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
   * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
   * @param {string} [opts.format='extended'] - choose between the basic and extended format
   * @example DateTime.utc(1982, 5, 25).toISO() //=> '1982-05-25T00:00:00.000Z'
   * @example DateTime.local().toISO() //=> '2017-04-22T20:47:05.335-04:00'
   * @example DateTime.local().toISO({ includeOffset: false }) //=> '2017-04-22T20:47:05.335'
   * @example DateTime.local().toISO({ format: 'basic' }) //=> '20170422T204705.335-0400'
   * @return {string}
   */

/**
   * Returns an ISO 8601-compliant string representation of this DateTime's date component
   * @param {Object} opts - options
   * @param {string} [opts.format='extended'] - choose between the basic and extended format
   * @example DateTime.utc(1982, 5, 25).toISODate() //=> '1982-05-25'
   * @example DateTime.utc(1982, 5, 25).toISODate({ format: 'basic' }) //=> '19820525'
   * @return {string}
   */

/**
   * Returns an ISO 8601-compliant string representation of this DateTime's time component
   * @param {Object} opts - options
   * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
   * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
   * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
   * @param {string} [opts.format='extended'] - choose between the basic and extended format
   * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime() //=> '07:34:19.361Z'
   * @example DateTime.utc().set({ hour: 7, minute: 34, seconds: 0, milliseconds: 0 }).toISOTime({ suppressSeconds: true }) //=> '07:34Z'
   * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ format: 'basic' }) //=> '073419.361Z'
   * @return {string}
   */

/**
   * Returns an ISO 8601-compliant string representation of this DateTime's week date
   * @example DateTime.utc(1982, 5, 25).toISOWeekDate() //=> '1982-W21-2'
   * @return {string}
   */

/**
   * Returns an ISO 8601-compliant string representation of this Duration.
   * @see https://en.wikipedia.org/wiki/ISO_8601#Durations
   * @example Duration.fromObject({ years: 3, seconds: 45 }).toISO() //=> 'P3YT45S'
   * @example Duration.fromObject({ months: 4, seconds: 45 }).toISO() //=> 'P4MT45S'
   * @example Duration.fromObject({ months: 5 }).toISO() //=> 'P5M'
   * @example Duration.fromObject({ minutes: 5 }).toISO() //=> 'PT5M'
   * @example Duration.fromObject({ milliseconds: 6 }).toISO() //=> 'PT0.006S'
   * @return {string}
   */

/**
   * Returns an ISO 8601-compliant string representation of this Interval.
   * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
   * @param {Object} opts - The same options as {@link DateTime.toISO}
   * @return {string}
   */

/**
   * Returns an ISO 8601-compliant string representation of time of this Interval.
   * The date components are ignored.
   * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
   * @param {Object} opts - The same options as {@link DateTime.toISO}
   * @return {string}
   */

/**
   * Returns an RFC 2822-compatible string representation of this DateTime, always in UTC
   * @example DateTime.utc(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 +0000'
   * @example DateTime.local(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 -0400'
   * @return {string}
   */

/**
   * Returns an array containing all the entries from this array that are not present in any of the other arrays.
   * 
   * @param {Array} array1
   * @param {Array} [array2]
   * @param {Array} [...]
   */

/**
   * Returns an array of format "parts", meaning individual tokens along with metadata. This is allows callers to post-process individual sections of the formatted output.
   * Defaults to the system's locale if no locale has been specified
   * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/formatToParts
   * @param opts {Object} - Intl.DateTimeFormat constructor options, same as `toLocaleString`.
   * @example DateTime.local().toLocaleParts(); //=> [
   *                                   //=>   { type: 'day', value: '25' },
   *                                   //=>   { type: 'literal', value: '/' },
   *                                   //=>   { type: 'month', value: '05' },
   *                                   //=>   { type: 'literal', value: '/' },
   *                                   //=>   { type: 'year', value: '1982' }
   *                                   //=> ]
   */

/**
   * Returns an array of the selected nodes
   * @return {Array}
   */

/**
   * Returns an milliseconds value of this Duration.
   * @return {number}
   */

/**
   * Returns an object describing the current sort state of this Store.
   * @return {Object} The sort state of the Store. An object with two properties:<ul>
   * <li><b>field : String<p class="sub-desc">The name of the field by which the Records are sorted.</p></li>
   * <li><b>direction : String<p class="sub-desc">The sort order, 'ASC' or 'DESC' (case-sensitive).</p></li>
   * </ul>
   * See <tt>{@link #sortInfo}</tt> for additional details.
   */

/**
   * Returns an object with ids of records to delete, to create or to update
   *
   * @param {Array} toCompare Array to compare with
   * @return object An object with sub array properties 'toDelete', 'toCreate' and 'toUpdate'
   */

/**
   * Returns current span
   */

/**
   * Returns depth of this node (the root node has a depth of 0)
   * @return {Number}
   */

/**
   * Returns dropdown hint icon for editor grid columns with comboboxes
   *
   * @return String
   */

/**
   * Returns emails from string or recipient token
   * @param emails
   */

/**
   * Returns filterData representing current selection
   * 
   * @return {Array} filterData
   */

/**
   * Returns geometry of last drawn box.
   * @return {import("../geom/Polygon.js").default} Geometry.
   * @api
   */

/**
   * Returns index within the collection of the passed Object.
   * @param {Object} o The item to find the index of.
   * @return {Number} index of the item. Returns -1 if not found.
   */

/**
   * Returns index within the collection of the passed key.
   * @param {String} key The key to find the index of.
   * @return {Number} index of the key.
   */

/**
   * Returns localised date and time string
   *
   * @param {mixed} $_iso8601
   * @param metadata
   * @see date
   * @return {String} localised date and time
   */

/**
   * Returns localised date string
   *
   * @param {mixed} date
   * @param metadata
   * @param formatArray
   * @see Ext.util.Format.date
   * @return {String} localised date
   */

/**
   * Returns localised number string with two digits if no format is given
   *
   * @param {Number} v The number to format.
   * @param {String} format The way you would like to format this text.
   * @see Ext.util.Format.number
   *
   * @return {String} The formatted number.
   */

/**
   * Returns localised time string
   *
   * @param {mixed} date
   * @param metadata
   * @see Ext.util.Format.date
   * @return {String} localised time
   */

/**
   * Returns number of selected rows
   * 
   * @return {Number}
   */

/**
   * Returns prettyfied minutes
   *
   * @param  {Number} minutes
   * @param  format -> {0} will be replaced by Hours, {1} with minutes
   * @param  {String} leadingZeros add leading zeros for given item {i|H}
   * @return {String}
   */

/**
   * Returns prettyfied seconds
   *
   * @param  {Number} seconds
   * @return {String}
   */

/**
   * Returns rendered containers
   *
   * @TODO show qtip with grants
   *
   * @param {mixed} container
   * @return {String}
   */

/**
   * Returns rendered relations
   *
   * @param {mixed} container
   * @return {String}
   *
   * TODO use/invent renderer registry to show more information on relations
   */

/**
   * Returns rendered tags for grids
   *
   * @param {mixed} tags
   * @return {String} tags as colored squares with qtips
   *
   * TODO add style for tag divs
   */

/**
   * Returns the &lt;a> element that provides focus for the node's UI.
   * @return {HtmlElement} The DOM anchor element.
   */

/**
   * Returns the <code>id</code> of this component or automatically generates and
   * returns an <code>id</code> if an <code>id</code> is not defined yet:<pre><code>
   * 'ext-comp-' + (++Ext.Component.AUTO_ID)
   * </code></pre>
   * @return {String} id
   */

/**
   * Returns the <code>{@link #itemId}</code> of this component.  If an
   * <code>{@link #itemId}</code> was not assigned through configuration the
   * <code>id</code> is returned using <code>{@link #getId}</code>.
   * @return {String}
   */

/**
   * Returns the Component which is the currently active tab. <b>Note that before the TabPanel
   * first activates a child Component, this method will return whatever was configured in the
   * {@link #activeTab} config option.</b>
   * @return {BoxComponent} The currently active child Component if one <i>is</i> active, or the {@link #activeTab} config value.
   */

/**
   * Returns the Element object at the specified index
   * @param {Number} index
   * @return {Ext.Element}
   */

/**
   * Returns the UI object for this node.
   * @return {TreeNodeUI} The object which is providing the user interface for this tree
   * node. Unless otherwise specified in the {@link #uiProvider}, this will be an instance
   * of {@link Ext.tree.TreeNodeUI}
   */

/**
   * Returns the array of columns from a grid
   * @param {Ext.grid.GridPanel} grid The grid to get columns from
   * @return {Array} The array of grid columns
   */

/**
   * Returns the array of columns from a tree
   * @param {Ext.tree.ColumnTree} tree The tree to get columns from
   * @return {Array} The array of tree columns
   */

/**
   * Returns the checked state of the checkbox.
   * @return {Boolean} True if checked, else false
   */

/**
   * Returns the checked status of the node. If the node was rendered with no
   * checkbox, it returns false.
   * @return {Boolean} The checked flag.
   */

/**
   * Returns the child node at the specified index.
   * @param {Number} index
   * @return {Node}
   */

/**
   * Returns the column configs that return true by the passed function that is called
   * with (columnConfig, index)
  <pre><code>
  // returns an array of column config objects for all hidden columns
  var columns = grid.getColumnModel().getColumnsBy(function(c){
  return c.hidden;
  });
  </code></pre>
   * @param {Function} fn A function which, when passed a {@link Ext.grid.Column Column} object, must
   * return <code>true</code> if the column is to be included in the returned Array.
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function
   * is executed. Defaults to this ColumnModel.
   * @return {Array} result
   */

/**
   * Returns the column for a specified id.
   * @param {String} id The column id
   * @return {Object} the column
   */

/**
   * Returns the coordinate in user projection for a browser event.
   * @param {MouseEvent} event Event.
   * @return {import("./coordinate.js").Coordinate} Coordinate.
   * @api
   */

/**
   * Returns the coordinate in view projection for a browser event.
   * @param {MouseEvent} event Event.
   * @return {import("./coordinate.js").Coordinate} Coordinate.
   */

/**
   * Returns the count of minutes, hours, days, months, or years included in the Interval, even in part.
   * Unlike {@link length} this counts sections of the calendar, not periods of time, e.g. specifying 'day'
   * asks 'what dates are included in this interval?', not 'how many days long is this interval?'
   * @param {string} [unit='milliseconds'] - the unit of time to count.
   * @return {number}
   */

/**
   * Returns the current date value of the date field.
   * @return {Date} The date value
   */

/**
   * Returns the current margins for this region.  If the region is collapsed, the
   * {@link #cmargins} (collapsed margins) value will be returned, otherwise the
   * {@link #margins} value will be returned.
   * @return {Object} An object containing the element's margins: <tt>{left: (left
   * margin), top: (top margin), right: (right margin), bottom: (bottom margin)}</tt>
   */

/**
   * Returns the current number of pointers involved in the interaction,
   * e.g. `2` when two fingers are used.
   * @return {number} The number of pointers.
   * @api
   */

/**
   * Returns the current scroll position of the element.
   * @return {Object} An object containing the scroll position in the format {left: (scrollLeft), top: (scrollTop)}
   */

/**
   * Returns the current size of this region.  If the region is collapsed, the size of the
   * collapsedEl will be returned, otherwise the size of the region's panel will be returned.
   * @return {Object} An object containing the element's size: <tt>{width: (element width),
   * height: (element height)}</tt>
   */

/**
   * Returns the current value for a key
   * @param {String} name The key name
   * @param {Mixed} defaultValue A default value to return if the key's value is not found
   * @return {Mixed} The state data
   */

/**
   * Returns the current value of the slider
   * @return {Number} The current value of the slider
   */

/**
   * Returns the current viewport size.
   * @private
   * @param {number} [rotation] Take into account the rotation of the viewport when giving the size
   * @return {import("./size.js").Size} Viewport size or `[100, 100]` when no viewport is found.
   */

/**
   * Returns the currently selected field value or empty string if no value is set.
   * @return {String} value The selected value
   */

/**
   * Returns the data object associated with this drag source
   * @return {Object} data An object containing arbitrary data
   */

/**
   * Returns the dataIndex for the specified column.
  <pre><code>
  // Get field name for the column
  var fieldName = grid.getColumnModel().getDataIndex(columnIndex);
  </code></pre>
   * @param {Number} col The column index
   * @return {String} The column's dataIndex
   */

/**
   * Returns the default {@link Ext.tree.TreeLoader} for this TreePanel.
   * @return {Ext.tree.TreeLoader} The TreeLoader for this TreePanel.
   */

/**
   * Returns the drag source's underlying {@link Ext.dd.StatusProxy}
   * @return {Ext.dd.StatusProxy} proxy The StatusProxy
   */

/**
   * Returns the editor defined for the cell/column.
   * @param {Number} colIndex The column index
   * @param {Number} rowIndex The row index
   * @return {Ext.Editor} The {@link Ext.Editor Editor} that was created to wrap
   * the {@link Ext.form.Field Field} used to edit the cell.
   */

/**
   * Returns the editor's toolbar. <b>This is only available after the editor has been rendered.</b>
   * @return {Ext.Toolbar}
   */

/**
   * Returns the element this component is bound to.
   * @return {Ext.Element}
   */

/**
   * Returns the element which encapsulates this node.
   * @return {HtmlElement} The DOM element. The default implementation uses a <code>&lt;li></code>.
   */

/**
   * Returns the epoch milliseconds of this DateTime.
   * @return {number}
   */

/**
   * Returns the epoch milliseconds of this DateTime. Alias of {@link toMillis}
   * @return {number}
   */

/**
   * Returns the epoch seconds of this DateTime.
   * @return {number}
   */

/**
   * Returns the first Element
   * @return {Ext.Element}
   */

/**
   * Returns the first item in the collection which elicits a true return value from the
   * passed selection function.
   * @param {Function} fn The selection function to execute for each item.
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the browser window.
   * @return {Object} The first item in the collection which returned true from the selection function.
   */

/**
   * Returns the first item in the collection.
   * @return {Object} the first item in the collection..
   */

/**
   * Returns the first selected cell index.
   * @return {Array} An array containing the row and column indexes of the first selected cell, or null if none selected.
   */

/**
   * Returns the first selected record.
   * @return {Record}
   */

/**
   * Returns the formated username
   *
   * @param {object} account object
   * @return {string} formated user display name
   */

/**
   * Returns the ghost element
   * @return {Ext.Element} el
   */

/**
   * Returns the grid's <tt>&lt;td></tt> HtmlElement at the specified coordinates.
   * @param {Number} row The row index in which to find the cell.
   * @param {Number} col The column index of the cell.
   * @return {HtmlElement} The td at the specified coordinates.
   */

/**
   * Returns the grid's ColumnModel.
   * @return {Ext.grid.ColumnModel} The column model
   */

/**
   * Returns the grid's GridView object.
   * @return {Ext.grid.GridView} The grid view
   */

/**
   * Returns the grid's data store.
   * @return {Ext.data.Store} The store
   */

/**
   * Returns the grid's selection model configured by the <code>{@link #selModel}</code>
   * configuration option. If no selection model was configured, this will create
   * and return a {@link Ext.grid.RowSelectionModel RowSelectionModel}.
   * @return {SelectionModel}
   */

/**
   * Returns the grid's underlying element.
   * @return {Element} The element
   */

/**
   * Returns the header for the specified column.
   * @param {Number} col The column index
   * @return {String}
   */

/**
   * Returns the height in pixels of the body element (not including the height of any framing elements).
   * For the frame height see {@link #getFrameHeight}.
   * @return {Number} The body height
   */

/**
   * Returns the height in pixels of the framing elements of this panel (including any top and bottom bars and
   * header and footer elements, but not including the body height).  To retrieve the body height see {@link #getInnerHeight}.
   * @return {Number} The frame height
   */

/**
   * Returns the icon &lt;img> element.
   * @return {HtmlElement} The DOM image element.
   */

/**
   * Returns the id of the column at the specified index.
   * @param {Number} index The column index
   * @return {String} the id
   */

/**
   * Returns the index for a specified column id.
   * @param {String} id The column id
   * @return {Number} the index, or -1 if not found
   */

/**
   * Returns the index of a child node
   * @param {Node} node
   * @return {Number} The index of the node or -1 if it was not found
   */

/**
   * Returns the item associated with the passed key OR index.
   * Key has priority over index.  This is the equivalent
   * of calling {@link #key} first, then if nothing matched calling {@link #itemAt}.
   * @param {String/Number} key The key or index of the item.
   * @return {Object} If the item is found, returns the item.  If the item was not found, returns <tt>undefined</tt>.
   * If an item was found, but is a Class, returns <tt>null</tt>.
   */

/**
   * Returns the item associated with the passed key.
   * @param {String/Number} key The key of the item.
   * @return {Object} The item associated with the passed key.
   */

/**
   * Returns the item at the specified index.
   * @param {Number} index The index of the item.
   * @return {Object} The item at the specified index.
   */

/**
   * Returns the last Element
   * @return {Ext.Element}
   */

/**
   * Returns the last item in the collection.
   * @return {Object} the last item in the collection..
   */

/**
   * Returns the layout currently in use by the container.  If the container does not currently have a layout
   * set, a default {@link Ext.layout.ContainerLayout} will be created and set as the container's layout.
   * @return {ContainerLayout} layout The container's layout
   */

/**
   * Returns the length of the Interval in the specified unit.
   * @param {string} unit - the unit (such as 'hours' or 'days') to return the length in.
   * @return {number}
   */

/**
   * Returns the map pixel position for a browser event relative to the viewport.
   * @param {UIEvent|{clientX: number, clientY: number}} event Event.
   * @return {import("./pixel.js").Pixel} Pixel.
   * @api
   */

/**
   * Returns the minimum allowable height for this region.
   * @return {Number} The minimum height
   */

/**
   * Returns the minimum allowable width for this region.
   * @return {Number} The minimum width
   */

/**
   * Returns the next component in the owning container
   * @return Ext.Component
   */

/**
   * Returns the normalized data value (undefined or emptyText will be returned as '').  To return the raw value see {@link #getRawValue}.
   * @return {Mixed} value The field value
   */

/**
   * Returns the number of columns.
   * @param {Boolean} visibleOnly Optional. Pass as true to only include visible columns.
   * @return {Number}
   */

/**
   * Returns the number of elements in this Composite.
   * @return Number
   */

/**
   * Returns the number of items in the collection.
   * @return {Number} the number of items in the collection.
   */

/**
   * Returns the offset's common name (such as EST) at the specified timestamp
   * @abstract
   * @param {number} ts - Epoch milliseconds for which to get the name
   * @param {Object} opts - Options to affect the format
   * @param {string} opts.format - What style of offset to return. Accepts 'long' or 'short'.
   * @param {string} opts.locale - What locale to return the offset name in.
   * @return {string}
   */

/**
   * Returns the offset's value as a string
   * @abstract
   * @param {number} ts - Epoch milliseconds for which to get the offset
   * @param {string} format - What style of offset to return.
   *                          Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
   * @return {string}
   */

/**
   * Returns the path for this node. The path can be used to expand or select this node programmatically.
   * @param {String} attr (optional) The attr to use for the path (defaults to the node's id)
   * @return {String} The path
   */

/**
   * Returns the previous component in the owning container
   * @return Ext.Component
   */

/**
   * Returns the raw data value which may or may not be a valid, defined value.  To return a normalized value see {@link #getValue}.
   * @return {Mixed} value The field value
   */

/**
   * Returns the region of the given element.
   * The element must be part of the DOM tree to have a region (display:none or elements not appended return false).
   * @return {Region} A Ext.lib.Region containing "top, left, bottom, right" member data.
   */

/**
   * Returns the rendering (formatting) function defined for the column.
   * @param {Number} col The column index.
   * @return {Function} The function used to render the cell. See {@link #setRenderer}.
   */

/**
   * Returns the resizeChild element (or null).
   * @return {Ext.Element}
   */

/**
   * Returns the resolved Intl options for this DateTime.
   * This is useful in understanding the behavior of formatting methods
   * @param {Object} opts - the same options as toLocaleString
   * @return {Object}
   */

/**
   * Returns the root node for this tree.
   * @return {Node}
   */

/**
   * Returns the selected cell indices
   * @return {Array} Array of cell indices ([rowIndex, columnIndex])
   */

/**
   * Returns the selected records
   * @return {Array} Array of selected records
   */

/**
   * Returns the selection model used by this TreePanel.
   * @return {TreeSelectionModel} The selection model used by this TreePanel
   */

/**
   * Returns the size of the viewport minus padding.
   * @private
   * @param {number} [rotation] Take into account the rotation of the viewport when giving the size
   * @return {import("./size.js").Size} Viewport size reduced by the padding.
   */

/**
   * Returns the start of the Interval
   * @type {DateTime}
   */

/**
   * Returns the store associated with this DataView.
   * @return {Ext.data.Store} The store
   */

/**
   * Returns the store associated with this combo.
   * @return {Ext.data.Store} The store
   */

/**
   * Returns the summaryData for the specified groupValue or null.
   * @param {String} groupValue
   * @return {Object} summaryData
   */

/**
   * Returns the template node the passed child belongs to, or null if it doesn't belong to one.
   * @param {HTMLElement} node
   * @return {HTMLElement} The template node
   */

/**
   * Returns the text node.
   * @return {HtmlNode} The DOM text node.
   */

/**
   * Returns the tooltip for the specified column.
   * @param {Number} col The column index
   * @return {String}
   */

/**
   * Returns the total width of all columns.
   * @param {Boolean} includeHidden True to include hidden column widths
   * @return {Number}
   */

/**
   * Returns the tree this node is in.
   * @return {Tree}
   */

/**
   * Returns the underlying Element for this tree
   * @return {Ext.Element} The Element
   */

/**
   * Returns the underlying proxy {@link Ext.Layer}
   * @return {Ext.Layer} el
  */

/**
   * Returns the width for the specified column.
   * @param {Number} col The column index
   * @return {Number}
   */

/**
   * Returns the width in pixels of the body element (not including the width of any framing elements).
   * For the frame width see {@link #getFrameWidth}.
   * @return {Number} The body width
   */

/**
   * Returns the width in pixels of the framing elements of this panel (not including the body width).  To
   * retrieve the body width see {@link #getInnerWidth}.
   * @return {Number} The frame width
   */

/**
   * Returns the width in pixels of the passed text, or the width of the text in this Element.
   * @param {String} text The text to measure. Defaults to the innerHTML of the element.
   * @param {Number} min (Optional) The minumum value to return.
   * @param {Number} max (Optional) The maximum value to return.
   * @return {Number} The text width in pixels.
   * @member Ext.Element getTextWidth
   */

/**
   * Returns the {@link Ext.Editor editor} defined for this column that was created to wrap the {@link Ext.form.Field Field}
   * used to edit the cell.
   * @param {Number} rowIndex The row index
   * @return {Ext.Editor}
   */

/**
   * Returns the {@link Ext.Toolbar toolbar} from the bottom (<code>{@link #bbar}</code>) section of the panel.
   * @return {Ext.Toolbar} The toolbar
   */

/**
   * Returns the {@link Ext.Toolbar toolbar} from the top (<code>{@link #tbar}</code>) section of the panel.
   * @return {Ext.Toolbar} The toolbar
   */

/**
   * Returns the {@link Ext.form.Field#name name} or {@link Ext.form.ComboBox#hiddenName hiddenName}
   * attribute of the field if available.
   * @return {String} name The field {@link Ext.form.Field#name name} or {@link Ext.form.ComboBox#hiddenName hiddenName}
   */

/**
   * Returns the {@link module:ol/Collection~Collection collection} of {@link module:ol/layer/Layer~Layer layers}
   * in this group.
   * @return {!Collection<import("./Base.js").default>} Collection of
   *   {@link module:ol/layer/Base~BaseLayer layers} that are part of this group.
   * @observable
   * @api
   */

/**
   * Returns this root node for this tree
   * @return {Node}
   */

/**
   * Returns true if client-side validation on the form is successful.
   * @return Boolean
   */

/**
   * Returns true if the button has a menu and it is visible
   * @return {Boolean}
   */

/**
   * Returns true if the cell is editable.
  <pre><code>
  var store = new Ext.data.Store({...});
  var colModel = new Ext.grid.ColumnModel({
  columns: [...],
  isCellEditable: function(col, row) {
  var record = store.getAt(row);
  if (record.get('readonly')) { // replace with your condition
    return false;
  }
  return Ext.grid.ColumnModel.prototype.isCellEditable.call(this, col, row);
  }
  });
  var grid = new Ext.grid.GridPanel({
  store: store,
  colModel: colModel,
  ...
  });
  </code></pre>
   * @param {Number} colIndex The column index
   * @param {Number} rowIndex The row index
   * @return {Boolean}
   */

/**
   * Returns true if the collection contains the passed Object as a key.
   * @param {String} key The key to look for in the collection.
   * @return {Boolean} True if the collection contains the Object as a key.
   */

/**
   * Returns true if the collection contains the passed Object as an item.
   * @param {Object} o  The Object to look for in the collection.
   * @return {Boolean} True if the collection contains the Object as an item.
   */

/**
   * Returns true if the column can be resized
   * @return {Boolean}
   */

/**
   * Returns true if the components using this action are currently disabled, else returns false.  
   */

/**
   * Returns true if the components using this action are currently hidden, else returns false.  
   */

/**
   * Returns true if the control, meta, shift or alt key was pressed during this event.
   * @return {Boolean}
   */

/**
   * Returns true if the dropdown layer is expanded, else false.
   */

/**
   * Returns true if the dropdown list is expanded, else false.
   */

/**
   * Returns true if the feature is contained within the source.
   * @param {import("../Feature.js").default<Geometry>} feature Feature.
   * @return {boolean} Has feature.
   * @api
   */

/**
   * Returns true if the node is selected
   * @param {Ext.tree.TreeNode} node The node to check
   * @return {Boolean}
   */

/**
   * Returns true if the node is selected
   * @param {TreeNode} node The node to check
   * @return {Boolean}
   */

/**
   * Returns true if the passed node is an ancestor (at any point) of this node.
   * @param {Node} node
   * @return {Boolean}
   */

/**
   * Returns true if the passed node is selected, else false.
   * @param {HTMLElement/Number} node The node or node index to check
   * @return {Boolean} True if selected, else false
   */

/**
   * Returns true if the progress bar is currently in a {@link #wait} operation
   * @return {Boolean} True if waiting, else false
   */

/**
   * Returns true if the selections are locked.
   * @return {Boolean}
   */

/**
   * Returns true if the shadow is visible, else false
   */

/**
   * Returns true if the specified action is defined as a unique action in the api-config.
   * request.  If all API-actions are routed to unique urls, the xaction parameter is unecessary.  However, if no api is defined
   * and all Proxy actions are routed to DataProxy#url, the server-side will require the xaction parameter to perform a switch to
   * the corresponding code for CRUD action.
   * @param {String [Ext.data.Api.CREATE|READ|UPDATE|DESTROY]} action
   * @return {Boolean}
   */

/**
   * Returns true if the specified column is sortable.
   * @param {Number} col The column index
   * @return {Boolean}
   */

/**
   * Returns true if the specified column menu is disabled.
   * @param {Number} col The column index
   * @return {Boolean}
   */

/**
   * Returns true if the supplied data-hash <b>looks</b> and quacks like data.  Checks to see if it has a key
   * corresponding to idProperty defined in your DataReader config containing non-empty pk.
   * @param {Object} data
   * @return {Boolean}
   */

/**
   * Returns true if there is a next cell to select
   * @return {Boolean}
   */

/**
   * Returns true if there is a next record to select
   * @return {Boolean}
   */

/**
   * Returns true if there is a previous cell to select
   * @return {Boolean}
   */

/**
   * Returns true if there is a previous record to select
   * @return {Boolean}
   */

/**
   * Returns true if this KeyMap is enabled
   * @return {Boolean}
   */

/**
   * Returns true if this component is visible.
   * @return {Boolean} True if this component is visible, false otherwise.
   */

/**
   * Returns true if this composite contains the passed element
   * @param el {Mixed} The id of an element, or an Ext.Element, or an HtmlElement to find within the composite collection.
   * @return Boolean
   */

/**
   * Returns true if this element is scrollable.
   * @return {Boolean}
   */

/**
   * Returns true if this geometry includes the specified coordinate. If the
   * coordinate is on the boundary of the geometry, returns false.
   * @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
   * @return {boolean} Contains coordinate.
   * @api
   */

/**
   * Returns true if this node has been loaded
   * @return {Boolean}
   */

/**
   * Returns true if this node has one or more child nodes, else false.
   * @return {Boolean}
   */

/**
   * Returns true if this node has one or more child nodes, or if the <tt>expandable</tt>
   * node attribute is explicitly specified as true (see {@link #attributes}), otherwise returns false.
   * @return {Boolean}
   */

/**
   * Returns true if this node is a leaf
   * @return {Boolean}
   */

/**
   * Returns true if this node is an ancestor (at any point) of the passed node.
   * @param {Node} node
   * @return {Boolean}
   */

/**
   * Returns true if this node is currently loading
   * @return {Boolean}
   */

/**
   * Returns true if this node is expanded
   * @return {Boolean}
   */

/**
   * Returns true if this node is selected
   * @return {Boolean}
   */

/**
   * Returns true if this node is the first child of its parent
   * @return {Boolean}
   */

/**
   * Returns true if this node is the last child of its parent
   * @return {Boolean}
   */

/**
   * Returns true if this store is currently filtered
   * @return {Boolean}
   */

/**
   * Returns whether or not the field value is currently valid by
   * {@link #validateValue validating} the {@link #processValue processed value}
   * of the field. <b>Note</b>: {@link #disabled} fields are ignored.
   * @param {Boolean} preventMark True to disable marking the field invalid
   * @return {Boolean} True if the value is valid, else false
   */

/**
   * Returns whether or not the server-side is currently connected.
   * Abstract method for subclasses to implement.
   */

/**
   * Returns whether the DateTime is valid. Invalid DateTimes occur when:
   * * The DateTime was created from invalid calendar information, such as the 13th month or February 30
   * * The DateTime was created by an operation on another invalid date
   * @type {boolean}
   */

/**
   * Returns whether the provided string identifies a real zone
   * @param {string} zone - The string to check
   * @example IANAZone.isValidZone("America/New_York") //=> true
   * @example IANAZone.isValidZone("Fantasia/Castle") //=> false
   * @example IANAZone.isValidZone("Sport~~blorp") //=> false
   * @return {boolean}
   */

/**
   * Returns whether the provided string is a valid specifier. This only checks the string's format, not that the specifier identifies a known zone; see isValidZone for that.
   * @param {string} s - The string to check validity on
   * @example IANAZone.isValidSpecifier("America/New_York") //=> true
   * @example IANAZone.isValidSpecifier("Fantasia/Castle") //=> true
   * @example IANAZone.isValidSpecifier("Sport~~blorp") //=> false
   * @return {boolean}
   */

/**
   * Returns whether this Interval's start and end are both in the same unit of time
   * @param {string} unit - the unit of time to check sameness on
   * @return {boolean}
   */

/**
   * Reverse the hit detection instructions.
   */

/**
   * Revert to a view of the Record cache with no filtering applied.
   * @param {Boolean} suppressEvent If <tt>true</tt> the filter is cleared silently without firing the
   * {@link #datachanged} event.
   */

/**
   * Rotate the geometry around a given coordinate. This modifies the geometry
   * coordinates in place.
   * @abstract
   * @param {number} angle Rotation angle in radians.
   * @param {import("../coordinate.js").Coordinate} anchor The rotation center.
   * @api
   */

/**
   * Rotate the geometry around a given coordinate. This modifies the geometry
   * coordinates in place.
   * @param {number} angle Rotation angle in counter-clockwise radians.
   * @param {import("../coordinate.js").Coordinate} anchor The rotation center.
   * @api
   */

/**
   * Run mapFn on the interval start and end, returning a new Interval from the resulting DateTimes
   * @param {function} mapFn
   * @return {Interval}
   * @example Interval.fromDateTimes(dt1, dt2).mapEndpoints(endpoint => endpoint.toUTC())
   * @example Interval.fromDateTimes(dt1, dt2).mapEndpoints(endpoint => endpoint.plus({ hours: 2 }))
   */

/**
   * Saves all pending changes to the store.  If the commensurate Ext.data.Api.actions action is not configured, then
   * the configured <code>{@link #url}</code> will be used.
   * <pre>
   * change            url
   * ---------------   --------------------
   * removed records   Ext.data.Api.actions.destroy
   * phantom records   Ext.data.Api.actions.create
   * {@link #getModifiedRecords modified records}  Ext.data.Api.actions.update
   * </pre>
   * @TODO:  Create extensions of Error class and send associated Record with thrown exceptions.
   * e.g.:  Ext.data.DataReader.Error or Ext.data.Error or Ext.data.DataProxy.Error, etc.
   * @return {Number} batch Returns a number to uniquely identify the "batch" of saves occurring. -1 will be returned
   * if there are no items to save or the save was cancelled.
   */

/**
   * Saves the most recent position so that we can reset the constraints and
   * tick marks on-demand.  We need to know this so that we can calculate the
   * number of pixels the element is offset from its original position.
   * @method cachePosition
   * @param iPageX the current x position (optional, this just makes it so we
   * don't have to look it up again)
   * @param iPageY the current y position (optional, this just makes it so we
   * don't have to look it up again)
   */

/**
   * Scale the geometry (with an optional origin).  This modifies the geometry
   * coordinates in place.
   * @abstract
   * @param {number} sx The scaling factor in the x-direction.
   * @param {number} [sy] The scaling factor in the y-direction (defaults to sx).
   * @param {import("../coordinate.js").Coordinate} [anchor] The scale origin (defaults to the center
   *     of the geometry extent).
   * @api
   */

/**
   * Scale the geometry (with an optional origin).  This modifies the geometry
   * coordinates in place.
   * @param {number} sx The scaling factor in the x-direction.
   * @param {number} [sy] The scaling factor in the y-direction (defaults to sx).
   * @param {import("../coordinate.js").Coordinate} [anchor] The scale origin (defaults to the center
   *     of the geometry extent).
   * @api
   */

/**
   * Scale this Duration by the specified amount. Return a newly-constructed Duration.
   * @param {function} fn - The function to apply to each unit. Arity is 1 or 2: the value of the unit and, optionally, the unit name. Must return a number.
   * @example Duration.fromObject({ hours: 1, minutes: 30 }).mapUnit(x => x * 2) //=> { hours: 2, minutes: 60 }
   * @example Duration.fromObject({ hours: 1, minutes: 30 }).mapUnit((x, u) => u === "hour" ? x * 2 : x) //=> { hours: 2, minutes: 30 }
   * @return {Duration}
   */

/**
   * Scrolls the grid to the top
   */

/**
   * Scrolls this element into view within the passed container.
   * @param {Mixed} container (optional) The container element to scroll (defaults to document.body).  Should be a
   * string (id), dom node, or Ext.Element.
   * @param {Boolean} hscroll (optional) False to disable horizontal scroll (defaults to true)
   * @return {Ext.Element} this
   */

/**
   * Scrolls this element the specified direction. Does bounds checking to make sure the scroll is
   * within this element's scrollable range.
   * @param {String} direction Possible values are: "l" (or "left"), "r" (or "right"), "t" (or "top", or "up"), "b" (or "bottom", or "down").
   * @param {Number} distance How far to scroll the element in pixels
   * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
   * @return {Boolean} Returns true if a scroll was triggered or false if the element
   * was scrolled as far as it could go.
   */

/**
   * Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll().
   * @param {String} side Either "left" for scrollLeft values or "top" for scrollTop values.
   * @param {Number} value The new scroll value
   * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
   * @return {Element} this
   */

/**
   * Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll().
   * @param {String} side Either "left" for scrollLeft values or "top" for scrollTop values.
   * @param {Number} value The new scroll value.
   * @return {Element} this
   */

/**
   * Scrolls to a particular tab if tab scrolling is enabled
   * @param {Panel} item The item to scroll to
   * @param {Boolean} animate True to enable animations
   */

/**
   * Search for a node and return if exists
   *
   * @param {string} name
   * @param {object} nodes
   * @return {mixed} node
   */

/**
   * See <code>{@link #disableFormats}</code>.
   * @type Boolean
   * @property disableFormats
   */

/**
   * See <code>{@link #re}</code>.
   * @type RegExp
   * @property re
   */

/**
   * Select a node.
   * @param {Ext.tree.TreeNode} node The node to select
   * @return {Text.tree.TreeNode} The selected node
   */

/**
   * Select a node.
   * @param {TreeNode} node The node to select
   * @param {EventObject} e (optional) An event associated with the selection
   * @param {Boolean} keepExisting True to retain existing selections
   * @return {TreeNode} The selected node
   */

/**
   * Select a node.
   * @param {TreeNode} node The node to select
   * @return {TreeNode} The selected node
   */

/**
   * Select an item in the dropdown list by its data value. This function does NOT cause the select event to fire.
   * The store must be loaded and the list expanded for this function to work, otherwise use setValue.
   * @param {String} value The data value of the item to select
   * @param {Boolean} scrollIntoView False to prevent the dropdown list from autoscrolling to display the
   * selected item if it is not currently in view (defaults to true)
   * @return {Boolean} True if the value matched an item in the list, else false
   */

/**
   * Select an item in the dropdown list by its numeric index in the list. This function does NOT cause the select event to fire.
   * The store must be loaded and the list expanded for this function to work, otherwise use setValue.
   * @param {Number} index The zero-based index of the list item to select
   * @param {Boolean} scrollIntoView False to prevent the dropdown list from autoscrolling to display the
   * selected item if it is not currently in view (defaults to true)
   */

/**
   * Select records.
   * @param {Array} records The records to select
   * @param {Boolean} keepExisting (optional) <tt>true</tt> to keep existing selections
   */

/**
   * Select the last row.
   * @param {Boolean} keepExisting (optional) <tt>true</tt> to keep existing selections
   */

/**
   * Selects a cell.
   * @param {Array} cell The index of the cell ([rowIndex, columnIndex]) to select
   * @param {Boolean} keepExisting (optional) True to keep existing selections
   */

/**
   * Selects a cell.  Before selecting a cell, fires the
   * {@link #beforecellselect} event.  If this check is satisfied the cell
   * will be selected and followed up by  firing the {@link #cellselect} and
   * {@link #selectionchange} events.
   * @param {Number} rowIndex The index of the row to select
   * @param {Number} colIndex The index of the column to select
   * @param {Boolean} preventViewNotify (optional) Specify <tt>true</tt> to
   * prevent notifying the view (disables updating the selected appearance)
   * @param {Boolean} preventFocus (optional) Whether to prevent the cell at
   * the specified rowIndex / colIndex from being focused.
   * @param {Ext.data.Record} r (optional) The record to select
   */

/**
   * Selects a range of cells. All cells in between startCell and endCell are also selected.
   * @param {Array} startCell The index of the first cell ([rowIndex, columnIndex]) in the range
   * @param {Array} endCell The index of the last cell ([rowIndex, columnIndex]) in the range
   * @param {Boolean} keepExisting (optional) True to retain existing selections
   */

/**
   * Selects a range of nodes. All nodes between start and end are selected.
   * @param {Number} start The index of the first node in the range
   * @param {Number} end The index of the last node in the range
   * @param {Boolean} keepExisting (optional) True to retain existing selections
   */

/**
   * Selects a range of rows if the selection model
   * {@link Ext.grid.AbstractSelectionModel#isLocked is not locked}.
   * All rows in between startRow and endRow are also selected.
   * @param {Number} startRow The index of the first row in the range
   * @param {Number} endRow The index of the last row in the range
   * @param {Boolean} keepExisting (optional) True to retain existing selections
   */

/**
   * Selects a row.  Before selecting a row, checks if the selection model
   * {@link Ext.grid.AbstractSelectionModel#isLocked is locked} and fires the
   * {@link #beforerowselect} event.  If these checks are satisfied the row
   * will be selected and followed up by  firing the {@link #rowselect} and
   * {@link #selectionchange} events.
   * @param {Number} row The index of the row to select
   * @param {Boolean} keepExisting (optional) <tt>true</tt> to keep existing selections
   * @param {Boolean} preventViewNotify (optional) Specify <tt>true</tt> to
   * prevent notifying the view (disables updating the selected appearance)
   */

/**
   * Selects a set of nodes.
   * @param {Array/HTMLElement/String/Number} nodeInfo An HTMLElement template node, index of a template node,
   * id of a template node or an array of any of those to select
   * @param {Boolean} keepExisting (optional) true to keep existing selections
   * @param {Boolean} suppressEvent (optional) true to skip firing of the selectionchange vent
   */

/**
   * Selects all cells.
   */

/**
   * Selects all rows if the selection model
   * {@link Ext.grid.AbstractSelectionModel#isLocked is not locked}. 
   */

/**
   * Selects multiple cells.
   * @param {Array} cells Array of the indices ([rowIndex, columnIndex]) of the cells to select
   * @param {Boolean} keepExisting (optional) True to keep existing selections (defaults to false)
   */

/**
   * Selects multiple rows.
   * @param {Array} rows Array of the indexes of the row to select
   * @param {Boolean} keepExisting (optional) <tt>true</tt> to keep
   * existing selections (defaults to <tt>false</tt>)
   */

/**
   * Selects text in this field
   * @param {Number} start (optional) The index where the selection should start (defaults to 0)
   * @param {Number} end (optional) The index where the selection should end (defaults to the text length)
   */

/**
   * Selects the Model to relate to
   * @type {Ext.form.ComboBox} modelCombo
   */

/**
   * Selects the cell above the last selected cell.
   * @param {Boolean} keepExisting (optional) True to keep existing selections
   * @return {Boolean} True if selection is successful, else false
   */

/**
   * Selects the cell to the left of the last selected cell.
   * @param {Boolean} keepExisting (optional) True to keep existing selections
   * @return {Boolean} True if selection is successful, else false
   */

/**
   * Selects the cell to the right of the last selected cell.
   * @param {Boolean} keepExisting (optional) True to keep existing selections
   * @return {Boolean} True if selection is successful, else false
   */

/**
   * Selects the cell underneath the last selected cell.
   * @param {Boolean} keepExisting (optional) True to keep existing selections
   * @return {Boolean} True if selection is successful, else false
   */

/**
   * Selects the first row in the grid.
   */

/**
   * Selects the node above the selected node in the tree, intelligently walking the nodes
   * @return TreeNode The new selection
   */

/**
   * Selects the node in this tree at the specified path. A path can be retrieved from a node with {@link Ext.data.Node#getPath}
   * @param {String} path
   * @param {String} attr (optional) The attribute used in the path (see {@link Ext.data.Node#getPath} for more info)
   * @param {Function} callback (optional) The callback to call when the selection is complete. The callback will be called with
   * (bSuccess, oSelNode) where bSuccess is if the selection was successful and oSelNode is the selected node.
   * @param {keep} bool keep current selection
   */

/**
   * Selects the node in this tree at the specified path. A path can be retrieved from a node with {@link Ext.data.Node#getPath}
   * @param {String} path
   * @param {String} attr (optional) The attribute used in the path (see {@link Ext.data.Node#getPath} for more info)
   * @param {Function} callback (optional) The callback to call when the selection is complete. The callback will be called with
   * (bSuccess, oSelNode) where bSuccess is if the selection was successful and oSelNode is the selected node.
   */

/**
   * Selects the row immediately following the last selected row.
   * @param {Boolean} keepExisting (optional) <tt>true</tt> to keep existing selections
   * @return {Boolean} <tt>true</tt> if there is a next row, else <tt>false</tt>
   */

/**
   * Selects the row that precedes the last selected row.
   * @param {Boolean} keepExisting (optional) <tt>true</tt> to keep existing selections
   * @return {Boolean} <tt>true</tt> if there is a previous row, else <tt>false</tt>
   */

/**
   * Selects the specified color in the palette (fires the {@link #select} event)
   * @param {String} color A valid 6-digit color hex code (# will be stripped if included)
   */

/**
   * Sends this window to the back of (lower z-index than) any other visible windows
   * @return {Ext.Window} this
   */

/**
   * Sequenced function for adding the menuBtn to the grid's header.
   * Called in the scope of this plugin.
   */

/**
   * Sequenced function for storing the view's cm property,
   * Called in the scope of this plugin.
   */

/**
   * Serialize the passed form into a url encoded string
   * @param {String/HTMLElement} form
   * @return {String}
   */

/**
   * Set Z-index of the layer, which is used to order layers before rendering.
   * The default Z-index is 0.
   * @param {number} zindex The z-index of the layer.
   * @observable
   * @api
   */

/**
   * Set a geometry that is rendered instead of the feature's geometry.
   *
   * @param {string|import("../geom/Geometry.js").default|GeometryFunction} geometry
   *     Feature property or geometry or function returning a geometry to render
   *     for this style.
   * @api
   */

/**
   * Set a maximum number of entries for the cache.
   * @param {number} size Cache size.
   * @api
   */

/**
   * Set a new maximum zoom level for the view.
   * @param {number} zoom The maximum zoom level.
   * @api
   */

/**
   * Set a new minimum zoom level for the view.
   * @param {number} zoom The minimum zoom level.
   * @api
   */

/**
   * Set field value
   * @param {Ext.form.Field} field
   * @param {Boolean} samevalue true, if value is the same of all records
   */

/**
   * Set if the projection is a global projection which spans the whole world
   * @param {boolean} global Whether the projection is global.
   * @api
   */

/**
   * Set slider to a certain position by entering an array with start and end
   */

/**
   * Set the URL to use for requests.
   * @param {string} url URL.
   * @api
   */

/**
   * Set the URLs to use for requests.
   * @param {Array<string>} urls URLs.
   * @api
   */

/**
   * Set the `overflow` property.
   *
   * @param {boolean} overflow Let text overflow the path that it follows.
   * @api
   */

/**
   * Set the adapter this SplitBar uses
   * @param {Object} adapter A SplitBar adapter object
   */

/**
   * Set the anchor point. The anchor determines the center point for the
   * symbolizer.
   *
   * @param {Array<number>} anchor Anchor.
   * @api
   */

/**
   * Set the attributions of the source.
   * @param {AttributionLike|undefined} attributions Attributions.
   *     Can be passed as `string`, `Array<string>`, {@link module:ol/source/Source~Attribution},
   *     or `undefined`.
   * @api
   */

/**
   * Set the background fill.
   *
   * @param {import("./Fill.js").default} fill Fill style.
   * @api
   */

/**
   * Set the background stroke.
   *
   * @param {import("./Stroke.js").default} stroke Stroke style.
   * @api
   */

/**
   * Set the cache size of the icon cache. Default is `32`. Change this value when
   * your map uses more than 32 different icon images and you are not caching icon
   * styles on the application level.
   * @param {number} maxCacheSize Cache max size.
   * @api
   */

/**
   * Set the center of the current view. Any extent constraint will apply.
   * @param {import("./coordinate.js").Coordinate|undefined} center The center of the view.
   * @observable
   * @api
   */

/**
   * Set the center using the view projection (not the user projection).
   * @param {import("./coordinate.js").Coordinate|undefined} center The center of the view.
   */

/**
   * Set the checked state of this item
   * @param {Boolean} checked The new checked value
   * @param {Boolean} suppressEvent (optional) True to prevent the checkchange event from firing (defaults to false)
   */

/**
   * Set the circle radius.
   *
   * @param {number} radius Circle radius.
   * @api
   */

/**
   * Set the color.
   *
   * @param {import("../color.js").Color|import("../colorlike.js").ColorLike|null} color Color.
   * @api
   */

/**
   * Set the color.
   *
   * @param {import("../color.js").Color|import("../colorlike.js").ColorLike} color Color.
   * @api
   */

/**
   * Set the coordinates of the linear ring.
   * @param {!Array<import("../coordinate.js").Coordinate>} coordinates Coordinates.
   * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
   * @api
   */

/**
   * Set the coordinates of the polygon.
   * @param {!Array<Array<import("../coordinate.js").Coordinate>>} coordinates Coordinates.
   * @param {import("./Geometry.js").GeometryLayout} [layout] Layout.
   * @api
   */

/**
   * Set the default geometry for the feature.  This will update the property
   * with the name returned by {@link module:ol/Feature~Feature#getGeometryName}.
   * @param {Geometry|undefined} geometry The new geometry.
   * @api
   * @observable
   */

/**
   * Set the displacement.
   *
   * @param {Array<number>} displacement Displacement.
   * @api
   */

/**
   * Set the element at the provided index.
   * @param {number} index Index.
   * @param {T} elem Element.
   * @api
   */

/**
   * Set the extent at which the layer is visible.  If `undefined`, the layer
   * will be visible at all extents.
   * @param {import("../extent.js").Extent|undefined} extent The extent of the layer.
   * @observable
   * @api
   */

/**
   * Set the feature id.  The feature id is considered stable and may be used when
   * requesting features or comparing identifiers returned from a remote source.
   * The feature id can be used with the
   * {@link module:ol/source/Vector~VectorSource#getFeatureById} method.
   * @param {number|string|undefined} id The feature id.
   * @api
   * @fires module:ol/events/Event~BaseEvent#event:change
   */

/**
   * Set the fill and stroke style for subsequent draw operations.  To clear
   * either fill or stroke styles, pass null for the appropriate parameter.
   *
   * @param {import("../../style/Fill.js").default} fillStyle Fill style.
   * @param {import("../../style/Stroke.js").default} strokeStyle Stroke style.
   */

/**
   * Set the fill style.
   * @param {import("./Fill.js").default} fill Fill style.
   * @api
   */

/**
   * Set the fill.
   *
   * @param {import("./Fill.js").default} fill Fill style.
   * @api
   */

/**
   * Set the font.
   *
   * @param {string|undefined} font Font.
   * @api
   */

/**
   * Set the getPointResolution function (see {@link module:ol/proj.getPointResolution}
   * for this projection.
   * @param {function(number, import("../coordinate.js").Coordinate):number} func Function
   * @api
   */

/**
   * Set the height of the icon in pixels.
   *
   * @param {number} height The height to set.
   */

/**
   * Set the image style for subsequent draw operations.  Pass null to remove
   * the image style.
   *
   * @param {import("../../style/Image.js").default} imageStyle Image style.
   */

/**
   * Set the image style.
   * @param {import("./Image.js").default} image Image style.
   * @api
   */

/**
   * Set the justification.
   *
   * @param {TextJustify|undefined} justify Justification.
   * @api
   */

/**
   * Set the layer source.
   * @param {SourceType|null} source The layer source.
   * @observable
   * @api
   */

/**
   * Set the level as number to which we will preload tiles up to.
   * @param {number} preload The level to preload tiles up to.
   * @observable
   * @api
   */

/**
   * Set the line cap.
   *
   * @param {CanvasLineCap|undefined} lineCap Line cap.
   * @api
   */

/**
   * Set the line dash offset.
   *
   * @param {number|undefined} lineDashOffset Line dash offset.
   * @api
   */

/**
   * Set the line dash.
   *
   * @param {Array<number>|null} lineDash Line dash.
   * @api
   */

/**
   * Set the line join.
   *
   * @param {CanvasLineJoin|undefined} lineJoin Line join.
   * @api
   */

/**
   * Set the maximum angle between adjacent characters.
   *
   * @param {number} maxAngle Angle in radians.
   * @api
   */

/**
   * Set the maximum resolution at which the layer is visible.
   * @param {number} maxResolution The maximum resolution of the layer.
   * @observable
   * @api
   */

/**
   * Set the maximum zoom (exclusive) at which the layer is visible.
   * Note that the zoom levels for layer visibility are based on the
   * view zoom level, which may be different from a tile source zoom level.
   * @param {number} maxZoom The maximum zoom of the layer.
   * @observable
   * @api
   */

/**
   * Set the minimum resolution at which the layer is visible.
   * @param {number} minResolution The minimum resolution of the layer.
   * @observable
   * @api
   */

/**
   * Set the minimum zoom (inclusive) at which the layer is visible.
   * Note that the zoom levels for layer visibility are based on the
   * view zoom level, which may be different from a tile source zoom level.
   * @param {number} minZoom The minimum zoom of the layer.
   * @observable
   * @api
   */

/**
   * Set the miter limit.
   *
   * @param {number|undefined} miterLimit Miter limit.
   * @api
   */

/**
   * Set the new loader of the source. The next render cycle will use the
   * new loader.
   * @param {import("../featureloader.js").FeatureLoader} loader The loader to set.
   * @api
   */

/**
   * Set the opacity of the layer, allowed values range from 0 to 1.
   * @param {number} opacity The opacity of the layer.
   * @observable
   * @api
   */

/**
   * Set the opacity.
   *
   * @param {number} opacity Opacity.
   * @api
   */

/**
   * Set the padding (`[top, right, bottom, left]`).
   *
   * @param {Array<number>|null} padding Padding.
   * @api
   */

/**
   * Set the property name to be used when getting the feature's default geometry.
   * When calling {@link module:ol/Feature~Feature#getGeometry}, the value of the property with
   * this name will be returned.
   * @param {string} name The property name of the default geometry.
   * @api
   */

/**
   * Set the rendering style.
   *
   * @param {import("../style/Style.js").default} style The rendering style.
   */

/**
   * Set the rendering style.  Note that since this is an immediate rendering API,
   * any `zIndex` on the provided style will be ignored.
   *
   * @param {import("../../style/Style.js").default} style The rendering style.
   * @api
   */

/**
   * Set the resolution for this view. Any resolution constraint will apply.
   * @param {number|undefined} resolution The resolution of the view.
   * @observable
   * @api
   */

/**
   * Set the rotation for this view. Any rotation constraint will apply.
   * @param {number} rotation The rotation of the view in radians.
   * @observable
   * @api
   */

/**
   * Set the rotation.
   *
   * @param {number|undefined} rotation Rotation.
   * @api
   */

/**
   * Set the rotation.
   *
   * @param {number} rotation Rotation.
   * @api
   */

/**
   * Set the scale and updates the width and height correspondingly.
   *
   * @param {number|import("../size.js").Size} scale Scale.
   * @override
   * @api
   */

/**
   * Set the scale of the Icon by calculating it from given width and height and the
   * width and height of the image.
   *
   * @private
   * @param {number} width The width.
   * @param {number} height The height.
   */

/**
   * Set the scale.
   *
   * @param {number|import("../size.js").Size|undefined} scale Scale.
   * @api
   */

/**
   * Set the scale.
   *
   * @param {number|import("../size.js").Size} scale Scale.
   * @api
   */

/**
   * Set the size of this map.
   * @param {import("./size.js").Size|undefined} size The size in pixels of the map in the DOM.
   * @observable
   * @api
   */

/**
   * Set the slider width
   *
   * @param start 0-23.99
   * @param end 0-23.99
   */

/**
   * Set the state of the source.
   * @param {import("./Source.js").State} state State.
   */

/**
   * Set the stroke style.
   * @param {import("./Stroke.js").default} stroke Stroke style.
   * @api
   */

/**
   * Set the stroke.
   *
   * @param {import("./Stroke.js").default} stroke Stroke style.
   * @api
   */

/**
   * Set the style for features.  This can be a single style object, an array
   * of styles, or a function that takes a feature and resolution and returns
   * an array of styles. If set to `null`, the layer has no style (a `null` style),
   * so only features that have their own styles will be rendered in the layer. Call
   * `setStyle()` without arguments to reset to the default style. See
   * [the ol/style/Style module]{@link module:ol/style/Style~Style} for information on the default style.
   *
   * If your layer has a static style, you can use "flat" style object literals instead of
   * using the `Style` and symbolizer constructors (`Fill`, `Stroke`, etc.).  See the documentation
   * for the [flat style types]{@link module:ol/style/flat~FlatStyle} to see what properties are supported.
   *
   * @param {import("../style/Style.js").StyleLike|import("../style/flat.js").FlatStyleLike|null} [style] Layer style.
   * @api
   */

/**
   * Set the style for the feature to override the layer style.  This can be a
   * single style object, an array of styles, or a function that takes a
   * resolution and returns an array of styles. To unset the feature style, call
   * `setStyle()` without arguments or a falsey value.
   * @param {import("./style/Style.js").StyleLike} [style] Style for this feature.
   * @api
   * @fires module:ol/events/Event~BaseEvent#event:change
   */

/**
   * Set the target element to render this map into.
   * @param {HTMLElement|string} [target] The Element or id of the Element
   *     that the map is rendered in.
   * @observable
   * @api
   */

/**
   * Set the text alignment.
   *
   * @param {CanvasTextAlign|undefined} textAlign Text align.
   * @api
   */

/**
   * Set the text baseline.
   *
   * @param {CanvasTextBaseline|undefined} textBaseline Text baseline.
   * @api
   */

/**
   * Set the text placement.
   *
   * @param {TextPlacement} placement Placement.
   * @api
   */

/**
   * Set the text style for subsequent draw operations.  Pass null to
   * remove the text style.
   *
   * @param {import("../../style/Text.js").default} textStyle Text style.
   */

/**
   * Set the text style.
   * @param {import("./Text.js").default} text Text style.
   * @api
   */

/**
   * Set the text.
   *
   * @param {string|Array<string>|undefined} text Text.
   * @api
   */

/**
   * Set the tile URL function of the source.
   * @param {import("../Tile.js").UrlFunction} tileUrlFunction Tile URL function.
   * @param {string} [key] Optional new tile key for the source.
   * @api
   */

/**
   * Set the tile load function of the source.
   * @param {import("../Tile.js").LoadFunction} tileLoadFunction Tile load function.
   * @api
   */

/**
   * Set the validity extent for this projection.
   * @param {import("../extent.js").Extent} extent Extent.
   * @api
   */

/**
   * Set the value for a property name in this store's {@link #baseParams}.  Usage:</p><pre><code>
  myStore.setBaseParam('foo', {bar:3});
  </code></pre>
   * @param {String} name Name of the property to assign
   * @param {Mixed} value Value to assign the <tt>name</tt>d property
   **/

/**
   * Set the value of the {@link Field#name named field}.
   * @param {String} name The {@link Field#name name of the field} to get the value of.
   * @return {Object} this.
   */

/**
   * Set the value to be used as the key for all tiles in the source.
   * @param {string} key The key for tiles.
   * @protected
   */

/**
   * Set the view for this map.
   * @param {View|Promise<import("./View.js").ViewOptions>} view The view that controls this map.
   * It is also possible to pass a promise that resolves to options for constructing a view.  This
   * alternative allows view properties to be resolved by sources or other components that load
   * view-related metadata.
   * @observable
   * @api
   */

/**
   * Set the visibility of the layer (`true` or `false`).
   * @param {boolean} visible The visibility of the layer.
   * @observable
   * @api
   */

/**
   * Set the width of the icon in pixels.
   *
   * @param {number} width The width to set.
   */

/**
   * Set the width.
   *
   * @param {number|undefined} width Width.
   * @api
   */

/**
   * Set the world extent for this projection.
   * @param {import("../extent.js").Extent} worldExtent World extent
   *     [minlon, minlat, maxlon, maxlat].
   * @api
   */

/**
   * Set the x offset.
   *
   * @param {number} offsetX Horizontal text offset.
   * @api
   */

/**
   * Set the y offset.
   *
   * @param {number} offsetY Vertical text offset.
   * @api
   */

/**
   * Set the z-index.
   *
   * @param {number|undefined} zIndex ZIndex.
   * @api
   */

/**
   * Set the {@link Ext.data.Field#name named field} to the specified value.  For example:
   * <pre><code>
  // record has a field named 'firstname'
  var Employee = Record.{@link #create}([
  {name: 'firstname'},
  ...
  ]);
  // update the 2nd record in the store:
  var rec = myStore.{@link Ext.data.Store#getAt getAt}(1);
  // set the value (shows dirty flag):
  rec.set('firstname', 'Betty');
  // commit the change (removes dirty flag):
  rec.{@link #commit}();
  // update the record in the store, bypass setting dirty flag,
  // and do not store the change in the {@link Ext.data.Store#getModifiedRecords modified records}
  rec.{@link #data}['firstname'] = 'Wilma'; // updates record, but not the view
  rec.{@link #commit}(); // updates the view
   * </code></pre>
   * <b>Notes</b>:<div class="mdetail-params"><ul>
   * <li>If the store has a writer and <code>autoSave=true</code>, each set()
   * will execute an XHR to the server.</li>
   * <li>Use <code>{@link #beginEdit}</code> to prevent the store's <code>update</code>
   * event firing while using set().</li>
   * <li>Use <code>{@link #endEdit}</code> to have the store's <code>update</code>
   * event fire.</li>
   * </ul></div>
   * @param {String} name The {@link Ext.data.Field#name name of the field} to set.
   * @param {String/Object/Array} value The value to set the field to.
   * @return {Object} this.
   */

/**
   * Set the {@link module:ol/Collection~Collection collection} of {@link module:ol/layer/Layer~Layer layers}
   * in this group.
   * @param {!Collection<import("./Base.js").default>} layers Collection of
   *   {@link module:ol/layer/Base~BaseLayer layers} that are part of this group.
   * @observable
   * @api
   */

/**
   * Set this property to <tt>true</tt> to disable the header click handler disabling sort
   * (defaults to <tt>false</tt>).
   * @type Boolean
   * @property disableHeaders
   */

/**
   * Set to empty value if value equals 0
   * @cfg emptyOnZero
   */

/**
   * Set up the view with the given options.
   * @param {ViewOptions} options View options.
   */

/**
   * Set values for fields in this form in bulk.
   * @param {Array/Object} values Either an array in the form:<pre><code>
  [{id:'clientName', value:'Fred. Olsen Lines'},
  {id:'portOfLoading', value:'FXT'},
  {id:'portOfDischarge', value:'OSL'} ]</code></pre>
   * or an object hash of the form:<pre><code>
  {
  clientName: 'Fred. Olsen Lines',
  portOfLoading: 'FXT',
  portOfDischarge: 'OSL'
  }</code></pre>
   * @return {BasicForm} this
   */

/**
   * Set whether the attribution should be collapsible.
   * @param {boolean} collapsible True if the widget is collapsible.
   * @api
   */

/**
   * Set whether the view should allow intermediary zoom levels.
   * @param {boolean} enabled Whether the resolution is constrained.
   * @api
   */

/**
   * Set whether to rotate the style with the view.
   *
   * @param {boolean} rotateWithView Rotate with map.
   * @api
   */

/**
   * Set whether to rotate the text with the view.
   *
   * @param {boolean} rotateWithView Rotate with map.
   * @api
   */

/**
   * Set whether we use interim tiles on error.
   * @param {boolean} useInterimTilesOnError Use interim tiles on error.
   * @observable
   * @api
   */

/**
   * Sets DockBadge
   *
   * @param {Number|String} value
   */

/**
   * Sets a collection of key-value pairs.  Note that this changes any existing
   * properties and adds new ones (it does not remove any existing properties).
   * @param {Object<string, *>} values Values.
   * @param {boolean} [silent] Update without triggering an event.
   * @api
   */

/**
   * Sets a custom renderer function for this style used
   * in hit detection.
   * @param {RenderFunction|null} renderer Custom renderer function.
   * @api
   */

/**
   * Sets a custom renderer function for this style. When set, `fill`, `stroke`
   * and `image` options of the style will be ignored.
   * @param {RenderFunction|null} renderer Custom renderer function.
   * @api
   */

/**
   * Sets a data value into the field and validates it.  To set the value directly without validation see {@link #setRawValue}.
   * @param {Mixed} value The value to set
   * @param {Mixed} record The record if appropriate
   * @param {Mixed} reset reset originalValue
   * @return {Ext.form.Field} this
   */

/**
   * Sets a new editor for this column.
   * @param {Ext.Editor/Ext.form.Field} editor The editor to set
   */

/**
   * Sets a value.
   * @param {string} key Key name.
   * @param {*} value Value.
   * @param {boolean} [silent] Update without triggering an event.
   * @api
   */

/**
   * Sets an HTML image element for this tile (may be a Canvas or preloaded Image).
   * @param {HTMLCanvasElement|HTMLImageElement} element Element.
   */

/**
   * Sets either the checked/unchecked status of this Radio, or, if a string value
   * is passed, checks a sibling Radio of the same name whose value is the value specified.
   * @param value {String/Boolean} Checked value, or the value of the sibling radio button to check.
   * @return {Ext.form.Field} this
   */

/**
   * Sets if a column is editable.
   * @param {Number} col The column index
   * @param {Boolean} editable True if the column is editable
   */

/**
   * Sets if a column is hidden.
  <pre><code>
  myGrid.getColumnModel().setHidden(0, true); // hide column 0 (0 = the first column).
  </code></pre>
   * @param {Number} colIndex The column index
   * @param {Boolean} hidden True if the column is hidden
   * @param {Boolean} suppressEvent True to suppress firing the <code>{@link #widthchange}</code>
   */

/**
   * Sets the CSS class that provides a background image to use as the button's icon.  This method also changes
   * the value of the {@link iconCls} config internally.
   * @param {String} cls The CSS class providing the icon image
   * @return {Ext.Button} this
   */

/**
   * Sets the CSS class that provides the icon image for this panel.  This method will replace any existing
   * icon class if one has already been set and fire the {@link #iconchange} event after completion.
   * @param {String} cls The new CSS class name
   */

/**
   * Sets the CSS class to apply to the item's icon element
   * @param {String} cls The CSS class to apply
   */

/**
   * Sets the HTML used as the template and optionally compiles it.
   * @param {String} html
   * @param {Boolean} compile (optional) True to compile the template (defaults to undefined)
   * @return {Ext.Template} this
   */

/**
   * Sets the active (expanded) item in the layout.
   * @param {String/Number} item The string component id or numeric index of the item to activate
   */

/**
   * Sets the active (visible) item in the layout.
   * @param {String/Number} item The string component id or numeric index of the item to activate
   */

/**
   * Sets the background color.
   * @param {BackgroundColor} [background] Background color.
   */

/**
   * Sets the background image (inline style) of the button.  This method also changes
   * the value of the {@link icon} config internally.
   * @param {String} icon The path to an image to display in the button
   * @return {Ext.Button} this
   */

/**
   * Sets the button's active menu item.
   * @param {Ext.menu.CheckItem} item The item to activate
   * @param {Boolean} suppressEvent True to prevent the button's change event from firing (defaults to false)
   */

/**
   * Sets the checked radio in the group.
   * @param {String/Ext.form.Radio} id The radio to check.
   * @param {Boolean} value The value to set the radio.
   * @return {Ext.form.RadioGroup} this
   */

/**
   * Sets the checked state of the checkbox, fires the 'check' event, and calls a
   * <code>{@link #handler}</code> (if configured).
   * @param {Boolean/String} checked The following values will check the checkbox:
   * <code>true, 'true', '1', or 'on'</code>. Any other value will uncheck the checkbox.
   * @return {Ext.form.Field} this
   */

/**
   * Sets the checked status of the tree node to the passed value, or, if no value was passed,
   * toggles the checked status. If the node was rendered with no checkbox, this has no effect.
   * @param {Boolean} (optional) The new checked status.
   */

/**
   * Sets the current box measurements of the component's underlying element.
   * @param {Object} box An object in the format {x, y, width, height}
   * @return {Ext.BoxComponent} this
   */

/**
   * Sets the data value of the editor
   * @param {Mixed} value Any valid value supported by the underlying field
   */

/**
   * Sets the dataIndex for a column.
   * @param {Number} col The column index
   * @param {String} dataIndex The new dataIndex
   */

/**
   * Sets the default sort column and order to be used by the next {@link #load} operation.
   * @param {String} fieldName The name of the field to sort by.
   * @param {String} dir (optional) The sort order, 'ASC' or 'DESC' (case-sensitive, defaults to <tt>'ASC'</tt>)
   */

/**
   * Sets the default time when using the first time or after clearing the datefield
   * @param {Ext.form.Field}
   * @param {DateTime} newValue
   * @param {DateTime} oldValue
   */

/**
   * Sets the disabled state of all components using this action.  Shortcut method
   * for {@link #enable} and {@link #disable}.
   * @param {Boolean} disabled True to disable the component, false to enable it
   */

/**
   * Sets the drag element to the location of the mousedown or click event,
   * maintaining the cursor location relative to the location on the element
   * that was clicked.  Override this if you want to place the element in a
   * location other than where the cursor is.
   * @method setDragElPos
   * @param {int} iPageX the X coordinate of the mousedown or drag event
   * @param {int} iPageY the Y coordinate of the mousedown or drag event
   */

/**
   * Sets the editor for a column and destroys the prior editor.
   * @param {Number} col The column index
   * @param {Object} editor The editor object
   */

/**
   * Sets the element to the location of the mousedown or click event,
   * maintaining the cursor location relative to the location on the element
   * that was clicked.  Override this if you want to place the element in a
   * location other than where the cursor is.
   * @method alignElWithMouse
   * @param {HTMLElement} el the element to move
   * @param {int} iPageX the X coordinate of the mousedown or drag event
   * @param {int} iPageY the Y coordinate of the mousedown or drag event
   */

/**
   * Sets the element's box. Use getBox() on another element to get a box obj. If animate is true then width, height, x and y will be animated concurrently.
   * @param {Object} box The box to fill {x, y, width, height}
   * @param {Boolean} adjust (optional) Whether to adjust for box-model issues automatically
   * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
   * @return {Ext.Element} this
   */

/**
   * Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently.
   * @param {Number} x X value for new position (coordinates are page-based)
   * @param {Number} y Y value for new position (coordinates are page-based)
   * @param {Mixed} width The new width. This may be one of:<div class="mdetail-params"><ul>
   * <li>A Number specifying the new width in this Element's {@link #defaultUnit}s (by default, pixels)</li>
   * <li>A String used to set the CSS width style. Animation may <b>not</b> be used.
   * </ul></div>
   * @param {Mixed} height The new height. This may be one of:<div class="mdetail-params"><ul>
   * <li>A Number specifying the new height in this Element's {@link #defaultUnit}s (by default, pixels)</li>
   * <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
   * </ul></div>
   * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
   * @return {Ext.Element} this
   */

/**
   * Sets the element's position and size the specified region. If animation is true then width, height, x and y will be animated concurrently.
   * @param {Ext.lib.Region} region The region to fill
   * @param {Boolean/Object} animate (optional) true for the default animation or a standard Element animation config object
   * @return {Ext.Element} this
   */

/**
   * Sets the function that will be called by each Component using this action when its primary event is triggered.
   * @param {Function} fn The function that will be invoked by the action's components.  The function
   * will be called with no arguments.
   * @param {Object} scope The scope (<code>this</code> reference) in which the function is executed. Defaults to the Component firing the event.
   */

/**
   * Sets the function that will handle click events for this item (equivalent to passing in the {@link #handler}
   * config property).  If an existing handler is already registered, it will be unregistered for you.
   * @param {Function} handler The function that should be called on click
   * @param {Object} scope The scope (<code>this</code> reference) in which the handler function is executed. Defaults to this menu item.
   */

/**
   * Sets the header for a column.
   * @param {Number} col The column index
   * @param {String} header The new header
   */

/**
   * Sets the height and width of this editor.
   * @param {Number} width The new width
   * @param {Number} height The new height
   */

/**
   * Sets the height of the component.  This method fires the {@link #resize} event.
   * @param {Number} height The new height to set. This may be one of:<div class="mdetail-params"><ul>
   * <li>A Number specifying the new height in the {@link #getEl Element}'s {@link Ext.Element#defaultUnit}s (by default, pixels).</li>
   * <li>A String used to set the CSS height style.</li>
   * <li><i>undefined</i> to leave the height unchanged.</li>
   * </ul></div>
   * @return {Ext.BoxComponent} this
   */

/**
   * Sets the hidden state of all components using this action.  Shortcut method
   * for <code>{@link #hide}</code> and <code>{@link #show}</code>.
   * @param {Boolean} hidden True to hide the component, false to show it
   */

/**
   * Sets the icon CSS class for all components using this action.  The class should supply
   * a background image that will be used as the icon image.
   * @param {String} cls The CSS class supplying the icon image
   */

/**
   * Sets the initialize size for the resizing element
   * @param {Number} size The initial size
   */

/**
   * Sets the layer to be rendered on top of other layers on a map. The map will
   * not manage this layer in its layers collection. This
   * is useful for temporary layers. To remove an unmanaged layer from the map,
   * use `#setMap(null)`.
   *
   * To add the layer to a map and have it managed by the map, use
   * {@link module:ol/Map~Map#addLayer} instead.
   * @param {import("../Map.js").default|null} map Map.
   * @api
   */

/**
   * Sets the layergroup of this map.
   * @param {LayerGroup} layerGroup A layer group containing the layers in this map.
   * @observable
   * @api
   */

/**
   * Sets the left and top of the component.  To set the page XY position instead, use {@link #setPagePosition}.
   * This method fires the {@link #move} event.
   * @param {Number} left The new left
   * @param {Number} top The new top
   * @return {Ext.BoxComponent} this
   */

/**
   * Sets the maximum size for the resizing element
   * @param {Number} maxSize The maximum size
   */

/**
   * Sets the maximum value for the slider instance. If the current value is more than the 
   * maximum value, the current value will be changed.
   * @param {Number} val The new maximum value
   */

/**
   * Sets the minimum size for the resizing element
   * @param {Number} minSize The minimum size
   */

/**
   * Sets the minimum value for the slider instance. If the current value is less than the 
   * minimum value, the current value will be changed.
   * @param {Number} val The new minimum value
   */

/**
   * Sets the overflow on the content element of the component.
   * @param {Boolean} scroll True to allow the Component to auto scroll.
   * @return {Ext.BoxComponent} this
   */

/**
   * Sets the page XY position of the component.  To set the left and top instead, use {@link #setPosition}.
   * This method fires the {@link #move} event.
   * @param {Number} x The new x position
   * @param {Number} y The new y position
   * @return {Ext.BoxComponent} this
   */

/**
   * Sets the pointer offset to the distance between the linked element's top
   * left corner and the location the element was clicked
   * @method autoOffset
   * @param {int} iPageX the X coordinate of the click
   * @param {int} iPageY the Y coordinate of the click
   */

/**
   * Sets the pointer offset.  You can call this directly to force the
   * offset to be in a particular location (e.g., pass in 0,0 to set it
   * to the center of the object)
   * @method setDelta
   * @param {int} iDeltaX the distance from the left
   * @param {int} iDeltaY the distance from the top
   */

/**
   * Sets the read only state of this field.
   * @param {Boolean} readOnly Whether the field should be read only.
   */

/**
   * Sets the rendering (formatting) function for a column.  See {@link Ext.util.Format} for some
   * default formatting functions.
   * @param {Number} col The column index
   * @param {Function} fn The function to use to process the cell's raw data
   * to return HTML markup for the grid view. The render function is called with
   * the following parameters:<ul>
   * <li><b>value</b> : Object<p class="sub-desc">The data value for the cell.</p></li>
   * <li><b>metadata</b> : Object<p class="sub-desc">An object in which you may set the following attributes:<ul>
   * <li><b>css</b> : String<p class="sub-desc">A CSS class name to add to the cell's TD element.</p></li>
   * <li><b>attr</b> : String<p class="sub-desc">An HTML attribute definition string to apply to the data container element <i>within</i> the table cell
   * (e.g. 'style="color:red;"').</p></li></ul></p></li>
   * <li><b>record</b> : Ext.data.record<p class="sub-desc">The {@link Ext.data.Record} from which the data was extracted.</p></li>
   * <li><b>rowIndex</b> : Number<p class="sub-desc">Row index</p></li>
   * <li><b>colIndex</b> : Number<p class="sub-desc">Column index</p></li>
   * <li><b>store</b> : Ext.data.Store<p class="sub-desc">The {@link Ext.data.Store} object from which the Record was extracted.</p></li></ul>
   */

/**
   * Sets the root node for this tree.
   * @param {Node} node
   * @return {Node}
   */

/**
   * Sets the root node for this tree. If the TreePanel has already rendered a root node, the
   * previous root node (and all of its descendants) are destroyed before the new root node is rendered.
   * @param {Node} node
   * @return {Node}
   */

/**
   * Sets the size of the progress bar.
   * @param {Number} width The new width in pixels
   * @param {Number} height The new height in pixels
   * @return {Ext.ProgressBar} this
   */

/**
   * Sets the source data object containing the property data.  The data object can contain one or more name/value
   * pairs representing all of the properties of an object to display in the grid, and this data will automatically
   * be loaded into the grid's {@link #store}.  The values should be supplied in the proper data type if needed,
   * otherwise string type will be assumed.  If the grid already contains data, this method will replace any
   * existing data.  See also the {@link #source} config value.  Example usage:
   * <pre><code>
  grid.setSource({
  "(name)": "My Object",
  "Created": new Date(Date.parse('10/15/2006')),  // date type
  "Available": false,  // boolean type
  "Version": .01,      // decimal type
  "Description": "A test object"
  });
  </code></pre>
   * @param {Object} source The data object
   */

/**
   * Sets the specified panel as the container element for this region.
   * @param {Ext.Panel} panel The new panel
   */

/**
   * Sets the specified tab as the active tab. This method fires the {@link #beforetabchange} event which
   * can <tt>return false</tt> to cancel the tab change.
   * @param {String/Number} item
   * The id or tab Panel to activate. This parameter may be any of the following:
   * <div><ul class="mdetail-params">
   * <li>a <b><tt>String</tt></b> : representing the <code>{@link Ext.Component#itemId itemId}</code>
   * or <code>{@link Ext.Component#id id}</code> of the child component </li>
   * <li>a <b><tt>Number</tt></b> : representing the position of the child component
   * within the <code>{@link Ext.Container#items items}</code> <b>property</b></li>
   * </ul></div>
   * <p>For additional information see {@link Ext.util.MixedCollection#get}.
   */

/**
   * Sets the specified value into the field.  If the value finds a match, the corresponding record text
   * will be displayed in the field.  If the value does not match the data value of an existing item,
   * and the valueNotFoundText config option is defined, it will be displayed as the default field text.
   * Otherwise the field will be blank (although the value will still be set).
   * 
   * @param {String} value The value to match
   * @return {Ext.form.Field} this
   */

/**
   * Sets the specified value into the field.  If the value finds a match, the corresponding record text
   * will be displayed in the field.  If the value does not match the data value of an existing item,
   * and the valueNotFoundText config option is defined, it will be displayed as the default field text.
   * Otherwise the field will be blank (although the value will still be set).
   * @param {String} value The value to match
   * @return {Ext.form.Field} this
   */

/**
   * Sets the state of this tile. If you write your own {@link module:ol/Tile~LoadFunction tileLoadFunction} ,
   * it is important to set the state correctly to {@link module:ol/TileState~ERROR}
   * when the tile cannot be loaded. Otherwise the tile cannot be removed from
   * the tile queue and will block other requests.
   * @param {import("./TileState.js").default} state State.
   * @api
   */

/**
   * Sets the target element from which the window should animate while opening.
   * @param {String/Element} el The target element or id
   */

/**
   * Sets the text for this node
   * @param {String} text
   */

/**
   * Sets the text to be displayed by all components using this action.
   * @param {String} text The text to display
   */

/**
   * Sets the text to display in this menu item
   * @param {String} text The text to display
   */

/**
   * Sets the tile grid to use when reprojecting the tiles to the given
   * projection instead of the default tile grid for the projection.
   *
   * This can be useful when the default tile grid cannot be created
   * (e.g. projection has no extent defined) or
   * for optimization reasons (custom tile size, resolutions, ...).
   *
   * @param {import("../proj.js").ProjectionLike} projection Projection.
   * @param {import("../tilegrid/TileGrid.js").default} tilegrid Tile grid to use for the projection.
   * @api
   */

/**
   * Sets the title text for the panel and optionally the icon class.
   * 
   * @param {String} title The title text to set
   * @param {String} iconCls (optional) iconCls A user-defined CSS class that provides the icon image for this panel
   */

/**
   * Sets the tooltip for a column.
   * @param {Number} col The column index
   * @param {String} tooltip The new tooltip
   */

/**
   * Sets the tooltip for this Button.
   * @param {String/Object} tooltip. This may be:<div class="mdesc-details"><ul>
   * <li><b>String</b> : A string to be used as innerHTML (html tags are accepted) to show in a tooltip</li>
   * <li><b>Object</b> : A configuration object for {@link Ext.QuickTips#register}.</li>
   * </ul></div>
   * @return {Ext.Button} this
   */

/**
   * Sets the underlying DOM field's value directly, bypassing validation.  To set the value with validation see {@link #setValue}.
   * @param {Mixed} value The value to set
   * @return {Mixed} value The field value that is set
   */

/**
   * Sets the value for a key
   * @param {String} name The key name
   * @param {Mixed} value The value to set
   */

/**
   * Sets the value of a property.
   * @param {String} prop The name of the property to set
   * @param {Mixed} value The value to test
   * @param {Boolean} create (Optional) True to create the property if it doesn't already exist. Defaults to <tt>false</tt>.
   */

/**
   * Sets the value of the date field
   * @param {Date} value The date to set
   */

/**
   * Sets the value of the date field.  You can pass a date object or any string that can be
   * parsed into a valid date, using <tt>{@link #format}</tt> as the date format, according
   * to the same rules as {@link Date#parseDate} (the default format used is <tt>"m/d/Y"</tt>).
   * <br />Usage:
   * <pre><code>
  //All of these calls set the same date value (May 4, 2006)
  //Pass a date object:
  var dt = new Date('5/4/2006');
  dateField.setValue(dt);
  //Pass a date string (default format):
  dateField.setValue('05/04/2006');
  //Pass a date string (custom format):
  dateField.format = 'Y-m-d';
  dateField.setValue('2006-05-04');
  </code></pre>
   * @param {String/Date} date The date or valid date string
   * @return {Ext.form.Field} this
   */

/**
   * Sets the width and height of this BoxComponent. This method fires the {@link #resize} event. This method can accept
   * either width and height as separate arguments, or you can pass a size object like <code>{width:10, height:20}</code>.
   * @param {Mixed} width The new width to set. This may be one of:<div class="mdetail-params"><ul>
   * <li>A Number specifying the new width in the {@link #getEl Element}'s {@link Ext.Element#defaultUnit}s (by default, pixels).</li>
   * <li>A String used to set the CSS width style.</li>
   * <li>A size object in the format <code>{width: widthValue, height: heightValue}</code>.</li>
   * <li><code>undefined</code> to leave the width unchanged.</li>
   * </ul></div>
   * @param {Mixed} height The new height to set (not required if a size object is passed as the first arg).
   * This may be one of:<div class="mdetail-params"><ul>
   * <li>A Number specifying the new height in the {@link #getEl Element}'s {@link Ext.Element#defaultUnit}s (by default, pixels).</li>
   * <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
   * <li><code>undefined</code> to leave the height unchanged.</li>
   * </ul></div>
   * @return {Ext.BoxComponent} this
   */

/**
   * Sets the width for a column.
   * @param {Number} col The column index
   * @param {Number} width The new width
   * @param {Boolean} suppressEvent True to suppress firing the <code>{@link #widthchange}</code>
   * event. Defaults to false.
   * @param isManualAction
   */

/**
   * Sets the width of the component.  This method fires the {@link #resize} event.
   * @param {Number} width The new width to setThis may be one of:<div class="mdetail-params"><ul>
   * <li>A Number specifying the new width in the {@link #getEl Element}'s {@link Ext.Element#defaultUnit}s (by default, pixels).</li>
   * <li>A String used to set the CSS width style.</li>
   * </ul></div>
   * @return {Ext.BoxComponent} this
   */

/**
   * Sets this Button's text
   * @param {String} text The button text
   * @return {Ext.Button} this
   */

/**
   * Sets this button's arrow click handler.
   * @param {Function} handler The function to call when the arrow is clicked
   * @param {Object} scope (optional) Scope for the function passed above
   */

/**
   * Sets up config options specific to this class. Overrides
   * Ext.dd.DragDrop, but all versions of this method through the
   * inheritance chain are called
   */

/**
   * Sets whether to render reprojection edges or not (usually for debugging).
   * @param {boolean} render Render the edges.
   * @api
   */

/**
   * Setting final fileRecord states
   */

/**
   * Setup column model for grid
   */

/**
   * Shortcut for performing an {@link #expand} or {@link #collapse} based on the current state of the panel.
   * @param {Boolean} animate True to animate the transition, else false (defaults to the value of the
   * {@link #animCollapse} panel config)
   * @return {Ext.Panel} this
   */

/**
   * Shortcut for the equivalent method of the combo
   */

/**
   * Shortcut to {@link #doAction do} a {@link Ext.form.Action.Load load action}.
   * @param {Object} options The options to pass to the action (see {@link #doAction} for details)
   * @return {BasicForm} this
   */

/**
   * Shortcut to {@link #doAction do} a {@link Ext.form.Action.Submit submit action}.
   * @param {Object} options The options to pass to the action (see {@link #doAction} for details).<br>
   * <p><b>Note:</b> this is ignored when using the {@link #standardSubmit} option.</p>
   * <p>The following code:</p><pre><code>
  myFormPanel.getForm().submit({
  clientValidation: true,
  url: 'updateConsignment.php',
  params: {
      newStatus: 'delivered'
  },
  success: function(form, action) {
     Ext.Msg.alert('Success', action.result.msg);
  },
  failure: function(form, action) {
      switch (action.failureType) {
          case Ext.form.Action.CLIENT_INVALID:
              Ext.Msg.alert('Failure', 'Form fields may not be submitted with invalid values');
              break;
          case Ext.form.Action.CONNECT_FAILURE:
              Ext.Msg.alert('Failure', 'Ajax communication failed');
              break;
          case Ext.form.Action.SERVER_INVALID:
             Ext.Msg.alert('Failure', action.result.msg);
     }
  }
  });
  </code></pre>
   * would process the following server response for a successful submission:<pre><code>
  {
  "success":true, // note this is Boolean, not string
  "msg":"Consignment updated"
  }
  </code></pre>
   * and the following server response for a failed submission:<pre><code>
  {
  "success":false, // note this is Boolean, not string
  "msg":"You do not have permission to perform this operation"
  }
  </code></pre>
   * @return {BasicForm} this
   */

/**
   * Shorthand for adding a single key listener
   * @param {Number/Array/Object} key Either the numeric key code, array of key codes or an object with the
   * following options:
   * {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)}
   * @param {Function} fn The function to call
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the browser window.
   */

/**
   * Should not be used directly.  Store#add will call this automatically if a Writer is set
   * @param {Object} store
   * @param {Object} rs
   * @param {Object} index
   * @private
   */

/**
   * Show a message in the summary row.
   * <pre><code>
  grid.on('afteredit', function(){
  var groupValue = 'Ext Forms: Field Anchoring';
  summary.showSummaryMsg(groupValue, 'Updating Summary...');
  });
   * </code></pre>
   * @param {String} groupValue
   * @param {String} msg Text to use as innerHTML for the summary row.
   */

/**
   * Show this LoadMask over the configured Element.
   */

/**
   * Show this button's menu (if it has one)
   */

/**
   * Show this component.  Listen to the '{@link #beforeshow}' event and return
   * <tt>false</tt> to cancel showing the component.  Fires the '{@link #show}'
   * event after showing the component.
   * @return {Ext.Component} this
   */

/**
   * Shows all components using this action.
   */

/**
   * Shows the proxy
   */

/**
   * Shows the window, rendering it first if necessary, or activates it and brings it to front if hidden.
   * @param {String/Element} animateTarget (optional) The target element or id from which the window should
   * animate while opening (defaults to null with no animation)
   * @param {Function} callback (optional) A callback function to call after the window is displayed
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this Window.
   * @return {Ext.Window} this
   */

/**
   * Shows this node.
   */

/**
   * Shows this tip at the specified XY position.  Example usage:
   * <pre><code>
  // Show the tip at x:50 and y:100
  tip.showAt([50,100]);
  </code></pre>
   * @param {Array} xy An array containing the x and y coordinates
   */

/**
   * Shows this tooltip at the current event target XY position.
   */

/**
   * Sort the Records.
   * If remote sorting is used, the sort is performed on the server, and the cache is reloaded. If local
   * sorting is used, the cache is sorted internally. See also {@link #remoteSort} and {@link #paramNames}.
   * @param {String} fieldName The name of the field to sort by.
   * @param {String} dir (optional) The sort order, 'ASC' or 'DESC' (case-sensitive, defaults to <tt>'ASC'</tt>)
   */

/**
   * Sorts this collection by <b>item</b> value with the passed comparison function.
   * @param {String} direction (optional) 'ASC' or 'DESC'. Defaults to 'ASC'.
   * @param {Function} fn (optional) Comparison function that defines the sort order.
   * Defaults to sorting by numeric value.
   */

/**
   * Sorts this collection by <b>key</b>s.
   * @param {String} direction (optional) 'ASC' or 'DESC'. Defaults to 'ASC'.
   * @param {Function} fn (optional) Comparison function that defines the sort order.
   * Defaults to sorting by case insensitive string.
   */

/**
   * Sorts this nodes children using the supplied sort function.
   * @param {Function} fn A function which, when passed two Nodes, returns -1, 0 or 1 depending upon required sort order.
   * @param {Object} scope (optional)The scope (<code>this</code> reference) in which the function is executed. Defaults to the browser window.
   */

/**
   * Split this Interval at each of the specified DateTimes
   * @param {...[DateTime]} dateTimes - the unit of time to count.
   * @return {[Interval]}
   */

/**
   * Split this Interval into smaller Intervals, each of the specified length.
   * Left over time is grouped into a smaller interval
   * @param {Duration|Object|number} duration - The length of each resulting interval.
   * @return {[Interval]}
   */

/**
   * Split this Interval into the specified number of smaller intervals.
   * @param {number} numberOfParts - The number of Intervals to divide the Interval into.
   * @return {[Interval]}
   */

/**
   * Splits a Unicode `string` into an array of its words.
   *
   * @private
   * @param {string} The string to inspect.
   * @returns {Array} Returns the words of `string`.
   */

/**
   * Splits an ASCII `string` into an array of its words.
   *
   * @private
   * @param {string} The string to inspect.
   * @returns {Array} Returns the words of `string`.
   */

/**
   * Starting chunked file upload
   * 
   * @param {Boolean} whether this restarts a paused upload
   */

/**
   * Starts a new task.
   * @method start
   * @param {Object} task A config object that supports the following properties:<ul>
   * <li><code>run</code> : Function<div class="sub-desc">The function to execute each time the task is run. The
   * function will be called at each interval and passed the <code>args</code> argument if specified.  If a
   * particular scope is required, be sure to specify it using the <code>scope</code> argument.</div></li>
   * <li><code>interval</code> : Number<div class="sub-desc">The frequency in milliseconds with which the task
   * should be executed.</div></li>
   * <li><code>args</code> : Array<div class="sub-desc">(optional) An array of arguments to be passed to the function
   * specified by <code>run</code>.</div></li>
   * <li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (<tt>this</tt> reference) in which to execute the
   * <code>run</code> function. Defaults to the task config object.</div></li>
   * <li><code>duration</code> : Number<div class="sub-desc">(optional) The length of time in milliseconds to execute
   * the task before stopping automatically (defaults to indefinite).</div></li>
   * <li><code>repeat</code> : Number<div class="sub-desc">(optional) The number of times to execute the task before
   * stopping automatically (defaults to indefinite).</div></li>
   * </ul>
   * @return {Object} The task
   */

/**
   * Starts editing the specified for the specified row/column
   * @param {Number} rowIndex
   * @param {Number} colIndex
   */

/**
   * Starts monitoring of the valid state of this form. Usually this is done by passing the config
   * option "monitorValid"
   */

/**
   * Starts the editing process and shows the editor.
   * @param {Mixed} el The element to edit
   * @param {String} value (optional) A value to initialize the editor with. If a value is not provided, it defaults
   * @param {Record} record the field is part of
    * to the innerHTML of el.
   */

/**
   * Stop event propagation.
   * @api
   */

/**
   * Stops all tasks that are currently running.
   * @method stopAll
   */

/**
   * Stops an existing running task.
   * @method stop
   * @param {Object} task The task to stop
   * @return {Object} The task
   */

/**
   * Stops any active editing
   * @param {Boolean} cancel (optional) True to cancel any changes
   */

/**
   * Stops monitoring of the valid state of this form
   */

/**
   * Stops the repair animation if it's currently running
   */

/**
   * Stops the specified event(s) from bubbling and optionally prevents the default action
   * @param {String/Array} eventName an event / array of events to stop from bubbling
   * @param {Boolean} preventDefault (optional) true to prevent the default action too
   * @return {Ext.Element} this
   */

/**
   * Store holding the Exceptions
   * @type Ext.Store
   */

/**
   * Stores the viewport size on the view. The viewport size is not read every time from the DOM
   * to avoid performance hit and layout reflow.
   * This should be done on map size change.
   * Note: the constraints are not resolved during an animation to avoid stopping it
   * @param {import("./size.js").Size} [size] Viewport size; if undefined, [100, 100] is assumed
   */

/**
   * Strips all HTML tags to sort on text only
   * @param {Mixed} s The value being converted
   * @return {String} The comparison value
   */

/**
   * Strips all HTML tags to sort on text only - Case insensitive
   * @param {Mixed} s The value being converted
   * @return {String} The comparison value
   */

/**
   * Subtract a period of time to this DateTime and return the resulting DateTime
   * See {@link plus}
   * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
   @return {DateTime}
  */

/**
   * Sums the value of <tt>property</tt> for each {@link Ext.data.Record record} between <tt>start</tt>
   * and <tt>end</tt> and returns the result.
   * @param {String} property A field in each record
   * @param {Number} start (optional) The record index to start at (defaults to <tt>0</tt>)
   * @param {Number} end (optional) The last record index to include (defaults to length - 1)
   * @return {Number} The sum
   */

/**
   * Suspend the firing of all events. (see {@link #resumeEvents})
   * @param {Boolean} queueSuspended Pass as true to queue up suspended events to be fired
   * after the {@link #resumeEvents} call instead of discarding all suspended events;
   */

/**
   * Suspends any internal calculations or scrolling while doing a bulk operation. See {@link #endUpdate}
   */

/**
   * Synchronizes the inner bar width to the proper proportion of the total componet width based
   * on the current progress {@link #value}.  This will be called automatically when the ProgressBar
   * is resized by a layout, but if it is rendered auto width, this method can be called from
   * another resize handler to sync the ProgressBar if necessary.
   */

/**
   * Synchronizes the thumb position to the proper proportion of the total component width based
   * on the current slider {@link #value}.  This will be called automatically when the Slider
   * is resized by a layout, but if it is rendered auto width, this method can be called from
   * another resize handler to sync the Slider if necessary.
   */

/**
   * TODO is this really needed?
   */

/**
   * TODO move fields to the right place
   *
   * @property {Array}
   */

/**
   * Test if the geometry and the passed extent intersect.
   * @abstract
   * @param {import("../extent.js").Extent} extent Extent.
   * @return {boolean} `true` if the geometry and the extent intersect.
   */

/**
   * Test if the geometry and the passed extent intersect.
   * @param {import("../extent.js").Extent} extent Extent.
   * @return {boolean} `true` if the geometry and the extent intersect.
   * @api
   */

/**
   * Text for loading indicator (defaults to '&lt;div class="loading-indicator"&gt;Loading...&lt;/div&gt;').
   * @type String
   */

/**
   * The Connection object (Or options parameter to {@link Ext.Ajax#request}) which this HttpProxy
   * uses to make requests to the server. Properties of this object may be changed dynamically to
   * change the way data is requested.
   * @property
   */

/**
   * The GridPanel for which this SelectionModel is handling selection. Read-only.
   * @type Object
   * @property grid
   */

/**
   * The Panel's body {@link Ext.Element Element} which may be used to contain HTML content.
   * The content may be specified in the {@link #html} config, or it may be loaded using the
   * {@link autoLoad} config, or through the Panel's {@link #getUpdater Updater}. Read-only.
   * <p>If this is used to load visible HTML elements in either way, then
   * the Panel may not be used as a Layout for hosting nested Panels.</p>
   * <p>If this Panel is intended to be used as the host of a Layout (See {@link #layout}
   * then the body Element must not be loaded or changed - it is under the control
   * of the Panel's Layout.
   * <br><p><b>Note</b>: see the Note for <code>{@link Ext.Component#el el}</code> also.</p>
   * @type Ext.Element
   * @property body
   */

/**
   * The Panel's bwrap {@link Ext.Element Element} used to contain other Panel elements
   * (tbar, body, bbar, footer). See {@link #bodyCfg}. Read-only.
   * @type Ext.Element
   * @property bwrap
   */

/**
   * The Panel's footer {@link Ext.Element Element}. Read-only.
   * <p>This Element is used to house the Panel's <code>{@link #buttons}</code> or <code>{@link #fbar}</code>.</p>
   * <br><p><b>Note</b>: see the Note for <code>{@link Ext.Component#el el}</code> also.</p>
   * @type Ext.Element
   * @property footer
   */

/**
   * The Panel's header {@link Ext.Element Element}. Read-only.
   * <p>This Element is used to house the {@link #title} and {@link #tools}</p>
   * <br><p><b>Note</b>: see the Note for <code>{@link Ext.Component#el el}</code> also.</p>
   * @type Ext.Element
   * @property header
   */

/**
   * The appname of the calling app
   * @type String 
   */

/**
   * The attributes supplied for the node. You can use this property to access any custom attributes you supplied.
   * @type {Object}
   */

/**
   * The base format-code to formatting-function hashmap used by the {@link #format} method.
   * Formatting functions are strings (or functions which return strings) which
   * will return the appropriate value when evaluated in the context of the Date object
   * from which the {@link #format} method is called.
   * Add to / override these mappings for custom date formatting.
   * Note: Date.format() treats characters as literals if an appropriate mapping cannot be found.
   * Example:
   * <pre><code>
  Date.formatCodes.x = "String.leftPad(this.getDate(), 2, '0')";
  (new Date()).format("X"); // returns the current day of the month
  </code></pre>
   * @type Object
   * @static
   */

/**
   * The base implementation of `_.findIndex` and `_.findLastIndex` without
   * support for iteratee shorthands.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {Function} predicate The function invoked per iteration.
   * @param {number} fromIndex The index to search from.
   * @param {boolean} [fromRight] Specify iterating from right to left.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */

/**
   * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} value The value to search for.
   * @param {number} fromIndex The index to search from.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */

/**
   * The base implementation of `_.isNaN` without support for number objects.
   *
   * @private
   * @param {*} value The value to check.
   * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
   */

/**
   * The base implementation of `_.mean` and `_.meanBy` without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} array The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {number} Returns the mean.
   */

/**
   * The base implementation of `_.propertyOf` without support for deep paths.
   *
   * @private
   * @param {Object} object The object to query.
   * @returns {Function} Returns the new accessor function.
   */

/**
   * The base implementation of `_.property` without support for deep paths.
   *
   * @private
   * @param {string} key The key of the property to get.
   * @returns {Function} Returns the new accessor function.
   */

/**
   * The base implementation of `_.reduce` and `_.reduceRight`, without support
   * for iteratee shorthands, which iterates over `collection` using `eachFunc`.
   *
   * @private
   * @param {Array|Object} collection The collection to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @param {*} accumulator The initial value.
   * @param {boolean} initAccum Specify using the first or last element of
   *  `collection` as the initial value.
   * @param {Function} eachFunc The function to iterate over `collection`.
   * @returns {*} Returns the accumulated value.
   */

/**
   * The base implementation of `_.sortBy` which uses `comparer` to define the
   * sort order of `array` and replaces criteria objects with their corresponding
   * values.
   *
   * @private
   * @param {Array} array The array to sort.
   * @param {Function} comparer The function to define sort order.
   * @returns {Array} Returns `array`.
   */

/**
   * The base implementation of `_.sum` and `_.sumBy` without support for
   * iteratee shorthands.
   *
   * @private
   * @param {Array} array The array to iterate over.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {number} Returns the sum.
   */

/**
   * The base implementation of `_.times` without support for iteratee shorthands
   * or max array length checks.
   *
   * @private
   * @param {number} n The number of times to invoke `iteratee`.
   * @param {Function} iteratee The function invoked per iteration.
   * @returns {Array} Returns the array of results.
   */

/**
   * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array
   * of key-value pairs for `object` corresponding to the property names of `props`.
   *
   * @private
   * @param {Object} object The object to query.
   * @param {Array} props The property names to get values for.
   * @returns {Object} Returns the key-value pairs.
   */

/**
   * The base implementation of `_.trim`.
   *
   * @private
   * @param {string} string The string to trim.
   * @returns {string} Returns the trimmed string.
   */

/**
   * The base implementation of `_.unary` without support for storing metadata.
   *
   * @private
   * @param {Function} func The function to cap arguments for.
   * @returns {Function} Returns the new capped function.
   */

/**
   * The base implementation of `_.values` and `_.valuesIn` which creates an
   * array of `object` property values corresponding to the property names
   * of `props`.
   *
   * @private
   * @param {Object} object The object to query.
   * @param {Array} props The property names to get values for.
   * @returns {Object} Returns the array of property values.
   */

/**
   * The base implementation of methods like `_.findKey` and `_.findLastKey`,
   * without support for iteratee shorthands, which iterates over `collection`
   * using `eachFunc`.
   *
   * @private
   * @param {Array|Object} collection The collection to inspect.
   * @param {Function} predicate The function invoked per iteration.
   * @param {Function} eachFunc The function to iterate over `collection`.
   * @returns {*} Returns the found element or its key, else `undefined`.
   */

/**
   * The by the modelcombo activated model
   * @type {String}
   */

/**
   * The calling EditDialog
   * @type Tine.widgets.activities.EditDialog
   */

/**
   * The calling EditDialog
   * @type Tine.widgets.dialog.EditDialog
   */

/**
   * The calling app
   * @type Tinebase.Application
   */

/**
   * The column model of the grid this plugin is bound to.
   * Named after the "cm" property of the grid's view so this plugin
   * can easily operate in the scope of the view.
   * @type {Ext.grid.ColumnModel}
   */

/**
   * The coordinate corresponding to the original browser event.  This will be in the user
   * projection if one is set.  Otherwise it will be in the view projection.
   * @type {import("./coordinate.js").Coordinate}
   * @api
   */

/**
   * The default condition for determining whether the boxend event
   * should fire.
   * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent The originating MapBrowserEvent
   *     leading to the box end.
   * @param {import("../pixel.js").Pixel} startPixel The starting pixel of the box.
   * @param {import("../pixel.js").Pixel} endPixel The end pixel of the box.
   * @return {boolean} Whether or not the boxend condition should be fired.
   */

/**
   * The first direct child node of this node, or null if this node has no child nodes. @type Node
   */

/**
   * The function a {@link Ext.dd.DragSource} calls continuously while it is being dragged over the drop zone.
   * This method will be called on every mouse movement while the drag source is over the drop zone.
   * It will call {@link #onNodeOver} while the drag source is over a registered node, and will also automatically
   * delegate to the appropriate node-specific methods as necessary when the drag source enters and exits
   * registered nodes ({@link #onNodeEnter}, {@link #onNodeOut}). If the drag source is not currently over a
   * registered node, it will call {@link #onContainerOver}.
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag source
   * @return {String} status The CSS class that communicates the drop status back to the source so that the
   * underlying {@link Ext.dd.StatusProxy} can be updated
   */

/**
   * The function a {@link Ext.dd.DragSource} calls continuously while it is being dragged over the target.
   * This method will be called on every mouse movement while the drag source is over the drop target.
   * This default implementation simply returns the dropAllowed config value.
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop target
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag source
   * @return {String} status The CSS class that communicates the drop status back to the source so that the
   * underlying {@link Ext.dd.StatusProxy} can be updated
   */

/**
   * The function a {@link Ext.dd.DragSource} calls once to notify this drop target that the dragged item has
   * been dropped on it.  This method has no default implementation and returns false, so you must provide an
   * implementation that does something to process the drop event and returns true so that the drag source's
   * repair action does not run.
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop target
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag source
   * @return {Boolean} True if the drop was valid, else false
   */

/**
   * The function a {@link Ext.dd.DragSource} calls once to notify this drop target that the source has been dragged
   * out of the target without dropping.  This default implementation simply removes the CSS class specified by
   * overClass (if any) from the drop element.
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop target
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag source
   */

/**
   * The function a {@link Ext.dd.DragSource} calls once to notify this drop target that the source is now over the
   * target.  This default implementation adds the CSS class specified by overClass (if any) to the drop element
   * and returns the dropAllowed config value.  This method should be overridden if drop validation is required.
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop target
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag source
   * @return {String} status The CSS class that communicates the drop status back to the source so that the
   * underlying {@link Ext.dd.StatusProxy} can be updated
   */

/**
   * The function a {@link Ext.dd.DragSource} calls once to notify this drop zone that the dragged item has
   * been dropped on it.  The drag zone will look up the target node based on the event passed in, and if there
   * is a node registered for that event, it will delegate to {@link #onNodeDrop} for node-specific handling,
   * otherwise it will call {@link #onContainerDrop}.
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag source
   * @return {Boolean} True if the drop was valid, else false
   */

/**
   * The function a {@link Ext.dd.DragSource} calls once to notify this drop zone that the source has been dragged
   * out of the zone without dropping.  If the drag source is currently over a registered node, the notification
   * will be delegated to {@link #onNodeOut} for node-specific handling, otherwise it will be ignored.
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop target
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag zone
   */

/**
   * The function a {@link Ext.dd.DragSource} calls once to notify this drop zone that the source is now over
   * the zone.  The default implementation returns this.dropNotAllowed and expects that only registered drop
   * nodes can process drag drop operations, so if you need the drop zone itself to be able to process drops
   * you should override this method and provide a custom implementation.
   * @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
   * @param {Event} e The event
   * @param {Object} data An object containing arbitrary data supplied by the drag source
   * @return {String} status The CSS class that communicates the drop status back to the source so that the
   * underlying {@link Ext.dd.StatusProxy} can be updated
   */

/**
   * The function that should handle the trigger's click event.  This method does nothing by default
   * until overridden by an implementing function.  See Ext.form.ComboBox and Ext.form.DateField for
   * sample implementations.
   * @method
   * @param {EventObject} e
   */

/**
   * The function that should handle the trigger's click event.  This method does nothing by default
   * until overridden by an implementing function. See {@link Ext.form.TriggerField#onTriggerClick}
   * for additional information.
   * @method
   * @param {EventObject} e
   */

/**
   * The increment, in pixels by which to move this SplitBar. When <i>undefined</i>, the SplitBar moves smoothly.
   * @type Number
   * @property tickSize
   */

/**
   * The last direct child node of this node, or null if this node has no child nodes. @type Node
   */

/**
   * The map pixel relative to the viewport corresponding to the original event.
   * @type {import("./pixel.js").Pixel}
   * @api
   */

/**
   * The maximum size of the resizing element. (Defaults to 2000)
   * @type Number
   */

/**
   * The menu button that gets rendered to the upper right corner of the
   * grid's view.
   * @type {Ext.Element}
   * @protected
   */

/**
   * The menu that will be shown when the menu button gets clicked.
   * Named after the "colModel" property of the grid's view so this plugin
   * can easily operate in the scope of the view.
   * @type {Ext.Menu}
   */

/**
   * The minimum size of the resizing element. (Defaults to 0)
   * @type Number
   */

/**
   * The node id. @type String
   */

/**
   * The node immediately following this node in the tree, or null if there is no sibling node. @type Node
   */

/**
   * The node immediately preceding this node in the tree, or null if there is no sibling node. @type Node
   */

/**
   * The parent node for this node. @type Node
   */

/**
   * The proxy is automatically resized to the dimensions of the linked
   * element when a drag is initiated, unless resizeFrame is set to false
   * @method _resizeProxy
   * @private
   */

/**
   * The regular expression used to match template variables
   * @type RegExp
   * @property
   * @hide repeat doc
   */

/**
   * The regular expression used to strip tags
   * @type {RegExp}
   * @property
   */

/**
   * The root node for this tree
   * @type Node
   */

/**
   * The tile with the provided tile coordinate intersects the given viewport.
   * @param {import('../tilecoord.js').TileCoord} tileCoord Tile coordinate.
   * @param {Array<number>} viewport Viewport as returned from {@link module:ol/extent.getRotatedViewport}.
   * @return {boolean} The tile with the provided tile coordinate intersects the given viewport.
   */

/**
   * The type of action this Action instance performs.
   * Currently only "submit" and "load" are supported.
   * @type {String}
   */

/**
   * The type of failure detected will be one of these: {@link #CLIENT_INVALID},
   * {@link #SERVER_INVALID}, {@link #CONNECT_FAILURE}, or {@link #LOAD_FAILURE}.  Usage:
   * <pre><code>
  var fp = new Ext.form.FormPanel({
  ...
  buttons: [{
      text: 'Save',
      formBind: true,
      handler: function(){
          if(fp.getForm().isValid()){
              fp.getForm().submit({
                  url: 'form-submit.php',
                  waitMsg: 'Submitting your data...',
                  success: function(form, action){
                      // server responded with success = true
                      var result = action.{@link #result};
                  },
                  failure: function(form, action){
                      if (action.{@link #failureType} === Ext.form.Action.{@link #CONNECT_FAILURE}) {
                          Ext.Msg.alert('Error',
                              'Status:'+action.{@link #response}.status+': '+
                              action.{@link #response}.statusText);
                      }
                      if (action.failureType === Ext.form.Action.{@link #SERVER_INVALID}){
                          // server responded with success = false
                          Ext.Msg.alert('Invalid', action.{@link #result}.errormsg);
                      }
                  }
              });
          }
      }
  },{
      text: 'Reset',
      handler: function(){
          fp.getForm().reset();
      }
  }]
   * </code></pre>
   * @property failureType
   * @type {String}
   */

/**
   * The unique ID of the Record {@link #Record as specified at construction time}.
   * @property id
   * @type {Object}
   */

/**
   * The value of the match string used to filter the store. Delete this property to force a requery.
   * Example use:
   * <pre><code>
  var combo = new Ext.form.ComboBox({
  ...
  mode: 'remote',
  ...
  listeners: {
      // delete the previous query in the beforequery event or set
      // combo.lastQuery = null (this will reload the store the next time it expands)
      beforequery: function(qe){
          delete qe.combo.lastQuery;
      }
  }
  });
   * </code></pre>
   * To make sure the filter in the store is not cleared the first time the ComboBox trigger is used
   * configure the combo with <tt>lastQuery=''</tt>. Example use:
   * <pre><code>
  var combo = new Ext.form.ComboBox({
  ...
  mode: 'local',
  triggerAction: 'all',
  lastQuery: ''
  });
   * </code></pre>
   * @property lastQuery
   * @type String
   */

/**
   * The version of the framework
   * @type String
   */

/**
   * The {@link Ext.DatePicker} instance for this DateMenu
   * @property picker
   * @type DatePicker
   */

/**
   * The {@link Ext.Template Ext.Template} used by Field rendering layout classes (such as
   * {@link Ext.layout.FormLayout}) to create the DOM structure of a fully wrapped,
   * labeled and styled form Field. A default Template is supplied, but this may be
   * overriden to create custom field structures. The template processes values returned from
   * {@link Ext.layout.FormLayout#getTemplateArgs}.
   * @property fieldTpl
   * @type Ext.Template
   */

/**
   * The {Ext.grid.GridView} this plugin is bound to.
   * @type {Ext.grid.GridView}
   * @protected
   */

/**
   * There is no option to display multiple lines in extjs 3.* this renderer replaces newlines with html breaks
   *
   * @param value
   * @returns {string}
   */

/**
   * This Component's initial configuration specification. Read-only.
   * @type Object
   * @property initialConfig
   */

/**
   * This Component's owner {@link Ext.Container Container} (defaults to undefined, and is set automatically when
   * this Component is added to a Container).  Read-only.
   * <p><b>Note</b>: to access items within the Container see <tt>{@link #itemId}</tt>.</p>
   * @type Ext.Container
   * @property ownerCt
   */

/**
   * This DataReader's configured metadata as passed to the constructor.
   * @type Mixed
   * @property meta
   */

/**
   * This JsonReader's metadata as passed to the constructor, or as passed in
   * the last data packet's <b><tt>metaData</tt></b> property.
   * @type Mixed
   * @property meta
   */

/**
   * This deals with map's overlay collection changes.
   * @param {import("./Overlay.js").default} overlay Overlay.
   * @private
   */

/**
   * This function is called by the fieldset's checkbox when it is toggled (only applies when
   * checkboxToggle = true).  This method should never be called externally, but can be
   * overridden to provide custom behavior when the checkbox is toggled if needed.
   */

/**
   * This function is like `arrayIncludes` except that it accepts a comparator.
   *
   * @private
   * @param {Array} [array] The array to inspect.
   * @param {*} target The value to search for.
   * @param {Function} comparator The comparator invoked per element.
   * @returns {boolean} Returns `true` if `target` is found, else `false`.
   */

/**
   * This function is like `baseIndexOf` except that it accepts a comparator.
   *
   * @private
   * @param {Array} array The array to inspect.
   * @param {*} value The value to search for.
   * @param {number} fromIndex The index to search from.
   * @param {Function} comparator The comparator invoked per element.
   * @returns {number} Returns the index of the matched value, else `-1`.
   */

/**
   * This function is used to determine if "down" events should be propagated
   * to other interactions or should be stopped.
   * @param {boolean} handled Was the event handled by the interaction?
   * @return {boolean} Should the `down` event be stopped?
   */

/**
   * This function is used to set a target element for the control. It has no
   * effect if it is called after the control has been added to the map (i.e.
   * after `setMap` is called on the control). If no `target` is set in the
   * options passed to the control constructor and if `setTarget` is not called
   * then the control is added to the map's overlay container.
   * @param {HTMLElement|string} target Target.
   * @api
   */

/**
   * This is a proxy for the underlying BasicForm's {@link Ext.form.BasicForm#load} call.
   * @param {Object} options The options to pass to the action (see {@link Ext.form.BasicForm#doAction} for details)
   */

/**
   * This is normally called internally on button click, but can be called externally to advance the button's
   * active item programmatically to the next one in the menu.  If the current item is the last one in the menu
   * the active item will be set to the first item in the menu.
   */

/**
   * This method is called when an Ajax response is received, and an Element needs updating.
   * @param {Ext.Element} el The element being rendered
   * @param {Object} xhr The XMLHttpRequest object
   * @param {Updater} updateManager The calling update manager
   * @param {Function} callback A callback that will need to be called if loadScripts is true on the Updater
   */

/**
   * This method is not meant to be called by layers or layer renderers because the state
   * is incorrect if the layer is included in a layer group.
   *
   * @param {boolean} [managed] Layer is managed.
   * @return {import("./Layer.js").State} Layer state.
   */

/**
   * This method is only used by a DataProxy which has retrieved data from a remote server.
   * @param {Object} response The XHR object which contains the JSON data in its responseText.
   * @return {Object} data A data block which is used by an Ext.data.Store object as
   * a cache of Ext.data.Records.
   */

/**
   * This method is only used by a DataProxy which has retrieved data from a remote server.
   * @param {Object} response The XHR object which contains the parsed XML document.  The response is expected
   * to contain a property called <tt>responseXML</tt> which refers to an XML document object.
   * @return {Object} records A data block which is used by an {@link Ext.data.Store} as
   * a cache of Ext.data.Records.
   */

/**
   * This method should generally not be used directly.  This method is called internally
   * by {@link #load}, or if a Writer is set will be called automatically when {@link #add},
   * {@link #remove}, or {@link #update} events fire.
   * @param {String} action Action name ('read', 'create', 'update', or 'destroy')
   * @param {Record/Record[]} rs
   * @param {Object} options
   * @throws Error
   * @private
   */

/**
   * This method should only be overridden if necessary to prepare raw values
   * for validation (see {@link #validate} and {@link #isValid}).  This method
   * is expected to return the processed value for the field which will
   * be used for validation (see validateValue method).
   * @param {Mixed} value
   */

/**
   * This object contains a key and value storing the original values of all modified
   * fields or is null if no fields have been modified.
   * @property modified
   * @type {Object}
   */

/**
   * This property contains the data representing the dragged object. This data is set up by the implementation
   * of the {@link #getDragData} method. It must contain a <tt>ddel</tt> property, but can contain
   * any other data according to the application's needs.
   * @type Object
   * @property dragData
   */

/**
   * This region's layout position (north, south, east, west or center).  Read-only.
   * @type String
   * @property position
   */

/**
   * This region's layout.  Read-only.
   * @type Layout
   * @property layout
   */

/**
   * This region's panel.  Read-only.
   * @type Ext.Panel
   * @property panel
   */

/**
   * This should only be called on non-detached scopes
   * @internal
   */

/**
   * Tine.Filemanager.Model.DownloadLink
   */

/**
   * Tine.widgets.account.PickerGridPanel config values
   */

/**
   * Toggle the display of the summary row on/off
   * @param {Boolean} visible <tt>true</tt> to show the summary, <tt>false</tt> to hide the summary.
   */

/**
   * Toggle the group that contains the specific row.
   * @param {Number} rowIndex The row inside the group
   * @param {Boolean} expanded (optional)
   */

/**
   * Toggles all groups if no value is passed, otherwise sets the expanded state of all groups to the value passed.
   * @param {Boolean} expanded (optional)
   */

/**
   * Toggles expanded/collapsed state of the node
   */

/**
   * Toggles the editor between standard and source edit mode.
   * @param {Boolean} sourceEdit (optional) True for source edit, false for standard
   */

/**
   * Toggles the specified group if no value is passed, otherwise sets the expanded state of the group to the value passed.
   * @param {String} groupId The groupId assigned to the group (see getGroupId)
   * @param {Boolean} expanded (optional)
   */

/**
   * Tokenize input until we reach end-of-string
   */

/**
   * Tokenizing helpers
   */

/**
   * Tracks loading or read errors.
   *
   * @private
   */

/**
   * Tracks successful image load.
   *
   * @private
   */

/**
   * Transform each coordinate of the geometry from one coordinate reference
   * system to another. The geometry is modified in place.
   * For example, a line will be transformed to a line and a circle to a circle.
   * If you do not want the geometry modified in place, first `clone()` it and
   * then use this function on the clone.
   *
   * @param {import("../proj.js").ProjectionLike} source The current projection.  Can be a
   *     string identifier or a {@link module:ol/proj/Projection~Projection} object.
   * @param {import("../proj.js").ProjectionLike} destination The desired projection.  Can be a
   *     string identifier or a {@link module:ol/proj/Projection~Projection} object.
   * @return {Geometry} This geometry.  Note that original geometry is
   *     modified in place.
   * @api
   */

/**
   * Translate the geometry.  This modifies the geometry coordinates in place.  If
   * instead you want a new geometry, first `clone()` this geometry.
   * @abstract
   * @param {number} deltaX Delta X.
   * @param {number} deltaY Delta Y.
   * @api
   */

/**
   * Translate the geometry.  This modifies the geometry coordinates in place.  If
   * instead you want a new geometry, first `clone()` this geometry.
   * @param {number} deltaX Delta X.
   * @param {number} deltaY Delta Y.
   * @api
   */

/**
   * Tree panel referenced to this gridpanel
   */

/**
   * Trigger a reload for this node
   * @param {Function} callback
   * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this Node.
   */

/**
   * Triggered when a pointer is dragged.
   * @event module:ol/MapBrowserEvent~MapBrowserEvent#pointerdrag
   * @api
   */

/**
   * Triggered when a pointer is moved. Note that on touch devices this is
   * triggered when the map is panned, so is not the same as mousemove.
   * @event module:ol/MapBrowserEvent~MapBrowserEvent#pointermove
   * @api
   */

/**
   * Triggers deselection of this node
   * @param {Boolean} silent (optional) True to stop selection change events from firing.
   */

/**
   * Triggers selection of this node
   */

/**
   * True if this component has been rendered. Read-only.
   * @type Boolean
   * @property rendered
   */

/**
   * True if this component is disabled. Read-only.
   * @type Boolean
   * @property disabled
   */

/**
   * True if this component is hidden. Read-only.
   * @type Boolean
   * @property hidden
   */

/**
   * True if this node is disabled.
   * @type Boolean
   */

/**
   * True if this node is hidden.
   * @type Boolean
   */

/**
   * True if this panel is collapsed. Read-only.
   * @type Boolean
   * @property collapsed
   */

/**
   * True if this region is collapsed. Read-only.
   * @type Boolean
   * @property
   */

/**
   * True if this region is currently visible, else false.
   * @return {Boolean}
   */

/**
   * True to append a unique parameter to GET requests to disable caching (defaults to false).
   * @type Boolean
   */

/**
   * True to scan the markup in this tab panel for <tt>{@link #autoTabs}</tt> using the
   * <tt>{@link #autoTabSelector}</tt>
   * @param {Boolean} removeExisting True to remove existing tabs
   */

/**
   * True to stop the event from bubbling and prevent the default browser action if the
   * key was handled by the KeyMap (defaults to false)
   * @type Boolean
   */

/**
   * True while the thumb is in a drag operation
   * @type boolean
   */

/**
   * Try to focus this component.
   * @param {Boolean} selectText (optional) If applicable, true to also select the text in this component
   * @param {Boolean/Number} delay (optional) Delay the focus this number of milliseconds (true for 10 milliseconds)
   * @return {Ext.Component} this
   */

/**
   * Unhides the tab strip item for the passed tab
   * @param {Number/String/Panel} item The tab index, id or item
   */

/**
   * Unlisten for a certain type of event.
   * @param {string|Array<string>} type Type.
   * @param {function((Event|import("./events/Event").default)): ?} listener Listener.
   * @protected
   */

/**
   * Unlocks the selections.
   */

/**
   * Unregisters one or more Stores with the StoreMgr
   * @param {String/Object} id1 The id of the Store, or a Store instance
   * @param {String/Object} id2 (optional)
   * @param {String/Object} etc... (optional)
   */

/**
   * Unsets a property.
   * @param {string} key Key name.
   * @param {boolean} [silent] Unset without triggering an event.
   * @api
   */

/**
   * Update all animations.
   */

/**
   * Update the attribution element.
   * @param {import("../MapEvent.js").default} mapEvent Map event.
   * @override
   */

/**
   * Update the content area of a component.
   * @param {Mixed} htmlOrData
   * If this component has been configured with a template via the tpl config
   * then it will use this argument as data to populate the template.
   * If this component was not configured with a template, the components
   * content area will be updated via Ext.Element update
   * @param {Boolean} loadScripts
   * (optional) Only legitimate when using the html configuration. Defaults to false
   * @param {Function} callback
   * (optional) Only legitimate when using the html configuration. Callback to execute when scripts have finished loading
   */

/**
   * Update the extent of a value in the RBush.
   * @param {import("../extent.js").Extent} extent Extent.
   * @param {T} value Value.
   */

/**
   * Update the rotate control element.
   * @param {import("../MapEvent.js").default} mapEvent Map event.
   * @override
   */

/**
   * Updates the contents of the ghost element
   * @param {String/HTMLElement} html The html that will replace the current innerHTML of the ghost element, or a
   * DOM node to append as the child of the ghost element (in which case the innerHTML will be cleared first).
   */

/**
   * Updates the label's innerHTML with the specified string.
   * @param {String} text The new label text
   * @param {Boolean} encode (optional) False to skip HTML-encoding the text when rendering it
   * to the label (defaults to true which encodes the value). This might be useful if you want to include
   * tags in the label's innerHTML rather than rendering them as string literals per the default logic.
   * @return {Label} this
   */

/**
   * Updates the progress bar text.  If specified, textEl will be updated, otherwise the progress
   * bar itself will display the updated text.
   * @param {String} text (optional) The string to display in the progress text element (defaults to '')
   * @return {Ext.ProgressBar} this
   */

/**
   * Updates the progress bar value, and optionally its text.  If the text argument is not specified,
   * any existing text value will be unchanged.  To blank out existing text, pass ''.  Note that even
   * if the progress bar value exceeds 1, it will never automatically reset -- you are responsible for
   * determining when the progress is complete and calling {@link #reset} to clear and/or hide the control.
   * @param {Float} value (optional) A floating point value between 0 and 1 (e.g., .5, defaults to 0)
   * @param {String} text (optional) The string to display in the progress text element (defaults to '')
   * @param {Boolean} animate (optional) Whether to animate the transition of the progress bar. If this value is
   * not specified, the default for the class is used (default to false)
   * @return {Ext.ProgressBar} this
   */

/**
   * Updates the proxy's visual element to indicate the status of whether or not drop is allowed
   * over the current target element.
   * @param {String} cssClass The css class for the new drop status indicator image
   */

/**
   * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
   * letters to basic Latin letters.
   *
   * @private
   * @param {string} letter The matched letter to deburr.
   * @returns {string} Returns the deburred letter.
   */

/**
   * Used by `_.escape` to convert characters to HTML entities.
   *
   * @private
   * @param {string} chr The matched character to escape.
   * @returns {string} Returns the escaped character.
   */

/**
   * Used by `_.template` to escape characters for inclusion in compiled string literals.
   *
   * @private
   * @param {string} chr The matched character to escape.
   * @returns {string} Returns the escaped character.
   */

/**
   * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
   * character of `string`.
   *
   * @private
   * @param {string} string The string to inspect.
   * @returns {number} Returns the index of the last non-whitespace character.
   */

/**
   * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol
   * that is not found in the character symbols.
   *
   * @private
   * @param {Array} strSymbols The string symbols to inspect.
   * @param {Array} chrSymbols The character symbols to find.
   * @returns {number} Returns the index of the last unmatched string symbol.
   */

/**
   * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol
   * that is not found in the character symbols.
   *
   * @private
   * @param {Array} strSymbols The string symbols to inspect.
   * @param {Array} chrSymbols The character symbols to find.
   * @returns {number} Returns the index of the first unmatched string symbol.
   */

/**
   * Used by `_.unescape` to convert HTML entities to characters.
   *
   * @private
   * @param {string} chr The matched character to unescape.
   * @returns {string} Returns the unescaped character.
   */

/**
   * Used for overriding the url used for a single request.  Designed to be called during a beforeaction event.  Calling setUrl
   * will override any urls set via the api configuration parameter.  Set the optional parameter makePermanent to set the url for
   * all subsequent requests.  If not set to makePermanent, the next request will use the same url or api configuration defined
   * in the initial proxy configuration.
   * @param {String} url
   * @param {Boolean} makePermanent (Optional) [false]
   *
   * (e.g.: beforeload, beforesave, etc).
   */

/**
   * Used for un-phantoming a record after a successful database insert.  Sets the records pk along with new data from server.
   * You <b>must</b> return at least the database pk using the idProperty defined in your DataReader configuration.  The incoming
   * data from server will be merged with the data in the local record.
   * In addition, you <b>must</b> return record-data from the server in the same order received.
   * Will perform a commit as well, un-marking dirty-fields.  Store's "update" event will be suppressed.
   * @param {Record/Record[]} record The phantom record to be realized.
   * @param {Object/Object[]} data The new record data to apply.  Must include the primary-key from database defined in idProperty field.
   */

/**
   * Used for updating a non-phantom or "real" record's data with fresh data from server after remote-save.
   * If returning data from multiple-records after a batch-update, you <b>must</b> return record-data from the server in
   * the same order received.  Will perform a commit as well, un-marking dirty-fields.  Store's "update" event will be
   * suppressed as the record receives fresh new data-hash
   * @param {Record/Record[]} rs
   * @param {Object/Object[]} data
   */

/**
   * Usually called by the {@link Ext.data.Store} which owns the Record.
   * Commits all changes made to the Record since either creation, or the last commit operation.
   * <p>Developers should subscribe to the {@link Ext.data.Store#update} event
   * to have their code notified of commit operations.</p>
   * @param {Boolean} silent (optional) True to skip notification of the owning
   * store of the change (defaults to false)
   */

/**
   * Usually called by the {@link Ext.data.Store} which owns the Record.
   * Rejects all changes made to the Record since either creation, or the last commit operation.
   * Modified fields are reverted to their original values.
   * <p>Developers should subscribe to the {@link Ext.data.Store#update} event
   * to have their code notified of reject operations.</p>
   * @param {Boolean} silent (optional) True to skip notification of the owning
   * store of the change (defaults to false)
   */

/**
   * Validate action is valid or not here
   *
   * If returned false, the setting won't be changed.
   *
   * @param checkbox
   * @param record
   * @return {boolean}
   */

/**
   * Validates the field value
   * @return {Boolean} True if the value is valid, else false
   */

/**
   * We expect the filter panel to be layouted
   */

/**
   * We have an element called sliderBorder which can be styled.
   *
   * The sliderWrap is used to calculate positions of the slider within this element, therefor you shouldn't apply
   * box model affecting styles to the slider itself or the the sliderWrap.
   *
   * The slider is a simple div which is managed by Ext.Resizable and contains a span which can be used as a label.
   *
   * @todo: maybe this can be done better
   *
   * @private
   */

/**
   * When a Tooltip is configured with the <code>{@link #delegate}</code>
   * option to cause selected child elements of the <code>{@link #target}</code>
   * Element to each trigger a seperate show event, this property is set to
   * the DOM element which triggered the show.
   * @type DOMElement
   * @property triggerElement
   */

/**
   * When set to true, the utility automatically tries to scroll the browser
   * window when a drag and drop element is dragged near the viewport boundary.
   * Defaults to true.
   * @property scroll
   * @type boolean
   */

/**
   * Whether or not to show {@link #indicatorText} during loading (defaults to true).
   * @type Boolean
   */

/**
   * Whether to animate the transition to the new size
   * @type Boolean
   */

/**
   * Whether to create a transparent shim that overlays the page when dragging, enables dragging across iframes.
   * @type Boolean
   */

/**
   * Whether we use interim tiles on error.
   * @return {boolean} Use interim tiles on error.
   * @observable
   * @api
   */

/**
   * Wrap and relay a pointermove event.
   * @param {PointerEvent} pointerEvent Pointer
   * event.
   * @private
   */

/**
   * Wraps the checkbox with dirty colored span
   * @param {Ext.form.Field} checkbox
   */

/**
   * Wraps the items with default layout
   * 
   * @param {Array} items
   * @return {Object}
   */

/**
   * XmlWriter implementation of the final stage of a write action.
   * @param {Object} params Transport-proxy's (eg: {@link Ext.Ajax#request}) params-object to write-to.
   * @param {Object} baseParams as defined by {@link Ext.data.Store#baseParams}.  The baseParms must be encoded by the extending class, eg: {@link Ext.data.JsonWriter}, {@link Ext.data.XmlWriter}.
   * @param {Object/Object[]} data Data-object representing the compiled Store-recordset.
   */

/**
   * Zoom to a specific zoom level. Any resolution constrain will apply.
   * @param {number} zoom Zoom level.
   * @api
   */

/**
   * a shorthand for this.editDialog.getForm() 
   */

/**
   * abort download
   */

/**
   * abstract method meant to be overridden by all DataWriter extensions.  It's the extension's job to apply the "data" to the "params".
   * The data-object provided to render is populated with data according to the meta-info defined in the user's DataReader config,
   * @param {String} action [Ext.data.Api.actions.create|read|update|destroy]
   * @param {Record[]} rs Store recordset
   * @param {Object} params Http params to be sent to server.
   * @param {Object} data object populated according to DataReader meta-data.
   */

/**
   * action iterator
   */

/**
   * activate application
   *
   * @param {Tine.Application} app
   * @return {Boolean}
   */

/**
   * activate dependent tasks
   *
   * switch inactive task to active once all the dependencies are resolved
   */

/**
   * activate given node
   * 
   * @param {Ext.tree.TreeNode} node
   * @return {Boolean}
   */

/**
   * activateCard in preferences panel
   * 
   * @param {Tine.widgets.dialog.PreferencesPanel} panel
   * @param {boolean} exists
   */

/**
   * add a single action to update
   * @param {Ext.Action} action
   */

/**
   * add actions to update
   * @param {Array|Toolbar} actions
   */

/**
   * add anyone to grid
   */

/**
   * add or set given item
   *
   * @param {Ext.Panel} cardPanel
   * @param {Ext.Panel} item
   */

/**
   * add provider to Ext.Direct based on Tine servicemap
   */

/**
   * add record to edit buffer
   * 
   * @param {String|Tine.Tinebase.data.Record} record
   */

/**
   * add records from other applications using the split add button
   * - activated by default
   * 
   * @type Boolean
   * @property splitAddButton
   */

/**
   * add sub menu with attached/related templates
   *
   * @param action
   * @param grants
   * @param records
   * @param isFilterSelect
   */

/**
   * adding temporary file to array
   *
   * @param tempFile
   */

/**
   * adds a new filter row
   */

/**
   * adds given record and starts editing
   * 
   * @param localRecord
   * @param editProperty
   * @param proxyFn
   * @return {Promise<void>}
   */

/**
   * adds invalid row class to a invalid row and adds the error qtip
   * 
   * @param {Tine.Tinebase.data.Record} record
   * @param {Integer} index
   * @param {Object} rowParams
   * @param {Ext.data.store} store
   * @scope this.view
   * @return {String}
   */

/**
   * adds record from selection widget to store
   * 
   * @param {Object} recordData
   */

/**
   * adds the relations to the record
   * @param {Array} records
   */

/**
   * adopt attr
   *
   * @param {Object} attr
   */

/**
   * adopt final value to the one selected
   * 
   * @param {Ext.grid.EditorGridPanel} grid
   * @param {number} rowIndex
   * @param {number} colIndex
   * @param {Ext.EventObject} e
   */

/**
   * afterRender -> adds qtips to all elements
   * 
   * @private
   * 
   * @todo add qtip to label as well
   */

/**
   * allow editing of metadataFor Record (cell dbl click in grid)
   * @cfg {Boolean} allowMetadataForEditing
   */

/**
   * allow negative values
   * @cfg allowNegative bool
   */

/**
   * allows a prefix before the value
   * 
   * @type {String}
   */

/**
   * allows a suffix after the value
   * 
   * @type {String}
   */

/**
   * allows to customize columns
   *
   * @param columns Array
   * @returns {Array}
   */

/**
   * allows to fetch record form fields
   *
   * @param name
   * @returns {*}
   */

/**
   * always use additional filter
   *
   * @type {Array}
   */

/**
   * appMgr app activation listener
   * 
   * @param {Tine.Application} app
   */

/**
   * appends (number) to property to ensure uniqness
   *
   * @param {Ext.data.Record} record
   * @param {String} prop property name or property path
   */

/**
   * application object
   * 
   * @property app
   * @type Tine.Tinebase.Application
   */

/**
   * applies registry state to this cmp
   */

/**
   * applies state to cmp
   * 
   * @param {Object} state
   */

/**
   * apply Ext.encode as toString functino to given object
   *
   * @param {mixed} o
   */

/**
   * apply an action (generate final data)
   * - mergeTheirs:   merge keep existing values (discards client record)
   * - mergeMine:     merge, keep client values (discards client record)
   * - discard:       discard client record
   * - keep:          keep client record (create duplicate)
   * 
   * @param {Ext.data.Store} store with field records (DuplicateResolveModel)
   * @param {Sting} strategy
   */

/**
   * apply an strategy (generate final data)
   * - mergeTheirs:   merge keep existing values (discards client record)
   * - mergeMine:     merge, keep client values (discards client record)
   * - discard:       discard client record
   * - keep:          keep client record (create duplicate)
   * 
   * @param {Sting} strategy
   */

/**
   * apply changes handler
   */

/**
   * apply registry data
   */

/**
   * assert that given object is comparable
   *
   * @param {mixed} o
   * @param {bool} clone
   * @return {mixed} o
   */

/**
   * async version of forEach
   * @param callback
   * @return {Promise<void>}
   */

/**
   * attachments panel
   *
   * @type Tine.widgets.dialog.AttachmentsGridPanel
   */

/**
   * back button handler
   */

/**
   * base 64 encode given string
   * @private
   */

/**
   * bind grid to details panel
   * 
   * @param {Tine.widgets.grid.GridPanel} grid
   */

/**
   * bind value field of ftb.quickFilterRow to sync process
   *
   * @param {Tine.widgets.grid.FilterToolbar} ftb
   */

/**
   * binds this plugin to the grid store
   */

/**
   * build response-data extractor functions.
   * @private
   * @ignore
   */

/**
   * buildUrl
   * Sets the appropriate url based upon the action being executed.  If restful is true, and only a single record is being acted upon,
   * url will be built Rails-style, as in "/controller/action/32".  restful will aply iff the supplied record is an
   * instance of Ext.data.Record rather than an Array of them.
   * @param {String} action The api action being executed [read|create|update|destroy]
   * @param {Ext.data.Record/Array[Ext.data.Record]} The record or Array of Records being acted upon.
   * @return {String} url
   * @private
   */

/**
   * builds a DataWriter instance when Store constructor is provided with a writer config-object instead of an instace.
   * @param {Object} config Writer configuration
   * @return {Ext.data.DataWriter}
   * @private
   */

/**
   * bus notified about record changes
   */

/**
   * calculation the next chunk size and slicing file
   */

/**
   * calculats the grants sum of the given record(s)
   * 
   * @param  {Array}  records
   * @return {Object} grantName: sum
   */

/**
   * call action iterator
   */

/**
   * call checkState for every field
   */

/**
   * call to add relation from an external component
   *
   *  @todo refactor this trash
   *
   * @param {Tine.Tinebase.data.Record} record
   * @param {Object} relconf
   */

/**
   * called  when a filter action is to be triggered (start new search)
   * @private
   */

/**
   * called after a new set of Records has been loaded
   * 
   * @param  {Ext.data.Store} this.store
   * @param  {Array}          loaded records
   * @param  {Array}          load options
   * @return {Void}
   */

/**
   * called after a new set of preference Records has been loaded
   *
   * @param  {Ext.data.Store} this.store
   * @param store
   * @param records
   * @param options
   */

/**
   * called after onRender is called for the filter toolbar
   * 
   * @param {Array} filters
   */

/**
   * called after rendering process
   */

/**
   * called after setValue is called for the filter toolbar
   * 
   * @param {Array} filters
   */

/**
   * called after store data loaded
   */

/**
   * called after this wizard is rendered
   */

/**
   * called before a filter row is deleted from filtertoolbar
   * 
   * @param {Ext.data.Record} filter
   * @param {Tine.widgets.grid.FilterToolbar} ftb
   */

/**
   * called before store loads
   */

/**
   * called before store queries for data
   */

/**
   * called by filtertoolbar in plugin init process
   *
   * @param {Tine.widgets.grid.FilterToolbar} ftb
   * @param filterPanel
   */

/**
   * called on field change of a filter row
   * @private
   */

/**
   * called on filtertrigger of filter toolbar
   */

/**
   * called on operator change of a filter row
   * 
   * modified for cf of type record and keyField
   * 
   * @private
   */

/**
   * called on operator change of a filter row
   * @private
   * 
   * TODO keep value widget if old operator / new operator use the same widget?
   */

/**
   * called on operator change of a filter row
   * @private
   */

/**
   * called on row context click
   * 
   * @param {Ext.grid.GridPanel} grid
   * @param {Number} row
   * @param {Ext.EventObject} e
   */

/**
   * called on value change of a filter row
   * @private
   */

/**
   * called when Records have been added to the Store
   */

/**
   * called when a Record has been removed from the Store
   */

/**
   * called when a file got selected
   *
   * @param {ux.BrowsePlugin} fileSelector
   * @param {Ext.EventObject} event
   */

/**
   * called when a file got selected
   * 
   * @param {ux.BrowsePlugin} fileSelector
   * @param {Ext.EventObj} event
   */

/**
   * called when a filter field of the filtertoolbar changes
   *
   * @param {Ext.data.Record} filter
   * @param {String} newField
   * @param {Tine.widgets.grid.FilterToolbar} ftb
   */

/**
   * called when a filter is added to the filtertoolbar
   * 
   * @param {Ext.data.Record} filter
   * @param {Tine.widgets.grid.FilterToolbar} ftb
   */

/**
   * called when a filter row gets added/deleted
   * @private
   */

/**
   * called when a filterPanel gets activated
   * 
   * @param {Tine.widgets.grid.filterPanel} filterToolbar
   * @param {Tine.widgets.grid.filterToolbar} filterPanel
   */

/**
   * called when a filterPanel gets added
   * 
   * @param {Tine.widgets.grid.filterPanel} filterToolbar
   * @param {Tine.widgets.grid.filterToolbar} filterPanel
   */

/**
   * called when a filterPanel gets removed
   * 
   * @param {Tine.widgets.grid.filterPanel} filterToolbar
   * @param {Tine.widgets.grid.filterToolbar} filterPanel
   */

/**
   * called when a filterPanel title changed
   * 
   * @param {Tine.widgets.grid.filterToolbar} filterPanel
   * @param {String} text
   */

/**
   * called when a node got inserted to this tree
   * 
   * @param {Ext.tree.TreePanel} tree
   * @param {Ext.tree.TreeNode} parent
   * @param {Ext.tree.TreeNode} node
   */

/**
   * called when import request sends response
   * 
   * @param {Object}   request
   * @param {Boolean}  success
   * @param {Object}   response
   * @param {Function} callback
   */

/**
   * called when node is appended to this tree
   */

/**
   * called when tags got updates
   * 
   * @type Function
   */

/**
   * called when the (external) filter triggers filter action
   */

/**
   * called when the (external) quick filter is cleared
   */

/**
   * called when the details toggle button gets toggled
   * 
   * @param {Ext.Button} btn
   */

/**
   * called when the filterrows of the filtertoolbar changes
   * 
   * we detect the hidestatus of the filtertoolbar
   *
  onFilterRowsChange: function() {
      this.ftb.searchButtonWrap.removeClass('x-btn-over');
      
      if (this.ftb.filterStore.getCount() <= 1 
          && this.ftb.filterStore.getAt(0).get('field') == this.quickFilterField
          && !this.ftb.filterStore.getAt(0).formFields.value.getValue()
          && !this.detailsToggleBtn.pressed) {
          
          this.ftb.hide();
      } else {
          this.ftb.show();
      }
  },
  */

/**
   * called when the store gets updated, e.g. from editgrid
   * 
   * @param {Ext.data.store} store
   * @param {Tine.Tinebase.data.Record} record
   * @param {String} operation
   */

/**
   * called when the store got new data
   */

/**
   * called when the text of a noded changed
   * 
   * @param {Ext.tree.TreeNode} node
   * @param {String} text
   * @param {String} oldText
   */

/**
   * called when the title of this panel changes
   * 
   * @param {Ext.Panel} panel
   * @param {String} title
   */

/**
   * called when the upload completed
   * 
   * @param {Ext.ux.file.Upload} upload
   * @param {Ext.ux.file.Upload.file} fileRecord
   */

/**
   * called when tree selection changes
   *
   * @param {} sm
   * @param {} nodes
   */

/**
   * calls the editdialog for the model
   */

/**
   * cancel button handler
   */

/**
   * cancel collapse if ctx menu is shown
   */

/**
   * cancel collapse if ctx menu or container selection is shown
   * 
   * @return Boolean
   */

/**
   * cancel collapse if ctx menu or record selection is shown
   * 
   * @return Boolean
   */

/**
   * cancel handler
   */

/**
   * canonical name
   * @cfg {String} canonicalName
   */

/**
   * cf value renderer
   * 
   * @param {Ext.data.Record} filter line
   * @param {Ext.Element} element to render to 
   */

/**
   * cfg {Record} record class having a dynamicRecord field
   */

/**
   * change card layout card according to combo value
   * 
   * @param {Ext.form.ComboBox} combo
   * @param {String} backendIdPrefix
   */

/**
   * change tree node color
   */

/**
   * check all panels if they are valid
   * 
   * @return {Boolean}
   */

/**
   * check batch upload complete
   *
   * update icon in main menu, if uploads with same batch id are complete
   */

/**
   * check client version and reload on demand
   */

/**
   * check for unsaved changes before closing
   * @type Boolean
   */

/**
   * check grants for tree nodes / apps
   *
   * @param {Bool} adminMode
   * @param accountId
   */

/**
   * check if actionConfigs for type is available
   *
   * @param {String}
   * @return {Bool}
   */

/**
   * check if back button is allowed
   */

/**
   * check if cancel button is allowed
   */

/**
   * check if defined options are missing
   * 
   * @return {Boolean}
   */

/**
   * check if finish button is allowed
   */

/**
   * check if next button is allowed
   */

/**
   * check if server schema update is required
   *
   * @return {boolean}
   */

/**
   * check if style is loaded and do print afterwards
   *
   * @param {window} win
   */

/**
   * check if user has grant on record 
   * 
   * @param {Record} record
   * @param {String} requiredGrant
   * @return {Boolean}
   * 
   * TODO move this to generic Record
   */

/**
   * check if user has right to view/manage this application/resource
   *
   * @param   {String}      right (view, admin, manage)
   * @param   {String}      application
   * @param   {String}      resource (for example roles, accounts, ...)
   * @returns {Boolean}
   */

/**
   * check valid email domain (if email domain is set in config)
   *
   * @param {String} email
   */

/**
   * check validity for all panel items
   *
   * @return {Boolean}
   */

/**
   * check validity for all panel items
   * 
   * @return {Boolean}
   */

/**
   * check whether given value can be interpreted as true
   *
   * @param {String|Integer|Boolean} value
   * @return {Boolean}
   */

/**
   * check whether object is empty (has no property)
   *
   * @param {Object} obj
   * @return {Boolean}
   */

/**
   * checkes if user has requested grant for given container represented by a tree node
   *
   * @param {Ext.tree.TreeNode} node
   * @param grants
   * @return {}
   */

/**
   * checks existing relation constraints
   * 
   * @param {} app
   * @param {} model
   * @param {} checkRecord
   * @param {} type
   */

/**
   * checks for the existance of a method of an object
   * 
   * @param object    {Object}
   * @param property  {String} method name 
   * @returns {Boolean}
   */

/**
   * checks if data is modified since last save/commit
   */

/**
   * checks if form is valid
   * 
   * @return {Boolean}
   */

/**
   * checks if record to add is already linked or is the same record
   * @param {Tine.Tinebase.data.Record} recordToAdd
   * @param {String} relatedModel
   * @return {Boolean}
   */

/**
   * checks if the container selector should be disabled (dependent on account grants of the container itself)
   * @return {}
   */

/**
   * checks if there are invalid relations
   * @return {Boolean}
   */

/**
   * checks right
   * 
   * @param {Object} filter
   * @return {Boolean}
   */

/**
   * checks the managed_shared_<this.modelName>_right
   * @return {}
   */

/**
   * checks whether a given app is enabled for current user or not
   */

/**
   * clean up
   */

/**
   * clear value
   */

/**
   * clone function
   *
   * @param {Object/Array} o Object or array to clone
   * @return {Object/Array} Deep clone of an object or an array
   */

/**
   * close window on cancel
   */

/**
   * closes the window
   */

/**
   * collected tempforary files
   * @property {Array} tempFiles
   */

/**
   * color renderer
   *
   * @param color
   */

/**
   * cols to exclude (blacklist)
   *
   * @type String[]
   * @cfg hideColumns
   */

/**
   * cols to include (whitelist)
   *
   * @type String[]
   * @cfg showColumns
   */

/**
   * combile cf values in customfield property
   */

/**
   * component registry to skip on multiple edit
   * @type {Array} skipItems
   */

/**
   * config
   */

/**
   * config locales
   */

/**
   * config passed to edit dialog to open from this grid
   * 
   * @cfg {Object} editDialogConfig
   */

/**
   * config property actions
   * 
   * @type {Array}
   */

/**
   * config spec for additionalFilters
   *
   * @cfg: {Object} additionalFilterSpec e.g.
   * additionalFilterConfig: {config: { 'name': 'configName', 'appName': 'myApp'}}
   * additionalFilterConfig: {preference: {'appName': 'myApp', 'name': 'preferenceName}}
   * additionalFilterConfig: {favorite: {'appName': 'myApp', 'id': 'favoriteId', 'name': 'optionallyuseaname'}}
   */

/**
   * config spec for additionalFilters
   *
   * @type: {object} e.g.
   * additionalFilterConfig: {config: { 'name': 'configName', 'appName': 'myApp'}}
   * additionalFilterConfig: {preference: {'appName': 'myApp', 'name': 'preferenceName}}
   * additionalFilterConfig: {favorite: {'appName': 'myApp', 'id': 'favoriteId', 'name': 'optionallyuseaname'}}
   */

/**
   * config spec for additionalFilters - passed to RecordPicker
   *
   * @type: {object} e.g.
   * additionalFilterConfig: {config: { 'name': 'configName', 'appName': 'myApp'}}
   * additionalFilterConfig: {preference: {'appName': 'myApp', 'name': 'preferenceName}}
   * additionalFilterConfig: {favorite: {'appName': 'myApp', 'id': 'favoriteId', 'name': 'optionallyuseaname'}}
   */

/**
   * config values
   * @private
   */

/**
   * configuration fetched from registry
   * @type {Object}
   * autoconfig
   */

/**
   * configuration object of model from application starter
   * @type object
   */

/**
   * constrains config
   * @type {Object} constraintsConfig
   */

/**
   * constructs window items from config properties
   *
   * @param {Ext.Window} [win] only used for Ext Windows, see getExtWindow
   */

/**
   * context component
   * @property {Ext.Component}
   */

/**
   * convert containerPath to treePath
   *
   * @param {String}  containerPath
   * @return {String} treePath
   */

/**
   * converts a 'normal' row selection into a filter
   * 
   * @private
   * @return {Array} filterData
   */

/**
   * converts data to String
   * 
   * @return {String}
   */

/**
   * copy from Tine.Filemanager.NodeTreePanel
   * 
   * @todo: Maybe it makes sence to override expand path in extFixes? 
   * 
   * @param path
   * @param attr
   * @param callback
   */

/**
   * copy this.record record
   */

/**
   * coresponding file record
   */

/**
   * count of all handled records
   * @type {Integer} totalRecordCount
   */

/**
   * count of records to add to
   * @type {Integer}
   */

/**
   * counts session uploads
   */

/**
   * create a cf tab
   * 
   * @param {Collection} cfConfigs
   * @param {String} tabName
   */

/**
   * create a related record toolbar
   */

/**
   * create cf tab on demand
   */

/**
   * create new Ext.menu.Menu with actions
   * 
   * @param {} config has the node name, actions, etc.
   * @param [] additional menu plugins
   * @return {}
   */

/**
   * create new record
   *
   * @returns {Tine.Tinebase.data.Record}
   */

/**
   * create notes panel
   */

/**
   * create or update a favorite
   * 
   * @param {Tine.widgets.persistentfilter.model.PersistentFilter} record
   */

/**
   * create record from data
   * 
   * @param {Object} data
   * @return {Record}
   */

/**
   * create record from recordData
   *
   * @param relationRecord
   * @returns {null|Tine.Tinebase.data.Record}
   */

/**
   * create the buttons
   * use preference settings for order of save and close buttons
   */

/**
   * create the buttons
   */

/**
   * create tree node
   */

/**
   * createRecord
   * @protected
   * @param {Ext.data.Record} rec
   * @return {Array} Array of <tt>name:value</tt> pairs for attributes of the {@link Ext.data.Record}.  See {@link Ext.data.DataWriter#toHash}.
   */

/**
   * creates a form where the upload takes place in
   * @private
   */

/**
   * creates and returns the view for the grid
   * 
   * @return {Ext.grid.GridView}
   */

/**
   * creates attachments panel
   */

/**
   * creates shortcuts for tabs
   */

/**
   * creates the model combo
   * @return {Ext.form.ComboBox}
   */

/**
   * creates the multibutton (button to reset or clear the field value)
   * @param {Ext.form.field} formField
   */

/**
   * creates the relations panel, if relations are defined
   */

/**
   * creates the searchcombos for the models
   * @return {Tine.Tinebase.widgets.form.RecordPickerComboBox}
   */

/**
   * creates the special editors
   * @param {} o
   */

/**
   * creates the toolbar
   */

/**
   * creating initial fileRecord for this upload
   */

/**
   * currency renderer
   *
   * @param currency
   */

/**
   * current running uploads
   */

/**
   * custom sorter
   * 
   * @param {String} f (ignored atm.)
   * @param {String} direction
   */

/**
   * default action updater
   * 
   * - sets disabled status based on grants and required grant
   * - sets disabled status based on allowMutliple
   * - sets action text (signular/plural text)
   * 
   * @param {Ext.Action} action
   * @param {Object} grants
   * @param {Object} records
   * @param {Boolean} isFilterSelect
   */

/**
   * default exception handler
   * 
   * @param {Object} exception
   */

/**
   * default filter
   * @type {string}
   */

/**
   * default implementation to replace proxy in dom
   *
   * @param html
   * @private
   */

/**
   * default relation type
   * @type String
   */

/**
   * default value for timeout on deleting
   * 
   * @type Number
   */

/**
   * default value for timeout on deleting by filter
   * 
   * @type Number
   */

/**
   * default value for timeout on saving
   * 
   * @type Number
   */

/**
   * default value for timeout on searches
   * 
   * @type Number
   */

/**
   * defaults for new records of this.recordClass
   * @cfg {Object} recordClass
   */

/**
   * defers execution on a ticket bases. The function gets executed when all registered tickets are back.
   * 
   * @namespace   Function
   * @autor       Cornelius Weiss <c.weiss@metaways.de>
   * @license     BSD, MIT and GPL
   *
   *
  var sayHi = function(name){
  alert('Hi, ' + name);
  }
  var ticketFn = sayHi.deferByTickets(this, ['Fred']);
  // take ticket
  var ticketFn1 = ticketFn();
  var ticketFn2 = ticketFn();
  // give tickets back
  ticketFn1();
  ticketFn2();
    * NOTE: the function gets never executed if not at least one ticket is taken and given back
   *
   * @param {Object} scope (optional) The scope (this reference) in which the function is executed.
   * @param {Array} args (optional) Overrides arguments for the call. (Defaults to the arguments passed by the caller)
   * @param {Boolean/Number} appendArgs (optional) if True args are appended to call args instead of overriding,
   * if a number the args are inserted at the specified position
   * @return {Function} ticketFn
   */

/**
   * define actions
   *
   * @return {Ext.Action}
   */

/**
   * define if the filters should be sorted by the "sort" field.
   * 
   * @type {Boolean}
   */

/**
   * define state events
   * 
   * @type {Array}
   */

/**
   * delete records
   * 
   * @param {SelectionModel} sm
   * @param {Array} records
   */

/**
   * delete tree node
   */

/**
   * deletes a filter
   * @param {Ext.Record} filter to delete
   * @param {Boolean} supressDefault supress new default row
   */

/**
   * deletes all filters
   */

/**
   * deletes multiple records identified by a filter
   * 
   * @param   {Object} filter
   * @param   {Object} options
   * @return  {Number} Ext.Ajax transaction id
   * @success 
   */

/**
   * deletes multiple records identified by their ids
   * 
   * @param   {Array} records Array of records or ids
   * @param   {Object} options
   * @param   {Object} additionalArguments
   * @return  {Number} Ext.Ajax transaction id
   * @success 
   */

/**
   * deletes multiple records identified by their ids
   * 
   * @param   {Array} records Array of records or ids
   * @param   {Object} options
   * @return  {Number} Ext.Ajax transaction id
   * @success 
   */

/**
   * deny drag on menuEl
   * @param {} e
   * @return {}
   */

/**
   * deny drop on menuEl
   * @param {} e
   * @return {}
   */

/**
   * destroyRecord
   * @protected
   * @param {Ext.data.Record} rec
   * @return {Array} Array containing a attribute-object (name/value pair) representing the {@link Ext.data.DataReader#idProperty idProperty}.
   */

/**
   * determine if this array contains one or more items from another array.
   * @param {array} arr the array providing items to check for items in this.
   * @return {boolean} true|false if this array contains at least one item from arr.
   */

/**
   * dialog is currently saving data
   * @type Boolean
   */

/**
   * did the last chunk upload fail
   */

/**
   * disable 'select all pages' in paging toolbar
   * @cfg {Boolean} disableSelectAllPages
   */

/**
   * disable Toolbar creation, create a custom one
   * @type Boolean
   */

/**
   * disable contents not panel
   */

/**
   * disable delete action if no delete method was found in serviceMap
   * 
   * @param {Object} services the rpc service map from the registry
   * 
   * TODO this should be configurable as not all grids use remote delete
   */

/**
   * disable delete confirmation by default
   *
   * @type Boolean
   * @property disableDeleteConfirmation
   */

/**
   * dispatch values from customfield property
   */

/**
   * display selections helper on paging tb
   * @cfg {Boolean} displaySelectionHelper
   */

/**
   * do cleanup
   * 
   * @private
   */

/**
   * do export
   */

/**
   * do import request
   * 
   * @param {Function} callback
   * @param {Object}   importOptions
   */

/**
   * do initial load (by loading default favorite) after render
   *
   * @type Boolean
   */

/**
   * do something after deletion of records
   * - reload the store
   * 
   * @param {Array} [ids]
   */

/**
   * do something after edit of records
   *
   * @param {Array} [ids]
   */

/**
   * do something on delete failure
   *
   * @param ids
   * @param exception
   */

/**
   * do the actual login
   */

/**
   * do the request
   * 
   * @param {} action
   * @param {} rs
   * @param {} params
   * @param {} reader
   * @param {} callback
   * @param {} scope
   * @param {} options
   */

/**
   * does any of all of the filters match (or/and)
   * 
   * @type String
   */

/**
   * download file
   *
   * @param {} button
   * @param {} event
   */

/**
   * drag and drop
   */

/**
   * duplicate(s) found exception handler
   *
   * @param {Object} exception
   */

/**
   * editDialog which contains this gird
   * NOTE: don't confuse with editdialogC(onfig|lass) which is for editdialog of this.recordClass!!!
   * @cfg {Tine.Tinebase.widgets.Dialog.EditDialog} editDialog
   */

/**
   * enable if records should be multiple editable
   * @cfg {Boolean} multipleEdit
   */

/**
   * enable if selection of 2 records should allow merging
   * @cfg {Boolean} duplicateResolvable
   */

/**
   * every upload in the upload manager gets queued initially
   *
   * @returns {String} upload id
   */

/**
   * exclude or really 'hide'
   *
   * @type String
   * @cfg hideColumnsMode hide|exclude
   */

/**
   * executed after outer panel rendering process
   */

/**
   * executed after record got updated from proxy
   * 
   * @private
   */

/**
   * executed after record got updated from proxy
   */

/**
   * executed after record got updated from proxy, if json Data is given, it's used
   *
   * @private
   */

/**
   * executed after render
   */

/**
   * executed after rendering process
   * 
   * @private
   */

/**
   * executed before a tab panel is closed
   * 
   * @param {Ext.Panel} tab
   * @return {boolean}
   */

/**
   * executed if a chunk / file upload failed
   */

/**
   * executed if a chunk or file got uploaded successfully
   */

/**
   * executed on image contextmenu
   * @private
   */

/**
   * executed on tab changes
   * 
   * @param {TabPanel} this
   * @param {Panel} newTab The tab being activated
   * @param {Panel} currentTab The current active tab
   */

/**
   * executed onRender
   * 
   * @private
   * 
   * @param {Ext.Container} ct
   * @param {Number} position
   */

/**
   * executed when a value in Tinebase registry/preferences changed
   *
   * NOTE: this also happens when registry gets cleared e.g. through a logout in another tab
   * @TODO we might face a race condition / loop here:
   *  -> other tab reloads registry
   *  -> this tab reloads and clears cache
   *  -> while this tab reloads the registry is empty
   *  -> if the other tab does a request in the meantime it lacks of registry (and json-key)
   *  -> other tab gets unauth exception and reloads (with clear registry again)
   *  -> ...
   *
   * @param {string} key
   * @param {value} oldValue
   * @param {value} newValue
   */

/**
   * executed when an app get activated by mainscreen
   * 
   * @param {Tine.Application} app
   */

/**
   * executed when an app item in this.menu is clicked
   * 
   * @param {Tine.Application} app
   */

/**
   * executed when record gets updated from form
   */

/**
   * executed when tabs chages
   */

/**
   * expand automatically on node click
   *
   * @param {} node
   * @param {} e
   */

/**
   * extend standard initComponent chain
   * 
   * @private
   */

/**
   * external quick filter field
   * 
   * @type {Ext.ux.searchField} quickFilter
   */

/**
   * extracts values and type-casts a row of data from server, extracted by #extractData
   * @param {Hash} data
   * @param {Ext.data.Field[]} items
   * @param {Number} len
   * @private
   * @ignore
   */

/**
   * fetch records from backend on selectionFilter
   */

/**
   * file to upload
   */

/**
   * fill store with recents for empty query
   * @param {String} q
   */

/**
   * fills this fields with the corresponding record data
   * 
   * @param {Tine.Tinebase.data.Record} record
   */

/**
   * filter row of filter toolbar where a quickfilter is set
   * 
   * @type {Ext.data.record}
   */

/**
   * filter store according to this.startPath and this.allowNodeSelect
   * 
   * NOTE: If this.startPath != '/' resents are not used as we force remote loads,
   *       thus we don't need to filter in this case!
   */

/**
   * filter toolbar we are plugin of
   * 
   * @type {Tine.widgets.grid.FilterToolbar} ftb
   */

/**
   * find contacts by email string
   *
   * return recipients token
   *
   * @param addresses
   */

/**
   * find out which fields have differences
   */

/**
   * find record from target
   *
   * @param target
   */

/**
   * finish button handler
   */

/**
   * fire a simulated storage event
   */

/**
   * fires our change event
   */

/**
   * fix fields (used for preselecting form fields when called in dependency to another record)
   * @return {Boolean}
   */

/**
   * foreign record renderer
   *
   * @param record
   * @param metadata
   *
   * TODO use title fn? allow to configure displayed field(s)?
   */

/**
   * form panel cfg
   * 
   * @private
   */

/**
   * format byte values
   * @param {String} value
   * @param {String} forceUnit
   * @param {Integer} decimals
   * @param {Boolean} useDecimalValues
   */

/**
   * generate html for direct record properties
   *
   *
   * @param editDialog
   * @param {Array} recordComponents Array of components/strings
   * @returns {Promise}
   */

/**
   * generic apply changes handler
   * @param {Boolean} closeWindow
   */

/**
   * generic apply changes handler
   */

/**
   * generic delete handler
   */

/**
   * generic form layout
   */

/**
   * generic request exception handler
   *
   * @param {Object} exception
   */

/**
   * get a Promise which resolves with the final content
   * @returns {Promise<String>}
   */

/**
   * get action toolbar
   * 
   * @return {Ext.Toolbar}
   */

/**
   * get active node
   * @return {Ext.tree.TreeNode}
   */

/**
   * get app items for the tabPanel
   * 
   * @return {Array}
   */

/**
   * get areaLock config
   *
   * config definition: @see Tinebase_Model_AreaLockConfig
   * [{
   *   area_name: string
   *   areas: [],                     // name of area
   *   provider_configs: [],          // array of alternative provider configs
   *   validity: 'once', '            // 'session', 'lifetime', 'presence'
   *   lifetime: seconds,             // absolute lifetime from unlock
   * }]
   *
   * @param {String} areaName
   * @return {Object}
   */

/**
   * get areaLock state from registry
   *
   * [{
   *   area: 'string',
   *   expires: datetime (user timezone)
   * }]
   */

/**
   * get attachments data as array
   * 
   * @return {Array}
   */

/**
   * get batch action
   *
   */

/**
   * get buttons
   * 
   * @private
   */

/**
   * get center panel for given contentType
   * 
   * @param {String} contentType
   * @return {Ext.Panel}
   */

/**
   * get child node by path
   *
   * Tine.Filemanager.nodeBackendMixin.searchRecord method needs all the pending nodeData,
   * so that user can switch and see the pending nodes while uploading
   */

/**
   * get column model
   *
   * @return {Ext.grid.ColumnModel}
   */

/**
   * get columns
   * @return Array
   */

/**
   * get config items
   * - overwrite this in subclasses
   * 
   * @return {Array}
   */

/**
   * get container filter object
   * 
   * @return {Object}
   */

/**
   * get container from filter toolbar
   *
   * @param {Array} requiredGrants
   * @return {Tine.Tinebase.Model.Container}
   *
   * TODO make this work -> atm we don't get the account grants here (why?)
   */

/**
   * get container from selection
   *
   * @param {Array} selection
   * @param {Array} requiredGrants
   * @return {Tine.Tinebase.Model.Container}
   */

/**
   * get current selection as collection
   * 
   * @return {Ext.util.MixedCollection}
   */

/**
   * get custom field columns for column model
   * 
   * @return {Array}
   */

/**
   * get custom field filter for filter toolbar
   *
   * @return {Array}
   */

/**
   * get custom operators
   * 
   * @return {Array}
   */

/**
   * get data to copy record
   *
   * @param {Tine.Tinebase.data.Record} record
   * @param recordClass
   * @param {Boolean} omitCopyTitle
   */

/**
   * get default container for new records
   *
   * @param {String} default container registry key
   * @return {Tine.Tinebase.Model.Container}
   */

/**
   * get default tab items configurations
   * 
   * @return {Array}
   */

/**
   * get export options/data
   */

/**
   * get failed file and folder upload tasks
   *
   * update status of all failed and unfinished tasks
   * only resolve failed tasks if instanceId s deprecated
   *
   * @returns {Promise<void>}
   */

/**
   * get file name
   * @return {String}
   */

/**
   * get form values
   * 
   * @return {Array}
   */

/**
   * get grants grid
   * 
   * @return Tine.widgets.account.PickerGridPanel
   */

/**
   * get grants model of given container
   *
   * @static
   * @param container
   * @return {Record}
   */

/**
   * get grants store
   * 
   * @return Ext.data.JsonStore
   */

/**
   * get grid
   * 
   * @return {Tine.widgets.grid.GridPanel}
   */

/**
   * get items
   * 
   * @return {Array}
   */

/**
   * get last presence timestamp
   *
   * @returns {number}
   */

/**
   * get last usesed query
   *
   * @returns {String}
   */

/**
   * get load mask
   * 
   * @return {Ext.LoadMask}
   */

/**
   * get modlog columns
   * 
   * shouldn' be used anymore
   * @TODO: use applicationstarter and modelconfiguration
   * 
   * @deprecated
   * @return {Array}
   */

/**
   * get module tree panel
   * 
   * @return {Ext.Panel}
   */

/**
   * get new action by actionType
   *
   * @param {String} type
   * @param {Object} config
   * @returns {Ext.Action}
   */

/**
   * get next available id
   * @return {Number}
   */

/**
   * get north panel for given contentType
   * 
   * @param {String} contentType
   * @return {Ext.Panel}
   */

/**
   * get notes data as array
   *
   * @return {Array}
   */

/**
   * get only users with defined status (enabled, disabled, expired)
   * get all -> 'enabled expired disabled'
   *
   * @type String
   * @property userStatus
   */

/**
   * get options of the plugin from the currently selected definition
   */

/**
   * get panel for default information
   * 
   * @return {Ext.Panel}
   */

/**
   * get panel for multi selection aggregates/information
   * 
   * @return {Ext.Panel}
   */

/**
   * get panel for single record details
   * 
   * @return {Ext.Panel}
   */

/**
   * get panel for westCardPanel region of given contentType
   *
   * NOTE: do not confuse this with westRegionPanel!
   * 
   * @return {Ext.Panel}
   */

/**
   * get picker grid layer combo
   * 
   * @param {Ext.data.Record} filter line
   * @param {Ext.Element} element to render to 
   * 
   */

/**
   * get record by data path
   * @param data
   */

/**
   * get record picker
   * 
   * @param {Ext.data.Record} filter line
   * @param {Ext.Element} element to render to 
   * 
   */

/**
   * get related record value data
   * 
   * NOTE: generic filters have their foreign record definition in the values
   */

/**
   * get relations data as array
   *
   * @TODO: do not manupilate store data
   * 
   * @return {Array}
   */

/**
   * get relations data as array
   * 
   * @param store if no store is given, this.store will be iterated
   * @return {Array}
   */

/**
   * get route for this app
   * @return {string}
   */

/**
   * get tab item configuration
   * 
   * @param {Tine.Application} app
   * @return {Object}
   */

/**
   * get tabs state
   * 
   * @return {Object}
   */

/**
   * get test for button
   * @param {String} domain 
   * @return {String}
   */

/**
   * get text from record defined by value (id or something else)
   * 
   * @param {String|Object} value
   * @return {String}
   */

/**
   * get time part in milliseconds
   * @returns {number}
   */

/**
   * get top toolbar
   */

/**
   * get validation error message
   *
   * @return {String}
   */

/**
   * get values from card panels
   * 
   * @return {Object} with form data
   */

/**
   * get values from form
   * 
   * @return {mixed}
   */

/**
   * get values from store (as array)
   *
   * @param {Array}
   */

/**
   * get values from store (as array)
   *
   * @return {Array}
   */

/**
   * getMessage
   * @return {String}
   */

/**
   * getName
   * @return {String}
   */

/**
   * getWindow
   * 
   * creates new window if not already exists.
   * brings window to front
   */

/**
   * gets columns
   *
   * @param {Boolean} visibleOnly
   * @return {Array}
   */

/**
   * gets currently displayed container in case a container filter is set
   * NOTE: this data is unresolved as it comes from filter and not through json convert!
   */

/**
   * gets filter data of all filter plugins
   * 
   * NOTE: As we can't find all filter plugins directly we need a litte hack 
   *       to get their data
   *       
   *       We register ourselve as latest beforeload.
   *       In the options.filter we have the filters then.
   */

/**
   * gets groups of given record
   *
   * @param {Ext.data.record} record
   * @returns {Array}
   */

/**
   * gets state of this cmp
   */

/**
   * gets static ddel
   * 
   * @return {Ext.Element}
   */

/**
   * gets the (extra) quick filter toolbar items
   * 
   * @return {Ext.ButtonGroup}
   */

/**
   * gets the currently displayed toolbar
   *
   * @deprecated
   * @return {Ext.Toolbar}
   */

/**
   * gets the currently displayed toolbar
   *
   * @return {Ext.Toolbar}
   */

/**
   * gets the quick filter row (record) from the given ftb which is in sync with our (extra) quick filter field.
   *
   * @param {Tine.widgets.grid.FilterToolbar} ftb
   * @return {Ext.data.Record} filter
   */

/**
   * gets translated container name by path
   * 
   * @static
   * @param {String} path
   * @param {String} containerName
   * @param {String} containersName
   * @return {String}
   */

/**
   * gets value of this container filter
   */

/**
   * grid config
   * @private
   */

/**
   * grid favorites panel belongs to
   * 
   * @type Tine.widgets.grid.GridPanel
   */

/**
   * group grid by this property
   * 
   * @type {String}
   */

/**
   * hander of select event
   * NOTE: executed after native onSelect method
   */

/**
   * handle fields for multiedit
   */

/**
   * handler for ctxmenu clicks on tree nodes
   * 
   * @param {Ext.tree.TreeNode}
   *            node
   * @param {Ext.EventObject}
   *            e
   */

/**
   * handler to delete filter
   * 
   * @param {Ext.tree.TreeNode}
   *            node
   */

/**
   * handler to overwrite filter
   * 
   * @param {Ext.tree.TreeNode}
   *            node
   */

/**
   * handler to rename filter
   * 
   * @param {Ext.tree.TreeNode}
   *            node
   */

/**
   * header is clicked
   * 
   * @param {Object} grid
   * @param {Number} colIdx
   * @param {Event} e
   * @return {Boolean}
   */

/**
   * header template for the grouping view, if needed
   * 
   * @type String
   */

/**
   * helper as consumer might not know if we are in maincreen or dialog
   * @deprecated
   */

/**
   * helper function to async force save
   *
   * @return {Promise<recordData>}
   */

/**
   * helper function to close window
   */

/**
   * helper to load record (from extern)
   *
   * @param record
   * @return {Promise<unknown>}
   */

/**
   * hides the default clearer
   */

/**
   * holds all display fields of the panel
   * 
   * @type {Ext.util.MixedCollection}
   */

/**
   * holds the fields which have been changed
   * @type {array} changedFields
   */

/**
   * holds the future operators of date filters. Auto set by getDateFutureOps
   * 
   * @type {Array}
   */

/**
   * holds the future operators of date filters. Auto set by getDatePastOps
   * 
   * @type {Array}
   */

/**
   * holds the loadMask
   * set this to false, if no loadMask should be shown
   *
   * @type {Ext.LoadMask}
   */

/**
   * holds the modelConfig for the handled record (json-encoded object)
   * will be decoded in initComponent
   *
   * @type
   */

/**
   * holds the uploads
   */

/**
   * hook in after this.editDialog.initRecord
   */

/**
   * hook notes panel into dialog
   */

/**
   * how many retries were made while trying to upload current chunk
   */

/**
   * i18n renderer
   *
   * NOTE: needs to be bound to i18n object!
   *
   * renderer: Tine.Tinebase.common.i18nRenderer.createDelegate(this.app.i18n)
   * @param original
   */

/**
   * id of last transaction
   * @property transId
   */

/**
   * if a previous state has been applied, this is set to true.
   * if restoring the last state fails, this is set to false
   * 
   * @type Boolean
   */

/**
   * if application starter should be used, here the js contents are (pre-)created
   */

/**
   * if main channel is adding tasks to worker channels
   */

/**
   * if records are defined by a filterselection
   * @type 
   */

/**
   * if set to false, it is not possible to add the same record handled in this.editDialog
   * this.editDialog must also be set
   *
   * @cfg {Boolean} allowLinkingItself
   */

/**
   * if set, the quickadd fields are validated on blur
   * @type Boolean
   */

/**
   * if this paging toolbar belongs to a nested grid, this must set to true to disable the reload
   * 
   * @type Boolean
   */

/**
   * if this resides in a editDialog, this property holds it
   * if it is so, the grid can't save records itsef, just update
   * the editDialogs record property holding these records
   * 
   * @cfg {Tine.widgets.dialog.EditDialog} editDialog
   */

/**
   * if this resides in an editDialog, this property defines the 
   * property of the record of the editDialog, holding these records
   * 
   * @type {String} editDialogRecordProperty
   */

/**
   * ignore relations to given php-class names in the relation grid
   * @type {Array}
   */

/**
   * ignore this php models (filter is not shown)
   * @cfg {Array}
   */

/**
   * implement convinience function as expected from grid selection models
   * 
   * @namespace {Ext.tree}
   * @return {Node}
   */

/**
   * import inventory items
   *
   * @param {Button} btn
   */

/**
   * in case field is a denormalizationOf an other record
   *
   * @type {Tine.Tinebase.data.Record} denormalizationRecordClass
   */

/**
   * in memory msg bus for sync events
   */

/**
   * indicates whether the current browser supports der File.slice method
   * 
   * @returns {Boolean}
   */

/**
   * indicates whether this upload is queued
   * 
   * @returns {Boolean}
   */

/**
   * indicates whether this upload ist paused
   * 
   * @returns {Boolean}
   */

/**
   * init
   * @private
   */

/**
   * init
   */

/**
   * init actions
   * 
   * @todo only allow admin mode if user has admin right
   */

/**
   * init actions
   */

/**
   * init actions and toolbars
   */

/**
   * init actions with actionToolbar, contextMenu and actionUpdater
   * 
   * @private
   */

/**
   * init an explicit filter row
   */

/**
   * init app preferences store
   * 
   * @param {String} appName
   * 
   * @todo use generic json backend here?
   */

/**
   * init appTabsPanel
   */

/**
   * init buttons
   *
   * use button order from preference
   */

/**
   * init buttons
   * use preference settings for order of save and close buttons
   */

/**
   * init buttons
   * use preference settings for order of yes and no buttons
   */

/**
   * init buttons
   */

/**
   * init cm
   */

/**
   * init component
   * @private
   */

/**
   * init component
   */

/**
   * init container selector
   */

/**
   * init ext grid panel
   * @private
   */

/**
   * init footer bar
   */

/**
   * init grid
   */

/**
   * init grid (column/selection model, ctx menu, ...)
   */

/**
   * init grid columns
   */

/**
   * init import wizard
   */

/**
   * init keyfield store
   *
   * for "normal" keyFields we could work on the default store (client side)
   * this way the client dosn't need a client reload
   *
   *
   */

/**
   * init our column model
   */

/**
   * init record to edit
   * 
   * - overwritten: we don't have a record here 
   */

/**
   * init record to edit
   */

/**
   * init registry
   *
   * @param {Boolean} forceReload
   * @param {Function} cb
   * @param {Object} scope
   */

/**
   * init sel model
   * @private
   */

/**
   * init selection widget
   */

/**
   * init some auto hooks
   */

/**
   * init store
   * @private
   */

/**
   * init store
   */

/**
   * init template
   * @private
   */

/**
   * init template
   */

/**
   * init the combined appchooser/tine menu
   */

/**
   * init the contacts json grid store
   */

/**
   * init the dropdown layer
   * 
   * @private
   */

/**
   * init the generic foreign filter row
   */

/**
   * init the toolbar
   */

/**
   * init this plugin
   *
   * @param {Ext.Component} cmp
   */

/**
   * init this plugin
   * 
   * @param {Ext.Component} cmp
   */

/**
   * init this treePanel
   */

/**
   * init this upload button
   */

/**
   * init this wizard
   */

/**
   * init toolbar and context menu
   * @private
   */

/**
   * init top toolbar
   */

/**
   * initComponent
   * 
   */

/**
   * initTreeNodes with Tinebase and apps prefs
   * 
   * @private
   */

/**
   * initialise application manager
   */

/**
   * initialise state provider
   */

/**
   * initialise upload manager
   */

/**
   * initialise window and windowMgr (only popup atm.)
   */

/**
   * initialises all enabled apps
   * @private
   */

/**
   * initialises the filter panel 
   * 
   * @param {Object} config
   */

/**
   * initialize actions
   * @private
   */

/**
   * initializes generic stuff when used with ModelConfiguration
   */

/**
   * initializes the actions
   */

/**
   * initializes the actions for the buttons
   */

/**
   * initializes the buttons
   * use preference settings for order of save and close buttons
   */

/**
   * initializes the component
   */

/**
   * initializes the component, builds this.fields, calls parent
   */

/**
   * initializes the delete action
   * 
   * @param {Object} services the rpc service map from the registry
   */

/**
   * initializes the generic column model on auto bootstrap
   * Note this method is mixedin Tine.widgets.grid.QuickaddGridPanel
   */

/**
   * initializes the plugin
   * @var {Tine.widgets.dialog.EditDialog} ed
   */

/**
   * initializes the plugin
   */

/**
   * initializes the starter
   */

/**
   * initializes the state and is called before afterRender
   * 
   * @see Ext.Component
   */

/**
   * initializes the stateif no state is saved
   * overwrites the Ext.Component initState method
   */

/**
   * initializes the template and sets actionHandlers
   */

/**
   * inits the component
   */

/**
   * inits this cmp
   * 
   * @private
   */

/**
   * inits this cmp
   * @private
   */

/**
   * inits this details panel
   */

/**
   * inits this west panel
   */

/**
   * inspects month picker onClick event method
   * return false to cancel original onClick handler
   */

/**
   * interceptor for all renderers
   * - manage colors
   * - pick appropriate renderer
   */

/**
   * internal/untranslated app name (required)
   *
   * @cfg {String} appName
   */

/**
   * is a persistent filter (localized) which is shipped
   * 
   * @return {Boolean}
   */

/**
   * is a shared persistent filter
   * 
   * @return {Boolean}
   */

/**
   * is called after a row has been edited
   * @param {Object} o
   */

/**
   * is called after edit a field
   * 
   * @param {Ext.EventObject} e
   */

/**
   * is called after multiple records have been updated
   */

/**
   * is called after render and will be deferred, if state restoring is still running
   */

/**
   * is called after render, calls the superclass and this.afterRenderSelectNode
   */

/**
   * is called after selecting a record in the combo
   * 
   * @param {Tine.Tinebase.widgets.form.RecordPickerComboBox} picker the triggering combo box
   * @param {Tine.Tinebase.data.Record} recordToAdd
   */

/**
   * is called before context menu is shown
   * adds additional menu items from Tine.widgets.relation.MenuItemManager
   * @param {Tine.widgets.grid.PickerGridPanel} grid
   * @param {Integer} index
   * @return {Boolean}
   */

/**
   * is called from onApplyChanges
   * @param {Boolean} closeWindow
   */

/**
   * is called from onApplyChanges of the edit dialog per save event
   *
   * @param {Tine.widgets.dialog.EditDialog} dialog
   * @param {Tine.Tinebase.data.Record} record
   * @return {Boolean}
   */

/**
   * is called from onApplyChanges of the edit dialog per save event
   * 
   * @param {Tine.widgets.dialog.EditDialog} dialog
   * @param {Tine.Tinebase.data.Record} record
   * @return {Boolean}
   */

/**
   * is called if the multibutton of "this" field is triggered
   */

/**
   * is called on cancel
   */

/**
   * is called on change listener of this.modelCombo
   * 
   * @param {Ext.form.ComboBox} combo the calling combo
   * @param {Ext.data.record} selected the selected record
   * @param {Number} index the selection index
   */

/**
   * is called on doubleclick on a cell and sets the editor if the cell is the finalValue
   * 
   * @param {Ext.grid.EditorGridPanel} grid
   * @param {number} rowIndex
   * @param {number} colIndex
   * @param {Ext.EventObject} e
   */

/**
   * is called on render, creates keymap
   * @param {} ct
   * @param {} position
   */

/**
   * is called on save
   */

/**
   * is called on type change, sets the relationpickercombos accordingly
   * 
   * @param {Ext.form.ComboBox} combo
   * @param {Tine.Tinebase.data.Record} record
   * @param {Number} index
   */

/**
   * is called to resolve conflicts from 2 records
   */

/**
   * is called to resolve the records
   */

/**
   * is called when a failure on saving the merge result or deleting the duplicate happens
   * @param {} step
   * @param {} failure
   */

/**
   * is called when a record in the grid changes
   * @param {Ext.data.SimpleStore} store
   * @param {} record
   */

/**
   * is called when a record is added to the store
   * @param {Ext.data.SimpleStore} store
   * @param {Array} records
   */

/**
   * is called when an init handler for this field is called
   * @param {Object} ff the form field
   */

/**
   * is called when ok-button is pressed and edit dialog should be opened
   */

/**
   * is called when selecting a record in the searchCombo (relationpickercombo)
   */

/**
   * is called when the component is rendered
   * @param {} ct
   * @param {} position
   */

/**
   * is called when the form is submitted. only fieldvalues with edited=true are committed 
   * @return {Boolean}
   */

/**
   * is default of current user
   * 
   * @return {Boolean}
   */

/**
   * is form valid?
   *
   * @return {Boolean}
   */

/**
   * is persiting this filterPanel is allowed
   * 
   * @return {Boolean}
   */

/**
   * is request still loading?
   * 
   * @param  {Number} Ext.Ajax transaction id
   * @return {Bool}
   */

/**
   * is selection visible ?
   * - overwrite this when extending to make sure that the selection widget is no longer visible on collapse
   * 
   * @return {Boolean}
   */

/**
   * is set to true if subpanels (selectionDialog) are active
   * useful in QuickAddGrid
   * @type Boolean
   */

/**
   * is the row highlighted after adding?
   * @type Boolean
   */

/**
   * is the row selected after adding?
   * @type Boolean
   */

/**
   * is this component rendered?
   * @return {Promise}
   */

/**
   * is this upload paused
   */

/**
   * is this upload queued
   */

/**
   * key down handler
   * @private
   */

/**
   * keyfieldConfigs shortcuts
   * @type {Object} keyFieldConfigs
   */

/**
   * kill x scrollers of given component
   * 
   * @param {Ext.Component} cmp
   */

/**
   * lasy load record if id is given only
   */

/**
   * linkify text
   *
   * @param {String} text
   * @param {Ext.Element|Function} cb
   */

/**
   * load conflict with given index
   * 
   * @param {Number} index
   */

/**
   * load grid from saved filter
   * 
   * NOTE: As all filter plugins add their data on the stores beforeload event
   * we need a litte hack to only present a filterid.
   * 
   * When a filter is selected, we register ourselve as latest beforeload,
   * remove all filter data and paste our filter data. To ensure we are always
   * the last listener, we directly remove the listener afterwards
   */

/**
   * load record via record proxy
   */

/**
   * loads a single 'full featured' record
   * 
   * @param   {Ext.data.Record} record
   * @param   {Object} options
   * @return  {Number} Ext.Ajax transaction id
   * @success {Ext.data.Record}
   */

/**
   * loads form with config data
   * 
   * @param  {Object} configData
   */

/**
   * lock given area
   * @param {String} areaName
   * @return {Promise<*>}
   */

/**
   * logout user & redirect
   * @static
   */

/**
   * main method which must return the filter object of this filter
   * 
   * @return {Object}
   */

/**
   * main method which must set the filter from given data
   * 
   * @param {Array} all filters
   */

/**
   * manage footer buttons
   */

/**
   * manage permissions
   * 
   */

/**
   * manage properties
   * 
   */

/**
   * mark current conflict resolved
   */

/**
   * markdown renderer - fulltext, special type
   * @param {String} v The string to format.
   * @param {Object} metaData Grid metadata object
   * @param {Object} record Grid record
   * @return {String} The formatted string.
   */

/**
   * match item with the key of customfield".
   */

/**
   * max channel count, also the number of allowed concurrent uploads
   */

/**
   * merge tags
   *
   * @param {Array} mine
   * @param {Array} theirs
   *
   * TODO generalize me for "merge-able" values
   */

/**
   * method for uploading temp file
   */

/**
   * method to register components which are disabled on multiple edit
   * call this from the component to disable by: Tine.widgets.dialog.MultipleEditDialogPlugin.prototype.registerSkipItem(this);
   * @param {} item
   */

/**
   * move queued tasks to main channel
   *
   * @param tasks
   */

/**
   * navigate to panel
   * 
   * @param {Number/String} ref
   */

/**
   * new entry event -> add new record to store
   *
   * @param {Object} recordData
   * @return {Boolean}
   */

/**
   * new entry event -> add new record to store
   * 
   * @param {Object} recordData
   * @return {Boolean}
   */

/**
   * next button handler
   */

/**
   * non-interactive mode: do not show anything and just submit the report
   * 
   * @type Boolean
   */

/**
   * ok handler
   */

/**
   * on add note
   * - add note to activities panel
   */

/**
   * on keypressed("enter") event to add record
   *
   * @param {Tine.Addressbook.SearchCombo} combo
   * @param {Event} event
   */

/**
   * on pause
   * @param {} button
   * @param {} event
   */

/**
   * on record load event
   * 
   * @param {Object} record
   */

/**
   * on record update event
   * 
   * @param {Object} record
   */

/**
   * on remove
   * @param {} button
   * @param {} event
   */

/**
   * on resume
   * @param {} button
   * @param {} event
   */

/**
   * on store load exception
   * 
   * @param {Tine.Tinebase.data.RecordProxy} proxy
   * @param {String} type
   * @param {Object} error
   * @param {Object} options
   */

/**
   * on update after edit
   * 
   * @param {String|Tine.Tinebase.data.Record} record
   * @param {String} mode
   */

/**
   * on upload complete handler
   */

/**
   * on upload failure
   * @private
   */

/**
   * on upload start handler
   */

/**
   * onDefineRelatedRecord
   * 
   * @param {} filter
   */

/**
   * onRender define dragZone and dropZone
   * 
   * @param {Ext.TabPanel} tabpanel
   */

/**
   * onStoreBeforeLoadRecords
   * 
   * @param {Object} o
   * @param {Object} options
   * @param {Boolean} success
   * @param {Ext.data.Store} store
   */

/**
   * onUpdateAdminMode
   * 
   * enable/disable apps according to admin right for applications
   * @private
   *
   */

/**
   * open new window/tab to show help and tutorial
   */

/**
   * operator renderer
   * 
   * @param {Ext.data.Record} filter line
   * @param {Ext.Element} element to render to 
   */

/**
   * optimizes the selection
   */

/**
   * other config options
   */

/**
   * overwrite batch uploads
   *
   * set overwrite flog for the tasks that need to be overwritten
   */

/**
   * overwrite if record id is already set on new records
   * @returns {boolean}
   */

/**
   * overwrites the default function
   */

/**
   * pause oder resume file upload
   * 
   * @param paused {Boolean} set true to pause file upload
   */

/**
   * perform the initial load of grid data
   */

/**
   * perform the upload
   * 
   * @return {Ext.Record} Ext.ux.file.Upload.file
   */

/**
   * performs an Ajax request
   */

/**
   * performs the actual update
   * @param {Array|SelectionModel} records
   * @param {Array|Tine.Tinebase.Model.Container} container
   */

/**
   * permit selection of nodes with missing required grant
   *
   * @param {} sm
   * @param {} newSelection
   * @param {} oldSelection
   * @return {Boolean}
   */

/**
   * plugin method of Ext.grid.GridPanel
   * 
   * @param {Ext.grid.GridPanel} grid
   */

/**
   * populate grid store
   *
   * @param {} record
   */

/**
   * populate store
   *
   * @param {EditDialog} editDialog
   * @param {Record} record
   * @param {Function} ticketFn
   */

/**
   * populate store
   * 
   * @param {EditDialog} editDialog
   * @param {Record} record
   * @param {Function} ticketFn
   */

/**
   * populate store and set record
   * 
   * @param {Record} record
   */

/**
   * populate store and set record
   * @param {Record} record
   */

/**
   * possible log levels
   * @type Object
   */

/**
   * posts message about record crud action on central message bus
   * NOTE: we don't use the Ext internal write event as:
   *       a) to deal with cross window issues we only publish bare data
   *       b) to be able mix with other libraries
   *
   * @param {String} action [create|update|delete]
   * @param {Record} record
   */

/**
   * prefix for localStorage keys
   * @type String
   */

/**
   * prepare paging
   * 
   * @param {Ext.data.Store} store
   * @param {Object} options
   */

/**
   * prepare paging and sort
   *
   * @param {Ext.data.Store} store
   * @param {Object} options
   */

/**
   * prepare params for remote search (this.startPath == /personal/*
   * 
   * @param {} store
   * @param {} options
   */

/**
   * promisified store load
   */

/**
   * properties from record.json to preserve when editing (see Ext.copyTo for syntax)
   * @type {string}
   */

/**
   * queue uploads
   *
   */

/**
   * reads a single 'fully featured' record from json data
   * 
   * NOTE: You might want to override this method if you have a more complex record
   * 
   * @param  XHR response
   * @return {Ext.data.Record}
   */

/**
   * record class
   * 
   * @type Tine.Tinebase.data.Record
   */

/**
   * record class
   * @cfg {Tine.Tinebase.data.Record} recordClass
   */

/**
   * record class of related record
   *
   * @cfg {Tine.Tinebase.data.Record} recordClass
   */

/**
   * record definition class  (required if no modelconfig! don't declare for modelconfig!!)
   *
   * @cfg {Ext.data.Record} recordClass
   */

/**
   * record definition class  (required)
   * @cfg {Ext.data.Record} recordClass
   */

/**
   * record got dropped on container node
   *
   * @param {Object} dropEvent
   * @private
   *
   * TODO use Ext.Direct
   */

/**
   * record picker
   * 
   * @type Tine.Tinebase.widgets.form.RecordPickerComboBox
   */

/**
   * record select
   * 
   * @param {String} field
   * @param {Object} recordData
   */

/**
   * refIdField for new dependend records
   * @cfg {String} refIdField
   */

/**
   * reference to relationPanelRegistry from the editdialog
   * 
   * @type {Array}
   */

/**
   * refresh after delete (hide delete mask or refresh paging toolbar)
   */

/**
   * refresh after edit/move
   */

/**
   * register a custom replacer method for this proxy
   * NOTE: replacer needs to return bool true to mark a successfully replacement
   * @param {Function} fn
   */

/**
   * related record renderer
   *
   * @param {Record} value
   * @return {String}
   */

/**
   * related record renderer
   * 
   * @param {Record} value
   * @return {String}
   */

/**
   * relation degree of the relation
   * @cfg {String} relationType
   */

/**
   * relation type of the relation
   * @cfg {String} relationType
   */

/**
   * relation types can be stored in keyfield
   * @type 
   */

/**
   * relation types for combobox in editor grid
   * @type Array
   */

/**
   * relations panel
   *
   * @type Tine.widgets.relation.GenericPickerGridPanel
   */

/**
   * relations to add
   * @type {Array}
   */

/**
   * relay contextmenu events
   *
   * @param {Ext.Container} ct
   * @param {Number} position
   * @private
   */

/**
   * reload client
   *
   * @param {Object} options
   *      {Boolean} keepRegistry
   *      {Boolean} clearCache
   *      {Boolean} redirectAlways
   *      {String} redirectUrl
   */

/**
   * reload node
   */

/**
   * remove all filter on filterPanel
   */

/**
   * remove all items which should not be keeped -> don't have a keep flag
   *
   * @param {Ext.Panel} cardPanel
   */

/**
   * remove all registry data
   */

/**
   * remove complete tasks in storage
   */

/**
   * remove duplicate records, when update of the new record succeeded
   * @param {Array} removeRecords
   */

/**
   * remove failed tasks first from server and local storage
   */

/**
   * remove filter panel
   * 
   * @param {mixed} filterToolbar
   */

/**
   * remove handler
   *
   * @param {} button
   * @param {} event
   */

/**
   * remove handler
   * 
   * @param {} button
   * @param {} event
   */

/**
   * remove upload from the upload manager
   *
   * @param uploadId
   */

/**
   * removes a record from invalid records array
   * 
   * @param {Tine.Tinebase.data.Record} record
   */

/**
   * removes the relation record by the related record id, if the type is the same handled by this combo
   * @param {String} id
   */

/**
   * rename tree node
   */

/**
   * rename window name
   * 
   * @param {String} new name
   */

/**
   * render a date value
   * 
   * we place a picker and a combo in the dom element and hide the one we don't need yet
   */

/**
   * render single tag
   *
   * @param {Tine.Tinebase.Model.Tag} tag
   */

/**
   * renders bytes for filesize
   * @param {Integer} value
   * @param {Object} metadata
   * @param {Tine.Tinebase.data.Record} record
   * @param {Integer} decimals
   * @param {Boolean} useDecimalValues
   * @return {String}
   */

/**
   * renders static table
   * @private
   */

/**
   * renders the data into the initialized template
   * 
   * @param {String} value
   * @param {Object} cell
   * @param {Ext.data.Record} record
   * @param {Number} row
   * @param {Number} col
   * @param {Ext.data.Store} store
   * 
   * @return {String}
   */

/**
   * renders the degree
   * @param {String} value
   * @return {String}
   */

/**
   * renders the filter specific stuff of a single filter row
   * 
   * @param {Ext.data.Record} el representing a filter tr tag
   * @private
   */

/**
   * renders the quick add header fields
   */

/**
   * renders the remark
   * @param {String} value
   * @param {Object} row
   * @param {Tine.Tinebase.data.Record} record
   * @return {String}
   */

/**
   * renders the titleProperty of the models
   * @param {String} value
   * @return {String}
   */

/**
   * renders the type
   * @param {String} value
   * @param {Object} row
   * @param {Tine.Tinebase.data.Record} rec
   * @return {String}
   */

/**
   * replace proxy by given html
   * @param html
   * @returns {Promise<boolean|void>}
   */

/**
   * replace record
   * @param {Ext.data.Record} o old record
   * @param {Ext.data.Record} n new record
   */

/**
   * reqired method for Ext.data.Proxy, used by store
   * @todo read the specs and implement success/fail handling
   * @todo move reqest to searchRecord
   */

/**
   * request context with tine20 prefix
   * @property transId
   */

/**
   * require reload when node is collapsed
   */

/**
   * required method for Ext.data.Proxy, used by store
   */

/**
   * reset
   */

/**
   * reset all upload channels
   *
   * reset all tasks in main channel and worker channels
   * no tasks will be left in all channels
   */

/**
   * reset deprecated tasks with upload pending configs
   *
   * - force overwrite
   */

/**
   * resets a filter
   * @param {Ext.Record} filter to reset
   */

/**
   * resolve all conflicts using current strategy
   */

/**
   * resolve deprecated instances
   *
   * - check all instances running status
   * - stop deprecated working channels
   */

/**
   * resolve inner component definition (handle possible async component)
   */

/**
   * resolve task status of all uploads
   *
   */

/**
   * respect record.getTitle method
   */

/**
   * responsive content Renderer
   *
   * @param {Object} metadata
   * @param {Folder|Account} record
   * @return {String}
   */

/**
   * restart failed uploads
   *
   */

/**
   * resume this upload
   */

/**
   * return grid
   * 
   * @return {Ext.ux.grid.QuickaddGridPanel|Ext.grid.GridPanel}
   */

/**
   * return store from grid
   * 
   * @return {Ext.data.Store}
   */

/**
   * return view from grid
   * 
   * @return {Ext.grid.GridView}
   */

/**
   * return yes or no in the selected language for a boolean value
   *
   * @param {string} value
   * @return {string}
   */

/**
   * returns a filter plugin to be used in a grid
   */

/**
   * returns a list of all apps for current user
   */

/**
   * returns a new datepickerMenu
   *
   * @returns {Ext.menu.DateMenu}
   */

/**
   * returns active content type
   * 
   * @return {String}
   */

/**
   * returns add action
   *
   * @return {Object} add action config
   */

/**
   * returns additional ctx items
   * 
   * @TODO: make this a hooking approach!
   * 
   * @param {model.PersistentFilter}
   * @return {Array}
   */

/**
   * returns additional items for the westpanel
   * template fn to be overrwiten by subclasses
   * 
   * @return {Array} of Ext.Panel
   */

/**
   * returns additional save params
   *
   * @param {EditDialog} me
   * @returns {{duplicateCheck: boolean}}
   */

/**
   * returns all main actions
   * 
   * @return {Array}
   */

/**
   * returns all tasks from main channel
   *
   */

/**
   * returns an appObject
   * 
   * @param {String} appName
   * @return {Tine.Application}
   */

/**
   * returns an array containing all the values of this array that are present in all the arguments.
   * taken from https://github.com/lovasoa/fast_array_intersect
   *
   * @param {Array} array1
   * @param {Array} [array2]
   * @param {Array} [...]
   */

/**
   * returns an array of ids
   * 
   * @private 
   * @param  {Ext.data.Record|Array}
   * @return {Array} of ids
   */

/**
   * returns appName of given tab/id
   * 
   * @param {Ext.Panel/String/Number} id
   * @return {String} appName
   */

/**
   * returns appObject
   * 
   * @param {String} applicationId
   * @return {Tine.Application}
   */

/**
   * returns appObject of default app
   * 
   * @return {Tine.Application}
   */

/**
   * returns areaNames of all areaLocks matching given selectors
   * @param {Array} areaSelectors
   * @param {Boolean} lockedOnly
   * @return {Array}
   */

/**
   * returns canonical name / path segment
   * @returns {string}
   */

/**
   * returns canonical path part
   * @returns {string}
   */

/**
   * returns center (card) panel
   *
   * @returns {Ext.Panel}
   */

/**
   * returns config form (extending classes need to overwrite this)
   * 
   * @private
   * @return {Array} items
   */

/**
   * returns container type (personal/shared) of given path
   * 
   * @static
   * @param {String} path
   * @return {String}
   */

/**
   * returns containerTree panel
   * 
   * @return {Tine.Tinebase.widgets.ContainerTreePanel}
   */

/**
   * returns current logging priority
   * 
   * @return {}
   */

/**
   * returns currently activated app
   * @return {Tine.Application}
   */

/**
   * returns date of timepart (starting at begin of time)
   *
   * @returns {Date}
   */

/**
   * returns dialog
   * 
   * NOTE: when this method gets called, all initalisation is done.
   * 
   * @return {Object}
   * @private
   */

/**
   * returns dialog
   * 
   * NOTE: when this method gets called, all initalisation is done.
   */

/**
   * returns dialog
   */

/**
   * returns extracted, type-cast rows of data.  Iterates to call #extractValues for each row
   * @param {Object[]/Object} data-root from server response
   * @param {Boolean} returnRecords [false] Set true to return instances of Ext.data.Record
   * @private
   */

/**
   * returns favorites panel
   * 
   * @return {Ext.Panel}
   */

/**
   * returns file class based on name extension
   * @return {String} class to use for file type icon
   */

/**
   * returns filter
   * 
   * @param {String} fieldKey
   * @param {Object} filterconfig
   * @param {Object} fieldconfig
   * @return {Object}
   */

/**
   * returns filter plugin of west panel for given content type
   * 
   * @param {String} contentType
   * @return {Tine.widgets.grid.FilterPlugin}
   */

/**
   * returns filter toolbar
   * @private
   * @deprecated
   * 
   * TODO this seems to be legacy code that is only used in some apps (Calendar, Felamimail, ...)
   *   -> should be removed
   *   -> we use initFilterPanel() now
   */

/**
   * returns filter toolbar of mainscreen center panel of app this picker
   * panel belongs to
   */

/**
   * returns filterModel
   * 
   * @param {String} fieldName
   * @return {Tine.widgets.grid.FilterModel}
   */

/**
   * returns future operators for date fields, may be overridden
   * 
   * @return {Array}
   */

/**
   * returns gird panel this filterplugin is bound to/for
   * 
   * @return {Ext.Panel}
   */

/**
   * returns iconCls of this application
   * 
   * @param {String} target
   * @return {String}
   */

/**
   * returns ids of currently visible page
   * 
   * @return {Array}
   */

/**
   * returns inner form of the layer
   * 
   */

/**
   * returns main menu
   * 
   * @return {Ext.Menu}
   */

/**
   * returns object of selected container/filter or null/default
   *
   * @param {Array} [requiredGrants]
   * @param {Tine.Tinebase.Model.Container} [defaultContainer]
   * @param {Boolean} onlySingle use default if more than one container in selection
   * @return {Tine.Tinebase.Model.Container}
   */

/**
   * returns owner id if given path represents an personal _node_
   * 
   * @static
   * @param {String} path
   * @return {String/Boolean}
   */

/**
   * returns params for async request
   *
   * @param {Ext.tree.TreeNode} node
   * @return {Object}
   */

/**
   * returns params for async request
   * 
   * @param {Ext.tree.TreeNode} node
   * @return {Object}
   */

/**
   * returns past operators for date fields, may be overridden
   * 
   * @return {Array}
   */

/**
   * returns persistent filter tree node
   * 
   * @return {Ext.tree.AsyncTreeNode}
   */

/**
   * returns random integer number
   * @param {Integer} min
   * @param {Integer} max
   * @return {Integer}
   */

/**
   * returns reader
   * 
   * @return {Ext.data.DataReader}
   */

/**
   * returns record with conflict resolved data
   */

/**
   * returns recordData of selected Records
   *
   * @NOTE single record pickers just return recordId with getValue and have selectedRecord property to get the whole record
   *       we might want to adopt dataflow here?
   *
   * @returns {Array<Object>|*[]}
   */

/**
   * returns registry of this app
   * 
   * @return {Ext.util.MixedCollection}
   */

/**
   * returns rows context menu
   * 
   * @param {Ext.grid.GridPanel} grid
   * @param {Number} row
   * @param {Ext.EventObject} e
   * @return {Ext.menu.Menu}
   */

/**
   * returns tab id of given app
   * @param {Tine.Application/String} app
   */

/**
   * returns tags data of the current record
   */

/**
   * returns the active search combo
   * @return {}
   */

/**
   * returns the configuration for the relations to be created, must be overridden
   * @return {Object}
   */

/**
   * returns the default relation values
   * @return {Array}
   */

/**
   * returns the file node path of the 'my ...' node
   * 
   * @return {String}
   */

/**
   * returns the file panel of this wizard (step 1)
   * 
   * @TODO restrict allowed extensions on definition selection OR
   *       restrict allowed definitions on file selection
   */

/**
   * returns the file panel of this wizard (step 1)
   */

/**
   * returns the form items of this panel
   * @return {}
   */

/**
   * returns the id of the record
   */

/**
   * returns the items of the form, must be overridden
   * @return {Object} with the configured items
   */

/**
   * returns the mainscreen of this application
   * 
   * @return {Tine.widgets.app.MainScreen}
   */

/**
   * returns the needed form items
   * @return {Object}
   */

/**
   * returns the one and only portalcolumn of this west panel
   * 
   * @return {Ext.ux.PortalColumn}
   */

/**
   * returns the path of the 'my ...' node
   * 
   * @return {String}
   */

/**
   * returns the php class name of the record itself or by the application(name) and model(name)
   * @param {mixed} app       the application instance or the application name or the record class
   * @param {mixed} model     the model name
   * @return {String} php class name
   */

/**
   * returns the selected record. may be overridden.
   * @return {Object} config for the record to edit
   */

/**
   * returns the temporary files
   * 
   * @returns {Array} temporary files
   */

/**
   * returns the type editors for each row in the grid
   * 
   * @param {Object} config
   * @param {Tine.Tinebase.Application}
   * 
   * @return {}
   */

/**
   * returns title of this application
   * 
   * @return {String}
   */

/**
   * returns title of this record
   * 
   * @return {String}
   */

/**
   * returns true if a specific feature is enabled for this application
   * 
   * @param {String} featureName
   * @return {Boolean}
   */

/**
   * returns true if files are uploading atm
   *
   * @return {Boolean}
   */

/**
   * returns true if given path represents a (single) container
   * 
   * NOTE: if path could only be undefined when server send container without path.
   *       This happens only in server json classes which only could return containers
   * NOTE: for virtual paths we can't compute if path represents a container(leaf)
   *       so don't use this function anymore
   *
   * @deprecated
   * @static
   * @param {String} path
   * @return {Boolean}
   */

/**
   * returns true if given path represents a personal container of current user
   * 
   * @param {String} path
   * @return {Boolean}
   */

/**
   * returns true if given record obsoletes this one
   * 
   * - returns false if record has no modlog properties to make 
   *   handling of updated records work in the grid panel
   * @see 0009464: user grid does not refresh after ctx menu action
   * 
   * @param {Record} record
   * @return {Boolean}
   */

/**
   * returns true if node can accept contents
   * - default: only accepts contents if container node is leaf ("virtual" nodes don't accept content)
   *
   * @param nodeAttributes
   * @returns boolean
   */

/**
   * returns true if the form is valid, must be overridden
   * @return {Boolean}
   */

/**
   * returns upload by uploadId
   *
   * @param uploadId {String} upload id
   * @param fileObject
   * @returns (Ext.ux.file.Upload} Upload object
   */

/**
   * returns valueType of given filter
   * 
   * @param {Record} filter
   * @return {String}
   */

/**
   * returns valueType of given filter
   * 
   * added for cf of type record and keyField
   * 
   * @param {Record} filter
   * @return {String}
   */

/**
   * returns view row class
   */

/**
   * returns wrap el for quick add filed of given col
   *
   * @param {Ext.grid.Colum} col
   * @return {Ext.Element}
   */

/**
   * row click handler
   * 
   */

/**
   * row doubleclick handler
   * 
   * @param {} grid
   * @param {} row
   * @param {} e
   */

/**
   * save config and update setup registry
   */

/**
   * save filterset as persisten filter
   */

/**
   * save persistent filter
   */

/**
   * saves a single record
   * 
   * @param   {Ext.data.Record} record
   * @param   {Object} options
   * @param   {Object} additionalArguments
   * @return  {Number} Ext.Ajax transaction id
   * @success {Ext.data.Record}
   */

/**
   * saves a single record
   * 
   * @param   {Ext.data.Record} record
   * @param   {Object} options
   * @return  {Number} Ext.Ajax transaction id
   * @success {Ext.data.Record}
   */

/**
   * saves the last clicked node as state
   * 
   * @param {Ext.tree.treeNode} node
   * @param {Ext.EventObjectImpl} event
   */

/**
   * saves the sort state of the tree
   */

/**
   * scope of update handler
   * 
   * @type Object
   */

/**
   * search combo config
   * @cfg {} searchComboConfig
   */

/**
   * searches all (lightweight) records matching filter
   * 
   * @param   {Object} filter
   * @param   {Object} paging
   * @param   {Object} options
   * @return  {Number} Ext.Ajax transaction id
   * @success {Object} root:[records], totalcount: number
   */

/**
   * searches all (lightweight) records matching filter
   * 
   * @param   {Object} filter
   * @param   {Object} paging
   * @param   {Object} options
   * @return  {Number} Ext.Ajax transaction id
   * @success {Object} root:[recrods], totalcount: number
   */

/**
   * select default favorite
   *
   * NOTE: a lot modules/models don't have a default favorite preference
   */

/**
   * select given persistent filter
   * 
   * @param {model.PersistentFilter}
   *            persistentFilter
   */

/**
   * select handler of action combo
   */

/**
   * select handler of definition combo
   */

/**
   * select initial node
   */

/**
   * select tree node(s)
   * 
   * @param {String} value
   */

/**
   * selects all rows 
   * @param {Bool} onlyPage select only rows from current page
   * @return {Void}
   */

/**
   * selects path by container Path
   *
   * @param {String} containerPath
   * @param {String} [attr]
   * @param {Function} [callback]
   */

/**
   * send the report to tine20.org bugracker
   * 
   * @private
   */

/**
   * set areaLock state in registry
   *
   * @param {String} areaName
   * @param {Object} lockState
   */

/**
   * set batch action
   *
   */

/**
   * set default app for this session
   * 
   * @param {Tine.Application/String} app
   */

/**
   * set filterData in a filter
   * 
   * @static
   * @param {filterRecord} filter
   * @param {Object} filterData
   * @return {filterRecord}
   */

/**
   * set if multiple edit requires special right
   * @type {String}  multipleEditRequiredRight
   */

/**
   * set layer height
   * 
   * @param {Number} height
   */

/**
   * set logging priority
   * 
   * @namespace Ext.ux.log
   * @param {Number} prio
   */

/**
   * set related record value data
   * @param {} filter
   */

/**
   * set the active center panel
   * @param panel
   */

/**
   * set the render/producer function this HTMLProxy proxies
   *
   * @param renderPromise
   * @returns {Promise}
   */

/**
   * set value
   * 
   * @param {} value
   */

/**
   * set value and prefill store if needed
   *
   * @param {mixed} value
   */

/**
   * sets dthe queued state of this upload
   * 
   * @param queued {Boolean}
   */

/**
   * sets item
   *
   * @deprecated
   * @param {Ext.Toolbar} panel toolbar to activate
   * @param {Bool} keep keep panel
   */

/**
   * sets item
   *
   * @param {Ext.Toolbar} panel toolbar to activate
   * @param {Bool} keep keep panel
   */

/**
   * sets online status
   */

/**
   * sets tags from an array of tag data objects (not records)
   */

/**
   * sets the active content panel
   *
   * @deprecated
   * @param {Ext.Panel} item Panel to activate
   * @param {Bool} keep keep panel
   */

/**
   * sets the active content panel
   *
   * @param {Ext.Panel} item Panel to activate
   * @param {Bool} keep keep panel
   */

/**
   * sets the active content type
   *
   * @param {String} contentType to activate
   */

/**
   * sets the active module tree panel
   *
   * @deprecated
   * @param {Ext.Panel} panel Panel to activate
   * @param {Bool} keep keep panel
   */

/**
   * sets the active module tree panel
   *
   * @param {Ext.Panel} panel Panel to activate
   * @param {Bool} keep keep panel
   */

/**
   * sets the active tree panel
   *
   * @deprecated
   * @param {Ext.Panel} panel Panel to activate
   * @param {Bool} keep keep panel
   */

/**
   * sets the active tree panel
   *
   * @param {Ext.Panel} panel Panel to activate
   * @param {Bool} keep keep panel
   */

/**
   * sets the buttons size
   */

/**
   * sets the id of the record
   *
   * @param {String} id
   */

/**
   * sets the id of the record
   */

/**
   * sets the selected container (node) of this tree
   * 
   * @param {Array} all filters
   */

/**
   * sets the visibility of the managed filterPanel
   * does not trigger state update so responsive auto hide does not affect usage on bigger devices
   * @param {boolean} hidden
   */

/**
   * sets this.criteriaText according to filters
   * 
   * @param {Array} filters
   */

/**
   * sets values to innerForm
   */

/**
   * shall the thousand operator be shown?
   * 
   * @type {Boolean}
   */

/**
   * show context menu
   *
   * @param {} node
   * @param {} event
   */

/**
   * show default template
   * 
   * @param {Mixed} body
   */

/**
   * show template for multiple rows
   * 
   * @param {Ext.grid.RowSelectionModel} sm
   * @param {Mixed} body
   */

/**
   * showPrefsForApp
   * - check stores (create new store if not exists)
   * - activate pref panel for app
   *
   */

/**
   * shows center panel in mainscreen
   */

/**
   * shows module tree panel in mainscreen
   */

/**
   * shows north panel in mainscreen
   */

/**
   * shows the active model searchcombo
   * @param {String} appName
   * @param {String} modelName
   */

/**
   * shows west panel in mainscreen
   */

/**
   * simple html to text conversion
   *
   * @param html
   * @returns {String}
   */

/**
   * simple map fn
   * 
   * @param {Function} fn
   */

/**
   * size of the current chunk
   */

/**
   * size of the file to upload
   */

/**
   * slices the given file
   * 
   * @param file  File object
   * @param start start position
   * @param end   end position            
   * @param type  file type
   * @returns
   */

/**
   * sort by a field
   * 
   * @cfg {String} sortBy
   */

/**
   * sort by field
   *
   * @type String
   */

/**
   * sort direction
   *
   * @type String
   */

/**
   * sorts account/user objects
   *
   * @param {Object|String} user_id
   * @return {String}
   */

/**
   * sorts records
   *
   * @param {Object} record
   * @return {String}
   */

/**
   * start download
   */

/**
   * stop batch uploads
   *
   * in order to update batch uploads in display dialog , postal message should be called for each node
   */

/**
   * store a copy of the selected record
   *
   * @param {Tine.Tinebase.data.Record} record
   * @param {Number} index
   */

/**
   * store to hold records
   *
   * @type Ext.data.Store
   * @property store
   */

/**
   * storeOnBeforeload
   * 
   * @param {}
   *            store
   * @param {}
   *            options
   */

/**
   * summary panel show handler
   */

/**
   * switch to tab
   * @param Integer code
   */

/**
   * sync fg image with bg image
   */

/**
   * sync values so values don't get lost if no value is explicitly selected
   * this happens e.g. when ctrl+enter after searching
   */

/**
   * syncs field contents of quickFilterRows and this.quickFilter
   * 
   * @param {Ext.EventObject} e
   * @param {Ext.form.Field} field
   */

/**
   * tabpanel
   * @type object
   */

/**
   * take columns property if defined, otherwise create columns from record class propery
   * @return {}
   */

/**
   * template fn called when record is instanciated
   */

/**
   * template fn for subclasses to add custom items to action toolbar
   * 
   * @return {Array/Object}
   */

/**
   * template fn for subclasses to add custom items to context menu
   * 
   * @return {Array}
   */

/**
   * template fn for subclasses to append extra items
   *
   * @return {Array}
   */

/**
   * template fn for subclasses to inspect createNode
   * 
   * @param {Object} attr
   */

/**
   * template fn for subclasses to return inner form items
   */

/**
   * template fn for subclasses to set default path
   *
   * @return {String}
   */

/**
   * template fn, implement to have specific data in the events
   */

/**
   * template function for subclasses is called after app activation.
   */

/**
   * template function for subclasses is called after app deactivation.
   */

/**
   * template function for subclasses is called before app activation. Return false to cancel activation
   */

/**
   * template function for subclasses is called before app deactivation. Return false to cancel deactivation
   */

/**
   * template function for subclasses to initialize application
   */

/**
   * template function for subclasses to register app core data
   */

/**
   * template method to allow adding custom columns
   * 
   * @return {Array}
   */

/**
   * that's the context menu handler
   * @param {} grid
   * @param {} row
   * @param {} e
   */

/**
   * the active app
   * @type {Tine.Tinebase.Application}
   */

/**
   * the application calling this plugin
   */

/**
   * the application name of the calling component
   * @type {String} callingApp
   */

/**
   * the application the panel belongs to. (auto set by initComponent)
   * 
   * @type {Tine.Tinebase.Application} app
   */

/**
   * the applictions the user has access to
   * @type
   */

/**
   * the callback function of Cancel and Ok, if not overwritten by callbackOnCancel or callbackOnOk
   * 
   * @type {Function}
   */

/**
   * the callback function on Cancel
   * 
   * @type {Function}
   */

/**
   * the callback function on OK
   * 
   * @type {Function}
   */

/**
   * the callback scope of Cancel and Ok, if not overwritten by callbackOnCancel or callbackOnOk
   * 
   * @type {Object}
   */

/**
   * the callback scope on Cancel
   * @type {Object}
   */

/**
   * the callback scope on OK
   * @type {Object}
   */

/**
   * the calling app
   * @type {String}
   */

/**
   * the calling application
   * 
   * @type Tine.Tinebase.Application
   */

/**
   * the calling model
   * @type {String}
   */

/**
   * the configuration for the relations
   * @type {Object} relationConfig
   */

/**
   * the edit dialog class to open from this grid
   * 
   * @cfg {String} editDialogClass
   */

/**
   * the editDialog the plugin is applied to
   * @type {Tine.widgets.dialog.EditDialog} editDialog
   */

/**
   * the editDialog the plugin is applied to
   */

/**
   * the editDialog, the form is nested in. Just needed if this.allowLinkingItself is set to false
   *
   * @type Tine.widgets.dialog.EditDialog editDialog
   */

/**
   * the exception thrown by the server
   * 
   * @type {Object}
   */

/**
   * the label of the filter (autoset from containing recordClass, if none is given)
   * 
   * @type {String}
   */

/**
   * the logout button handler function
   * @private
   */

/**
   * the main template for one column
   * 
   * @type {String}
   */

/**
   * the model name of the calling component
   * @type {String} callingModel
   */

/**
   * the modelName (filled by application starter)
   *
   * @type {String} modelName
   */

/**
   * the name of the application the record to be added belongs to
   * @cfg {String}
   */

/**
   * the onclick handler, finds the action and the index and calls
   */

/**
   * the prefs store
   * @cfg {Ext.data.Store}
   */

/**
   * the record
   * @type Record
   */

/**
   * the record
   * @type Record 
   */

/**
   * the record class of the record the selected records should be added to
   * @cfg {Tine.Tinebase.data.Record}
   */

/**
   * the record id
   */

/**
   * the record model
   */

/**
   * the record proxy of the calling app
   * @type {Tine.Tinebase.data.RecordProxy} recordProxy
   */

/**
   * the recordClass of the calling component
   * @type {Ext.data.Record} recordClass
   */

/**
   * the related record can not be chosen in more than one pickerCombo in this.editDialog even if they have different
   * relationTypes
   *
   * NOTE: should be per relationType and degree???  don't we have constraints for this???
   * NOTE: modelUnique is a stupid name -> recordUnique ?
   *
   * @cfg {Boolean} modelUnique
   */

/**
   * the relations to add as Json Encoded array or bool on filterSelection
   * @type {Boolean|String} 
   */

/**
   * the selected records 
   */

/**
   * the selection filter
   * @type {Object} selectionFilter
   */

/**
   * the selection filter if is filter select
   * @type {Object}
   */

/**
   * the selections' filter
   */

/**
   * the template to put the data into
   * 
   * @type {Ext.XTemplate}
   */

/**
   * the translation object
   */

/**
   * the type of this exception handler dialog. May be error, warning, info, question
   * @type String
   */

/**
   * this fn is here so this filed is detected like a combo
   * @private
   */

/**
   * this record is created on the fly and never saved as is, only changes to this record are sent to the backend
   */

/**
   * title
   *
   * @type String
   */

/**
   * title
   * 
   * @type String
   */

/**
   * toJson
   * @return {String}
   */

/**
   * toggle selection
   */

/**
   * toggles online status
   */

/**
   * transforms form data into a config object
   * 
   * @return {Object} configData
   */

/**
   * trigger store load with grid related options
   * 
   * TODO rethink -> preserveCursor and preserveSelection might conflict on page breaks!
   * TODO don't reload details panel when selection is preserved
   * 
   * @param {Object} options
   */

/**
   * true to automatically adjust width and height settings for box-model issues (default to true)
   */

/**
   * type for personal containers
   * 
   * @constant TYPE_PERSONAL
   * @type String
   */

/**
   * type for shared container
   * 
   * @constant TYPE_SHARED
   * @type String
   */

/**
   * type renderer
   * 
   * @param {String} value
   * @return {String}
   */

/**
   * type-casts a single row of raw-data from server
   * @param {Object} data
   * @param {Array} items
   * @param {Integer} len
   * @private
   */

/**
   * unbind value field of ftb.quickFilterRow from sync process
   *
   * @param {Tine.widgets.grid.FilterToolbar} ftb
   */

/**
   * unselect child nodes of given node
   * 
   * @param {Ext.tree.TreeNode} node
   */

/**
   * update (action updateer) top and bottom toolbars
   */

/**
   * update all button descr.
   */

/**
   * update complete record with data from given record
   *
   * @param record
   */

/**
   * update details panel
   * 
   * @param {Ext.grid.RowSelectionModel} sm
   */

/**
   * update progress bar
   *
   * this monitor can not grab data from uploadManager , unless caculate tasks here
   */

/**
   * update registry after saving of prefs
   * 
   * @param {Object} data
   */

/**
   * update task by upload id
   *
   * - keep task up to date in storage
   * - args must have uploadId
   */

/**
   * update template
   * 
   * @param {Tine.Tinebase.data.Record} record
   * @param {Mixed} body
   */

/**
   * updateRecord
   * @protected
   * @param {Ext.data.Record} rec
   * @return {Array} Array of {name:value} pairs for attributes of the {@link Ext.data.Record}.  See {@link Ext.data.DataWriter#toHash}.
   */

/**
   * updateRecord  Should not be used directly.  This method will be called automatically if a Writer is set.
   * Listens to 'update' event.
   * @param {Object} store
   * @param {Object} record
   * @param {Object} action
   * @private
   */

/**
   * updates multiple records with the same data
   * 
   * @param   {Array} filter filter data
   * @param   {Object} updates
   * @return  {Number} Ext.Ajax transaction id
   * @success
   */

/**
   * updates the title
   */

/**
   * updates the title ot the tab
   * 
   * @param {Number} count
   */

/**
   * updates the title ot the tab
   * @param {Integer} count
   */

/**
   * updates the title ot the tab
   * @param {Number} count
   */

/**
   * upload new file and add to store
   */

/**
   * upload progress of the file
   */

/**
   * uploadPath
   */

/**
   * use beforequery to set query filter
   *
   * @param {Event} qevent
   */

/**
   * use beforequery to set query filter
   *
   * @param {Object} qevent
   */

/**
   * use beforequery to set query filter
   * 
   * @param {Event} qevent
   */

/**
   * use beforequery to set query filter
   * 
   * @param {Object} qevent
   */

/**
   * use button order based on preference
   * 
   * @private
   * @return {Array}
   */

/**
   * used in getFilter for mapping types to filter
   * 
   * @type 
   */

/**
   * vaidates on multiple edit
   *
   * @return {Boolean}
   */

/**
   * validate if type ahead is in our filter store
   * @return {Bool}
   */

/**
   * validates constrains config, is called after row edit
   * @param {Object} o
   */

/**
   * validates the constrains of the related record , fetches the relations
   * 
   * @param {Tine.Tinebase.data.Record} record
   * @param {Tine.Tinebase.Model.Relation} relationRecord
   */

/**
   * validates the constrains of the related record after fetching relations
   * 
   * @param {Object} constraintsConfig
   * @param {Tine.Tinebase.Model.Relation} relationRecord
   * @param {String} relatedAppName
   * @param {String} relatedModelName
   * @param {Tine.Tinebase.data.Record} record
   */

/**
   * value renderer
   * 
   * @param {Ext.data.Record} filter line
   * @param {Ext.Element} element to render to 
   */

/**
   * wait until the relationPanel is created
   */

/**
   * waits until the dialog is rendered and fetches real records by the filter on filter selection
   */

/**
   * when a record has the attachments-property the attachments-panel can be disabled here
   * @cfg {Boolean} hideAttachmentsPanel
   */

/**
   * when a record has the relations-property the relations-panel can be disabled here
   * @cfg {Boolean} hideRelationsPanel
   */

/**
   * where the chunk begins in file (byte number)
   */

/**
   * will be called in Edit Dialog Mode
   */

/**
   * {@link Ext.data.Record#reject Reject} outstanding changes on all {@link #getModifiedRecords modified records}.
   */

/**
   * {@link Ext.form.Checkbox#setValue Set the value(s)} of an item or items
   * in the group. Examples illustrating how this method may be called:
   * <pre><code>
  // call with name and value
  myCheckboxGroup.setValue('cb-col-1', true);
  // call with an array of boolean values
  myCheckboxGroup.setValue([true, false, false]);
  // call with an object literal specifying item:value pairs
  myCheckboxGroup.setValue({
  'cb-col-2': false,
  'cb-col-3': true
  });
  // use comma separated string to set items with name to true (checked)
  myCheckboxGroup.setValue('cb-col-1,cb-col-3');
   * </code></pre>
   * See {@link Ext.form.Checkbox#setValue} for additional information.
   * @param {Mixed} id The checkbox to check, or as described by example shown.
   * @param {Boolean} value (optional) The value to set the item.
   * @return {Ext.form.CheckboxGroup} this
   */

/**
   * {@link toLocaleString} format like 10/14/1983
   * @type {Object}
   */

/**
   * {Ext.data.Record} recordClass
   * record definition class  (required)
   */

/**
   * {Tine.widgets.dialog.EditDialog} editDialog
   */

/**
  * <p>Override this function for custom TreeNode node implementation, or to
  * modify the attributes at creation time.</p>
  * Example:<pre><code>
  new Ext.tree.TreePanel({
  ...
  loader: new Ext.tree.TreeLoader({
      url: 'dataUrl',
      createNode: function(attr) {
  //          Allow consolidation consignments to have
  //          consignments dropped into them.
          if (attr.isConsolidation) {
              attr.iconCls = 'x-consol',
              attr.allowDrop = true;
          }
          return Ext.tree.TreeLoader.prototype.createNode.call(this, attr);
      }
  }),
  ...
  });
  </code></pre>
  * @param attr {Object} The attributes from which to create the new node.
  */

/**
  * @cfg {Boolean} animate
  * True to animate the progress bar during transitions (defaults to false)
  */

/**
  * @cfg {Boolean} clearOnLoad (optional) Default to true. Remove previously existing
  * child nodes before loading.
  */

/**
  * @cfg {Boolean} forceValidation
  * True to force validation even if the value is unmodified (defaults to false)
  */

/**
  * @cfg {Boolean} useHtml2Canvas
  */

/**
  * @cfg {Ext.form.Field} field
  * The Field object (or descendant) or config object for field
  */

/**
  * @cfg {Function} onEsc
  * Allows override of the built-in processing for the escape key. Default action
  * is to close the Window (performing whatever action is specified in {@link #closeAction}.
  * To prevent the Window closing when the escape key is pressed, specify this as
  * Ext.emptyFn (See {@link Ext#emptyFn}).
  */

/**
  * @cfg {Object} baseAttrs (optional) An object containing attributes to be added to all nodes
  * created by this loader. If the attributes sent by the server have an attribute in this object,
  * they take priority.
  */

/**
  * @cfg {Object} baseParams (optional) An object containing properties which
  * specify HTTP parameters to be passed to each request for child nodes.
  */

/**
  * @cfg {Object} customEditors An object containing name/value pairs of custom editor type definitions that allow
  * the grid to support additional types of editable fields.  By default, the grid supports strongly-typed editing
  * of strings, dates, numbers and booleans using built-in form editors, but any custom type can be supported and
  * associated with a custom input control by specifying a custom editor.  The name of the editor
  * type should correspond with the name of the property that will use the editor.  Example usage:
  * <pre><code>
  var grid = new Ext.grid.PropertyGrid({
  ...
  customEditors: {
      'Start Time': new Ext.grid.GridEditor(new Ext.form.TimeField({selectOnFocus:true}))
  },
  source: {
      'Start Time': '10:00 AM'
  }
  });
  </code></pre>
  */

/**
  * @cfg {Object} customRenderers An object containing name/value pairs of custom renderer type definitions that allow
  * the grid to support custom rendering of fields.  By default, the grid supports strongly-typed rendering
  * of strings, dates, numbers and booleans using built-in form editors, but any custom type can be supported and
  * associated with the type of the value.  The name of the renderer type should correspond with the name of the property
  * that it will render.  Example usage:
  * <pre><code>
  var grid = new Ext.grid.PropertyGrid({
  ...
  customRenderers: {
      Available: function(v){
          if(v){
              return '<span style="color: green;">Yes</span>';
          }else{
              return '<span style="color: red;">No</span>';
          }
      }
  },
  source: {
      Available: true
  }
  });
  </code></pre>
  */

/**
  * @cfg {Object} propertyNames An object containing property name/display name pairs.
  * If specified, the display name will be shown in the name column instead of the property name.
  */

/**
  * @cfg {Object} source A data object to use as the data source of the grid (see {@link #setSource} for details).
  */

/**
  * @cfg {Object} uiProviders (optional) An object containing properties which
  * specify custom {@link Ext.tree.TreeNodeUI} implementations. If the optional
  * <i>uiProvider</i> attribute of a returned child node is a string rather
  * than a reference to a TreeNodeUI implementation, then that string value
  * is used as a property name in the uiProviders object.
  */

/**
  * @cfg {String/Number/Component} defaultButton
  * <p>Specifies a Component to receive focus when this Window is focussed.</p>
  * <p>This may be one of:</p><div class="mdetail-params"><ul>
  * <li>The index of a footer Button.</li>
  * <li>The id of a Component.</li>
  * <li>A Component.</li>
  * </ul></div>
  */

/**
  * @cfg {String} baseCls
  * The base CSS class to apply to this panel's element (defaults to 'x-window').
  */

/**
  * @cfg {String} dataUrl The URL from which to request a Json string which
  * specifies an array of node definition objects representing the child nodes
  * to be loaded.
  */

/**
  * @cfg {String} printStrategy window or iframe
  */

/**
  * @event beforechildrenrendered
  * Fires right before the child nodes for this node are rendered
  * @param {Node} this This node
  */

/**
  * @event beforeclick
  * Fires before click processing. Return false to cancel the default action.
  * @param {Node} this This node
  * @param {Ext.EventObject} e The event object
  */

/**
  * @event beforecollapse
  * Fires before this node is collapsed, return false to cancel.
  * @param {Node} this This node
  * @param {Boolean} deep
  * @param {Boolean} anim
  */

/**
  * @event beforedblclick
  * Fires before double click processing. Return false to cancel the default action.
  * @param {Node} this This node
  * @param {Ext.EventObject} e The event object
  */

/**
  * @event beforeexpand
  * Fires before this node is expanded, return false to cancel.
  * @param {Node} this This node
  * @param {Boolean} deep
  * @param {Boolean} anim
  */

/**
  * @event beforeload
  * Fires before this node is loaded, return false to cancel
  * @param {Node} this This node
  */

/**
  * @event checkchange
  * Fires when a node with a checkbox's checked property changes
  * @param {Node} this This node
  * @param {Boolean} checked
  */

/**
  * @event click
  * Fires when this node is clicked
  * @param {Node} this This node
  * @param {Ext.EventObject} e The event object
  */

/**
  * @event collapse
  * Fires when this node is collapsed
  * @param {Node} this This node
  */

/**
  * @event contextmenu
  * Fires when this node is right clicked
  * @param {Node} this This node
  * @param {Ext.EventObject} e The event object
  */

/**
  * @event dblclick
  * Fires when this node is double clicked
  * @param {Node} this This node
  * @param {Ext.EventObject} e The event object
  */

/**
  * @event disabledchange
  * Fires when the disabled status of this node changes
  * @param {Node} this This node
  * @param {Boolean} disabled
  */

/**
  * @event expand
  * Fires when this node is expanded
  * @param {Node} this This node
  */

/**
  * @event textchange
  * Fires when the text for this node is changed
  * @param {Node} this This node
  * @param {String} text The new text
  * @param {String} oldText The old text
  */

/**
  * @event uploadcomplete
  * Fires when the upload was done successfully
  * @param {Ext.ux.file.Upload} this
  * @param {Ext.Record} Ext.ux.file.Upload.file
  */

/**
  * @event uploadfailure
  * Fires when the upload failed
  * @param {Ext.ux.file.Upload} this
  * @param {Ext.Record} Ext.ux.file.Upload.file
  */

/**
  * @event uploadprogress
  * Fires on upload progress (html5 only)
  * @param {Ext.ux.file.Upload} thistasks
  * @param {Ext.Record} Ext.ux.file.Upload.file
  * @param {XMLHttpRequestProgressEvent}
  */

/**
  * @event uploadstart
  * Fires on upload progress (html5 only)
  * @param {Ext.ux.file.Upload} this
  * @param {Ext.Record} Ext.ux.file.Upload.file
  */

/**
  * Adds a listener to be notified when the document is ready (before onload and before images are loaded). Shorthand of {@link Ext.EventManager#onDocumentReady}.
  * @param {Function} fn The method the event invokes.
  * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the handler function executes. Defaults to the browser window.
  * @param {boolean} options (optional) Options object as passed to {@link Ext.Element#addListener}. It is recommended that the options
  * <code>{single: true}</code> be used so that the handler is removed on first invocation.
  * @member Ext
  * @method onReady
 */

/**
  * Adds elements to this composite.
  * @param {String/Array} els A string CSS selector, an array of elements or an element
  * @return {CompositeElement} this
  */

/**
  * Appends an event handler to an element.  Shorthand for {@link #addListener}.
  * @param {String/HTMLElement} el The html element or id to assign the event handler to
  * @param {String} eventName The name of the event to listen for.
  * @param {Function} handler The handler function the event invokes.
  * @param {Object} scope (optional) (<code>this</code> reference) in which the handler function executes. <b>Defaults to the Element</b>.
  * @param {Object} options (optional) An object containing standard {@link #addListener} options
  * @member Ext.EventManager
  * @method on
  */

/**
  * Blank page URL to use with SSL file uploads (defaults to {@link Ext#SSL_SECURE_URL} if set, or "javascript:false").
  * @type String
  */

/**
  * Calculates the x, y to center this element on the screen
  * @return {Array} The x, y values [x, y]
  */

/**
  * Centers the Element in either the viewport, or another Element.
  * @param {Mixed} centerIn (optional) The element in which to center the element.
  */

/**
  * Clears this Composite and adds the elements passed.
  * @param {Mixed} els Either an array of DOM elements, or another Composite from which to fill this Composite.
  * @return {CompositeElement} this
  */

/**
  * Creates a callback that passes arguments[0], arguments[1], arguments[2], ...
  * Call directly on any function. Example: <code>myFunction.createCallback(arg1, arg2)</code>
  * Will create a function that is bound to those 2 args. <b>If a specific scope is required in the
  * callback, use {@link #createDelegate} instead.</b> The function returned by createCallback always
  * executes in the window scope.
  * <p>This method is required when you want to pass arguments to a callback function.  If no arguments
  * are needed, you can simply pass a reference to the function as a callback (e.g., callback: myFn).
  * However, if you tried to pass a function with arguments (e.g., callback: myFn(arg1, arg2)) the function
  * would simply execute immediately when the code is parsed. Example usage:
  * <pre><code>
  var sayHi = function(name){
  alert('Hi, ' + name);
  }
  // clicking the button alerts "Hi, Fred"
  new Ext.Button({
  text: 'Say Hi',
  renderTo: Ext.getBody(),
  handler: sayHi.createCallback('Fred')
  });
  </code></pre>
  * @return {Function} The new function
  */

/**
  * Creates an interceptor function. The passed function is called before the original one. If it returns false,
  * the original one is not called. The resulting function returns the results of the original function.
  * The passed function is called with the parameters of the original function. Example usage:
  * <pre><code>
  var sayHi = function(name){
  alert('Hi, ' + name);
  }
  sayHi('Fred'); // alerts "Hi, Fred"
  // create a new function that validates input without
  // directly modifying the original function:
  var sayHiToFriend = sayHi.createInterceptor(function(name){
  return name == 'Brian';
  });
  sayHiToFriend('Fred');  // no alert
  sayHiToFriend('Brian'); // alerts "Hi, Brian"
  </code></pre>
  * @param {Function} fcn The function to call before the original
  * @param {Object} scope (optional) The scope (<code><b>this</b></code> reference) in which the passed function is executed.
  * <b>If omitted, defaults to the scope in which the original function is called or the browser window.</b>
  * @return {Function} The new function
  */

/**
  * Do some checking on new entry add
  * 
  * @param {Object} recordData
  */

/**
  * Ext.ux.form.Spinner Class
  *
  * @author  Steven Chim
  * @version Spinner.js 2008-08-27 v0.35
  *
  * @class Ext.ux.form.Spinner
  * @extends Ext.form.TriggerField
  */

/**
  * Filter the data by a specific attribute.
  * @param {String/RegExp} value Either string that the attribute value
  * should start with or a RegExp to test against the attribute
  * @param {String} attr (optional) The attribute passed in your node's attributes collection. Defaults to "text".
  * @param {TreeNode} startNode (optional) The node to start the filter at.
  */

/**
  * Generates the HTML Markup which wraps whatever this.generateBody produces
  * @param {Ext.Component} component The component to generate HTML for
  * @return {String} An HTML fragment to be placed inside the print window
  */

/**
  * Gets this element's {@link Ext.Updater Updater}
  * @return {Ext.Updater} The Updater
  */

/**
  * Loads this content panel immediately with content returned from an XHR call.
  * @param {Object/String/Function} config A config object containing any of the following options:
  <pre><code>
  panel.load({
  url: 'your-url.php',
  params: {param1: 'foo', param2: 'bar'}, // or a URL encoded string
  callback: yourFunction,
  scope: yourObject, // optional scope for the callback
  discardUrl: false,
  nocache: false,
  text: 'Loading...',
  timeout: 30,
  scripts: false
  });
  </code></pre>
  * The only required property is url. The optional properties nocache, text and scripts
  * are shorthand for disableCaching, indicatorText and loadScripts and are used to set their
  * associated property on this panel Updater instance.
  * @return {Ext.Panel} this
  */

/**
  * MemoryProxy implementation of DataProxy#doRequest
  * @param {String} action
  * @param {Ext.data.Record/Ext.data.Record[]} rs If action is load, rs will be null
  * @param {Object} params An object containing properties which are to be used as HTTP parameters
  * for the request to the remote server.
  * @param {Ext.data.DataReader} reader The Reader object which converts the data
  * object into a block of Ext.data.Records.
  * @param {Function} callback The function into which to pass the block of Ext.data.Records.
  * The function must be passed <ul>
  * <li>The Record block object</li>
  * <li>The "arg" argument from the load function</li>
  * <li>A boolean success indicator</li>
  * </ul>
  * @param {Object} scope The scope (<code>this</code> reference) in which the callback function is executed. Defaults to the browser window.
  * @param {Object} arg An optional argument which is passed to the callback as its second parameter.
  */

/**
  * Prepares data suitable for use in an XTemplate from the component
  * @param {Ext.Component} component The component to acquire data from
  * @return {Array} An empty array (override this to prepare your own data)
  */

/**
  * Prints the component
  * @param {Ext.Component} component The component to print
  */

/**
  * Prints the component using the new window strategy
  * @param {Ext.Component} component The component to print
  */

/**
  * Removes the specified element(s).
  * @param {Mixed} el The id of an element, the Element itself, the index of the element in this composite
  * or an array of any of those.
  * @param {Boolean} removeDom (optional) True to also remove the element from the document
  * @return {CompositeElement} this
  */

/**
  * Replaces the specified element with the passed element.
  * @param {Mixed} el The id of an element, the Element itself, the index of the element in this composite
  * to replace.
  * @param {Mixed} replacement The id of an element or the Element itself.
  * @param {Boolean} domReplace (Optional) True to remove and replace the element in the document too.
  * @return {CompositeElement} this
  */

/**
  * Returns the HTML that will be placed into the <head> element of th print window.
  * @param {Ext.Component} component The component to render
  * @return {String} The HTML fragment to place inside the print window's <head> element
  */

/**
  * Returns the HTML that will be placed into the print window. This should produce HTML to go inside the
  * <body> element only, as <head> is generated in the print function
  * @param {Ext.Component} component The component to render
  * @param data The data extracted from the component
  * @return {String} The HTML fragment to place inside the print window's <body> element
  */

/**
  * Returns the title to give to the print window
  * @param {Ext.Component} component The component to be printed
  * @return {String} The window title
  */

/**
  * The XMLHttpRequest object used to perform the action.
  * @property response
  * @type {Object}
  */

/**
  * The decoded response object containing a boolean <tt style="font-weight:bold">success</tt> property and
  * other, action-specific properties.
  * @property result
  * @type {Object}
  */

/**
  * True to process scripts by default (defaults to false).
  * @type Boolean
  */

/**
  * Update the innerHTML of this element, optionally searching for and processing scripts
  * @param {String} html The new HTML
  * @param {Boolean} loadScripts (optional) True to look for and process scripts (defaults to false)
  * @param {Function} callback (optional) For async script loading you can be notified when the update completes
  * @return {Ext.Element} this
   */

/**
  * We can only lay out if there is a view area in which to layout.
  * display:none on the layout target, *or any of its parent elements* will mean it has no view area.
  */

/**
  * clean up
  */

/**
  * returns value or empty string
  */

/**
  * set new default image
  */

/**
  * set value (image)
  */

/**
  * show image
  */

/**
  * template method to intercept when document is ready
  *
  * @param {Document} document
  * @pram {Ext.Component} component
  */

/**
 *
 * @param value
 * @returns {boolean}
 */

/**
 *
 * @param {Window} win
 * @param {Object} options
 *      type: 'png',                // png|jpeg|webp(chrome only)
 *      dpi: 300,
 *      download: false,
 *      filename: 'screenshot',     // without extension
 *      grabMouse: false,
 * @return {Promise}
 */

/**
 *
 * @type {boolean}
 * @private
 */

/**
 * 
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.DuplicateResolveGridPanel
 * @extends     Ext.grid.EditorGridPanel
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @constructor
 * @param {Object} config The configuration options.
 */

/**
 * 'Edit Preferences' dialog
 *
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.Preferences
 * @extends     Ext.FormPanel
 * @constructor
 * @param       {Object} config The configuration options.
 */

/**
 * </code></pre>
 *
 * @namespace   Tine.Tinebase.widgets.form
 * @class       Tine.Tinebase.widgets.form.MirrorTextField
 * @extends     Ext.ux.form.IconTextField
 */

/**
 * <p>Failure type returned when server side processing fails and the {@link #result}'s
 * <tt style="font-weight:bold">success</tt> property is set to <tt>false</tt>.</p>
 * <p>In the case of a form submission, field-specific error messages may be returned in the
 * {@link #result}'s <tt style="font-weight:bold">errors</tt> property.</p>
 * @type {String}
 * @static
 */

/**
 * @TODO: proxy mouse events
 */

/**
 * @TODO: what if user has no download right?
 *          - device might not have download/local grant (concept in the pipe) -> can be handled by downloadPlugin
 *          - user has no right for particular content (dest mode) -> needs to be handled by calling class
 *              -> have a flag for this? systemOnly?
 */

/**
 * @abstract
 * @template {import("../../layer/Layer.js").default} LayerType
 * @extends {LayerRenderer<LayerType>}
 */

/**
 * @abstract
 */

/**
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * @author Shea Frederick - http://www.vinylfox.com
 * @class Ext.ux.form.HtmlEditor.MidasCommand
 * @extends Ext.util.Observable
 * <p>A base plugin for extending to create standard Midas command buttons.
 * googlecode project page: http://code.google.com/p/ext-ux-htmleditor-plugins/
 * </p>
 */

/**
 * @class
 */

/**
 * @class       Ext.ux.display.DisplayField
 * @namespace   Ext.ux.display
 * @extends     Ext.form.DisplayField
 * 
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * 
 * <b>Field for displaying information in a displaypanel</b>
 */

/**
 * @class       Ext.ux.display.DisplayPanel
 * @namespace   Ext.ux.display
 * @extends     Ext.form.FormPanel
 * 
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * 
 * <b>Panel for displaying information on record basis.</b>
 */

/**
 * @class       Tine.widgets.display.DefaultDisplayPanel
 * @namespace   Tine.widgets.display
 * @extends     Ext.ux.display.DisplayPanel
 *
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 *
 * Panel for displaying default info.
 */

/**
 * @class       Tine.widgets.display.RecordDisplayPanel
 * @namespace   Tine.widgets.display
 * @extends     Ext.ux.display.DisplayPanel
 *
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 *
 * Panel for displaying information of a singel record.
 */

/**
 * @class Array
 */

/**
 * @class DataReader.Error
 * @extends Ext.Error
 * General error class for DataReader
 */

/**
 * @class Date
 *
 * The date parsing and formatting syntax contains a subset of
 * <a href="http://www.php.net/date">PHP's date() function</a>, and the formats that are
 * supported will provide results equivalent to their PHP versions.
 *
 * The following is a list of all currently supported formats:
 * <pre>
Format  Description                                                               Example returned values
------  -----------------------------------------------------------------------   -----------------------
  d     Day of the month, 2 digits with leading zeros                             01 to 31
  D     A short textual representation of the day of the week                     Mon to Sun
  j     Day of the month without leading zeros                                    1 to 31
  l     A full textual representation of the day of the week                      Sunday to Saturday
  N     ISO-8601 numeric representation of the day of the week                    1 (for Monday) through 7 (for Sunday)
  S     English ordinal suffix for the day of the month, 2 characters             st, nd, rd or th. Works well with j
  w     Numeric representation of the day of the week                             0 (for Sunday) to 6 (for Saturday)
  z     The day of the year (starting from 0)                                     0 to 364 (365 in leap years)
  W     ISO-8601 week number of year, weeks starting on Monday                    01 to 53
  F     A full textual representation of a month, such as January or March        January to December
  m     Numeric representation of a month, with leading zeros                     01 to 12
  M     A short textual representation of a month                                 Jan to Dec
  n     Numeric representation of a month, without leading zeros                  1 to 12
  t     Number of days in the given month                                         28 to 31
  L     Whether it's a leap year                                                  1 if it is a leap year, 0 otherwise.
  o     ISO-8601 year number (identical to (Y), but if the ISO week number (W)    Examples: 1998 or 2004
        belongs to the previous or next year, that year is used instead)
  Y     A full numeric representation of a year, 4 digits                         Examples: 1999 or 2003
  y     A two digit representation of a year                                      Examples: 99 or 03
  a     Lowercase Ante meridiem and Post meridiem                                 am or pm
  A     Uppercase Ante meridiem and Post meridiem                                 AM or PM
  g     12-hour format of an hour without leading zeros                           1 to 12
  G     24-hour format of an hour without leading zeros                           0 to 23
  h     12-hour format of an hour with leading zeros                              01 to 12
  H     24-hour format of an hour with leading zeros                              00 to 23
  i     Minutes, with leading zeros                                               00 to 59
  s     Seconds, with leading zeros                                               00 to 59
  u     Decimal fraction of a second                                              Examples:
        (minimum 1 digit, arbitrary number of digits allowed)                     001 (i.e. 0.001s) or
                                                                                  100 (i.e. 0.100s) or
                                                                                  999 (i.e. 0.999s) or
                                                                                  999876543210 (i.e. 0.999876543210s)
  O     Difference to Greenwich time (GMT) in hours and minutes                   Example: +1030
  P     Difference to Greenwich time (GMT) with colon between hours and minutes   Example: -08:00
  T     Timezone abbreviation of the machine running the code                     Examples: EST, MDT, PDT ...
  Z     Timezone offset in seconds (negative if west of UTC, positive if east)    -43200 to 50400
  c     ISO 8601 date
        Notes:                                                                    Examples:
        1) If unspecified, the month / day defaults to the current month / day,   1991 or
           the time defaults to midnight, while the timezone defaults to the      1992-10 or
           browser's timezone. If a time is specified, it must include both hours 1993-09-20 or
           and minutes. The "T" delimiter, seconds, milliseconds and timezone     1994-08-19T16:20+01:00 or
           are optional.                                                          1995-07-18T17:21:28-02:00 or
        2) The decimal fraction of a second, if specified, must contain at        1996-06-17T18:22:29.98765+03:00 or
           least 1 digit (there is no limit to the maximum number                 1997-05-16T19:23:30,12345-0400 or
           of digits allowed), and may be delimited by either a '.' or a ','      1998-04-15T20:24:31.2468Z or
        Refer to the examples on the right for the various levels of              1999-03-14T20:24:32Z or
        date-time granularity which are supported, or see                         2000-02-13T21:25:33
        http://www.w3.org/TR/NOTE-datetime for more info.                         2001-01-12 22:26:34
  U     Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)                1193432466 or -2138434463
  M$    Microsoft AJAX serialized dates                                           \/Date(1238606590509)\/ (i.e. UTC milliseconds since epoch) or
                                                                                  \/Date(1238606590509+0800)\/
</pre>
 *
 * Example usage (note that you must escape format specifiers with '\\' to render them as character literals):
 * <pre><code>
// Sample date:
// 'Wed Jan 10 2007 15:05:01 GMT-0600 (Central Standard Time)'

var dt = new Date('1/10/2007 03:05:01 PM GMT-0600');
document.write(dt.format('Y-m-d'));                           // 2007-01-10
document.write(dt.format('F j, Y, g:i a'));                   // January 10, 2007, 3:05 pm
document.write(dt.format('l, \\t\\he jS \\of F Y h:i:s A'));  // Wednesday, the 10th of January 2007 03:05:01 PM
</code></pre>
 *
 * Here are some standard date/time patterns that you might find helpful.  They
 * are not part of the source of Date.js, but to use them you can simply copy this
 * block of code into any script that is included after Date.js and they will also become
 * globally available on the Date object.  Feel free to add or remove patterns as needed in your code.
 * <pre><code>
Date.patterns = {
    ISO8601Long:"Y-m-d H:i:s",
    ISO8601Short:"Y-m-d",
    ShortDate: "n/j/Y",
    LongDate: "l, F d, Y",
    FullDateTime: "l, F d, Y g:i:s A",
    MonthDay: "F d",
    ShortTime: "g:i A",
    LongTime: "g:i:s A",
    SortableDateTime: "Y-m-d\\TH:i:s",
    UniversalSortableDateTime: "Y-m-d H:i:sO",
    YearMonth: "F, Y"
};
</code></pre>
 *
 * Example usage:
 * <pre><code>
var dt = new Date();
document.write(dt.format(Date.patterns.ShortDate));
</code></pre>
 * <p>Developer-written, custom formats may be used by supplying both a formatting and a parsing function
 * which perform to specialized requirements. The functions are stored in {@link #parseFunctions} and {@link #formatFunctions}.</p>
 */

/**
 * @class Ext
 * Ext core utilities and functions.
 * @singleton
 */

/**
 * @class Ext
 */

/**
 * @class Ext.Action
 * <p>An Action is a piece of reusable functionality that can be abstracted out of any particular component so that it
 * can be usefully shared among multiple components.  Actions let you share handlers, configuration options and UI
 * updates across any components that support the Action interface (primarily {@link Ext.Toolbar}, {@link Ext.Button}
 * and {@link Ext.menu.Menu} components).</p>
 * <p>Aside from supporting the config object interface, any component that needs to use Actions must also support
 * the following method list, as these will be called as needed by the Action class: setText(string), setIconCls(string),
 * setDisabled(boolean), setVisible(boolean) and setHandler(function).</p>
 * Example usage:<br>
 * <pre><code>
// Define the shared action.  Each component below will have the same
// display text and icon, and will display the same message on click.
var action = new Ext.Action({
    {@link #text}: 'Do something',
    {@link #handler}: function(){
        Ext.Msg.alert('Click', 'You did something.');
    },
    {@link #iconCls}: 'do-something',
    {@link #itemId}: 'myAction'
});

var panel = new Ext.Panel({
    title: 'Actions',
    width: 500,
    height: 300,
    tbar: [
        // Add the action directly to a toolbar as a menu button
        action,
        {
            text: 'Action Menu',
            // Add the action to a menu as a text item
            menu: [action]
        }
    ],
    items: [
        // Add the action to the panel body as a standard button
        new Ext.Button(action)
    ],
    renderTo: Ext.getBody()
});

// Change the text for all components using the action
action.setText('Something else');

// Reference an action through a container using the itemId
var btn = panel.getComponent('myAction');
var aRef = btn.baseAction;
aRef.setText('New text');
</code></pre>
 * @constructor
 * @param {Object} config The configuration options
 */

/**
 * @class Ext.Ajax
 * @extends Ext.data.Connection
 * <p>The global Ajax request class that provides a simple way to make Ajax requests
 * with maximum flexibility.</p>
 * <p>Since Ext.Ajax is a singleton, you can set common properties/events for it once
 * and override them at the request function level only if necessary.</p>
 * <p>Common <b>Properties</b> you may want to set are:<div class="mdetail-params"><ul>
 * <li><b><tt>{@link #method}</tt></b><p class="sub-desc"></p></li>
 * <li><b><tt>{@link #extraParams}</tt></b><p class="sub-desc"></p></li>
 * <li><b><tt>{@link #url}</tt></b><p class="sub-desc"></p></li>
 * </ul></div>
 * <pre><code>
// Default headers to pass in every request
Ext.Ajax.defaultHeaders = {
    'Powered-By': 'Ext'
};
 * </code></pre>
 * </p>
 * <p>Common <b>Events</b> you may want to set are:<div class="mdetail-params"><ul>
 * <li><b><tt>{@link Ext.data.Connection#beforerequest beforerequest}</tt></b><p class="sub-desc"></p></li>
 * <li><b><tt>{@link Ext.data.Connection#requestcomplete requestcomplete}</tt></b><p class="sub-desc"></p></li>
 * <li><b><tt>{@link Ext.data.Connection#requestexception requestexception}</tt></b><p class="sub-desc"></p></li>
 * </ul></div>
 * <pre><code>
// Example: show a spinner during all Ajax requests
Ext.Ajax.on('beforerequest', this.showSpinner, this);
Ext.Ajax.on('requestcomplete', this.hideSpinner, this);
Ext.Ajax.on('requestexception', this.hideSpinner, this);
 * </code></pre>
 * </p>
 * <p>An example request:</p>
 * <pre><code>
// Basic request
Ext.Ajax.{@link Ext.data.Connection#request request}({
   url: 'foo.php',
   success: someFn,
   failure: otherFn,
   headers: {
       'my-header': 'foo'
   },
   params: { foo: 'bar' }
});

// Simple ajax form submission
Ext.Ajax.{@link Ext.data.Connection#request request}({
    form: 'some-form',
    params: 'foo=bar'
});
 * </code></pre>
 * </p>
 * @singleton
 */

/**
 * @class Ext.BoxComponent
 * @extends Ext.Component
 * <p>Base class for any {@link Ext.Component Component} that is to be sized as a box, using width and height.</p>
 * <p>BoxComponent provides automatic box model adjustments for sizing and positioning and will work correctly
 * within the Component rendering model.</p>
 * <p>A BoxComponent may be created as a custom Component which encapsulates any HTML element, either a pre-existing
 * element, or one that is created to your specifications at render time. Usually, to participate in layouts,
 * a Component will need to be a <b>Box</b>Component in order to have its width and height managed.</p>
 * <p>To use a pre-existing element as a BoxComponent, configure it so that you preset the <b>el</b> property to the
 * element to reference:<pre><code>
var pageHeader = new Ext.BoxComponent({
    el: 'my-header-div'
});</code></pre>
 * This may then be {@link Ext.Container#add added} to a {@link Ext.Container Container} as a child item.</p>
 * <p>To create a BoxComponent based around a HTML element to be created at render time, use the
 * {@link Ext.Component#autoEl autoEl} config option which takes the form of a
 * {@link Ext.DomHelper DomHelper} specification:<pre><code>
var myImage = new Ext.BoxComponent({
    autoEl: {
        tag: 'img',
        src: '/images/my-image.jpg'
    }
});</code></pre></p>
 * @constructor
 * @param {Ext.Element/String/Object} config The configuration options.
 * @xtype box
 */

/**
 * @class Ext.Button
 * @extends Ext.BoxComponent
 * Simple Button class
 * @cfg {String} text The button text to be used as innerHTML (html tags are accepted)
 * @cfg {String} icon The path to an image to display in the button (the image will be set as the background-image
 * CSS property of the button by default, so if you want a mixed icon/text button, set cls:'x-btn-text-icon')
 * @cfg {Function} handler A function called when the button is clicked (can be used instead of click event).
 * The handler is passed the following parameters:<div class="mdetail-params"><ul>
 * <li><code>b</code> : Button<div class="sub-desc">This Button.</div></li>
 * <li><code>e</code> : EventObject<div class="sub-desc">The click event.</div></li>
 * </ul></div>
 * @cfg {Number} minWidth The minimum width for this button (used to give a set of buttons a common width).
 * See also {@link Ext.Panel}.<tt>{@link Ext.Panel#minButtonWidth minButtonWidth}</tt>.
 * @cfg {String/Object} tooltip The tooltip for the button - can be a string to be used as innerHTML (html tags are accepted) or QuickTips config object
 * @cfg {Boolean} hidden True to start hidden (defaults to false)
 * @cfg {Boolean} disabled True to start disabled (defaults to false)
 * @cfg {Boolean} pressed True to start pressed (only if enableToggle = true)
 * @cfg {String} toggleGroup The group this toggle button is a member of (only 1 per group can be pressed)
 * @cfg {Boolean/Object} repeat True to repeat fire the click event while the mouse is down. This can also be
 * a {@link Ext.util.ClickRepeater ClickRepeater} config object (defaults to false).
 * @constructor
 * Create a new button
 * @param {Object} config The config object
 * @xtype button
 */

/**
 * @class Ext.ButtonGroup
 * @extends Ext.Panel
 * Container for a group of buttons. Example usage:
 * <pre><code>
var p = new Ext.Panel({
    title: 'Panel with Button Group',
    width: 300,
    height:200,
    renderTo: document.body,
    html: 'whatever',
    tbar: [{
        xtype: 'buttongroup',
        {@link #columns}: 3,
        title: 'Clipboard',
        items: [{
            text: 'Paste',
            scale: 'large',
            rowspan: 3, iconCls: 'add',
            iconAlign: 'top',
            cls: 'x-btn-as-arrow'
        },{
            xtype:'splitbutton',
            text: 'Menu Button',
            scale: 'large',
            rowspan: 3,
            iconCls: 'add',
            iconAlign: 'top',
            arrowAlign:'bottom',
            menu: [{text: 'Menu Item 1'}]
        },{
            xtype:'splitbutton', text: 'Cut', iconCls: 'add16', menu: [{text: 'Cut Menu Item'}]
        },{
            text: 'Copy', iconCls: 'add16'
        },{
            text: 'Format', iconCls: 'add16'
        }]
    }]
});
 * </code></pre>
 * @constructor
 * Create a new ButtonGroup.
 * @param {Object} config The config object
 * @xtype buttongroup
 */

/**
 * @class Ext.ColorPalette
 * @extends Ext.Component
 * Simple color palette class for choosing colors.  The palette can be rendered to any container.<br />
 * Here's an example of typical usage:
 * <pre><code>
var cp = new Ext.ColorPalette({value:'993300'});  // initial selected color
cp.render('my-div');

cp.on('select', function(palette, selColor){
    // do something with selColor
});
</code></pre>
 * @constructor
 * Create a new ColorPalette
 * @param {Object} config The config object
 * @xtype colorpalette
 */

/**
 * @class Ext.Component
 * @extends Ext.util.Observable
 * <p>Base class for all Ext components.  All subclasses of Component may participate in the automated
 * Ext component lifecycle of creation, rendering and destruction which is provided by the {@link Ext.Container Container} class.
 * Components may be added to a Container through the {@link Ext.Container#items items} config option at the time the Container is created,
 * or they may be added dynamically via the {@link Ext.Container#add add} method.</p>
 * <p>The Component base class has built-in support for basic hide/show and enable/disable behavior.</p>
 * <p>All Components are registered with the {@link Ext.ComponentMgr} on construction so that they can be referenced at any time via
 * {@link Ext#getCmp}, passing the {@link #id}.</p>
 * <p>All user-developed visual widgets that are required to participate in automated lifecycle and size management should subclass Component (or
 * {@link Ext.BoxComponent} if managed box model handling is required, ie height and width management).</p>
 * <p>See the <a href="http://extjs.com/learn/Tutorial:Creating_new_UI_controls">Creating new UI controls</a> tutorial for details on how
 * and to either extend or augment ExtJs base classes to create custom Components.</p>
 * <p>Every component has a specific xtype, which is its Ext-specific type name, along with methods for checking the
 * xtype like {@link #getXType} and {@link #isXType}. This is the list of all valid xtypes:</p>
 * <pre>
xtype            Class
-------------    ------------------
box              {@link Ext.BoxComponent}
button           {@link Ext.Button}
buttongroup      {@link Ext.ButtonGroup}
colorpalette     {@link Ext.ColorPalette}
component        {@link Ext.Component}
container        {@link Ext.Container}
cycle            {@link Ext.CycleButton}
dataview         {@link Ext.DataView}
datepicker       {@link Ext.DatePicker}
editor           {@link Ext.Editor}
editorgrid       {@link Ext.grid.EditorGridPanel}
flash            {@link Ext.FlashComponent}
grid             {@link Ext.grid.GridPanel}
listview         {@link Ext.ListView}
panel            {@link Ext.Panel}
progress         {@link Ext.ProgressBar}
propertygrid     {@link Ext.grid.PropertyGrid}
slider           {@link Ext.Slider}
spacer           {@link Ext.Spacer}
splitbutton      {@link Ext.SplitButton}
tabpanel         {@link Ext.TabPanel}
treepanel        {@link Ext.tree.TreePanel}
viewport         {@link Ext.ViewPort}
window           {@link Ext.Window}

Toolbar components
---------------------------------------
paging           {@link Ext.PagingToolbar}
toolbar          {@link Ext.Toolbar}
tbbutton         {@link Ext.Toolbar.Button}        (deprecated; use button)
tbfill           {@link Ext.Toolbar.Fill}
tbitem           {@link Ext.Toolbar.Item}
tbseparator      {@link Ext.Toolbar.Separator}
tbspacer         {@link Ext.Toolbar.Spacer}
tbsplit          {@link Ext.Toolbar.SplitButton}   (deprecated; use splitbutton)
tbtext           {@link Ext.Toolbar.TextItem}

Menu components
---------------------------------------
menu             {@link Ext.menu.Menu}
colormenu        {@link Ext.menu.ColorMenu}
datemenu         {@link Ext.menu.DateMenu}
menubaseitem     {@link Ext.menu.BaseItem}
menucheckitem    {@link Ext.menu.CheckItem}
menuitem         {@link Ext.menu.Item}
menuseparator    {@link Ext.menu.Separator}
menutextitem     {@link Ext.menu.TextItem}

Form components
---------------------------------------
form             {@link Ext.form.FormPanel}
checkbox         {@link Ext.form.Checkbox}
checkboxgroup    {@link Ext.form.CheckboxGroup}
combo            {@link Ext.form.ComboBox}
datefield        {@link Ext.form.DateField}
displayfield     {@link Ext.form.DisplayField}
field            {@link Ext.form.Field}
fieldset         {@link Ext.form.FieldSet}
hidden           {@link Ext.form.Hidden}
htmleditor       {@link Ext.form.HtmlEditor}
label            {@link Ext.form.Label}
numberfield      {@link Ext.form.NumberField}
radio            {@link Ext.form.Radio}
radiogroup       {@link Ext.form.RadioGroup}
textarea         {@link Ext.form.TextArea}
textfield        {@link Ext.form.TextField}
timefield        {@link Ext.form.TimeField}
trigger          {@link Ext.form.TriggerField}

Chart components
---------------------------------------
chart            {@link Ext.chart.Chart}
barchart         {@link Ext.chart.BarChart}
cartesianchart   {@link Ext.chart.CartesianChart}
columnchart      {@link Ext.chart.ColumnChart}
linechart        {@link Ext.chart.LineChart}
piechart         {@link Ext.chart.PieChart}

Store xtypes
---------------------------------------
arraystore       {@link Ext.data.ArrayStore}
directstore      {@link Ext.data.DirectStore}
groupingstore    {@link Ext.data.GroupingStore}
jsonstore        {@link Ext.data.JsonStore}
simplestore      {@link Ext.data.SimpleStore}      (deprecated; use arraystore)
store            {@link Ext.data.Store}
xmlstore         {@link Ext.data.XmlStore}
</pre>
 * @constructor
 * @param {Ext.Element/String/Object} config The configuration options may be specified as either:
 * <div class="mdetail-params"><ul>
 * <li><b>an element</b> :
 * <p class="sub-desc">it is set as the internal element and its id used as the component id</p></li>
 * <li><b>a string</b> :
 * <p class="sub-desc">it is assumed to be the id of an existing element and is used as the component id</p></li>
 * <li><b>anything else</b> :
 * <p class="sub-desc">it is assumed to be a standard config object and is applied to the component</p></li>
 * </ul></div>
 */

/**
 * @class Ext.ComponentMgr
 * <p>Provides a registry of all Components (instances of {@link Ext.Component} or any subclass
 * thereof) on a page so that they can be easily accessed by {@link Ext.Component component}
 * {@link Ext.Component#id id} (see {@link #get}, or the convenience method {@link Ext#getCmp Ext.getCmp}).</p>
 * <p>This object also provides a registry of available Component <i>classes</i>
 * indexed by a mnemonic code known as the Component's {@link Ext.Component#xtype xtype}.
 * The <code>{@link Ext.Component#xtype xtype}</code> provides a way to avoid instantiating child Components
 * when creating a full, nested config object for a complete Ext page.</p>
 * <p>A child Component may be specified simply as a <i>config object</i>
 * as long as the correct <code>{@link Ext.Component#xtype xtype}</code> is specified so that if and when the Component
 * needs rendering, the correct type can be looked up for lazy instantiation.</p>
 * <p>For a list of all available <code>{@link Ext.Component#xtype xtypes}</code>, see {@link Ext.Component}.</p>
 * @singleton
 */

/**
 * @class Ext.CompositeElement
 * @extends Ext.CompositeElementLite
 * <p>This class encapsulates a <i>collection</i> of DOM elements, providing methods to filter
 * members, or to perform collective actions upon the whole set.</p>
 * <p>Although they are not listed, this class supports all of the methods of {@link Ext.Element} and
 * {@link Ext.Fx}. The methods from these classes will be performed on all the elements in this collection.</p>
 * <p>All methods return <i>this</i> and can be chained.</p>
 * Usage:
<pre><code>
var els = Ext.select("#some-el div.some-class", true);
// or select directly from an existing element
var el = Ext.get('some-el');
el.select('div.some-class', true);

els.setWidth(100); // all elements become 100 width
els.hide(true); // all elements fade out and hide
// or
els.setWidth(100).hide(true);
</code></pre>
 */

/**
 * @class Ext.CompositeElementLite
 * <p>This class encapsulates a <i>collection</i> of DOM elements, providing methods to filter
 * members, or to perform collective actions upon the whole set.</p>
 * <p>Although they are not listed, this class supports all of the methods of {@link Ext.Element} and
 * {@link Ext.Fx}. The methods from these classes will be performed on all the elements in this collection.</p>
 * Example:<pre><code>
var els = Ext.select("#some-el div.some-class");
// or select directly from an existing element
var el = Ext.get('some-el');
el.select('div.some-class');

els.setWidth(100); // all elements become 100 width
els.hide(true); // all elements fade out and hide
// or
els.setWidth(100).hide(true);
</code>
 */

/**
 * @class Ext.CompositeElementLite
 */

/**
 * @class Ext.Container
 * @extends Ext.BoxComponent
 * <p>Base class for any {@link Ext.BoxComponent} that may contain other Components. Containers handle the
 * basic behavior of containing items, namely adding, inserting and removing items.</p>
 *
 * <p>The most commonly used Container classes are {@link Ext.Panel}, {@link Ext.Window} and {@link Ext.TabPanel}.
 * If you do not need the capabilities offered by the aforementioned classes you can create a lightweight
 * Container to be encapsulated by an HTML element to your specifications by using the
 * <code><b>{@link Ext.Component#autoEl autoEl}</b></code> config option. This is a useful technique when creating
 * embedded {@link Ext.layout.ColumnLayout column} layouts inside {@link Ext.form.FormPanel FormPanels}
 * for example.</p>
 *
 * <p>The code below illustrates both how to explicitly create a Container, and how to implicitly
 * create one using the <b><code>'container'</code></b> xtype:<pre><code>
// explicitly create a Container
var embeddedColumns = new Ext.Container({
    autoEl: 'div',  // This is the default
    layout: 'column',
    defaults: {
        // implicitly create Container by specifying xtype
        xtype: 'container',
        autoEl: 'div', // This is the default.
        layout: 'form',
        columnWidth: 0.5,
        style: {
            padding: '10px'
        }
    },
//  The two items below will be Ext.Containers, each encapsulated by a &lt;DIV> element.
    items: [{
        items: {
            xtype: 'datefield',
            name: 'startDate',
            fieldLabel: 'Start date'
        }
    }, {
        items: {
            xtype: 'datefield',
            name: 'endDate',
            fieldLabel: 'End date'
        }
    }]
});</code></pre></p>
 *
 * <p><u><b>Layout</b></u></p>
 * <p>Container classes delegate the rendering of child Components to a layout
 * manager class which must be configured into the Container using the
 * <code><b>{@link #layout}</b></code> configuration property.</p>
 * <p>When either specifying child <code>{@link #items}</code> of a Container,
 * or dynamically {@link #add adding} Components to a Container, remember to
 * consider how you wish the Container to arrange those child elements, and
 * whether those child elements need to be sized using one of Ext's built-in
 * <b><code>{@link #layout}</code></b> schemes. By default, Containers use the
 * {@link Ext.layout.ContainerLayout ContainerLayout} scheme which only
 * renders child components, appending them one after the other inside the
 * Container, and <b>does not apply any sizing</b> at all.</p>
 * <p>A common mistake is when a developer neglects to specify a
 * <b><code>{@link #layout}</code></b> (e.g. widgets like GridPanels or
 * TreePanels are added to Containers for which no <code><b>{@link #layout}</b></code>
 * has been specified). If a Container is left to use the default
 * {@link Ext.layout.ContainerLayout ContainerLayout} scheme, none of its
 * child components will be resized, or changed in any way when the Container
 * is resized.</p>
 * <p>Certain layout managers allow dynamic addition of child components.
 * Those that do include {@link Ext.layout.CardLayout},
 * {@link Ext.layout.AnchorLayout}, {@link Ext.layout.FormLayout}, and
 * {@link Ext.layout.TableLayout}. For example:<pre><code>
//  Create the GridPanel.
var myNewGrid = new Ext.grid.GridPanel({
    store: myStore,
    columns: myColumnModel,
    title: 'Results', // the title becomes the title of the tab
});

myTabPanel.add(myNewGrid); // {@link Ext.TabPanel} implicitly uses {@link Ext.layout.CardLayout CardLayout}
myTabPanel.{@link Ext.TabPanel#setActiveTab setActiveTab}(myNewGrid);
 * </code></pre></p>
 * <p>The example above adds a newly created GridPanel to a TabPanel. Note that
 * a TabPanel uses {@link Ext.layout.CardLayout} as its layout manager which
 * means all its child items are sized to {@link Ext.layout.FitLayout fit}
 * exactly into its client area.
 * <p><b><u>Overnesting is a common problem</u></b>.
 * An example of overnesting occurs when a GridPanel is added to a TabPanel
 * by wrapping the GridPanel <i>inside</i> a wrapping Panel (that has no
 * <code><b>{@link #layout}</b></code> specified) and then add that wrapping Panel
 * to the TabPanel. The point to realize is that a GridPanel <b>is</b> a
 * Component which can be added directly to a Container. If the wrapping Panel
 * has no <code><b>{@link #layout}</b></code> configuration, then the overnested
 * GridPanel will not be sized as expected.<p>
 *
 * <p><u><b>Adding via remote configuration</b></u></p>
 *
 * <p>A server side script can be used to add Components which are generated dynamically on the server.
 * An example of adding a GridPanel to a TabPanel where the GridPanel is generated by the server
 * based on certain parameters:
 * </p><pre><code>
// execute an Ajax request to invoke server side script:
Ext.Ajax.request({
    url: 'gen-invoice-grid.php',
    // send additional parameters to instruct server script
    params: {
        startDate: Ext.getCmp('start-date').getValue(),
        endDate: Ext.getCmp('end-date').getValue()
    },
    // process the response object to add it to the TabPanel:
    success: function(xhr) {
        var newComponent = eval(xhr.responseText); // see discussion below
        myTabPanel.add(newComponent); // add the component to the TabPanel
        myTabPanel.setActiveTab(newComponent);
    },
    failure: function() {
        Ext.Msg.alert("Grid create failed", "Server communication failure");
    }
});
</code></pre>
 * <p>The server script needs to return an executable Javascript statement which, when processed
 * using <code>eval()</code>, will return either a config object with an {@link Ext.Component#xtype xtype},
 * or an instantiated Component. The server might return this for example:</p><pre><code>
(function() {
    function formatDate(value){
        return value ? value.dateFormat('M d, Y') : '';
    };

    var store = new Ext.data.Store({
        url: 'get-invoice-data.php',
        baseParams: {
            startDate: '01/01/2008',
            endDate: '01/31/2008'
        },
        reader: new Ext.data.JsonReader({
            record: 'transaction',
            idProperty: 'id',
            totalRecords: 'total'
        }, [
           'customer',
           'invNo',
           {name: 'date', type: 'date', dateFormat: 'm/d/Y'},
           {name: 'value', type: 'float'}
        ])
    });

    var grid = new Ext.grid.GridPanel({
        title: 'Invoice Report',
        bbar: new Ext.PagingToolbar(store),
        store: store,
        columns: [
            {header: "Customer", width: 250, dataIndex: 'customer', sortable: true},
            {header: "Invoice Number", width: 120, dataIndex: 'invNo', sortable: true},
            {header: "Invoice Date", width: 100, dataIndex: 'date', renderer: formatDate, sortable: true},
            {header: "Value", width: 120, dataIndex: 'value', renderer: 'usMoney', sortable: true}
        ],
    });
    store.load();
    return grid;  // return instantiated component
})();
</code></pre>
 * <p>When the above code fragment is passed through the <code>eval</code> function in the success handler
 * of the Ajax request, the code is executed by the Javascript processor, and the anonymous function
 * runs, and returns the instantiated grid component.</p>
 * <p>Note: since the code above is <i>generated</i> by a server script, the <code>baseParams</code> for
 * the Store, the metadata to allow generation of the Record layout, and the ColumnModel
 * can all be generated into the code since these are all known on the server.</p>
 *
 * @xtype container
 */

/**
 * @class Ext.CycleButton
 * @extends Ext.SplitButton
 * A specialized SplitButton that contains a menu of {@link Ext.menu.CheckItem} elements.  The button automatically
 * cycles through each menu item on click, raising the button's {@link #change} event (or calling the button's
 * {@link #changeHandler} function, if supplied) for the active menu item. Clicking on the arrow section of the
 * button displays the dropdown menu just like a normal SplitButton.  Example usage:
 * <pre><code>
var btn = new Ext.CycleButton({
    showText: true,
    prependText: 'View as ',
    items: [{
        text:'text only',
        iconCls:'view-text',
        checked:true
    },{
        text:'HTML',
        iconCls:'view-html'
    }],
    changeHandler:function(btn, item){
        Ext.Msg.alert('Change View', item.text);
    }
});
</code></pre>
 * @constructor
 * Create a new split button
 * @param {Object} config The config object
 * @xtype cycle
 */

/**
 * @class Ext.DataView
 * @extends Ext.BoxComponent
 * A mechanism for displaying data using custom layout templates and formatting. DataView uses an {@link Ext.XTemplate}
 * as its internal templating mechanism, and is bound to an {@link Ext.data.Store}
 * so that as the data in the store changes the view is automatically updated to reflect the changes.  The view also
 * provides built-in behavior for many common events that can occur for its contained items including click, doubleclick,
 * mouseover, mouseout, etc. as well as a built-in selection model. <b>In order to use these features, an {@link #itemSelector}
 * config must be provided for the DataView to determine what nodes it will be working with.</b>
 *
 * <p>The example below binds a DataView to a {@link Ext.data.Store} and renders it into an {@link Ext.Panel}.</p>
 * <pre><code>
var store = new Ext.data.JsonStore({
    url: 'get-images.php',
    root: 'images',
    fields: [
        'name', 'url',
        {name:'size', type: 'float'},
        {name:'lastmod', type:'date', dateFormat:'timestamp'}
    ]
});
store.load();

var tpl = new Ext.XTemplate(
    '&lt;tpl for="."&gt;',
        '&lt;div class="thumb-wrap" id="{name}"&gt;',
        '&lt;div class="thumb"&gt;&lt;img src="{url}" title="{name}"&gt;&lt;/div&gt;',
        '&lt;span class="x-editable"&gt;{shortName}&lt;/span&gt;&lt;/div&gt;',
    '&lt;/tpl&gt;',
    '&lt;div class="x-clear"&gt;&lt;/div&gt;'
);

var panel = new Ext.Panel({
    id:'images-view',
    frame:true,
    width:535,
    autoHeight:true,
    collapsible:true,
    layout:'fit',
    title:'Simple DataView',

    items: new Ext.DataView({
        store: store,
        tpl: tpl,
        autoHeight:true,
        multiSelect: true,
        overClass:'x-view-over',
        itemSelector:'div.thumb-wrap',
        emptyText: 'No images to display'
    })
});
panel.render(document.body);
</code></pre>
 * @constructor
 * Create a new DataView
 * @param {Object} config The config object
 * @xtype dataview
 */

/**
 * @class Ext.DatePicker
 * @extends Ext.Component
 * <p>A popup date picker. This class is used by the {@link Ext.form.DateField DateField} class
 * to allow browsing and selection of valid dates.</p>
 * <p>All the string values documented below may be overridden by including an Ext locale file in
 * your page.</p>
 * @constructor
 * Create a new DatePicker
 * @param {Object} config The config object
 * @xtype datepicker
 */

/**
 * @class Ext.Direct
 * @extends Ext.util.Observable
 * <p><b><u>Overview</u></b></p>
 * 
 * <p>Ext.Direct aims to streamline communication between the client and server
 * by providing a single interface that reduces the amount of common code
 * typically required to validate data and handle returned data packets
 * (reading data, error conditions, etc).</p>
 *  
 * <p>The Ext.direct namespace includes several classes for a closer integration
 * with the server-side. The Ext.data namespace also includes classes for working
 * with Ext.data.Stores which are backed by data from an Ext.Direct method.</p>
 * 
 * <p><b><u>Specification</u></b></p>
 * 
 * <p>For additional information consult the 
 * <a href="http://extjs.com/products/extjs/direct.php">Ext.Direct Specification</a>.</p>
 *   
 * <p><b><u>Providers</u></b></p>
 * 
 * <p>Ext.Direct uses a provider architecture, where one or more providers are
 * used to transport data to and from the server. There are several providers
 * that exist in the core at the moment:</p><div class="mdetail-params"><ul>
 * 
 * <li>{@link Ext.direct.JsonProvider JsonProvider} for simple JSON operations</li>
 * <li>{@link Ext.direct.PollingProvider PollingProvider} for repeated requests</li>
 * <li>{@link Ext.direct.RemotingProvider RemotingProvider} exposes server side
 * on the client.</li>
 * </ul></div>
 * 
 * <p>A provider does not need to be invoked directly, providers are added via
 * {@link Ext.Direct}.{@link Ext.Direct#add add}.</p>
 * 
 * <p><b><u>Router</u></b></p>
 * 
 * <p>Ext.Direct utilizes a "router" on the server to direct requests from the client
 * to the appropriate server-side method. Because the Ext.Direct API is completely
 * platform-agnostic, you could completely swap out a Java based server solution
 * and replace it with one that uses C# without changing the client side JavaScript
 * at all.</p>
 * 
 * <p><b><u>Server side events</u></b></p>
 * 
 * <p>Custom events from the server may be handled by the client by adding
 * listeners, for example:</p>
 * <pre><code>
{"type":"event","name":"message","data":"Successfully polled at: 11:19:30 am"}

// add a handler for a 'message' event sent by the server 
Ext.Direct.on('message', function(e){
    out.append(String.format('&lt;p>&lt;i>{0}&lt;/i>&lt;/p>', e.data));
            out.el.scrollTo('t', 100000, true);
});
 * </code></pre>
 * @singleton
 */

/**
 * @class Ext.Direct.Transaction
 * @extends Object
 * <p>Supporting Class for Ext.Direct (not intended to be used directly).</p>
 * @constructor
 * @param {Object} config
 */

/**
 * @class Ext.DomHelper
 * <p>The DomHelper class provides a layer of abstraction from DOM and transparently supports creating
 * elements via DOM or using HTML fragments. It also has the ability to create HTML fragment templates
 * from your DOM building code.</p>
 *
 * <p><b><u>DomHelper element specification object</u></b></p>
 * <p>A specification object is used when creating elements. Attributes of this object
 * are assumed to be element attributes, except for 4 special attributes:
 * <div class="mdetail-params"><ul>
 * <li><b><tt>tag</tt></b> : <div class="sub-desc">The tag name of the element</div></li>
 * <li><b><tt>children</tt></b> : or <tt>cn</tt><div class="sub-desc">An array of the
 * same kind of element definition objects to be created and appended. These can be nested
 * as deep as you want.</div></li>
 * <li><b><tt>cls</tt></b> : <div class="sub-desc">The class attribute of the element.
 * This will end up being either the "class" attribute on a HTML fragment or className
 * for a DOM node, depending on whether DomHelper is using fragments or DOM.</div></li>
 * <li><b><tt>html</tt></b> : <div class="sub-desc">The innerHTML for the element</div></li>
 * </ul></div></p>
 *
 * <p><b><u>Insertion methods</u></b></p>
 * <p>Commonly used insertion methods:
 * <div class="mdetail-params"><ul>
 * <li><b><tt>{@link #append}</tt></b> : <div class="sub-desc"></div></li>
 * <li><b><tt>{@link #insertBefore}</tt></b> : <div class="sub-desc"></div></li>
 * <li><b><tt>{@link #insertAfter}</tt></b> : <div class="sub-desc"></div></li>
 * <li><b><tt>{@link #overwrite}</tt></b> : <div class="sub-desc"></div></li>
 * <li><b><tt>{@link #createTemplate}</tt></b> : <div class="sub-desc"></div></li>
 * <li><b><tt>{@link #insertHtml}</tt></b> : <div class="sub-desc"></div></li>
 * </ul></div></p>
 *
 * <p><b><u>Example</u></b></p>
 * <p>This is an example, where an unordered list with 3 children items is appended to an existing
 * element with id <tt>'my-div'</tt>:<br>
 <pre><code>
var dh = Ext.DomHelper; // create shorthand alias
// specification object
var spec = {
    id: 'my-ul',
    tag: 'ul',
    cls: 'my-list',
    // append children after creating
    children: [     // may also specify 'cn' instead of 'children'
        {tag: 'li', id: 'item0', html: 'List Item 0'},
        {tag: 'li', id: 'item1', html: 'List Item 1'},
        {tag: 'li', id: 'item2', html: 'List Item 2'}
    ]
};
var list = dh.append(
    'my-div', // the context element 'my-div' can either be the id or the actual node
    spec      // the specification object
);
 </code></pre></p>
 * <p>Element creation specification parameters in this class may also be passed as an Array of
 * specification objects. This can be used to insert multiple sibling nodes into an existing
 * container very efficiently. For example, to add more list items to the example above:<pre><code>
dh.append('my-ul', [
    {tag: 'li', id: 'item3', html: 'List Item 3'},
    {tag: 'li', id: 'item4', html: 'List Item 4'}
]);
 * </code></pre></p>
 *
 * <p><b><u>Templating</u></b></p>
 * <p>The real power is in the built-in templating. Instead of creating or appending any elements,
 * <tt>{@link #createTemplate}</tt> returns a Template object which can be used over and over to
 * insert new elements. Revisiting the example above, we could utilize templating this time:
 * <pre><code>
// create the node
var list = dh.append('my-div', {tag: 'ul', cls: 'my-list'});
// get template
var tpl = dh.createTemplate({tag: 'li', id: 'item{0}', html: 'List Item {0}'});

for(var i = 0; i < 5, i++){
    tpl.append(list, [i]); // use template to append to the actual node
}
 * </code></pre></p>
 * <p>An example using a template:<pre><code>
var html = '<a id="{0}" href="{1}" class="nav">{2}</a>';

var tpl = new Ext.DomHelper.createTemplate(html);
tpl.append('blog-roll', ['link1', 'http://www.jackslocum.com/', "Jack&#39;s Site"]);
tpl.append('blog-roll', ['link2', 'http://www.dustindiaz.com/', "Dustin&#39;s Site"]);
 * </code></pre></p>
 *
 * <p>The same example using named parameters:<pre><code>
var html = '<a id="{id}" href="{url}" class="nav">{text}</a>';

var tpl = new Ext.DomHelper.createTemplate(html);
tpl.append('blog-roll', {
    id: 'link1',
    url: 'http://www.jackslocum.com/',
    text: "Jack&#39;s Site"
});
tpl.append('blog-roll', {
    id: 'link2',
    url: 'http://www.dustindiaz.com/',
    text: "Dustin&#39;s Site"
});
 * </code></pre></p>
 *
 * <p><b><u>Compiling Templates</u></b></p>
 * <p>Templates are applied using regular expressions. The performance is great, but if
 * you are adding a bunch of DOM elements using the same template, you can increase
 * performance even further by {@link Ext.Template#compile "compiling"} the template.
 * The way "{@link Ext.Template#compile compile()}" works is the template is parsed and
 * broken up at the different variable points and a dynamic function is created and eval'ed.
 * The generated function performs string concatenation of these parts and the passed
 * variables instead of using regular expressions.
 * <pre><code>
var html = '<a id="{id}" href="{url}" class="nav">{text}</a>';

var tpl = new Ext.DomHelper.createTemplate(html);
tpl.compile();

//... use template like normal
 * </code></pre></p>
 *
 * <p><b><u>Performance Boost</u></b></p>
 * <p>DomHelper will transparently create HTML fragments when it can. Using HTML fragments instead
 * of DOM can significantly boost performance.</p>
 * <p>Element creation specification parameters may also be strings. If {@link #useDom} is <tt>false</tt>,
 * then the string is used as innerHTML. If {@link #useDom} is <tt>true</tt>, a string specification
 * results in the creation of a text node. Usage:</p>
 * <pre><code>
Ext.DomHelper.useDom = true; // force it to use DOM; reduces performance
 * </code></pre>
 * @singleton
 */

/**
 * @class Ext.DomHelper
 */

/**
 * @class Ext.DomQuery
Provides high performance selector/xpath processing by compiling queries into reusable functions. New pseudo classes and matchers can be plugged. It works on HTML and XML documents (if a content node is passed in).
<p>
DomQuery supports most of the <a href="http://www.w3.org/TR/2005/WD-css3-selectors-20051215/#selectors">CSS3 selectors spec</a>, along with some custom selectors and basic XPath.</p>

<p>
All selectors, attribute filters and pseudos below can be combined infinitely in any order. For example "div.foo:nth-child(odd)[@foo=bar].bar:first" would be a perfectly valid selector. Node filters are processed in the order in which they appear, which allows you to optimize your queries for your document structure.
</p>
<h4>Element Selectors:</h4>
<ul class="list">
    <li> <b>*</b> any element</li>
    <li> <b>E</b> an element with the tag E</li>
    <li> <b>E F</b> All descendent elements of E that have the tag F</li>
    <li> <b>E > F</b> or <b>E/F</b> all direct children elements of E that have the tag F</li>
    <li> <b>E + F</b> all elements with the tag F that are immediately preceded by an element with the tag E</li>
    <li> <b>E ~ F</b> all elements with the tag F that are preceded by a sibling element with the tag E</li>
</ul>
<h4>Attribute Selectors:</h4>
<p>The use of &#64; and quotes are optional. For example, div[&#64;foo='bar'] is also a valid attribute selector.</p>
<ul class="list">
    <li> <b>E[foo]</b> has an attribute "foo"</li>
    <li> <b>E[foo=bar]</b> has an attribute "foo" that equals "bar"</li>
    <li> <b>E[foo^=bar]</b> has an attribute "foo" that starts with "bar"</li>
    <li> <b>E[foo$=bar]</b> has an attribute "foo" that ends with "bar"</li>
    <li> <b>E[foo*=bar]</b> has an attribute "foo" that contains the substring "bar"</li>
    <li> <b>E[foo%=2]</b> has an attribute "foo" that is evenly divisible by 2</li>
    <li> <b>E[foo!=bar]</b> has an attribute "foo" that does not equal "bar"</li>
</ul>
<h4>Pseudo Classes:</h4>
<ul class="list">
    <li> <b>E:first-child</b> E is the first child of its parent</li>
    <li> <b>E:last-child</b> E is the last child of its parent</li>
    <li> <b>E:nth-child(<i>n</i>)</b> E is the <i>n</i>th child of its parent (1 based as per the spec)</li>
    <li> <b>E:nth-child(odd)</b> E is an odd child of its parent</li>
    <li> <b>E:nth-child(even)</b> E is an even child of its parent</li>
    <li> <b>E:only-child</b> E is the only child of its parent</li>
    <li> <b>E:checked</b> E is an element that is has a checked attribute that is true (e.g. a radio or checkbox) </li>
    <li> <b>E:first</b> the first E in the resultset</li>
    <li> <b>E:last</b> the last E in the resultset</li>
    <li> <b>E:nth(<i>n</i>)</b> the <i>n</i>th E in the resultset (1 based)</li>
    <li> <b>E:odd</b> shortcut for :nth-child(odd)</li>
    <li> <b>E:even</b> shortcut for :nth-child(even)</li>
    <li> <b>E:contains(foo)</b> E's innerHTML contains the substring "foo"</li>
    <li> <b>E:nodeValue(foo)</b> E contains a textNode with a nodeValue that equals "foo"</li>
    <li> <b>E:not(S)</b> an E element that does not match simple selector S</li>
    <li> <b>E:has(S)</b> an E element that has a descendent that matches simple selector S</li>
    <li> <b>E:next(S)</b> an E element whose next sibling matches simple selector S</li>
    <li> <b>E:prev(S)</b> an E element whose previous sibling matches simple selector S</li>
    <li> <b>E:any(S1|S2|S2)</b> an E element which matches any of the simple selectors S1, S2 or S3//\\</li>
</ul>
<h4>CSS Value Selectors:</h4>
<ul class="list">
    <li> <b>E{display=none}</b> css value "display" that equals "none"</li>
    <li> <b>E{display^=none}</b> css value "display" that starts with "none"</li>
    <li> <b>E{display$=none}</b> css value "display" that ends with "none"</li>
    <li> <b>E{display*=none}</b> css value "display" that contains the substring "none"</li>
    <li> <b>E{display%=2}</b> css value "display" that is evenly divisible by 2</li>
    <li> <b>E{display!=none}</b> css value "display" that does not equal "none"</li>
</ul>
 * @singleton
 */

/**
 * @class Ext.Editor
 * @extends Ext.Component
 * A base editor field that handles displaying/hiding on demand and has some built-in sizing and event handling logic.
 * @constructor
 * Create a new Editor
 * @param {Object} config The config object
 * @xtype editor
 */

/**
 * @class Ext.Element
 * <p>Encapsulates a DOM element, adding simple DOM manipulation facilities, normalizing for browser differences.</p>
 * <p>All instances of this class inherit the methods of {@link Ext.Fx} making visual effects easily available to all DOM elements.</p>
 * <p>Note that the events documented in this class are not Ext events, they encapsulate browser events. To
 * access the underlying browser event, see {@link Ext.EventObject#browserEvent}. Some older
 * browsers may not support the full range of events. Which events are supported is beyond the control of ExtJs.</p>
 * Usage:<br>
<pre><code>
// by id
var el = Ext.get("my-div");

// by DOM element reference
var el = Ext.get(myDivElement);
</code></pre>
 * <b>Animations</b><br />
 * <p>When an element is manipulated, by default there is no animation.</p>
 * <pre><code>
var el = Ext.get("my-div");

// no animation
el.setWidth(100);
 * </code></pre>
 * <p>Many of the functions for manipulating an element have an optional "animate" parameter.  This
 * parameter can be specified as boolean (<tt>true</tt>) for default animation effects.</p>
 * <pre><code>
// default animation
el.setWidth(100, true);
 * </code></pre>
 *
 * <p>To configure the effects, an object literal with animation options to use as the Element animation
 * configuration object can also be specified. Note that the supported Element animation configuration
 * options are a subset of the {@link Ext.Fx} animation options specific to Fx effects.  The supported
 * Element animation configuration options are:</p>
<pre>
Option    Default   Description
--------- --------  ---------------------------------------------
{@link Ext.Fx#duration duration}  .35       The duration of the animation in seconds
{@link Ext.Fx#easing easing}    easeOut   The easing method
{@link Ext.Fx#callback callback}  none      A function to execute when the anim completes
{@link Ext.Fx#scope scope}     this      The scope (this) of the callback function
</pre>
 *
 * <pre><code>
// Element animation options object
var opt = {
    {@link Ext.Fx#duration duration}: 1,
    {@link Ext.Fx#easing easing}: 'elasticIn',
    {@link Ext.Fx#callback callback}: this.foo,
    {@link Ext.Fx#scope scope}: this
};
// animation with some options set
el.setWidth(100, opt);
 * </code></pre>
 * <p>The Element animation object being used for the animation will be set on the options
 * object as "anim", which allows you to stop or manipulate the animation. Here is an example:</p>
 * <pre><code>
// using the "anim" property to get the Anim object
if(opt.anim.isAnimated()){
    opt.anim.stop();
}
 * </code></pre>
 * <p>Also see the <tt>{@link #animate}</tt> method for another animation technique.</p>
 * <p><b> Composite (Collections of) Elements</b></p>
 * <p>For working with collections of Elements, see {@link Ext.CompositeElement}</p>
 * @constructor Create a new Element directly.
 * @param {String/HTMLElement} element
 * @param {Boolean} forceNew (optional) By default the constructor checks to see if there is already an instance of this element in the cache and if there is it returns the same instance. This will skip that check (useful for extending this class).
 */

/**
 * @class Ext.Element
 */

/**
 * @class Ext.Error
 * @extends Error
 * <p>A base error class. Future implementations are intended to provide more
 * robust error handling throughout the framework (<b>in the debug build only</b>)
 * to check for common errors and problems. The messages issued by this class
 * will aid error checking. Error checks will be automatically removed in the
 * production build so that performance is not negatively impacted.</p>
 * <p>Some sample messages currently implemented:</p><pre>
"DataProxy attempted to execute an API-action but found an undefined
url / function. Please review your Proxy url/api-configuration."
 * </pre><pre>
"Could not locate your "root" property in your server response.
Please review your JsonReader config to ensure the config-property
"root" matches the property your server-response.  See the JsonReader
docs for additional assistance."
 * </pre>
 * <p>An example of the code used for generating error messages:</p><pre><code>
try {
    generateError({
        foo: 'bar'
    });
}
catch (e) {
    console.error(e);
}
function generateError(data) {
    throw new Ext.Error('foo-error', data);
}
 * </code></pre>
 * @param {String} message
 */

/**
 * @class Ext.EventManager
 * Registers event handlers that want to receive a normalized EventObject instead of the standard browser event and provides
 * several useful events directly.
 * See {@link Ext.EventObject} for more details on normalized event objects.
 * @singleton
 */

/**
 * @class Ext.EventObject
 * Just as {@link Ext.Element} wraps around a native DOM node, Ext.EventObject
 * wraps the browser's native event-object normalizing cross-browser differences,
 * such as which mouse button is clicked, keys pressed, mechanisms to stop
 * event-propagation along with a method to prevent default actions from taking place.
 * <p>For example:</p>
 * <pre><code>
function handleClick(e, t){ // e is not a standard event object, it is a Ext.EventObject
    e.preventDefault();
    var target = e.getTarget(); // same as t (the target HTMLElement)
    ...
}
var myDiv = {@link Ext#get Ext.get}("myDiv");  // get reference to an {@link Ext.Element}
myDiv.on(         // 'on' is shorthand for addListener
    "click",      // perform an action on click of myDiv
    handleClick   // reference to the action handler
);
// other methods to do the same:
Ext.EventManager.on("myDiv", 'click', handleClick);
Ext.EventManager.addListener("myDiv", 'click', handleClick);
 </code></pre>
 * @singleton
 */

/**
 * @class Ext.History
 * @extends Ext.util.Observable
 * History management component that allows you to register arbitrary tokens that signify application
 * history state on navigation actions.  You can then handle the history {@link #change} event in order
 * to reset your application UI to the appropriate state when the user navigates forward or backward through
 * the browser history stack.
 * @singleton
 */

/**
 * @class Ext.KeyMap
 * Handles mapping keys to actions for an element. One key map can be used for multiple actions.
 * The constructor accepts the same config object as defined by {@link #addBinding}.
 * If you bind a callback function to a KeyMap, anytime the KeyMap handles an expected key
 * combination it will call the function with this signature (if the match is a multi-key
 * combination the callback will still be called only once): (String key, Ext.EventObject e)
 * A KeyMap can also handle a string representation of keys.<br />
 * Usage:
 <pre><code>
// map one key by key code
var map = new Ext.KeyMap("my-element", {
    key: 13, // or Ext.EventObject.ENTER
    fn: myHandler,
    scope: myObject
});

// map multiple keys to one action by string
var map = new Ext.KeyMap("my-element", {
    key: "a\r\n\t",
    fn: myHandler,
    scope: myObject
});

// map multiple keys to multiple actions by strings and array of codes
var map = new Ext.KeyMap("my-element", [
    {
        key: [10,13],
        fn: function(){ alert("Return was pressed"); }
    }, {
        key: "abc",
        fn: function(){ alert('a, b or c was pressed'); }
    }, {
        key: "\t",
        ctrl:true,
        shift:true,
        fn: function(){ alert('Control + shift + tab was pressed.'); }
    }
]);
</code></pre>
 * <b>Note: A KeyMap starts enabled</b>
 * @constructor
 * @param {Mixed} el The element to bind to
 * @param {Object} config The config (see {@link #addBinding})
 * @param {String} eventName (optional) The event to bind to (defaults to "keydown")
 */

/**
 * @class Ext.KeyNav
 * <p>Provides a convenient wrapper for normalized keyboard navigation.  KeyNav allows you to bind
 * navigation keys to function calls that will get called when the keys are pressed, providing an easy
 * way to implement custom navigation schemes for any UI component.</p>
 * <p>The following are all of the possible keys that can be implemented: enter, left, right, up, down, tab, esc,
 * pageUp, pageDown, del, home, end.  Usage:</p>
 <pre><code>
var nav = new Ext.KeyNav("my-element", {
    "left" : function(e){
        this.moveLeft(e.ctrlKey);
    },
    "right" : function(e){
        this.moveRight(e.ctrlKey);
    },
    "enter" : function(e){
        this.save();
    },
    scope : this
});
</code></pre>
 * @constructor
 * @param {Mixed} el The element to bind to
 * @param {Object} config The config
 */

/**
 * @class Ext.Layer
 * @extends Ext.Element
 * An extended {@link Ext.Element} object that supports a shadow and shim, constrain to viewport and
 * automatic maintaining of shadow/shim positions.
 * @cfg {Boolean} shim False to disable the iframe shim in browsers which need one (defaults to true)
 * @cfg {String/Boolean} shadow True to automatically create an {@link Ext.Shadow}, or a string indicating the
 * shadow's display {@link Ext.Shadow#mode}. False to disable the shadow. (defaults to false)
 * @cfg {Object} dh DomHelper object config to create element with (defaults to {tag: 'div', cls: 'x-layer'}).
 * @cfg {Boolean} constrain False to disable constrain to viewport (defaults to true)
 * @cfg {String} cls CSS class to add to the element
 * @cfg {Number} zindex Starting z-index (defaults to 11000)
 * @cfg {Number} shadowOffset Number of pixels to offset the shadow (defaults to 4)
 * @cfg {Boolean} useDisplay
 * Defaults to use css offsets to hide the Layer. Specify <tt>true</tt>
 * to use css style <tt>'display:none;'</tt> to hide the Layer.
 * @constructor
 * @param {Object} config An object with config options.
 * @param {String/HTMLElement} existingEl (optional) Uses an existing DOM element. If the element is not found it creates it.
 */

/**
 * @class Ext.LoadMask
 * A simple utility class for generically masking elements while loading data.  If the {@link #store}
 * config option is specified, the masking will be automatically synchronized with the store's loading
 * process and the mask element will be cached for reuse.  For all other elements, this mask will replace the
 * element's Updater load indicator and will be destroyed after the initial load.
 * <p>Example usage:</p>
 *<pre><code>
// Basic mask:
var myMask = new Ext.LoadMask(Ext.getBody(), {msg:"Please wait..."});
myMask.show();
</code></pre>
 * @constructor
 * Create a new LoadMask
 * @param {Mixed} el The element or DOM node, or its id
 * @param {Object} config The config object
 */

/**
 * @class Ext.MessageBox
 * <p>Utility class for generating different styles of message boxes.  The alias Ext.Msg can also be used.<p/>
 * <p>Note that the MessageBox is asynchronous.  Unlike a regular JavaScript <code>alert</code> (which will halt
 * browser execution), showing a MessageBox will not cause the code to stop.  For this reason, if you have code
 * that should only run <em>after</em> some user feedback from the MessageBox, you must use a callback function
 * (see the <code>function</code> parameter for {@link #show} for more details).</p>
 * <p>Example usage:</p>
 *<pre><code>
// Basic alert:
Ext.Msg.alert('Status', 'Changes saved successfully.');

// Prompt for user data and process the result using a callback:
Ext.Msg.prompt('Name', 'Please enter your name:', function(btn, text){
    if (btn == 'ok'){
        // process text value and close...
    }
});



// Show a dialog using config options:
Ext.Msg.show({
   title:'Save Changes?',
   msg: 'You are closing a tab that has unsaved changes. Would you like to save your changes?',
   buttons: Ext.Msg.YESNOCANCEL,
   fn: processResult,
   animEl: 'elId',
   icon: Ext.MessageBox.QUESTION
});
</code></pre>
 * @singleton
 */

/**
 * @class Ext.PagingToolbar
 * @extends Ext.Toolbar
 * <p>As the amount of records increases, the time required for the browser to render
 * them increases. Paging is used to reduce the amount of data exchanged with the client.
 * Note: if there are more records/rows than can be viewed in the available screen area, vertical
 * scrollbars will be added.</p>
 * <p>Paging is typically handled on the server side (see exception below). The client sends
 * parameters to the server side, which the server needs to interpret and then respond with the
 * approprate data.</p>
 * <p><b>Ext.PagingToolbar</b> is a specialized toolbar that is bound to a {@link Ext.data.Store}
 * and provides automatic paging control. This Component {@link Ext.data.Store#load load}s blocks
 * of data into the <tt>{@link #store}</tt> by passing {@link Ext.data.Store#paramNames paramNames} used for
 * paging criteria.</p>
 * <p>PagingToolbar is typically used as one of the Grid's toolbars:</p>
 * <pre><code>
Ext.QuickTips.init(); // to display button quicktips

var myStore = new Ext.data.Store({
    reader: new Ext.data.JsonReader({
        {@link Ext.data.JsonReader#totalProperty totalProperty}: 'results', 
        ...
    }),
    ...
});

var myPageSize = 25;  // server script should only send back 25 items at a time

var grid = new Ext.grid.GridPanel({
    ...
    store: myStore,
    bbar: new Ext.PagingToolbar({
        {@link #store}: myStore,       // grid and PagingToolbar using same store
        {@link #displayInfo}: true,
        {@link #pageSize}: myPageSize,
        {@link #prependButtons}: true,
        items: [
            'text 1'
        ]
    })
});
 * </code></pre>
 *
 * <p>To use paging, pass the paging requirements to the server when the store is first loaded.</p>
 * <pre><code>
store.load({
    params: {
        // specify params for the first page load if using paging
        start: 0,          
        limit: myPageSize,
        // other params
        foo:   'bar'
    }
});
 * </code></pre>
 * 
 * <p>If using {@link Ext.data.Store#autoLoad store's autoLoad} configuration:</p>
 * <pre><code>
var myStore = new Ext.data.Store({
    {@link Ext.data.Store#autoLoad autoLoad}: {params:{start: 0, limit: 25}},
    ...
});
 * </code></pre>
 * 
 * <p>The packet sent back from the server would have this form:</p>
 * <pre><code>
{
    "success": true,
    "results": 2000, 
    "rows": [ // <b>*Note:</b> this must be an Array 
        { "id":  1, "name": "Bill", "occupation": "Gardener" },
        { "id":  2, "name":  "Ben", "occupation": "Horticulturalist" },
        ...
        { "id": 25, "name":  "Sue", "occupation": "Botanist" }
    ]
}
 * </code></pre>
 * <p><u>Paging with Local Data</u></p>
 * <p>Paging can also be accomplished with local data using extensions:</p>
 * <div class="mdetail-params"><ul>
 * <li><a href="http://extjs.com/forum/showthread.php?t=71532">Ext.ux.data.PagingStore</a></li>
 * <li>Paging Memory Proxy (examples/ux/PagingMemoryProxy.js)</li>
 * </ul></div>
 * @constructor Create a new PagingToolbar
 * @param {Object} config The config object
 * @xtype paging
 */

/**
 * @class Ext.Panel
 * @extends Ext.Container
 * <p>Panel is a container that has specific functionality and structural components that make
 * it the perfect building block for application-oriented user interfaces.</p>
 * <p>Panels are, by virtue of their inheritance from {@link Ext.Container}, capable
 * of being configured with a {@link Ext.Container#layout layout}, and containing child Components.</p>
 * <p>When either specifying child {@link Ext.Component#items items} of a Panel, or dynamically {@link Ext.Container#add adding} Components
 * to a Panel, remember to consider how you wish the Panel to arrange those child elements, and whether
 * those child elements need to be sized using one of Ext's built-in <code><b>{@link Ext.Container#layout layout}</b></code> schemes. By
 * default, Panels use the {@link Ext.layout.ContainerLayout ContainerLayout} scheme. This simply renders
 * child components, appending them one after the other inside the Container, and <b>does not apply any sizing</b>
 * at all.</p>
 * <p>A Panel may also contain {@link #bbar bottom} and {@link #tbar top} toolbars, along with separate
 * {@link #header}, {@link #footer} and {@link #body} sections (see {@link #frame} for additional
 * information).</p>
 * <p>Panel also provides built-in {@link #collapsible expandable and collapsible behavior}, along with
 * a variety of {@link #tools prebuilt tool buttons} that can be wired up to provide other customized
 * behavior.  Panels can be easily dropped into any {@link Ext.Container Container} or layout, and the
 * layout and rendering pipeline is {@link Ext.Container#add completely managed by the framework}.</p>
 * @constructor
 * @param {Object} config The config object
 * @xtype panel
 */

/**
 * @class Ext.ProgressBar
 * @extends Ext.BoxComponent
 * <p>An updateable progress bar component.  The progress bar supports two different modes: manual and automatic.</p>
 * <p>In manual mode, you are responsible for showing, updating (via {@link #updateProgress}) and clearing the
 * progress bar as needed from your own code.  This method is most appropriate when you want to show progress
 * throughout an operation that has predictable points of interest at which you can update the control.</p>
 * <p>In automatic mode, you simply call {@link #wait} and let the progress bar run indefinitely, only clearing it
 * once the operation is complete.  You can optionally have the progress bar wait for a specific amount of time
 * and then clear itself.  Automatic mode is most appropriate for timed operations or asynchronous operations in
 * which you have no need for indicating intermediate progress.</p>
 * @cfg {Float} value A floating point value between 0 and 1 (e.g., .5, defaults to 0)
 * @cfg {String} text The progress bar text (defaults to '')
 * @cfg {Mixed} textEl The element to render the progress text to (defaults to the progress
 * bar's internal text element)
 * @cfg {String} id The progress bar element's id (defaults to an auto-generated id)
 * @xtype progress
 */

/**
 * @class Ext.QuickTip
 * @extends Ext.ToolTip
 * @xtype quicktip
 * A specialized tooltip class for tooltips that can be specified in markup and automatically managed by the global
 * {@link Ext.QuickTips} instance.  See the QuickTips class header for additional usage details and examples.
 * @constructor
 * Create a new Tip
 * @param {Object} config The configuration options
 */

/**
 * @class Ext.QuickTips
 * <p>Provides attractive and customizable tooltips for any element. The QuickTips
 * singleton is used to configure and manage tooltips globally for multiple elements
 * in a generic manner.  To create individual tooltips with maximum customizability,
 * you should consider either {@link Ext.Tip} or {@link Ext.ToolTip}.</p>
 * <p>Quicktips can be configured via tag attributes directly in markup, or by
 * registering quick tips programmatically via the {@link #register} method.</p>
 * <p>The singleton's instance of {@link Ext.QuickTip} is available via
 * {@link #getQuickTip}, and supports all the methods, and all the all the
 * configuration properties of Ext.QuickTip. These settings will apply to all
 * tooltips shown by the singleton.</p>
 * <p>Below is the summary of the configuration properties which can be used.
 * For detailed descriptions see {@link #getQuickTip}</p>
 * <p><b>QuickTips singleton configs (all are optional)</b></p>
 * <div class="mdetail-params"><ul><li>dismissDelay</li>
 * <li>hideDelay</li>
 * <li>maxWidth</li>
 * <li>minWidth</li>
 * <li>showDelay</li>
 * <li>trackMouse</li></ul></div>
 * <p><b>Target element configs (optional unless otherwise noted)</b></p>
 * <div class="mdetail-params"><ul><li>autoHide</li>
 * <li>cls</li>
 * <li>dismissDelay (overrides singleton value)</li>
 * <li>target (required)</li>
 * <li>text (required)</li>
 * <li>title</li>
 * <li>width</li></ul></div>
 * <p>Here is an example showing how some of these config options could be used:</p>
 * <pre><code>
// Init the singleton.  Any tag-based quick tips will start working.
Ext.QuickTips.init();

// Apply a set of config properties to the singleton
Ext.apply(Ext.QuickTips.getQuickTip(), {
    maxWidth: 200,
    minWidth: 100,
    showDelay: 50,
    trackMouse: true
});

// Manually register a quick tip for a specific element
Ext.QuickTips.register({
    target: 'my-div',
    title: 'My Tooltip',
    text: 'This tooltip was added in code',
    width: 100,
    dismissDelay: 20
});
</code></pre>
 * <p>To register a quick tip in markup, you simply add one or more of the valid QuickTip attributes prefixed with
 * the <b>ext:</b> namespace.  The HTML element itself is automatically set as the quick tip target. Here is the summary
 * of supported attributes (optional unless otherwise noted):</p>
 * <ul><li><b>hide</b>: Specifying "user" is equivalent to setting autoHide = false.  Any other value will be the
 * same as autoHide = true.</li>
 * <li><b>qclass</b>: A CSS class to be applied to the quick tip (equivalent to the 'cls' target element config).</li>
 * <li><b>qtip (required)</b>: The quick tip text (equivalent to the 'text' target element config).</li>
 * <li><b>qtitle</b>: The quick tip title (equivalent to the 'title' target element config).</li>
 * <li><b>qwidth</b>: The quick tip width (equivalent to the 'width' target element config).</li></ul>
 * <p>Here is an example of configuring an HTML element to display a tooltip from markup:</p>
 * <pre><code>
// Add a quick tip to an HTML button
&lt;input type="button" value="OK" ext:qtitle="OK Button" ext:qwidth="100"
     ext:qtip="This is a quick tip from markup!">&lt;/input>
</code></pre>
 * @singleton
 */

/**
 * @class Ext.Resizable
 * @extends Ext.util.Observable
 * <p>Applies drag handles to an element to make it resizable. The drag handles are inserted into the element 
 * and positioned absolute. Some elements, such as a textarea or image, don't support this. To overcome that, you can wrap
 * the textarea in a div and set 'resizeChild' to true (or to the id of the element), <b>or</b> set wrap:true in your config and
 * the element will be wrapped for you automatically.</p>
 * <p>Here is the list of valid resize handles:</p>
 * <pre>
Value   Description
------  -------------------
 'n'     north
 's'     south
 'e'     east
 'w'     west
 'nw'    northwest
 'sw'    southwest
 'se'    southeast
 'ne'    northeast
 'all'   all
</pre>
 * <p>Here's an example showing the creation of a typical Resizable:</p>
 * <pre><code>
var resizer = new Ext.Resizable('element-id', {
    handles: 'all',
    minWidth: 200,
    minHeight: 100,
    maxWidth: 500,
    maxHeight: 400,
    pinned: true
});
resizer.on('resize', myHandler);
</code></pre>
 * <p>To hide a particular handle, set its display to none in CSS, or through script:<br>
 * resizer.east.setDisplayed(false);</p>
 * @constructor
 * Create a new resizable component
 * @param {Mixed} el The id or element to resize
 * @param {Object} config configuration options
  */

/**
 * @class Ext.Shadow
 * Simple class that can provide a shadow effect for any element.  Note that the element MUST be absolutely positioned,
 * and the shadow does not provide any shimming.  This should be used only in simple cases -- for more advanced
 * functionality that can also provide the same shadow effect, see the {@link Ext.Layer} class.
 * @constructor
 * Create a new Shadow
 * @param {Object} config The config object
 */

/**
 * @class Ext.Slider
 * @extends Ext.BoxComponent
 * Slider which supports vertical or horizontal orientation, keyboard adjustments,
 * configurable snapping, axis clicking and animation. Can be added as an item to
 * any container. Example usage:
<pre><code>
new Ext.Slider({
    renderTo: Ext.getBody(),
    width: 200,
    value: 50,
    increment: 10,
    minValue: 0,
    maxValue: 100
});
</code></pre>
 */

/**
 * @class Ext.Spacer
 * @extends Ext.BoxComponent
 * <p>Used to provide a sizable space in a layout.</p>
 * @constructor
 * @param {Object} config
 */

/**
 * @class Ext.SplitBar
 * @extends Ext.util.Observable
 * Creates draggable splitter bar functionality from two elements (element to be dragged and element to be resized).
 * <br><br>
 * Usage:
 * <pre><code>
var split = new Ext.SplitBar("elementToDrag", "elementToSize",
                   Ext.SplitBar.HORIZONTAL, Ext.SplitBar.LEFT);
split.setAdapter(new Ext.SplitBar.AbsoluteLayoutAdapter("container"));
split.minSize = 100;
split.maxSize = 600;
split.animate = true;
split.on('moved', splitterMoved);
</code></pre>
 * @constructor
 * Create a new SplitBar
 * @param {Mixed} dragElement The element to be dragged and act as the SplitBar.
 * @param {Mixed} resizingElement The element to be resized based on where the SplitBar element is dragged
 * @param {Number} orientation (optional) Either Ext.SplitBar.HORIZONTAL or Ext.SplitBar.VERTICAL. (Defaults to HORIZONTAL)
 * @param {Number} placement (optional) Either Ext.SplitBar.LEFT or Ext.SplitBar.RIGHT for horizontal or
                        Ext.SplitBar.TOP or Ext.SplitBar.BOTTOM for vertical. (By default, this is determined automatically by the initial
                        position of the SplitBar).
 */

/**
 * @class Ext.SplitBar.BasicLayoutAdapter
 * Default Adapter. It assumes the splitter and resizing element are not positioned
 * elements and only gets/sets the width of the element. Generally used for table based layouts.
 */

/**
 * @class Ext.SplitButton
 * @extends Ext.Button
 * A split button that provides a built-in dropdown arrow that can fire an event separately from the default
 * click event of the button.  Typically this would be used to display a dropdown menu that provides additional
 * options to the primary button action, but any custom handler can provide the arrowclick implementation.  Example usage:
 * <pre><code>
// display a dropdown menu:
new Ext.SplitButton({
	renderTo: 'button-ct', // the container id
   	text: 'Options',
   	handler: optionsHandler, // handle a click on the button itself
   	menu: new Ext.menu.Menu({
        items: [
        	// these items will render as dropdown menu items when the arrow is clicked:
	        {text: 'Item 1', handler: item1Handler},
	        {text: 'Item 2', handler: item2Handler}
        ]
   	})
});

// Instead of showing a menu, you provide any type of custom
// functionality you want when the dropdown arrow is clicked:
new Ext.SplitButton({
	renderTo: 'button-ct',
   	text: 'Options',
   	handler: optionsHandler,
   	arrowHandler: myCustomHandler
});
</code></pre>
 * @cfg {Function} arrowHandler A function called when the arrow button is clicked (can be used instead of click event)
 * @cfg {String} arrowTooltip The title attribute of the arrow
 * @constructor
 * Create a new menu button
 * @param {Object} config The config object
 * @xtype splitbutton
 */

/**
 * @class Ext.StoreMgr
 * @extends Ext.util.MixedCollection
 * The default global group of stores.
 * @singleton
 */

/**
 * @class Ext.TabPanel
 * <p>A basic tab container. TabPanels can be used exactly like a standard {@link Ext.Panel}
 * for layout purposes, but also have special support for containing child Components
 * (<tt>{@link Ext.Container#items items}</tt>) that are managed using a
 * {@link Ext.layout.CardLayout CardLayout layout manager}, and displayed as separate tabs.</p>
 *
 * <b>Note:</b> By default, a tab's close tool <i>destroys</i> the child tab Component
 * and all its descendants. This makes the child tab Component, and all its descendants <b>unusable</b>. To enable
 * re-use of a tab, configure the TabPanel with <b><code>{@link #autoDestroy autoDestroy: false}</code></b>.
 *
 * <p><b><u>TabPanel header/footer elements</u></b></p>
 * <p>TabPanels use their {@link Ext.Panel#header header} or {@link Ext.Panel#footer footer} element
 * (depending on the {@link #tabPosition} configuration) to accommodate the tab selector buttons.
 * This means that a TabPanel will not display any configured title, and will not display any
 * configured header {@link Ext.Panel#tools tools}.</p>
 * <p>To display a header, embed the TabPanel in a {@link Ext.Panel Panel} which uses
 * <b><tt>{@link Ext.Container#layout layout:'fit'}</tt></b>.</p>
 *
 * <p><b><u>Tab Events</u></b></p>
 * <p>There is no actual tab class &mdash; each tab is simply a {@link Ext.BoxComponent Component}
 * such as a {@link Ext.Panel Panel}. However, when rendered in a TabPanel, each child Component
 * can fire additional events that only exist for tabs and are not available from other Components.
 * These events are:</p>
 * <div><ul class="mdetail-params">
 * <li><tt><b>{@link Ext.Panel#activate activate}</b></tt> : Fires when this Component becomes
 * the active tab.</li>
 * <li><tt><b>{@link Ext.Panel#deactivate deactivate}</b></tt> : Fires when the Component that
 * was the active tab becomes deactivated.</li>
 * <li><tt><b>{@link Ext.Panel#beforeclose beforeclose}</b></tt> : Fires when the user clicks on the close tool of a closeable tab.
 * May be vetoed by returning <code>false</code> from a handler.</li>
 * <li><tt><b>{@link Ext.Panel#close close}</b></tt> : Fires a closeable tab has been closed by the user.</li>
 * </ul></div>
 * <p><b><u>Creating TabPanels from Code</u></b></p>
 * <p>TabPanels can be created and rendered completely in code, as in this example:</p>
 * <pre><code>
var tabs = new Ext.TabPanel({
    renderTo: Ext.getBody(),
    activeTab: 0,
    items: [{
        title: 'Tab 1',
        html: 'A simple tab'
    },{
        title: 'Tab 2',
        html: 'Another one'
    }]
});
</code></pre>
 * <p><b><u>Creating TabPanels from Existing Markup</u></b></p>
 * <p>TabPanels can also be rendered from pre-existing markup in a couple of ways.</p>
 * <div><ul class="mdetail-params">
 *
 * <li>Pre-Structured Markup</li>
 * <div class="sub-desc">
 * <p>A container div with one or more nested tab divs with class <tt>'x-tab'</tt> can be rendered entirely
 * from existing markup (See the {@link #autoTabs} example).</p>
 * </div>
 *
 * <li>Un-Structured Markup</li>
 * <div class="sub-desc">
 * <p>A TabPanel can also be rendered from markup that is not strictly structured by simply specifying by id
 * which elements should be the container and the tabs. Using this method tab content can be pulled from different
 * elements within the page by id regardless of page structure. For example:</p>
 * <pre><code>
var tabs = new Ext.TabPanel({
    renderTo: 'my-tabs',
    activeTab: 0,
    items:[
        {contentEl:'tab1', title:'Tab 1'},
        {contentEl:'tab2', title:'Tab 2'}
    ]
});

// Note that the tabs do not have to be nested within the container (although they can be)
&lt;div id="my-tabs">&lt;/div>
&lt;div id="tab1" class="x-hide-display">A simple tab&lt;/div>
&lt;div id="tab2" class="x-hide-display">Another one&lt;/div>
</code></pre>
 * Note that the tab divs in this example contain the class <tt>'x-hide-display'</tt> so that they can be rendered
 * deferred without displaying outside the tabs. You could alternately set <tt>{@link #deferredRender} = false </tt>
 * to render all content tabs on page load.
 * </div>
 *
 * </ul></div>
 *
 * @extends Ext.Panel
 * @constructor
 * @param {Object} config The configuration options
 * @xtype tabpanel
 */

/**
 * @class Ext.TaskMgr
 * @extends Ext.util.TaskRunner
 * A static {@link Ext.util.TaskRunner} instance that can be used to start and stop arbitrary tasks.  See
 * {@link Ext.util.TaskRunner} for supported methods and task config properties.
 * <pre><code>
// Start a simple clock task that updates a div once per second
var task = {
    run: function(){
        Ext.fly('clock').update(new Date().format('g:i:s A'));
    },
    interval: 1000 //1 second
}
Ext.TaskMgr.start(task);
</code></pre>
 * @singleton
 */

/**
 * @class Ext.Template
 * <p>Represents an HTML fragment template. Templates may be {@link #compile precompiled}
 * for greater performance.</p>
 * <p>For example usage {@link #Template see the constructor}.</p>
 * 
 * @constructor
 * An instance of this class may be created by passing to the constructor either
 * a single argument, or multiple arguments:
 * <div class="mdetail-params"><ul>
 * <li><b>single argument</b> : String/Array
 * <div class="sub-desc">
 * The single argument may be either a String or an Array:<ul>
 * <li><tt>String</tt> : </li><pre><code>
var t = new Ext.Template("&lt;div>Hello {0}.&lt;/div>");
t.{@link #append}('some-element', ['foo']);
 * </code></pre>
 * <li><tt>Array</tt> : </li>
 * An Array will be combined with <code>join('')</code>.
<pre><code>
var t = new Ext.Template([
    '&lt;div name="{id}"&gt;',
        '&lt;span class="{cls}"&gt;{name:trim} {value:ellipsis(10)}&lt;/span&gt;',
    '&lt;/div&gt;',
]);
t.{@link #compile}();
t.{@link #append}('some-element', {id: 'myid', cls: 'myclass', name: 'foo', value: 'bar'});
</code></pre>
 * </ul></div></li>
 * <li><b>multiple arguments</b> : String, Object, Array, ...
 * <div class="sub-desc">
 * Multiple arguments will be combined with <code>join('')</code>.
 * <pre><code>
var t = new Ext.Template(
    '&lt;div name="{id}"&gt;',
        '&lt;span class="{cls}"&gt;{name} {value}&lt;/span&gt;',
    '&lt;/div&gt;',
    // a configuration object:
    {
        compiled: true,      // {@link #compile} immediately
        disableFormats: true // See Notes below.
    } 
);
 * </code></pre>
 * <p><b>Notes</b>:</p>
 * <div class="mdetail-params"><ul>
 * <li>Formatting and <code>disableFormats</code> are not applicable for Ext Core.</li>
 * <li>For a list of available format functions, see {@link Ext.util.Format}.</li>
 * <li><code>disableFormats</code> reduces <code>{@link #apply}</code> time
 * when no formatting is required.</li>
 * </ul></div>
 * </div></li>
 * </ul></div>
 * @param {Mixed} config
 */

/**
 * @class Ext.Template
 */

/**
 * @class Ext.Tip
 * @extends Ext.Panel
 * @xtype tip
 * This is the base class for {@link Ext.QuickTip} and {@link Ext.Tooltip} that provides the basic layout and
 * positioning that all tip-based classes require. This class can be used directly for simple, statically-positioned
 * tips that are displayed programmatically, or it can be extended to provide custom tip implementations.
 * @constructor
 * Create a new Tip
 * @param {Object} config The configuration options
 */

/**
 * @class Ext.ToolTip
 * @extends Ext.Tip
 * A standard tooltip implementation for providing additional information when hovering over a target element.
 * @xtype tooltip
 * @constructor
 * Create a new Tooltip
 * @param {Object} config The configuration options
 */

/**
 * @class Ext.Toolbar
 * @extends Ext.Container
 * <p>Basic Toolbar class. Although the <tt>{@link Ext.Container#defaultType defaultType}</tt> for Toolbar
 * is <tt>{@link Ext.Button button}</tt>, Toolbar elements (child items for the Toolbar container) may
 * be virtually any type of Component. Toolbar elements can be created explicitly via their constructors,
 * or implicitly via their xtypes, and can be <tt>{@link #add}</tt>ed dynamically.</p>
 * <p>Some items have shortcut strings for creation:</p>
 * <pre>
<u>Shortcut</u>  <u>xtype</u>          <u>Class</u>                  <u>Description</u>
'->'      'tbfill'       {@link Ext.Toolbar.Fill}       begin using the right-justified button container
'-'       'tbseparator'  {@link Ext.Toolbar.Separator}  add a vertical separator bar between toolbar items
' '       'tbspacer'     {@link Ext.Toolbar.Spacer}     add horiztonal space between elements
 * </pre>
 *
 * Example usage of various elements:
 * <pre><code>
var tb = new Ext.Toolbar({
    renderTo: document.body,
    width: 600,
    height: 100,
    items: [
        {
            // xtype: 'button', // default for Toolbars, same as 'tbbutton'
            text: 'Button'
        },
        {
            xtype: 'splitbutton', // same as 'tbsplitbutton'
            text: 'Split Button'
        },
        // begin using the right-justified button container
        '->', // same as {xtype: 'tbfill'}, // Ext.Toolbar.Fill
        {
            xtype: 'textfield',
            name: 'field1',
            emptyText: 'enter search term'
        },
        // add a vertical separator bar between toolbar items
        '-', // same as {xtype: 'tbseparator'} to create Ext.Toolbar.Separator
        'text 1', // same as {xtype: 'tbtext', text: 'text1'} to create Ext.Toolbar.TextItem
        {xtype: 'tbspacer'},// same as ' ' to create Ext.Toolbar.Spacer
        'text 2',
        {xtype: 'tbspacer', width: 50}, // add a 50px space
        'text 3'
    ]
});
 * </code></pre>
 * Example adding a ComboBox within a menu of a button:
 * <pre><code>
// ComboBox creation
var combo = new Ext.form.ComboBox({
    store: new Ext.data.ArrayStore({
        autoDestroy: true,
        fields: ['initials', 'fullname'],
        data : [
            ['FF', 'Fred Flintstone'],
            ['BR', 'Barney Rubble']
        ]
    }),
    displayField: 'fullname',
    typeAhead: true,
    mode: 'local',
    forceSelection: true,
    triggerAction: 'all',
    emptyText: 'Select a name...',
    selectOnFocus: true,
    width: 135,
    getListParent: function() {
        return this.el.up('.x-menu');
    },
    iconCls: 'no-icon' //use iconCls if placing within menu to shift to right side of menu
});

// put ComboBox in a Menu
var menu = new Ext.menu.Menu({
    id: 'mainMenu',
    items: [
        combo // A Field in a Menu
    ]
});

// add a Button with the menu
tb.add({
        text:'Button w/ Menu',
        menu: menu  // assign menu by instance
    });
tb.doLayout();
 * </code></pre>
 * @constructor
 * Creates a new Toolbar
 * @param {Object/Array} config A config object or an array of buttons to <tt>{@link #add}</tt>
 * @xtype toolbar
 */

/**
 * @class Ext.Updater
 * @extends Ext.util.Observable
 * Provides AJAX-style update capabilities for Element objects.  Updater can be used to {@link #update}
 * an {@link Ext.Element} once, or you can use {@link #startAutoRefresh} to set up an auto-updating
 * {@link Ext.Element Element} on a specific interval.<br><br>
 * Usage:<br>
 * <pre><code>
 * var el = Ext.get("foo"); // Get Ext.Element object
 * var mgr = el.getUpdater();
 * mgr.update({
        url: "http://myserver.com/index.php",
        params: {
            param1: "foo",
            param2: "bar"
        }
 * });
 * ...
 * mgr.formUpdate("myFormId", "http://myserver.com/index.php");
 * <br>
 * // or directly (returns the same Updater instance)
 * var mgr = new Ext.Updater("myElementId");
 * mgr.startAutoRefresh(60, "http://myserver.com/index.php");
 * mgr.on("update", myFcnNeedsToKnow);
 * <br>
 * // short handed call directly from the element object
 * Ext.get("foo").load({
        url: "bar.php",
        scripts: true,
        params: "param1=foo&amp;param2=bar",
        text: "Loading Foo..."
 * });
 * </code></pre>
 * @constructor
 * Create new Updater directly.
 * @param {Mixed} el The element to update
 * @param {Boolean} forceNew (optional) By default the constructor checks to see if the passed element already
 * has an Updater and if it does it returns the same instance. This will skip that check (useful for extending this class).
 */

/**
 * @class Ext.Updater.BasicRenderer
 * <p>This class is a base class implementing a simple render method which updates an element using results from an Ajax request.</p>
 * <p>The BasicRenderer updates the element's innerHTML with the responseText. To perform a custom render (i.e. XML or JSON processing),
 * create an object with a conforming {@link #render} method and pass it to setRenderer on the Updater.</p>
 */

/**
 * @class Ext.Updater.defaults
 * The defaults collection enables customizing the default properties of Updater
 */

/**
 * @class Ext.Viewport
 * @extends Ext.Container
 * <p>A specialized container representing the viewable application area (the browser viewport).</p>
 * <p>The Viewport renders itself to the document body, and automatically sizes itself to the size of
 * the browser viewport and manages window resizing. There may only be one Viewport created
 * in a page. Inner layouts are available by virtue of the fact that all {@link Ext.Panel Panel}s
 * added to the Viewport, either through its {@link #items}, or through the items, or the {@link #add}
 * method of any of its child Panels may themselves have a layout.</p>
 * <p>The Viewport does not provide scrolling, so child Panels within the Viewport should provide
 * for scrolling if needed using the {@link #autoScroll} config.</p>
 * <p>An example showing a classic application border layout:</p><pre><code>
new Ext.Viewport({
    layout: 'border',
    items: [{
        region: 'north',
        html: '&lt;h1 class="x-panel-header">Page Title&lt;/h1>',
        autoHeight: true,
        border: false,
        margins: '0 0 5 0'
    }, {
        region: 'west',
        collapsible: true,
        title: 'Navigation',
        width: 200
        // the west region might typically utilize a {@link Ext.tree.TreePanel TreePanel} or a Panel with {@link Ext.layout.AccordionLayout Accordion layout}
    }, {
        region: 'south',
        title: 'Title for Panel',
        collapsible: true,
        html: 'Information goes here',
        split: true,
        height: 100,
        minHeight: 100
    }, {
        region: 'east',
        title: 'Title for the Grid Panel',
        collapsible: true,
        split: true,
        width: 200,
        xtype: 'grid',
        // remaining grid configuration not shown ...
        // notice that the GridPanel is added directly as the region
        // it is not "overnested" inside another Panel
    }, {
        region: 'center',
        xtype: 'tabpanel', // TabPanel itself has no title
        items: {
            title: 'Default Tab',
            html: 'The first tab\'s content. Others may be added dynamically'
        }
    }]
});
</code></pre>
 * @constructor
 * Create a new Viewport
 * @param {Object} config The config object
 * @xtype viewport
 */

/**
 * @class Ext.Window
 * @extends Ext.Panel
 * <p>A specialized panel intended for use as an application window.  Windows are floated, {@link #resizable}, and
 * {@link #draggable} by default.  Windows can be {@link #maximizable maximized} to fill the viewport,
 * restored to their prior size, and can be {@link #minimize}d.</p>
 * <p>Windows can also be linked to a {@link Ext.WindowGroup} or managed by the {@link Ext.WindowMgr} to provide
 * grouping, activation, to front, to back and other application-specific behavior.</p>
 * <p>By default, Windows will be rendered to document.body. To {@link #constrain} a Window to another element
 * specify {@link Ext.Component#renderTo renderTo}.</p>
 * <p><b>Note:</b> By default, the <code>{@link #closable close}</code> header tool <i>destroys</i> the Window resulting in
 * destruction of any child Components. This makes the Window object, and all its descendants <b>unusable</b>. To enable
 * re-use of a Window, use <b><code>{@link #closeAction closeAction: 'hide'}</code></b>.</p>
 * @constructor
 * @param {Object} config The config object
 * @xtype window
 */

/**
 * @class Ext.WindowGroup
 * An object that manages a group of {@link Ext.Window} instances and provides z-order management
 * and window activation behavior.
 * @constructor
 */

/**
 * @class Ext.WindowMgr
 * @extends Ext.WindowGroup
 * The default global window group that is available automatically.  To have more than one group of windows
 * with separate z-order stacks, create additional instances of {@link Ext.WindowGroup} as needed.
 * @singleton
 */

/**
 * @class Ext.XTemplate
 * @extends Ext.Template
 * <p>A template class that supports advanced functionality like:<div class="mdetail-params"><ul>
 * <li>Autofilling arrays using templates and sub-templates</li>
 * <li>Conditional processing with basic comparison operators</li>
 * <li>Basic math function support</li>
 * <li>Execute arbitrary inline code with special built-in template variables</li>
 * <li>Custom member functions</li>
 * <li>Many special tags and built-in operators that aren't defined as part of
 * the API, but are supported in the templates that can be created</li>
 * </ul></div></p>
 * <p>XTemplate provides the templating mechanism built into:<div class="mdetail-params"><ul>
 * <li>{@link Ext.DataView}</li>
 * <li>{@link Ext.ListView}</li>
 * <li>{@link Ext.form.ComboBox}</li>
 * <li>{@link Ext.grid.TemplateColumn}</li>
 * <li>{@link Ext.grid.GroupingView}</li>
 * <li>{@link Ext.menu.Item}</li>
 * <li>{@link Ext.layout.MenuLayout}</li>
 * <li>{@link Ext.ColorPalette}</li>
 * </ul></div></p>
 * 
 * <p>For example usage {@link #XTemplate see the constructor}.</p>  
 *   
 * @constructor
 * The {@link Ext.Template#Template Ext.Template constructor} describes
 * the acceptable parameters to pass to the constructor. The following
 * examples demonstrate all of the supported features.</p>
 * 
 * <div class="mdetail-params"><ul>
 * 
 * <li><b><u>Sample Data</u></b> 
 * <div class="sub-desc">
 * <p>This is the data object used for reference in each code example:</p>
 * <pre><code>
var data = {
    name: 'Jack Slocum',
    title: 'Lead Developer',
    company: 'Ext JS, LLC',
    email: 'jack@extjs.com',
    address: '4 Red Bulls Drive',
    city: 'Cleveland',
    state: 'Ohio',
    zip: '44102',
    drinks: ['Red Bull', 'Coffee', 'Water'],
    kids: [{
        name: 'Sara Grace',
        age:3
    },{
        name: 'Zachary',
        age:2
    },{
        name: 'John James',
        age:0
    }]
};
 * </code></pre>
 * </div>
 * </li>
 * 
 * 
 * <li><b><u>Auto filling of arrays</u></b> 
 * <div class="sub-desc">
 * <p>The <b><tt>tpl</tt></b> tag and the <b><tt>for</tt></b> operator are used
 * to process the provided data object:
 * <ul>
 * <li>If the value specified in <tt>for</tt> is an array, it will auto-fill,
 * repeating the template block inside the <tt>tpl</tt> tag for each item in the
 * array.</li>
 * <li>If <tt>for="."</tt> is specified, the data object provided is examined.</li>
 * <li>While processing an array, the special variable <tt>{#}</tt>
 * will provide the current array index + 1 (starts at 1, not 0).</li>
 * </ul>
 * </p>
 * <pre><code>
&lt;tpl <b>for</b>=".">...&lt;/tpl>       // loop through array at root node
&lt;tpl <b>for</b>="foo">...&lt;/tpl>     // loop through array at foo node
&lt;tpl <b>for</b>="foo.bar">...&lt;/tpl> // loop through array at foo.bar node
 * </code></pre>
 * Using the sample data above:
 * <pre><code>
var tpl = new Ext.XTemplate(
    '&lt;p>Kids: ',
    '&lt;tpl <b>for</b>=".">',       // process the data.kids node
        '&lt;p>{#}. {name}&lt;/p>',  // use current array index to autonumber
    '&lt;/tpl>&lt;/p>'
);
tpl.overwrite(panel.body, data.kids); // pass the kids property of the data object
 * </code></pre>
 * <p>An example illustrating how the <b><tt>for</tt></b> property can be leveraged
 * to access specified members of the provided data object to populate the template:</p>
 * <pre><code>
var tpl = new Ext.XTemplate(
    '&lt;p>Name: {name}&lt;/p>',
    '&lt;p>Title: {title}&lt;/p>',
    '&lt;p>Company: {company}&lt;/p>',
    '&lt;p>Kids: ',
    '&lt;tpl <b>for="kids"</b>>',     // interrogate the kids property within the data
        '&lt;p>{name}&lt;/p>',
    '&lt;/tpl>&lt;/p>'
);
tpl.overwrite(panel.body, data);  // pass the root node of the data object
 * </code></pre>
 * <p>Flat arrays that contain values (and not objects) can be auto-rendered
 * using the special <b><tt>{.}</tt></b> variable inside a loop.  This variable
 * will represent the value of the array at the current index:</p>
 * <pre><code>
var tpl = new Ext.XTemplate(
    '&lt;p>{name}\&#39;s favorite beverages:&lt;/p>',
    '&lt;tpl for="drinks">',
       '&lt;div> - {.}&lt;/div>',
    '&lt;/tpl>'
);
tpl.overwrite(panel.body, data);
 * </code></pre>
 * <p>When processing a sub-template, for example while looping through a child array,
 * you can access the parent object's members via the <b><tt>parent</tt></b> object:</p>
 * <pre><code>
var tpl = new Ext.XTemplate(
    '&lt;p>Name: {name}&lt;/p>',
    '&lt;p>Kids: ',
    '&lt;tpl for="kids">',
        '&lt;tpl if="age > 1">',
            '&lt;p>{name}&lt;/p>',
            '&lt;p>Dad: {<b>parent</b>.name}&lt;/p>',
        '&lt;/tpl>',
    '&lt;/tpl>&lt;/p>'
);
tpl.overwrite(panel.body, data);
 * </code></pre>
 * </div>
 * </li>
 * 
 * 
 * <li><b><u>Conditional processing with basic comparison operators</u></b> 
 * <div class="sub-desc">
 * <p>The <b><tt>tpl</tt></b> tag and the <b><tt>if</tt></b> operator are used
 * to provide conditional checks for deciding whether or not to render specific
 * parts of the template. Notes:<div class="sub-desc"><ul>
 * <li>Double quotes must be encoded if used within the conditional</li>
 * <li>There is no <tt>else</tt> operator &mdash; if needed, two opposite
 * <tt>if</tt> statements should be used.</li>
 * </ul></div>
 * <pre><code>
&lt;tpl if="age &gt; 1 &amp;&amp; age &lt; 10">Child&lt;/tpl>
&lt;tpl if="age >= 10 && age < 18">Teenager&lt;/tpl>
&lt;tpl <b>if</b>="this.isGirl(name)">...&lt;/tpl>
&lt;tpl <b>if</b>="id==\'download\'">...&lt;/tpl>
&lt;tpl <b>if</b>="needsIcon">&lt;img src="{icon}" class="{iconCls}"/>&lt;/tpl>
// no good:
&lt;tpl if="name == "Jack"">Hello&lt;/tpl>
// encode &#34; if it is part of the condition, e.g.
&lt;tpl if="name == &#38;quot;Jack&#38;quot;">Hello&lt;/tpl>
 * </code></pre>
 * Using the sample data above:
 * <pre><code>
var tpl = new Ext.XTemplate(
    '&lt;p>Name: {name}&lt;/p>',
    '&lt;p>Kids: ',
    '&lt;tpl for="kids">',
        '&lt;tpl if="age > 1">',
            '&lt;p>{name}&lt;/p>',
        '&lt;/tpl>',
    '&lt;/tpl>&lt;/p>'
);
tpl.overwrite(panel.body, data);
 * </code></pre>
 * </div>
 * </li>
 * 
 * 
 * <li><b><u>Basic math support</u></b> 
 * <div class="sub-desc">
 * <p>The following basic math operators may be applied directly on numeric
 * data values:</p><pre>
 * + - * /
 * </pre>
 * For example:
 * <pre><code>
var tpl = new Ext.XTemplate(
    '&lt;p>Name: {name}&lt;/p>',
    '&lt;p>Kids: ',
    '&lt;tpl for="kids">',
        '&lt;tpl if="age &amp;gt; 1">',  // <-- Note that the &gt; is encoded
            '&lt;p>{#}: {name}&lt;/p>',  // <-- Auto-number each item
            '&lt;p>In 5 Years: {age+5}&lt;/p>',  // <-- Basic math
            '&lt;p>Dad: {parent.name}&lt;/p>',
        '&lt;/tpl>',
    '&lt;/tpl>&lt;/p>'
);
tpl.overwrite(panel.body, data);
</code></pre>
 * </div>
 * </li>
 *
 * 
 * <li><b><u>Execute arbitrary inline code with special built-in template variables</u></b> 
 * <div class="sub-desc">
 * <p>Anything between <code>{[ ... ]}</code> is considered code to be executed
 * in the scope of the template. There are some special variables available in that code:
 * <ul>
 * <li><b><tt>values</tt></b>: The values in the current scope. If you are using
 * scope changing sub-templates, you can change what <tt>values</tt> is.</li>
 * <li><b><tt>parent</tt></b>: The scope (values) of the ancestor template.</li>
 * <li><b><tt>xindex</tt></b>: If you are in a looping template, the index of the
 * loop you are in (1-based).</li>
 * <li><b><tt>xcount</tt></b>: If you are in a looping template, the total length
 * of the array you are looping.</li>
 * <li><b><tt>fm</tt></b>: An alias for <tt>Ext.util.Format</tt>.</li>
 * </ul>
 * This example demonstrates basic row striping using an inline code block and the
 * <tt>xindex</tt> variable:</p>
 * <pre><code>
var tpl = new Ext.XTemplate(
    '&lt;p>Name: {name}&lt;/p>',
    '&lt;p>Company: {[values.company.toUpperCase() + ", " + values.title]}&lt;/p>',
    '&lt;p>Kids: ',
    '&lt;tpl for="kids">',
       '&lt;div class="{[xindex % 2 === 0 ? "even" : "odd"]}">',
        '{name}',
        '&lt;/div>',
    '&lt;/tpl>&lt;/p>'
);
tpl.overwrite(panel.body, data);
 * </code></pre>
 * </div>
 * </li>
 * 
 * <li><b><u>Template member functions</u></b> 
 * <div class="sub-desc">
 * <p>One or more member functions can be specified in a configuration
 * object passed into the XTemplate constructor for more complex processing:</p>
 * <pre><code>
var tpl = new Ext.XTemplate(
    '&lt;p>Name: {name}&lt;/p>',
    '&lt;p>Kids: ',
    '&lt;tpl for="kids">',
        '&lt;tpl if="this.isGirl(name)">',
            '&lt;p>Girl: {name} - {age}&lt;/p>',
        '&lt;/tpl>',
        // use opposite if statement to simulate 'else' processing:
        '&lt;tpl if="this.isGirl(name) == false">',
            '&lt;p>Boy: {name} - {age}&lt;/p>',
        '&lt;/tpl>',
        '&lt;tpl if="this.isBaby(age)">',
            '&lt;p>{name} is a baby!&lt;/p>',
        '&lt;/tpl>',
    '&lt;/tpl>&lt;/p>',
    {
        // XTemplate configuration:
        compiled: true,
        disableFormats: true,
        // member functions:
        isGirl: function(name){
            return name == 'Sara Grace';
        },
        isBaby: function(age){
            return age < 1;
        }
    }
);
tpl.overwrite(panel.body, data);
 * </code></pre>
 * </div>
 * </li>
 * 
 * </ul></div>
 * 
 * @param {Mixed} config
 */

/**
 * @class Ext.data.Api
 * @extends Object
 * Ext.data.Api is a singleton designed to manage the data API including methods
 * for validating a developer's DataProxy API.  Defines variables for CRUD actions
 * create, read, update and destroy in addition to a mapping of RESTful HTTP methods
 * GET, POST, PUT and DELETE to CRUD actions.
 * @singleton
 */

/**
 * @class Ext.data.Api.Error
 * @extends Ext.Error
 * Error class for Ext.data.Api errors
 */

/**
 * @class Ext.data.ArrayReader
 * @extends Ext.data.JsonReader
 * <p>Data reader class to create an Array of {@link Ext.data.Record} objects from an Array.
 * Each element of that Array represents a row of data fields. The
 * fields are pulled into a Record object using as a subscript, the <code>mapping</code> property
 * of the field definition if it exists, or the field's ordinal position in the definition.</p>
 * <p>Example code:</p>
 * <pre><code>
var Employee = Ext.data.Record.create([
    {name: 'name', mapping: 1},         // "mapping" only needed if an "id" field is present which
    {name: 'occupation', mapping: 2}    // precludes using the ordinal position as the index.
]);
var myReader = new Ext.data.ArrayReader({
    {@link #idIndex}: 0
}, Employee);
</code></pre>
 * <p>This would consume an Array like this:</p>
 * <pre><code>
[ [1, 'Bill', 'Gardener'], [2, 'Ben', 'Horticulturalist'] ]
 * </code></pre>
 * @constructor
 * Create a new ArrayReader
 * @param {Object} meta Metadata configuration options.
 * @param {Array/Object} recordType
 * <p>Either an Array of {@link Ext.data.Field Field} definition objects (which
 * will be passed to {@link Ext.data.Record#create}, or a {@link Ext.data.Record Record}
 * constructor created from {@link Ext.data.Record#create}.</p>
 */

/**
 * @class Ext.data.ArrayStore
 * @extends Ext.data.Store
 * <p>Formerly known as "SimpleStore".</p>
 * <p>Small helper class to make creating {@link Ext.data.Store}s from Array data easier.
 * An ArrayStore will be automatically configured with a {@link Ext.data.ArrayReader}.</p>
 * <p>A store configuration would be something like:<pre><code>
var store = new Ext.data.ArrayStore({
    // store configs
    autoDestroy: true,
    storeId: 'myStore',
    // reader configs
    idIndex: 0,  
    fields: [
       'company',
       {name: 'price', type: 'float'},
       {name: 'change', type: 'float'},
       {name: 'pctChange', type: 'float'},
       {name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'}
    ]
});
 * </code></pre></p>
 * <p>This store is configured to consume a returned object of the form:<pre><code>
var myData = [
    ['3m Co',71.72,0.02,0.03,'9/1 12:00am'],
    ['Alcoa Inc',29.01,0.42,1.47,'9/1 12:00am'],
    ['Boeing Co.',75.43,0.53,0.71,'9/1 12:00am'],
    ['Hewlett-Packard Co.',36.53,-0.03,-0.08,'9/1 12:00am'],
    ['Wal-Mart Stores, Inc.',45.45,0.73,1.63,'9/1 12:00am']
];
 * </code></pre>
 * An object literal of this form could also be used as the {@link #data} config option.</p>
 * <p><b>*Note:</b> Although not listed here, this class accepts all of the configuration options of 
 * <b>{@link Ext.data.ArrayReader ArrayReader}</b>.</p>
 * @constructor
 * @param {Object} config
 * @xtype arraystore
 */

/**
 * @class Ext.data.DataProxy
 * @extends Ext.util.Observable
 * <p>Abstract base class for implementations which provide retrieval of unformatted data objects.
 * This class is intended to be extended and should not be created directly. For existing implementations,
 * see {@link Ext.data.DirectProxy}, {@link Ext.data.HttpProxy}, {@link Ext.data.ScriptTagProxy} and
 * {@link Ext.data.MemoryProxy}.</p>
 * <p>DataProxy implementations are usually used in conjunction with an implementation of {@link Ext.data.DataReader}
 * (of the appropriate type which knows how to parse the data object) to provide a block of
 * {@link Ext.data.Records} to an {@link Ext.data.Store}.</p>
 * <p>The parameter to a DataProxy constructor may be an {@link Ext.data.Connection} or can also be the
 * config object to an {@link Ext.data.Connection}.</p>
 * <p>Custom implementations must implement either the <code><b>doRequest</b></code> method (preferred) or the
 * <code>load</code> method (deprecated). See
 * {@link Ext.data.HttpProxy}.{@link Ext.data.HttpProxy#doRequest doRequest} or
 * {@link Ext.data.HttpProxy}.{@link Ext.data.HttpProxy#load load} for additional details.</p>
 * <p><b><u>Example 1</u></b></p>
 * <pre><code>
proxy: new Ext.data.ScriptTagProxy({
    {@link Ext.data.Connection#url url}: 'http://extjs.com/forum/topics-remote.php'
}),
 * </code></pre>
 * <p><b><u>Example 2</u></b></p>
 * <pre><code>
proxy : new Ext.data.HttpProxy({
    {@link Ext.data.Connection#method method}: 'GET',
    {@link Ext.data.HttpProxy#prettyUrls prettyUrls}: false,
    {@link Ext.data.Connection#url url}: 'local/default.php', // see options parameter for {@link Ext.Ajax#request}
    {@link #api}: {
        // all actions except the following will use above url
        create  : 'local/new.php',
        update  : 'local/update.php'
    }
}),
 * </code></pre>
 * <p>And <b>new in Ext version 3</b>, attach centralized event-listeners upon the DataProxy class itself!  This is a great place
 * to implement a <i>messaging system</i> to centralize your application's user-feedback and error-handling.</p>
 * <pre><code>
// Listen to all "beforewrite" event fired by all proxies.
Ext.data.DataProxy.on('beforewrite', function(proxy, action) {
    console.log('beforewrite: ', action);
});

// Listen to "write" event fired by all proxies
Ext.data.DataProxy.on('write', function(proxy, action, data, res, rs) {
    console.info('write: ', action);
});

// Listen to "exception" event fired by all proxies
Ext.data.DataProxy.on('exception', function(proxy, type, action) {
    console.error(type + action + ' exception);
});
 * </code></pre>
 * <b>Note:</b> These three events are all fired with the signature of the corresponding <i>DataProxy instance</i> event {@link #beforewrite beforewrite}, {@link #write write} and {@link #exception exception}.
 */

/**
 * @class Ext.data.DataProxy.Error
 * @extends Ext.Error
 * DataProxy Error extension.
 * constructor
 * @param {String} name
 * @param {Record/Array[Record]/Array}
 */

/**
 * @class Ext.data.DataWriter
 * <p>Ext.data.DataWriter facilitates create, update, and destroy actions between
 * an Ext.data.Store and a server-side framework. A Writer enabled Store will
 * automatically manage the Ajax requests to perform CRUD actions on a Store.</p>
 * <p>Ext.data.DataWriter is an abstract base class which is intended to be extended
 * and should not be created directly. For existing implementations, see
 * {@link Ext.data.JsonWriter}.</p>
 * <p>Creating a writer is simple:</p>
 * <pre><code>
var writer = new Ext.data.JsonWriter({
    encode: false   // &lt;--- false causes data to be printed to jsonData config-property of Ext.Ajax#reqeust
});
 * </code></pre>
 * * <p>Same old JsonReader as Ext-2.x:</p>
 * <pre><code>
var reader = new Ext.data.JsonReader({idProperty: 'id'}, [{name: 'first'}, {name: 'last'}, {name: 'email'}]);
 * </code></pre>
 *
 * <p>The proxy for a writer enabled store can be configured with a simple <code>url</code>:</p>
 * <pre><code>
// Create a standard HttpProxy instance.
var proxy = new Ext.data.HttpProxy({
    url: 'app.php/users'    // &lt;--- Supports "provides"-type urls, such as '/users.json', '/products.xml' (Hello Rails/Merb)
});
 * </code></pre>
 * <p>For finer grained control, the proxy may also be configured with an <code>API</code>:</p>
 * <pre><code>
// Maximum flexibility with the API-configuration
var proxy = new Ext.data.HttpProxy({
    api: {
        read    : 'app.php/users/read',
        create  : 'app.php/users/create',
        update  : 'app.php/users/update',
        destroy : {  // &lt;--- Supports object-syntax as well
            url: 'app.php/users/destroy',
            method: "DELETE"
        }
    }
});
 * </code></pre>
 * <p>Pulling it all together into a Writer-enabled Store:</p>
 * <pre><code>
var store = new Ext.data.Store({
    proxy: proxy,
    reader: reader,
    writer: writer,
    autoLoad: true,
    autoSave: true  // -- Cell-level updates.
});
 * </code></pre>
 * <p>Initiating write-actions <b>automatically</b>, using the existing Ext2.0 Store/Record API:</p>
 * <pre><code>
var rec = store.getAt(0);
rec.set('email', 'foo@bar.com');  // &lt;--- Immediately initiates an UPDATE action through configured proxy.

store.remove(rec);  // &lt;---- Immediately initiates a DESTROY action through configured proxy.
 * </code></pre>
 * <p>For <b>record/batch</b> updates, use the Store-configuration {@link Ext.data.Store#autoSave autoSave:false}</p>
 * <pre><code>
var store = new Ext.data.Store({
    proxy: proxy,
    reader: reader,
    writer: writer,
    autoLoad: true,
    autoSave: false  // -- disable cell-updates
});

var urec = store.getAt(0);
urec.set('email', 'foo@bar.com');

var drec = store.getAt(1);
store.remove(drec);

// Push the button!
store.save();
 * </code></pre>
 * @constructor Create a new DataWriter
 * @param {Object} meta Metadata configuration options (implementation-specific)
 * @param {Object} recordType Either an Array of field definition objects as specified
 * in {@link Ext.data.Record#create}, or an {@link Ext.data.Record} object created
 * using {@link Ext.data.Record#create}.
 */

/**
 * @class Ext.data.DirectProxy
 * @extends Ext.data.DataProxy
 */

/**
 * @class Ext.data.DirectStore
 * @extends Ext.data.Store
 * <p>Small helper class to create an {@link Ext.data.Store} configured with an
 * {@link Ext.data.DirectProxy} and {@link Ext.data.JsonReader} to make interacting
 * with an {@link Ext.Direct} Server-side {@link Ext.direct.Provider Provider} easier.
 * To create a different proxy/reader combination create a basic {@link Ext.data.Store}
 * configured as needed.</p>
 *
 * <p><b>*Note:</b> Although they are not listed, this class inherits all of the config options of:</p>
 * <div><ul class="mdetail-params">
 * <li><b>{@link Ext.data.Store Store}</b></li>
 * <div class="sub-desc"><ul class="mdetail-params">
 *
 * </ul></div>
 * <li><b>{@link Ext.data.JsonReader JsonReader}</b></li>
 * <div class="sub-desc"><ul class="mdetail-params">
 * <li><tt><b>{@link Ext.data.JsonReader#root root}</b></tt></li>
 * <li><tt><b>{@link Ext.data.JsonReader#idProperty idProperty}</b></tt></li>
 * <li><tt><b>{@link Ext.data.JsonReader#totalProperty totalProperty}</b></tt></li>
 * </ul></div>
 *
 * <li><b>{@link Ext.data.DirectProxy DirectProxy}</b></li>
 * <div class="sub-desc"><ul class="mdetail-params">
 * <li><tt><b>{@link Ext.data.DirectProxy#directFn directFn}</b></tt></li>
 * <li><tt><b>{@link Ext.data.DirectProxy#paramOrder paramOrder}</b></tt></li>
 * <li><tt><b>{@link Ext.data.DirectProxy#paramsAsHash paramsAsHash}</b></tt></li>
 * </ul></div>
 * </ul></div>
 *
 * @xtype directstore
 *
 * @constructor
 * @param {Object} config
 */

/**
 * @class Ext.data.GroupingStore
 * @extends Ext.data.Store
 * A specialized store implementation that provides for grouping records by one of the available fields. This
 * is usually used in conjunction with an {@link Ext.grid.GroupingView} to proved the data model for
 * a grouped GridPanel.
 * @constructor
 * Creates a new GroupingStore.
 * @param {Object} config A config object containing the objects needed for the Store to access data,
 * and read the data into Records.
 * @xtype groupingstore
 */

/**
 * @class Ext.data.HttpProxy
 * @extends Ext.data.DataProxy
 * <p>An implementation of {@link Ext.data.DataProxy} that processes data requests within the same
 * domain of the originating page.</p>
 * <p><b>Note</b>: this class cannot be used to retrieve data from a domain other
 * than the domain from which the running page was served. For cross-domain requests, use a
 * {@link Ext.data.ScriptTagProxy ScriptTagProxy}.</p>
 * <p>Be aware that to enable the browser to parse an XML document, the server must set
 * the Content-Type header in the HTTP response to "<tt>text/xml</tt>".</p>
 * @constructor
 * @param {Object} conn
 * An {@link Ext.data.Connection} object, or options parameter to {@link Ext.Ajax#request}.
 * <p>Note that if this HttpProxy is being used by a {@link Ext.data.Store Store}, then the
 * Store's call to {@link #load} will override any specified <tt>callback</tt> and <tt>params</tt>
 * options. In this case, use the Store's {@link Ext.data.Store#events events} to modify parameters,
 * or react to loading events. The Store's {@link Ext.data.Store#baseParams baseParams} may also be
 * used to pass parameters known at instantiation time.</p>
 * <p>If an options parameter is passed, the singleton {@link Ext.Ajax} object will be used to make
 * the request.</p>
 */

/**
 * @class Ext.data.JsonStore
 * @extends Ext.data.Store
 * <p>Small helper class to make creating {@link Ext.data.Store}s from JSON data easier.
 * A JsonStore will be automatically configured with a {@link Ext.data.JsonReader}.</p>
 * <p>A store configuration would be something like:<pre><code>
var store = new Ext.data.JsonStore({
    // store configs
    autoDestroy: true,
    url: 'get-images.php',
    storeId: 'myStore',
    // reader configs
    root: 'images',
    idProperty: 'name',
    fields: ['name', 'url', {name:'size', type: 'float'}, {name:'lastmod', type:'date'}]
});
 * </code></pre></p>
 * <p>This store is configured to consume a returned object of the form:<pre><code>
{
    images: [
        {name: 'Image one', url:'/GetImage.php?id=1', size:46.5, lastmod: new Date(2007, 10, 29)},
        {name: 'Image Two', url:'/GetImage.php?id=2', size:43.2, lastmod: new Date(2007, 10, 30)}
    ]
}
 * </code></pre>
 * An object literal of this form could also be used as the {@link #data} config option.</p>
 * <p><b>*Note:</b> Although not listed here, this class accepts all of the configuration options of
 * <b>{@link Ext.data.JsonReader JsonReader}</b>.</p>
 * @constructor
 * @param {Object} config
 * @xtype jsonstore
 */

/**
 * @class Ext.data.JsonWriter
 * @extends Ext.data.DataWriter
 * DataWriter extension for writing an array or single {@link Ext.data.Record} object(s) in preparation for executing a remote CRUD action.
 */

/**
 * @class Ext.data.MemoryProxy
 * @extends Ext.data.DataProxy
 * An implementation of Ext.data.DataProxy that simply passes the data specified in its constructor
 * to the Reader when its load method is called.
 * @constructor
 * @param {Object} data The data object which the Reader uses to construct a block of Ext.data.Records.
 */

/**
 * @class Ext.data.Node
 * @extends Ext.util.Observable
 * @cfg {Boolean} leaf true if this node is a leaf and does not have children
 * @cfg {String} id The id for this node. If one is not specified, one is generated.
 * @constructor
 * @param {Object} attributes The attributes/config for the node
 */

/**
 * @class Ext.data.Request
 * A simple Request class used internally to the data package to provide more generalized remote-requests
 * to a DataProxy.
 * TODO Not yet implemented.  Implement in Ext.data.Store#execute
 */

/**
 * @class Ext.data.Response
 * A generic response class to normalize response-handling internally to the framework.
 */

/**
 * @class Ext.data.ScriptTagProxy
 * @extends Ext.data.DataProxy
 * An implementation of Ext.data.DataProxy that reads a data object from a URL which may be in a domain
 * other than the originating domain of the running page.<br>
 * <p>
 * <b>Note that if you are retrieving data from a page that is in a domain that is NOT the same as the originating domain
 * of the running page, you must use this class, rather than HttpProxy.</b><br>
 * <p>
 * The content passed back from a server resource requested by a ScriptTagProxy <b>must</b> be executable JavaScript
 * source code because it is used as the source inside a &lt;script> tag.<br>
 * <p>
 * In order for the browser to process the returned data, the server must wrap the data object
 * with a call to a callback function, the name of which is passed as a parameter by the ScriptTagProxy.
 * Below is a Java example for a servlet which returns data for either a ScriptTagProxy, or an HttpProxy
 * depending on whether the callback name was passed:
 * <p>
 * <pre><code>
boolean scriptTag = false;
String cb = request.getParameter("callback");
if (cb != null) {
    scriptTag = true;
    response.setContentType("text/javascript");
} else {
    response.setContentType("application/x-json");
}
Writer out = response.getWriter();
if (scriptTag) {
    out.write(cb + "(");
}
out.print(dataBlock.toJsonString());
if (scriptTag) {
    out.write(");");
}
</code></pre>
 * <p>Below is a PHP example to do the same thing:</p><pre><code>
$callback = $_REQUEST['callback'];

// Create the output object.
$output = array('a' => 'Apple', 'b' => 'Banana');

//start output
if ($callback) {
    header('Content-Type: text/javascript');
    echo $callback . '(' . json_encode($output) . ');';
} else {
    header('Content-Type: application/x-json');
    echo json_encode($output);
}
</code></pre>
 * <p>Below is the ASP.Net code to do the same thing:</p><pre><code>
String jsonString = "{success: true}";
String cb = Request.Params.Get("callback");
String responseString = "";
if (!String.IsNullOrEmpty(cb)) {
    responseString = cb + "(" + jsonString + ")";
} else {
    responseString = jsonString;
}
Response.Write(responseString);
</code></pre>
 *
 * @constructor
 * @param {Object} config A configuration object.
 */

/**
 * @class Ext.data.SortTypes
 * @singleton
 * Defines the default sorting (casting?) comparison functions used when sorting data.
 */

/**
 * @class Ext.data.Store
 * @extends Ext.util.Observable
 * <p>The Store class encapsulates a client side cache of {@link Ext.data.Record Record}
 * objects which provide input data for Components such as the {@link Ext.grid.GridPanel GridPanel},
 * the {@link Ext.form.ComboBox ComboBox}, or the {@link Ext.DataView DataView}.</p>
 * <p><u>Retrieving Data</u></p>
 * <p>A Store object may access a data object using:<div class="mdetail-params"><ul>
 * <li>{@link #proxy configured implementation} of {@link Ext.data.DataProxy DataProxy}</li>
 * <li>{@link #data} to automatically pass in data</li>
 * <li>{@link #loadData} to manually pass in data</li>
 * </ul></div></p>
 * <p><u>Reading Data</u></p>
 * <p>A Store object has no inherent knowledge of the format of the data object (it could be
 * an Array, XML, or JSON). A Store object uses an appropriate {@link #reader configured implementation}
 * of a {@link Ext.data.DataReader DataReader} to create {@link Ext.data.Record Record} instances from the data
 * object.</p>
 * <p><u>Store Types</u></p>
 * <p>There are several implementations of Store available which are customized for use with
 * a specific DataReader implementation.  Here is an example using an ArrayStore which implicitly
 * creates a reader commensurate to an Array data object.</p>
 * <pre><code>
var myStore = new Ext.data.ArrayStore({
    fields: ['fullname', 'first'],
    idIndex: 0 // id for each record will be the first element
});
 * </code></pre>
 * <p>For custom implementations create a basic {@link Ext.data.Store} configured as needed:</p>
 * <pre><code>
// create a {@link Ext.data.Record Record} constructor:
var rt = Ext.data.Record.create([
    {name: 'fullname'},
    {name: 'first'}
]);
var myStore = new Ext.data.Store({
    // explicitly create reader
    reader: new Ext.data.ArrayReader(
        {
            idIndex: 0  // id for each record will be the first element
        },
        rt // recordType
    )
});
 * </code></pre>
 * <p>Load some data into store (note the data object is an array which corresponds to the reader):</p>
 * <pre><code>
var myData = [
    [1, 'Fred Flintstone', 'Fred'],  // note that id for the record is the first element
    [2, 'Barney Rubble', 'Barney']
];
myStore.loadData(myData);
 * </code></pre>
 * <p>Records are cached and made available through accessor functions.  An example of adding
 * a record to the store:</p>
 * <pre><code>
var defaultData = {
    fullname: 'Full Name',
    first: 'First Name'
};
var recId = 100; // provide unique id for the record
var r = new myStore.recordType(defaultData, ++recId); // create new record
myStore.{@link #insert}(0, r); // insert a new record into the store (also see {@link #add})
 * </code></pre>
 * <p><u>Writing Data</u></p>
 * <p>And <b>new in Ext version 3</b>, use the new {@link Ext.data.DataWriter DataWriter} to create an automated, <a href="http://extjs.com/deploy/dev/examples/writer/writer.html">Writable Store</a>
 * along with <a href="http://extjs.com/deploy/dev/examples/restful/restful.html">RESTful features.</a>
 * @constructor
 * Creates a new Store.
 * @param {Object} config A config object containing the objects needed for the Store to access data,
 * and read the data into Records.
 * @xtype store
 */

/**
 * @class Ext.data.Store.Error
 * @extends Ext.Error
 * Store Error extension.
 * @param {String} name
 */

/**
 * @class Ext.data.Tree
 * @extends Ext.util.Observable
 * Represents a tree data structure and bubbles all the events for its nodes. The nodes
 * in the tree have most standard DOM functionality.
 * @constructor
 * @param {Node} root (optional) The root node
 */

/**
 * @class Ext.data.XmlReader
 * @extends Ext.data.DataReader
 * <p>Data reader class to create an Array of {@link Ext.data.Record} objects from an XML document
 * based on mappings in a provided {@link Ext.data.Record} constructor.</p>
 * <p><b>Note</b>: that in order for the browser to parse a returned XML document, the Content-Type
 * header in the HTTP response must be set to "text/xml" or "application/xml".</p>
 * <p>Example code:</p>
 * <pre><code>
var Employee = Ext.data.Record.create([
   {name: 'name', mapping: 'name'},     // "mapping" property not needed if it is the same as "name"
   {name: 'occupation'}                 // This field will use "occupation" as the mapping.
]);
var myReader = new Ext.data.XmlReader({
   totalProperty: "results", // The element which contains the total dataset size (optional)
   record: "row",           // The repeated element which contains row information
   idProperty: "id"         // The element within the row that provides an ID for the record (optional)
   messageProperty: "msg"   // The element within the response that provides a user-feedback message (optional)
}, Employee);
</code></pre>
 * <p>
 * This would consume an XML file like this:
 * <pre><code>
&lt;?xml version="1.0" encoding="UTF-8"?>
&lt;dataset>
 &lt;results>2&lt;/results>
 &lt;row>
   &lt;id>1&lt;/id>
   &lt;name>Bill&lt;/name>
   &lt;occupation>Gardener&lt;/occupation>
 &lt;/row>
 &lt;row>
   &lt;id>2&lt;/id>
   &lt;name>Ben&lt;/name>
   &lt;occupation>Horticulturalist&lt;/occupation>
 &lt;/row>
&lt;/dataset>
</code></pre>
 * @cfg {String} totalProperty The DomQuery path from which to retrieve the total number of records
 * in the dataset. This is only needed if the whole dataset is not passed in one go, but is being
 * paged from the remote server.
 * @cfg {String} record The DomQuery path to the repeated element which contains record information.
 * @cfg {String} record The DomQuery path to the repeated element which contains record information.
 * @cfg {String} successProperty The DomQuery path to the success attribute used by forms.
 * @cfg {String} idPath The DomQuery path relative from the record element to the element that contains
 * a record identifier value.
 * @constructor
 * Create a new XmlReader.
 * @param {Object} meta Metadata configuration options
 * @param {Object} recordType Either an Array of field definition objects as passed to
 * {@link Ext.data.Record#create}, or a Record constructor object created using {@link Ext.data.Record#create}.
 */

/**
 * @class Ext.data.XmlStore
 * @extends Ext.data.Store
 * <p>Small helper class to make creating {@link Ext.data.Store}s from XML data easier.
 * A XmlStore will be automatically configured with a {@link Ext.data.XmlReader}.</p>
 * <p>A store configuration would be something like:<pre><code>
var store = new Ext.data.XmlStore({
    // store configs
    autoDestroy: true,
    storeId: 'myStore',
    url: 'sheldon.xml', // automatically configures a HttpProxy
    // reader configs
    record: 'Item', // records will have an "Item" tag
    idPath: 'ASIN',
    totalRecords: '@TotalResults'
    fields: [
        // set up the fields mapping into the xml doc
        // The first needs mapping, the others are very basic
        {name: 'Author', mapping: 'ItemAttributes > Author'},
        'Title', 'Manufacturer', 'ProductGroup'
    ]
});
 * </code></pre></p>
 * <p>This store is configured to consume a returned object of the form:<pre><code>
&#60?xml version="1.0" encoding="UTF-8"?>
&#60ItemSearchResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2009-05-15">
    &#60Items>
        &#60Request>
            &#60IsValid>True&#60/IsValid>
            &#60ItemSearchRequest>
                &#60Author>Sidney Sheldon&#60/Author>
                &#60SearchIndex>Books&#60/SearchIndex>
            &#60/ItemSearchRequest>
        &#60/Request>
        &#60TotalResults>203&#60/TotalResults>
        &#60TotalPages>21&#60/TotalPages>
        &#60Item>
            &#60ASIN>0446355453&#60/ASIN>
            &#60DetailPageURL>
                http://www.amazon.com/
            &#60/DetailPageURL>
            &#60ItemAttributes>
                &#60Author>Sidney Sheldon&#60/Author>
                &#60Manufacturer>Warner Books&#60/Manufacturer>
                &#60ProductGroup>Book&#60/ProductGroup>
                &#60Title>Master of the Game&#60/Title>
            &#60/ItemAttributes>
        &#60/Item>
    &#60/Items>
&#60/ItemSearchResponse>
 * </code></pre>
 * An object literal of this form could also be used as the {@link #data} config option.</p>
 * <p><b>Note:</b> Although not listed here, this class accepts all of the configuration options of 
 * <b>{@link Ext.data.XmlReader XmlReader}</b>.</p>
 * @constructor
 * @param {Object} config
 * @xtype xmlstore
 */

/**
 * @class Ext.data.XmlWriter
 * @extends Ext.data.DataWriter
 * DataWriter extension for writing an array or single {@link Ext.data.Record} object(s) in preparation for executing a remote CRUD action via XML.
 * XmlWriter uses an instance of {@link Ext.XTemplate} for maximum flexibility in defining your own custom XML schema if the default schema is not appropriate for your needs.
 * See the {@link #tpl} configuration-property.
 */

/**
 * @class Ext.dd.DD
 * A DragDrop implementation where the linked element follows the
 * mouse cursor during a drag.
 * @extends Ext.dd.DragDrop
 * @constructor
 * @param {String} id the id of the linked element
 * @param {String} sGroup the group of related DragDrop items
 * @param {object} config an object containing configurable attributes
 *                Valid properties for DD:
 *                    scroll
 */

/**
 * @class Ext.dd.DDProxy
 * A DragDrop implementation that inserts an empty, bordered div into
 * the document that follows the cursor during drag operations.  At the time of
 * the click, the frame div is resized to the dimensions of the linked html
 * element, and moved to the exact location of the linked element.
 *
 * References to the "frame" element refer to the single proxy element that
 * was created to be dragged in place of all DDProxy elements on the
 * page.
 *
 * @extends Ext.dd.DD
 * @constructor
 * @param {String} id the id of the linked html element
 * @param {String} sGroup the group of related DragDrop objects
 * @param {object} config an object containing configurable attributes
 *                Valid properties for DDProxy in addition to those in DragDrop:
 *                   resizeFrame, centerFrame, dragElId
 */

/**
 * @class Ext.dd.DDTarget
 * A DragDrop implementation that does not move, but can be a drop
 * target.  You would get the same result by simply omitting implementation
 * for the event callbacks, but this way we reduce the processing cost of the
 * event listener and the callbacks.
 * @extends Ext.dd.DragDrop
 * @constructor
 * @param {String} id the id of the element that is a drop target
 * @param {String} sGroup the group of related DragDrop objects
 * @param {object} config an object containing configurable attributes
 *                 Valid properties for DDTarget in addition to those in
 *                 DragDrop:
 *                    none
 */

/**
 * @class Ext.dd.DragSource
 * @extends Ext.dd.DDProxy
 * A simple class that provides the basic implementation needed to make any element draggable.
 * @constructor
 * @param {Mixed} el The container element
 * @param {Object} config
 */

/**
 * @class Ext.dd.DragTracker
 * @extends Ext.util.Observable
 */

/**
 * @class Ext.dd.DragZone
 * @extends Ext.dd.DragSource
 * <p>This class provides a container DD instance that allows dragging of multiple child source nodes.</p>
 * <p>This class does not move the drag target nodes, but a proxy element which may contain
 * any DOM structure you wish. The DOM element to show in the proxy is provided by either a
 * provided implementation of {@link #getDragData}, or by registered draggables registered with {@link Ext.dd.Registry}</p>
 * <p>If you wish to provide draggability for an arbitrary number of DOM nodes, each of which represent some
 * application object (For example nodes in a {@link Ext.DataView DataView}) then use of this class
 * is the most efficient way to "activate" those nodes.</p>
 * <p>By default, this class requires that draggable child nodes are registered with {@link Ext.dd.Registry}.
 * However a simpler way to allow a DragZone to manage any number of draggable elements is to configure
 * the DragZone with  an implementation of the {@link #getDragData} method which interrogates the passed
 * mouse event to see if it has taken place within an element, or class of elements. This is easily done
 * by using the event's {@link Ext.EventObject#getTarget getTarget} method to identify a node based on a
 * {@link Ext.DomQuery} selector. For example, to make the nodes of a DataView draggable, use the following
 * technique. Knowledge of the use of the DataView is required:</p><pre><code>
myDataView.on('render', function(v) {
    myDataView.dragZone = new Ext.dd.DragZone(v.getEl(), {

//      On receipt of a mousedown event, see if it is within a DataView node.
//      Return a drag data object if so.
        getDragData: function(e) {

//          Use the DataView's own itemSelector (a mandatory property) to
//          test if the mousedown is within one of the DataView's nodes.
            var sourceEl = e.getTarget(v.itemSelector, 10);

//          If the mousedown is within a DataView node, clone the node to produce
//          a ddel element for use by the drag proxy. Also add application data
//          to the returned data object.
            if (sourceEl) {
                d = sourceEl.cloneNode(true);
                d.id = Ext.id();
                return {
                    ddel: d,
                    sourceEl: sourceEl,
                    repairXY: Ext.fly(sourceEl).getXY(),
                    sourceStore: v.store,
                    draggedRecord: v.{@link Ext.DataView#getRecord getRecord}(sourceEl)
                }
            }
        },

//      Provide coordinates for the proxy to slide back to on failed drag.
//      This is the original XY coordinates of the draggable element captured
//      in the getDragData method.
        getRepairXY: function() {
            return this.dragData.repairXY;
        }
    });
});</code></pre>
 * See the {@link Ext.dd.DropZone DropZone} documentation for details about building a DropZone which
 * cooperates with this DragZone.
 * @constructor
 * @param {Mixed} el The container element
 * @param {Object} config
 */

/**
 * @class Ext.dd.DropTarget
 * @extends Ext.dd.DDTarget
 * A simple class that provides the basic implementation needed to make any element a drop target that can have
 * draggable items dropped onto it.  The drop has no effect until an implementation of notifyDrop is provided.
 * @constructor
 * @param {Mixed} el The container element
 * @param {Object} config
 */

/**
 * @class Ext.dd.DropZone
 * @extends Ext.dd.DropTarget
 * <p>This class provides a container DD instance that allows dropping on multiple child target nodes.</p>
 * <p>By default, this class requires that child nodes accepting drop are registered with {@link Ext.dd.Registry}.
 * However a simpler way to allow a DropZone to manage any number of target elements is to configure the
 * DropZone with an implementation of {@link #getTargetFromEvent} which interrogates the passed
 * mouse event to see if it has taken place within an element, or class of elements. This is easily done
 * by using the event's {@link Ext.EventObject#getTarget getTarget} method to identify a node based on a
 * {@link Ext.DomQuery} selector.</p>
 * <p>Once the DropZone has detected through calling getTargetFromEvent, that the mouse is over
 * a drop target, that target is passed as the first parameter to {@link #onNodeEnter}, {@link #onNodeOver},
 * {@link #onNodeOut}, {@link #onNodeDrop}. You may configure the instance of DropZone with implementations
 * of these methods to provide application-specific behaviour for these events to update both
 * application state, and UI state.</p>
 * <p>For example to make a GridPanel a cooperating target with the example illustrated in
 * {@link Ext.dd.DragZone DragZone}, the following technique might be used:</p><pre><code>
myGridPanel.on('render', function() {
    myGridPanel.dropZone = new Ext.dd.DropZone(myGridPanel.getView().scroller, {

//      If the mouse is over a grid row, return that node. This is
//      provided as the "target" parameter in all "onNodeXXXX" node event handling functions
        getTargetFromEvent: function(e) {
            return e.getTarget(myGridPanel.getView().rowSelector);
        },

//      On entry into a target node, highlight that node.
        onNodeEnter : function(target, dd, e, data){ 
            Ext.fly(target).addClass('my-row-highlight-class');
        },

//      On exit from a target node, unhighlight that node.
        onNodeOut : function(target, dd, e, data){ 
            Ext.fly(target).removeClass('my-row-highlight-class');
        },

//      While over a target node, return the default drop allowed class which
//      places a "tick" icon into the drag proxy.
        onNodeOver : function(target, dd, e, data){ 
            return Ext.dd.DropZone.prototype.dropAllowed;
        },

//      On node drop we can interrogate the target to find the underlying
//      application object that is the real target of the dragged data.
//      In this case, it is a Record in the GridPanel's Store.
//      We can use the data set up by the DragZone's getDragData method to read
//      any data we decided to attach in the DragZone's getDragData method.
        onNodeDrop : function(target, dd, e, data){
            var rowIndex = myGridPanel.getView().findRowIndex(target);
            var r = myGridPanel.getStore().getAt(rowIndex);
            Ext.Msg.alert('Drop gesture', 'Dropped Record id ' + data.draggedRecord.id +
                ' on Record id ' + r.id);
            return true;
        }
    });
}
</code></pre>
 * See the {@link Ext.dd.DragZone DragZone} documentation for details about building a DragZone which
 * cooperates with this DropZone.
 * @constructor
 * @param {Mixed} el The container element
 * @param {Object} config
 */

/**
 * @class Ext.dd.PanelProxy
 * A custom drag proxy implementation specific to {@link Ext.Panel}s. This class is primarily used internally
 * for the Panel's drag drop implementation, and should never need to be created directly.
 * @constructor
 * @param panel The {@link Ext.Panel} to proxy for
 * @param config Configuration options
 */

/**
 * @class Ext.dd.Registry
 * Provides easy access to all drag drop components that are registered on a page.  Items can be retrieved either
 * directly by DOM node id, or by passing in the drag drop event that occurred and looking up the event target.
 * @singleton
 */

/**
 * @class Ext.dd.ScrollManager
 * <p>Provides automatic scrolling of overflow regions in the page during drag operations.</p>
 * <p>The ScrollManager configs will be used as the defaults for any scroll container registered with it,
 * but you can also override most of the configs per scroll container by adding a 
 * <tt>ddScrollConfig</tt> object to the target element that contains these properties: {@link #hthresh},
 * {@link #vthresh}, {@link #increment} and {@link #frequency}.  Example usage:
 * <pre><code>
var el = Ext.get('scroll-ct');
el.ddScrollConfig = {
    vthresh: 50,
    hthresh: -1,
    frequency: 100,
    increment: 200
};
Ext.dd.ScrollManager.register(el);
</code></pre>
 * <b>Note: This class uses "Point Mode" and is untested in "Intersect Mode".</b>
 * @singleton
 */

/**
 * @class Ext.dd.StatusProxy
 * A specialized drag proxy that supports a drop status icon, {@link Ext.Layer} styles and auto-repair.  This is the
 * default drag proxy used by all Ext.dd components.
 * @constructor
 * @param {Object} config
 */

/**
 * @class Ext.direct.JsonProvider
 * @extends Ext.direct.Provider
 */

/**
 * @class Ext.direct.PollingProvider
 * @extends Ext.direct.JsonProvider
 *
 * <p>Provides for repetitive polling of the server at distinct {@link #interval intervals}.
 * The initial request for data originates from the client, and then is responded to by the
 * server.</p>
 * 
 * <p>All configurations for the PollingProvider should be generated by the server-side
 * API portion of the Ext.Direct stack.</p>
 *
 * <p>An instance of PollingProvider may be created directly via the new keyword or by simply
 * specifying <tt>type = 'polling'</tt>.  For example:</p>
 * <pre><code>
var pollA = new Ext.direct.PollingProvider({
    type:'polling',
    url: 'php/pollA.php',
});
Ext.Direct.addProvider(pollA);
pollA.disconnect();

Ext.Direct.addProvider(
    {
        type:'polling',
        url: 'php/pollB.php',
        id: 'pollB-provider'
    }
);
var pollB = Ext.Direct.getProvider('pollB-provider');
 * </code></pre>
 */

/**
 * @class Ext.direct.Provider
 * @extends Ext.util.Observable
 * <p>Ext.direct.Provider is an abstract class meant to be extended.</p>
 * 
 * <p>For example ExtJs implements the following subclasses:</p>
 * <pre><code>
Provider
|
+---{@link Ext.direct.JsonProvider JsonProvider} 
    |
    +---{@link Ext.direct.PollingProvider PollingProvider}   
    |
    +---{@link Ext.direct.RemotingProvider RemotingProvider}   
 * </code></pre>
 * @abstract
 */

/**
 * @class Ext.direct.RemotingProvider
 * @extends Ext.direct.JsonProvider
 * 
 * <p>The {@link Ext.direct.RemotingProvider RemotingProvider} exposes access to
 * server side methods on the client (a remote procedure call (RPC) type of
 * connection where the client can initiate a procedure on the server).</p>
 * 
 * <p>This allows for code to be organized in a fashion that is maintainable,
 * while providing a clear path between client and server, something that is
 * not always apparent when using URLs.</p>
 * 
 * <p>To accomplish this the server-side needs to describe what classes and methods
 * are available on the client-side. This configuration will typically be
 * outputted by the server-side Ext.Direct stack when the API description is built.</p>
 */

/**
 * @class Ext.form.Action
 * <p>The subclasses of this class provide actions to perform upon {@link Ext.form.BasicForm Form}s.</p>
 * <p>Instances of this class are only created by a {@link Ext.form.BasicForm Form} when
 * the Form needs to perform an action such as submit or load. The Configuration options
 * listed for this class are set through the Form's action methods: {@link Ext.form.BasicForm#submit submit},
 * {@link Ext.form.BasicForm#load load} and {@link Ext.form.BasicForm#doAction doAction}</p>
 * <p>The instance of Action which performed the action is passed to the success
 * and failure callbacks of the Form's action methods ({@link Ext.form.BasicForm#submit submit},
 * {@link Ext.form.BasicForm#load load} and {@link Ext.form.BasicForm#doAction doAction}),
 * and to the {@link Ext.form.BasicForm#actioncomplete actioncomplete} and
 * {@link Ext.form.BasicForm#actionfailed actionfailed} event handlers.</p>
 */

/**
 * @class Ext.form.Action.DirectLoad
 * @extends Ext.form.Action.Load
 * <p>Provides Ext.direct support for loading form data.</p>
 * <p>This example illustrates usage of Ext.Direct to <b>load</b> a form through Ext.Direct.</p>
 * <pre><code>
var myFormPanel = new Ext.form.FormPanel({
    // configs for FormPanel
    title: 'Basic Information',
    renderTo: document.body,
    width: 300, height: 160,
    padding: 10,

    // configs apply to child items
    defaults: {anchor: '100%'},
    defaultType: 'textfield',
    items: [{
        fieldLabel: 'Name',
        name: 'name'
    },{
        fieldLabel: 'Email',
        name: 'email'
    },{
        fieldLabel: 'Company',
        name: 'company'
    }],

    // configs for BasicForm
    api: {
        // The server-side method to call for load() requests
        load: Profile.getBasicInfo,
        // The server-side must mark the submit handler as a 'formHandler'
        submit: Profile.updateBasicInfo
    },
    // specify the order for the passed params
    paramOrder: ['uid', 'foo']
});

// load the form
myFormPanel.getForm().load({
    // pass 2 arguments to server side getBasicInfo method (len=2)
    params: {
        foo: 'bar',
        uid: 34
    }
});
 * </code></pre>
 * The data packet sent to the server will resemble something like:
 * <pre><code>
[
    {
        "action":"Profile","method":"getBasicInfo","type":"rpc","tid":2,
        "data":[34,"bar"] // note the order of the params
    }
]
 * </code></pre>
 * The form will process a data packet returned by the server that is similar
 * to the following format:
 * <pre><code>
[
    {
        "action":"Profile","method":"getBasicInfo","type":"rpc","tid":2,
        "result":{
            "success":true,
            "data":{
                "name":"Fred Flintstone",
                "company":"Slate Rock and Gravel",
                "email":"fred.flintstone@slaterg.com"
            }
        }
    }
]
 * </code></pre>
 */

/**
 * @class Ext.form.Action.DirectSubmit
 * @extends Ext.form.Action.Submit
 * <p>Provides Ext.direct support for submitting form data.</p>
 * <p>This example illustrates usage of Ext.Direct to <b>submit</b> a form through Ext.Direct.</p>
 * <pre><code>
var myFormPanel = new Ext.form.FormPanel({
    // configs for FormPanel
    title: 'Basic Information',
    renderTo: document.body,
    width: 300, height: 160,
    padding: 10,
    buttons:[{
        text: 'Submit',
        handler: function(){
            myFormPanel.getForm().submit({
                params: {
                    foo: 'bar',
                    uid: 34
                }
            });
        }
    }],

    // configs apply to child items
    defaults: {anchor: '100%'},
    defaultType: 'textfield',
    items: [{
        fieldLabel: 'Name',
        name: 'name'
    },{
        fieldLabel: 'Email',
        name: 'email'
    },{
        fieldLabel: 'Company',
        name: 'company'
    }],

    // configs for BasicForm
    api: {
        // The server-side method to call for load() requests
        load: Profile.getBasicInfo,
        // The server-side must mark the submit handler as a 'formHandler'
        submit: Profile.updateBasicInfo
    },
    // specify the order for the passed params
    paramOrder: ['uid', 'foo']
});
 * </code></pre>
 * The data packet sent to the server will resemble something like:
 * <pre><code>
{
    "action":"Profile","method":"updateBasicInfo","type":"rpc","tid":"6",
    "result":{
        "success":true,
        "id":{
            "extAction":"Profile","extMethod":"updateBasicInfo",
            "extType":"rpc","extTID":"6","extUpload":"false",
            "name":"Aaron Conran","email":"aaron@extjs.com","company":"Ext JS, LLC"
        }
    }
}
 * </code></pre>
 * The form will process a data packet returned by the server that is similar
 * to the following:
 * <pre><code>
// sample success packet (batched requests)
[
    {
        "action":"Profile","method":"updateBasicInfo","type":"rpc","tid":3,
        "result":{
            "success":true
        }
    }
]

// sample failure packet (one request)
{
        "action":"Profile","method":"updateBasicInfo","type":"rpc","tid":"6",
        "result":{
            "errors":{
                "email":"already taken"
            },
            "success":false,
            "foo":"bar"
        }
}
 * </code></pre>
 * Also see the discussion in {@link Ext.form.Action.DirectLoad}.
 */

/**
 * @class Ext.form.Action.Load
 * @extends Ext.form.Action
 * <p>A class which handles loading of data from a server into the Fields of an {@link Ext.form.BasicForm}.</p>
 * <p>Instances of this class are only created by a {@link Ext.form.BasicForm Form} when
 * {@link Ext.form.BasicForm#load load}ing.</p>
 * <p><u><b>Response Packet Criteria</b></u></p>
 * <p>A response packet <b>must</b> contain:
 * <div class="mdetail-params"><ul>
 * <li><b><code>success</code></b> property : Boolean</li>
 * <li><b><code>data</code></b> property : Object</li>
 * <div class="sub-desc">The <code>data</code> property contains the values of Fields to load.
 * The individual value object for each Field is passed to the Field's
 * {@link Ext.form.Field#setValue setValue} method.</div></li>
 * </ul></div>
 * <p><u><b>JSON Packets</b></u></p>
 * <p>By default, response packets are assumed to be JSON, so for the following form load call:<pre><code>
var myFormPanel = new Ext.form.FormPanel({
    title: 'Client and routing info',
    items: [{
        fieldLabel: 'Client',
        name: 'clientName'
    }, {
        fieldLabel: 'Port of loading',
        name: 'portOfLoading'
    }, {
        fieldLabel: 'Port of discharge',
        name: 'portOfDischarge'
    }]
});
myFormPanel.{@link Ext.form.FormPanel#getForm getForm}().{@link Ext.form.BasicForm#load load}({
    url: '/getRoutingInfo.php',
    params: {
        consignmentRef: myConsignmentRef
    },
    failure: function(form, action) {
        Ext.Msg.alert("Load failed", action.result.errorMessage);
    }
});
</code></pre>
 * a <b>success response</b> packet may look like this:</p><pre><code>
{
    success: true,
    data: {
        clientName: "Fred. Olsen Lines",
        portOfLoading: "FXT",
        portOfDischarge: "OSL"
    }
}</code></pre>
 * while a <b>failure response</b> packet may look like this:</p><pre><code>
{
    success: false,
    errorMessage: "Consignment reference not found"
}</code></pre>
 * <p>Other data may be placed into the response for processing the {@link Ext.form.BasicForm Form}'s
 * callback or event handler methods. The object decoded from this JSON is available in the
 * {@link Ext.form.Action#result result} property.</p>
 */

/**
 * @class Ext.form.Action.Submit
 * @extends Ext.form.Action
 * <p>A class which handles submission of data from {@link Ext.form.BasicForm Form}s
 * and processes the returned response.</p>
 * <p>Instances of this class are only created by a {@link Ext.form.BasicForm Form} when
 * {@link Ext.form.BasicForm#submit submit}ting.</p>
 * <p><u><b>Response Packet Criteria</b></u></p>
 * <p>A response packet may contain:
 * <div class="mdetail-params"><ul>
 * <li><b><code>success</code></b> property : Boolean
 * <div class="sub-desc">The <code>success</code> property is required.</div></li>
 * <li><b><code>errors</code></b> property : Object
 * <div class="sub-desc"><div class="sub-desc">The <code>errors</code> property,
 * which is optional, contains error messages for invalid fields.</div></li>
 * </ul></div>
 * <p><u><b>JSON Packets</b></u></p>
 * <p>By default, response packets are assumed to be JSON, so a typical response
 * packet may look like this:</p><pre><code>
{
    success: false,
    errors: {
        clientCode: "Client not found",
        portOfLoading: "This field must not be null"
    }
}</code></pre>
 * <p>Other data may be placed into the response for processing by the {@link Ext.form.BasicForm}'s callback
 * or event handler methods. The object decoded from this JSON is available in the
 * {@link Ext.form.Action#result result} property.</p>
 * <p>Alternatively, if an {@link #errorReader} is specified as an {@link Ext.data.XmlReader XmlReader}:</p><pre><code>
    errorReader: new Ext.data.XmlReader({
            record : 'field',
            success: '@success'
        }, [
            'id', 'msg'
        ]
    )
</code></pre>
 * <p>then the results may be sent back in XML format:</p><pre><code>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;message success="false"&gt;
&lt;errors&gt;
    &lt;field&gt;
        &lt;id&gt;clientCode&lt;/id&gt;
        &lt;msg&gt;&lt;![CDATA[Code not found. &lt;br /&gt;&lt;i&gt;This is a test validation message from the server &lt;/i&gt;]]&gt;&lt;/msg&gt;
    &lt;/field&gt;
    &lt;field&gt;
        &lt;id&gt;portOfLoading&lt;/id&gt;
        &lt;msg&gt;&lt;![CDATA[Port not found. &lt;br /&gt;&lt;i&gt;This is a test validation message from the server &lt;/i&gt;]]&gt;&lt;/msg&gt;
    &lt;/field&gt;
&lt;/errors&gt;
&lt;/message&gt;
</code></pre>
 * <p>Other elements may be placed into the response XML for processing by the {@link Ext.form.BasicForm}'s callback
 * or event handler methods. The XML document is available in the {@link #errorReader}'s {@link Ext.data.XmlReader#xmlData xmlData} property.</p>
 */

/**
 * @class Ext.form.BasicForm
 * @extends Ext.util.Observable
 * <p>Encapsulates the DOM &lt;form> element at the heart of the {@link Ext.form.FormPanel FormPanel} class, and provides
 * input field management, validation, submission, and form loading services.</p>
 * <p>By default, Ext Forms are submitted through Ajax, using an instance of {@link Ext.form.Action.Submit}.
 * To enable normal browser submission of an Ext Form, use the {@link #standardSubmit} config option.</p>
 * <p><b><u>File Uploads</u></b></p>
 * <p>{@link #fileUpload File uploads} are not performed using Ajax submission, that
 * is they are <b>not</b> performed using XMLHttpRequests. Instead the form is submitted in the standard
 * manner with the DOM <tt>&lt;form></tt> element temporarily modified to have its
 * <a href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target">target</a> set to refer
 * to a dynamically generated, hidden <tt>&lt;iframe></tt> which is inserted into the document
 * but removed after the return data has been gathered.</p>
 * <p>The server response is parsed by the browser to create the document for the IFRAME. If the
 * server is using JSON to send the return object, then the
 * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a> header
 * must be set to "text/html" in order to tell the browser to insert the text unchanged into the document body.</p>
 * <p>Characters which are significant to an HTML parser must be sent as HTML entities, so encode
 * "&lt;" as "&amp;lt;", "&amp;" as "&amp;amp;" etc.</p>
 * <p>The response text is retrieved from the document, and a fake XMLHttpRequest object
 * is created containing a <tt>responseText</tt> property in order to conform to the
 * requirements of event handlers and callbacks.</p>
 * <p>Be aware that file upload packets are sent with the content type <a href="http://www.faqs.org/rfcs/rfc2388.html">multipart/form</a>
 * and some server technologies (notably JEE) may require some custom processing in order to
 * retrieve parameter names and parameter values from the packet content.</p>
 * @constructor
 * @param {Mixed} el The form element or its id
 * @param {Object} config Configuration options
 */

/**
 * @class Ext.form.Checkbox
 * @extends Ext.form.Field
 * Single checkbox field.  Can be used as a direct replacement for traditional checkbox fields.
 * @constructor
 * Creates a new Checkbox
 * @param {Object} config Configuration options
 * @xtype checkbox
 */

/**
 * @class Ext.form.CheckboxGroup
 * @extends Ext.form.Field
 * <p>A grouping container for {@link Ext.form.Checkbox} controls.</p>
 * <p>Sample usage:</p>
 * <pre><code>
var myCheckboxGroup = new Ext.form.CheckboxGroup({
    id:'myGroup',
    xtype: 'checkboxgroup',
    fieldLabel: 'Single Column',
    itemCls: 'x-check-group-alt',
    // Put all controls in a single column with width 100%
    columns: 1,
    items: [
        {boxLabel: 'Item 1', name: 'cb-col-1'},
        {boxLabel: 'Item 2', name: 'cb-col-2', checked: true},
        {boxLabel: 'Item 3', name: 'cb-col-3'}
    ]
});
 * </code></pre>
 * @constructor
 * Creates a new CheckboxGroup
 * @param {Object} config Configuration options
 * @xtype checkboxgroup
 */

/**
 * @class Ext.form.ComboBox
 * @extends Ext.form.TriggerField
 * <p>A combobox control with support for autocomplete, remote-loading, paging and many other features.</p>
 * <p>A ComboBox works in a similar manner to a traditional HTML &lt;select> field. The difference is
 * that to submit the {@link #valueField}, you must specify a {@link #hiddenName} to create a hidden input
 * field to hold the value of the valueField. The <i>{@link #displayField}</i> is shown in the text field
 * which is named according to the {@link #name}.</p>
 * <p><b><u>Events</u></b></p>
 * <p>To do something when something in ComboBox is selected, configure the select event:<pre><code>
var cb = new Ext.form.ComboBox({
    // all of your config options
    listeners:{
         scope: yourScope,
         'select': yourFunction
    }
});

// Alternatively, you can assign events after the object is created:
var cb = new Ext.form.ComboBox(yourOptions);
cb.on('select', yourFunction, yourScope);
 * </code></pre></p>
 *
 * <p><b><u>ComboBox in Grid</u></b></p>
 * <p>If using a ComboBox in an {@link Ext.grid.EditorGridPanel Editor Grid} a {@link Ext.grid.Column#renderer renderer}
 * will be needed to show the displayField when the editor is not active.  Set up the renderer manually, or implement
 * a reusable render, for example:<pre><code>
// create reusable renderer
Ext.util.Format.comboRenderer = function(combo){
    return function(value){
        var record = combo.findRecord(combo.{@link #valueField}, value);
        return record ? record.get(combo.{@link #displayField}) : combo.{@link #valueNotFoundText};
    }
}

// create the combo instance
var combo = new Ext.form.ComboBox({
    {@link #typeAhead}: true,
    {@link #triggerAction}: 'all',
    {@link #lazyRender}:true,
    {@link #mode}: 'local',
    {@link #store}: new Ext.data.ArrayStore({
        id: 0,
        fields: [
            'myId',
            'displayText'
        ],
        data: [[1, 'item1'], [2, 'item2']]
    }),
    {@link #valueField}: 'myId',
    {@link #displayField}: 'displayText'
});

// snippet of column model used within grid
var cm = new Ext.grid.ColumnModel([{
       ...
    },{
       header: "Some Header",
       dataIndex: 'whatever',
       width: 130,
       editor: combo, // specify reference to combo instance
       renderer: Ext.util.Format.comboRenderer(combo) // pass combo instance to reusable renderer
    },
    ...
]);
 * </code></pre></p>
 *
 * <p><b><u>Filtering</u></b></p>
 * <p>A ComboBox {@link #doQuery uses filtering itself}, for information about filtering the ComboBox
 * store manually see <tt>{@link #lastQuery}</tt>.</p>
 * @constructor
 * Create a new ComboBox.
 * @param {Object} config Configuration options
 * @xtype combo
 */

/**
 * @class Ext.form.DateField
 * @extends Ext.form.TriggerField
 * Provides a date input field with a {@link Ext.DatePicker} dropdown and automatic date validation.
 * @constructor
 * Create a new DateField
 * @param {Object} config
 * @xtype datefield
 */

/**
 * @class Ext.form.DisplayField
 * @extends Ext.form.Field
 * A display-only text field which is not validated and not submitted.
 * @constructor
 * Creates a new DisplayField.
 * @param {Object} config Configuration options
 * @xtype displayfield
 */

/**
 * @class Ext.form.Field
 * @extends Ext.BoxComponent
 * Base class for form fields that provides default event handling, sizing, value handling and other functionality.
 * @constructor
 * Creates a new Field
 * @param {Object} config Configuration options
 * @xtype field
 */

/**
 * @class Ext.form.FieldSet
 * @extends Ext.Panel
 * Standard container used for grouping items within a {@link Ext.form.FormPanel form}.
 * <pre><code>
var form = new Ext.FormPanel({
    title: 'Simple Form with FieldSets',
    labelWidth: 75, // label settings here cascade unless overridden
    url: 'save-form.php',
    frame:true,
    bodyStyle:'padding:5px 5px 0',
    width: 700,
    renderTo: document.body,
    layout:'column', // arrange items in columns
    defaults: {      // defaults applied to items
        layout: 'form',
        border: false,
        bodyStyle: 'padding:4px'
    },
    items: [{
        // Fieldset in Column 1
        xtype:'fieldset',
        columnWidth: 0.5,
        title: 'Fieldset 1',
        collapsible: true,
        autoHeight:true,
        defaults: {
            anchor: '-20' // leave room for error icon
        },
        defaultType: 'textfield',
        items :[{
                fieldLabel: 'Field 1'
            }, {
                fieldLabel: 'Field 2'
            }, {
                fieldLabel: 'Field 3'
            }
        ]
    },{
        // Fieldset in Column 2 - Panel inside
        xtype:'fieldset',
        title: 'Show Panel', // title, header, or checkboxToggle creates fieldset header
        autoHeight:true,
        columnWidth: 0.5,
        checkboxToggle: true,
        collapsed: true, // fieldset initially collapsed
        layout:'anchor',
        items :[{
            xtype: 'panel',
            anchor: '100%',
            title: 'Panel inside a fieldset',
            frame: true,
            height: 100
        }]
    }]
});
 * </code></pre>
 * @constructor
 * @param {Object} config Configuration options
 * @xtype fieldset
 */

/**
 * @class Ext.form.FormPanel
 * @extends Ext.Panel
 * <p>Standard form container.</p>
 *
 * <p><b><u>Layout</u></b></p>
 * <p>By default, FormPanel is configured with <tt>layout:'form'</tt> to use an {@link Ext.layout.FormLayout}
 * layout manager, which styles and renders fields and labels correctly. When nesting additional Containers
 * within a FormPanel, you should ensure that any descendant Containers which host input Fields use the
 * {@link Ext.layout.FormLayout} layout manager.</p>
 *
 * <p><b><u>BasicForm</u></b></p>
 * <p>Although <b>not listed</b> as configuration options of FormPanel, the FormPanel class accepts all
 * of the config options required to configure its internal {@link Ext.form.BasicForm} for:
 * <div class="mdetail-params"><ul>
 * <li>{@link Ext.form.BasicForm#fileUpload file uploads}</li>
 * <li>functionality for {@link Ext.form.BasicForm#doAction loading, validating and submitting} the form</li>
 * </ul></div>
 *
 * <p><b>Note</b>: If subclassing FormPanel, any configuration options for the BasicForm must be applied to
 * the <tt><b>initialConfig</b></tt> property of the FormPanel. Applying {@link Ext.form.BasicForm BasicForm}
 * configuration settings to <b><tt>this</tt></b> will <b>not</b> affect the BasicForm's configuration.</p>
 *
 * <p><b><u>Form Validation</u></b></p>
 * <p>For information on form validation see the following:</p>
 * <div class="mdetail-params"><ul>
 * <li>{@link Ext.form.TextField}</li>
 * <li>{@link Ext.form.VTypes}</li>
 * <li>{@link Ext.form.BasicForm#doAction BasicForm.doAction <b>clientValidation</b> notes}</li>
 * <li><tt>{@link Ext.form.FormPanel#monitorValid monitorValid}</tt></li>
 * </ul></div>
 *
 * <p><b><u>Form Submission</u></b></p>
 * <p>By default, Ext Forms are submitted through Ajax, using {@link Ext.form.Action}. To enable normal browser
 * submission of the {@link Ext.form.BasicForm BasicForm} contained in this FormPanel, see the
 * <tt><b>{@link Ext.form.BasicForm#standardSubmit standardSubmit}</b></tt> option.</p>
 *
 * @constructor
 * @param {Object} config Configuration options
 * @xtype form
 */

/**
 * @class Ext.form.Hidden
 * @extends Ext.form.Field
 * A basic hidden field for storing hidden values in forms that need to be passed in the form submit.
 * @constructor
 * Create a new Hidden field.
 * @param {Object} config Configuration options
 * @xtype hidden
 */

/**
 * @class Ext.form.HtmlEditor
 * @extends Ext.form.Field
 * Provides a lightweight HTML Editor component. Some toolbar features are not supported by Safari and will be
 * automatically hidden when needed.  These are noted in the config options where appropriate.
 * <br><br>The editor's toolbar buttons have tooltips defined in the {@link #buttonTips} property, but they are not
 * enabled by default unless the global {@link Ext.QuickTips} singleton is {@link Ext.QuickTips#init initialized}.
 * <br><br><b>Note: The focus/blur and validation marking functionality inherited from Ext.form.Field is NOT
 * supported by this editor.</b>
 * <br><br>An Editor is a sensitive component that can't be used in all spots standard fields can be used. Putting an Editor within
 * any element that has display set to 'none' can cause problems in Safari and Firefox due to their default iframe reloading bugs.
 * <br><br>Example usage:
 * <pre><code>
// Simple example rendered with default options:
Ext.QuickTips.init();  // enable tooltips
new Ext.form.HtmlEditor({
    renderTo: Ext.getBody(),
    width: 800,
    height: 300
});

// Passed via xtype into a container and with custom options:
Ext.QuickTips.init();  // enable tooltips
new Ext.Panel({
    title: 'HTML Editor',
    renderTo: Ext.getBody(),
    width: 600,
    height: 300,
    frame: true,
    layout: 'fit',
    items: {
        xtype: 'htmleditor',
        enableColors: false,
        enableAlignments: false
    }
});
</code></pre>
 * @constructor
 * Create a new HtmlEditor
 * @param {Object} config
 * @xtype htmleditor
 */

/**
 * @class Ext.form.Label
 * @extends Ext.BoxComponent
 * Basic Label field.
 * @constructor
 * Creates a new Label
 * @param {Ext.Element/String/Object} config The configuration options.  If an element is passed, it is set as the internal
 * element and its id used as the component id.  If a string is passed, it is assumed to be the id of an existing element
 * and is used as the component id.  Otherwise, it is assumed to be a standard config object and is applied to the component.
 * @xtype label
 */

/**
 * @class Ext.form.NumberField
 * @extends Ext.form.TextField
 * Numeric text field that provides automatic keystroke filtering and numeric validation.
 * @constructor
 * Creates a new NumberField
 * @param {Object} config Configuration options
 * @xtype numberfield
 */

/**
 * @class Ext.form.Radio
 * @extends Ext.form.Checkbox
 * Single radio field.  Same as Checkbox, but provided as a convenience for automatically setting the input type.
 * Radio grouping is handled automatically by the browser if you give each radio in a group the same name.
 * @constructor
 * Creates a new Radio
 * @param {Object} config Configuration options
 * @xtype radio
 */

/**
 * @class Ext.form.RadioGroup
 * @extends Ext.form.CheckboxGroup
 * A grouping container for {@link Ext.form.Radio} controls.
 * @constructor
 * Creates a new RadioGroup
 * @param {Object} config Configuration options
 * @xtype radiogroup
 */

/**
 * @class Ext.form.TextArea
 * @extends Ext.form.TextField
 * Multiline text field.  Can be used as a direct replacement for traditional textarea fields, plus adds
 * support for auto-sizing.
 * @constructor
 * Creates a new TextArea
 * @param {Object} config Configuration options
 * @xtype textarea
 */

/**
 * @class Ext.form.TextField
 * @extends Ext.form.Field
 * <p>Basic text field.  Can be used as a direct replacement for traditional text inputs,
 * or as the base class for more sophisticated input controls (like {@link Ext.form.TextArea}
 * and {@link Ext.form.ComboBox}).</p>
 * <p><b><u>Validation</u></b></p>
 * <p>The validation procedure is described in the documentation for {@link #validateValue}.</p>
 * <p><b><u>Alter Validation Behavior</u></b></p>
 * <p>Validation behavior for each field can be configured:</p>
 * <div class="mdetail-params"><ul>
 * <li><code>{@link Ext.form.TextField#invalidText invalidText}</code> : the default validation message to
 * show if any validation step above does not provide a message when invalid</li>
 * <li><code>{@link Ext.form.TextField#maskRe maskRe}</code> : filter out keystrokes before any validation occurs</li>
 * <li><code>{@link Ext.form.TextField#stripCharsRe stripCharsRe}</code> : filter characters after being typed in,
 * but before being validated</li>
 * <li><code>{@link Ext.form.Field#invalidClass invalidClass}</code> : alternate style when invalid</li>
 * <li><code>{@link Ext.form.Field#validateOnBlur validateOnBlur}</code>,
 * <code>{@link Ext.form.Field#validationDelay validationDelay}</code>, and
 * <code>{@link Ext.form.Field#validationEvent validationEvent}</code> : modify how/when validation is triggered</li>
 * </ul></div>
 * 
 * @constructor Creates a new TextField
 * @param {Object} config Configuration options
 * 
 * @xtype textfield
 */

/**
 * @class Ext.form.TimeField
 * @extends Ext.form.ComboBox
 * Provides a time input field with a time dropdown and automatic time validation.  Example usage:
 * <pre><code>
new Ext.form.TimeField({
    minValue: '9:00 AM',
    maxValue: '6:00 PM',
    increment: 30
});
</code></pre>
 * @constructor
 * Create a new TimeField
 * @param {Object} config
 * @xtype timefield
 */

/**
 * @class Ext.form.TriggerField
 * @extends Ext.form.TextField
 * Provides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default).
 * The trigger has no default action, so you must assign a function to implement the trigger click handler by
 * overriding {@link #onTriggerClick}. You can create a TriggerField directly, as it renders exactly like a combobox
 * for which you can provide a custom implementation.  For example:
 * <pre><code>
var trigger = new Ext.form.TriggerField();
trigger.onTriggerClick = myTriggerFn;
trigger.applyToMarkup('my-field');
</code></pre>
 *
 * However, in general you will most likely want to use TriggerField as the base class for a reusable component.
 * {@link Ext.form.DateField} and {@link Ext.form.ComboBox} are perfect examples of this.
 *
 * @constructor
 * Create a new TriggerField.
 * @param {Object} config Configuration options (valid {@Ext.form.TextField} config options will also be applied
 * to the base TextField)
 * @xtype trigger
 */

/**
 * @class Ext.form.TwinTriggerField
 * @extends Ext.form.TriggerField
 * TwinTriggerField is not a public class to be used directly.  It is meant as an abstract base class
 * to be extended by an implementing class.  For an example of implementing this class, see the custom
 * SearchField implementation here:
 * <a href="http://extjs.com/deploy/ext/examples/form/custom.html">http://extjs.com/deploy/ext/examples/form/custom.html</a>
 */

/**
 * @class Ext.form.VTypes
 * <p>This is a singleton object which contains a set of commonly used field validation functions.
 * The validations provided are basic and intended to be easily customizable and extended.</p>
 * <p>To add custom VTypes specify the <code>{@link Ext.form.TextField#vtype vtype}</code> validation
 * test function, and optionally specify any corresponding error text to display and any keystroke
 * filtering mask to apply. For example:</p>
 * <pre><code>
// custom Vtype for vtype:'time'
var timeTest = /^([1-9]|1[0-9]):([0-5][0-9])(\s[a|p]m)$/i;
Ext.apply(Ext.form.VTypes, {
    //  vtype validation function
    time: function(val, field) {
        return timeTest.test(val);
    },
    // vtype Text property: The error text to display when the validation function returns false
    timeText: 'Not a valid time.  Must be in the format "12:34 PM".',
    // vtype Mask property: The keystroke filter mask
    timeMask: /[\d\s:amp]/i
});
 * </code></pre>
 * Another example: 
 * <pre><code>
// custom Vtype for vtype:'IPAddress'
Ext.apply(Ext.form.VTypes, {
    IPAddress:  function(v) {
        return /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/.test(v);
    },
    IPAddressText: 'Must be a numeric IP address',
    IPAddressMask: /[\d\.]/i
});
 * </code></pre>
 * @singleton
 */

/**
 * @class Ext.grid.AbstractSelectionModel
 * @extends Ext.util.Observable
 * Abstract base class for grid SelectionModels.  It provides the interface that should be
 * implemented by descendant classes.  This class should not be directly instantiated.
 * @constructor
 */

/**
 * @class Ext.grid.BooleanColumn
 * @extends Ext.grid.Column
 * <p>A Column definition class which renders boolean data fields.  See the {@link Ext.grid.Column#xtype xtype}
 * config option of {@link Ext.grid.Column} for more details.</p>
 */

/**
 * @class Ext.grid.CellSelectionModel
 * @extends Ext.grid.AbstractSelectionModel
 * This class provides the basic implementation for <i>single</i> <b>cell</b> selection in a grid.
 * The object stored as the selection contains the following properties:
 * <div class="mdetail-params"><ul>
 * <li><b>cell</b> : see {@link #getSelectedCell} 
 * <li><b>record</b> : Ext.data.record The {@link Ext.data.Record Record}
 * which provides the data for the row containing the selection</li>
 * </ul></div>
 * @constructor
 * @param {Object} config The object containing the configuration of this model.
 */

/**
 * @class Ext.grid.CheckboxSelectionModel
 * @extends Ext.grid.RowSelectionModel
 * A custom selection model that renders a column of checkboxes that can be toggled to select or deselect rows.
 * @constructor
 * @param {Object} config The configuration options
 */

/**
 * @class Ext.grid.Column
 * <p>This class encapsulates column configuration data to be used in the initialization of a
 * {@link Ext.grid.ColumnModel ColumnModel}.</p>
 * <p>While subclasses are provided to render data in different ways, this class renders a passed
 * data field unchanged and is usually used for textual columns.</p>
 */

/**
 * @class Ext.grid.ColumnModel
 * @extends Ext.util.Observable
 * <p>After the data has been read into the client side cache (<b>{@link Ext.data.Store Store}</b>),
 * the ColumnModel is used to configure how and what parts of that data will be displayed in the
 * vertical slices (columns) of the grid. The Ext.grid.ColumnModel Class is the default implementation
 * of a ColumnModel used by implentations of {@link Ext.grid.GridPanel GridPanel}.</p>
 * <p>Data is mapped into the store's records and then indexed into the ColumnModel using the
 * <tt>{@link Ext.grid.Column#dataIndex dataIndex}</tt>:</p>
 * <pre><code>
{data source} == mapping ==> {data store} == <b><tt>{@link Ext.grid.Column#dataIndex dataIndex}</tt></b> ==> {ColumnModel}
 * </code></pre>
 * <p>Each {@link Ext.grid.Column Column} in the grid's ColumnModel is configured with a
 * <tt>{@link Ext.grid.Column#dataIndex dataIndex}</tt> to specify how the data within
 * each record in the store is indexed into the ColumnModel.</p>
 * <p>There are two ways to initialize the ColumnModel class:</p>
 * <p><u>Initialization Method 1: an Array</u></p>
<pre><code>
 var colModel = new Ext.grid.ColumnModel([
    { header: "Ticker", width: 60, sortable: true},
    { header: "Company Name", width: 150, sortable: true, id: 'company'},
    { header: "Market Cap.", width: 100, sortable: true},
    { header: "$ Sales", width: 100, sortable: true, renderer: money},
    { header: "Employees", width: 100, sortable: true, resizable: false}
 ]);
 </code></pre>
 * <p>The ColumnModel may be initialized with an Array of {@link Ext.grid.Column} column configuration
 * objects to define the initial layout / display of the columns in the Grid. The order of each
 * {@link Ext.grid.Column} column configuration object within the specified Array defines the initial
 * order of the column display.  A Column's display may be initially hidden using the
 * <tt>{@link Ext.grid.Column#hidden hidden}</tt></b> config property (and then shown using the column
 * header menu).  Fields that are not included in the ColumnModel will not be displayable at all.</p>
 * <p>How each column in the grid correlates (maps) to the {@link Ext.data.Record} field in the
 * {@link Ext.data.Store Store} the column draws its data from is configured through the
 * <b><tt>{@link Ext.grid.Column#dataIndex dataIndex}</tt></b>.  If the
 * <b><tt>{@link Ext.grid.Column#dataIndex dataIndex}</tt></b> is not explicitly defined (as shown in the
 * example above) it will use the column configuration's index in the Array as the index.</p>
 * <p>See <b><tt>{@link Ext.grid.Column}</tt></b> for additional configuration options for each column.</p>
 * <p><u>Initialization Method 2: an Object</u></p>
 * <p>In order to use configuration options from <tt>Ext.grid.ColumnModel</tt>, an Object may be used to
 * initialize the ColumnModel.  The column configuration Array will be specified in the <tt><b>{@link #columns}</b></tt>
 * config property. The <tt><b>{@link #defaults}</b></tt> config property can be used to apply defaults
 * for all columns, e.g.:</p><pre><code>
 var colModel = new Ext.grid.ColumnModel({
    columns: [
        { header: "Ticker", width: 60, menuDisabled: false},
        { header: "Company Name", width: 150, id: 'company'},
        { header: "Market Cap."},
        { header: "$ Sales", renderer: money},
        { header: "Employees", resizable: false}
    ],
    defaults: {
        sortable: true,
        menuDisabled: true,
        width: 100
    },
    listeners: {
        {@link #hiddenchange}: function(cm, colIndex, hidden) {
            saveConfig(colIndex, hidden);
        }
    }
});
 </code></pre>
 * <p>In both examples above, the ability to apply a CSS class to all cells in a column (including the
 * header) is demonstrated through the use of the <b><tt>{@link Ext.grid.Column#id id}</tt></b> config
 * option. This column could be styled by including the following css:</p><pre><code>
 //add this css *after* the core css is loaded
.x-grid3-td-company {
    color: red; // entire column will have red font
}
// modify the header row only, adding an icon to the column header
.x-grid3-hd-company {
    background: transparent
        url(../../resources/images/icons/silk/building.png)
        no-repeat 3px 3px ! important;
        padding-left:20px;
}
 </code></pre>
 * Note that the "Company Name" column could be specified as the
 * <b><tt>{@link Ext.grid.GridPanel}.{@link Ext.grid.GridPanel#autoExpandColumn autoExpandColumn}</tt></b>.
 * @constructor
 * @param {Mixed} config Specify either an Array of {@link Ext.grid.Column} configuration objects or specify
 * a configuration Object (see introductory section discussion utilizing Initialization Method 2 above).
 */

/**
 * @class Ext.grid.DateColumn
 * @extends Ext.grid.Column
 * <p>A Column definition class which renders a passed date according to the default locale, or a configured
 * {@link #format}. See the {@link Ext.grid.Column#xtype xtype} config option of {@link Ext.grid.Column}
 * for more details.</p>
 */

/**
 * @class Ext.grid.EditorGridPanel
 * @extends Ext.grid.GridPanel
 * <p>This class extends the {@link Ext.grid.GridPanel GridPanel Class} to provide cell editing
 * on selected {@link Ext.grid.Column columns}. The editable columns are specified by providing
 * an {@link Ext.grid.ColumnModel#editor editor} in the {@link Ext.grid.Column column configuration}.</p>
 * <p>Editability of columns may be controlled programatically by inserting an implementation
 * of {@link Ext.grid.ColumnModel#isCellEditable isCellEditable} into the
 * {@link Ext.grid.ColumnModel ColumnModel}.</p>
 * <p>Editing is performed on the value of the <i>field</i> specified by the column's
 * <tt>{@link Ext.grid.ColumnModel#dataIndex dataIndex}</tt> in the backing {@link Ext.data.Store Store}
 * (so if you are using a {@link Ext.grid.ColumnModel#setRenderer renderer} in order to display
 * transformed data, this must be accounted for).</p>
 * <p>If a value-to-description mapping is used to render a column, then a {@link Ext.form.Field#ComboBox ComboBox}
 * which uses the same {@link Ext.form.Field#valueField value}-to-{@link Ext.form.Field#displayFieldField description}
 * mapping would be an appropriate editor.</p>
 * If there is a more complex mismatch between the visible data in the grid, and the editable data in
 * the {@link Edt.data.Store Store}, then code to transform the data both before and after editing can be
 * injected using the {@link #beforeedit} and {@link #afteredit} events.
 * @constructor
 * @param {Object} config The config object
 * @xtype editorgrid
 */

/**
 * @class Ext.grid.GridDragZone
 * @extends Ext.dd.DragZone
 * <p>A customized implementation of a {@link Ext.dd.DragZone DragZone} which provides default implementations of two of the
 * template methods of DragZone to enable dragging of the selected rows of a GridPanel.</p>
 * <p>A cooperating {@link Ext.dd.DropZone DropZone} must be created who's template method implementations of
 * {@link Ext.dd.DropZone#onNodeEnter onNodeEnter}, {@link Ext.dd.DropZone#onNodeOver onNodeOver},
 * {@link Ext.dd.DropZone#onNodeOut onNodeOut} and {@link Ext.dd.DropZone#onNodeDrop onNodeDrop}</p> are able
 * to process the {@link #getDragData data} which is provided.
 */

/**
 * @class Ext.grid.GridPanel
 * @extends Ext.Panel
 * <p>This class represents the primary interface of a component based grid control to represent data
 * in a tabular format of rows and columns. The GridPanel is composed of the following:</p>
 * <div class="mdetail-params"><ul>
 * <li><b>{@link Ext.data.Store Store}</b> : The Model holding the data records (rows)
 * <div class="sub-desc"></div></li>
 * <li><b>{@link Ext.grid.ColumnModel Column model}</b> : Column makeup
 * <div class="sub-desc"></div></li>
 * <li><b>{@link Ext.grid.GridView View}</b> : Encapsulates the user interface 
 * <div class="sub-desc"></div></li>
 * <li><b>{@link Ext.grid.AbstractSelectionModel selection model}</b> : Selection behavior 
 * <div class="sub-desc"></div></li>
 * </ul></div>
 * <p>Example usage:</p>
 * <pre><code>
var grid = new Ext.grid.GridPanel({
    {@link #store}: new {@link Ext.data.Store}({
        {@link Ext.data.Store#autoDestroy autoDestroy}: true,
        {@link Ext.data.Store#reader reader}: reader,
        {@link Ext.data.Store#data data}: xg.dummyData
    }),
    {@link #colModel}: new {@link Ext.grid.ColumnModel}({
        {@link Ext.grid.ColumnModel#defaults defaults}: {
            width: 120,
            sortable: true
        },
        {@link Ext.grid.ColumnModel#columns columns}: [
            {id: 'company', header: 'Company', width: 200, sortable: true, dataIndex: 'company'},
            {header: 'Price', renderer: Ext.util.Format.usMoney, dataIndex: 'price'},
            {header: 'Change', dataIndex: 'change'},
            {header: '% Change', dataIndex: 'pctChange'},
            // instead of specifying renderer: Ext.util.Format.dateRenderer('m/d/Y') use xtype
            {
                header: 'Last Updated', width: 135, dataIndex: 'lastChange',
                xtype: 'datecolumn', format: 'M d, Y'
            }
        ],
    }),
    {@link #viewConfig}: {
        {@link Ext.grid.GridView#forceFit forceFit}: true,

//      Return CSS class to apply to rows depending upon data values
        {@link Ext.grid.GridView#getRowClass getRowClass}: function(record, index) {
            var c = record.{@link Ext.data.Record#get get}('change');
            if (c < 0) {
                return 'price-fall';
            } else if (c > 0) {
                return 'price-rise';
            }
        }
    },
    {@link #sm}: new Ext.grid.RowSelectionModel({singleSelect:true}),
    width: 600,
    height: 300,
    frame: true,
    title: 'Framed with Row Selection and Horizontal Scrolling',
    iconCls: 'icon-grid'
});
 * </code></pre>
 * <p><b><u>Notes:</u></b></p>
 * <div class="mdetail-params"><ul>
 * <li>Although this class inherits many configuration options from base classes, some of them
 * (such as autoScroll, autoWidth, layout, items, etc) are not used by this class, and will
 * have no effect.</li>
 * <li>A grid <b>requires</b> a width in which to scroll its columns, and a height in which to
 * scroll its rows. These dimensions can either be set explicitly through the
 * <tt>{@link Ext.BoxComponent#height height}</tt> and <tt>{@link Ext.BoxComponent#width width}</tt>
 * configuration options or implicitly set by using the grid as a child item of a
 * {@link Ext.Container Container} which will have a {@link Ext.Container#layout layout manager}
 * provide the sizing of its child items (for example the Container of the Grid may specify
 * <tt>{@link Ext.Container#layout layout}:'fit'</tt>).</li>
 * <li>To access the data in a Grid, it is necessary to use the data model encapsulated
 * by the {@link #store Store}. See the {@link #cellclick} event for more details.</li>
 * </ul></div>
 * @constructor
 * @param {Object} config The config object
 * @xtype grid
 */

/**
 * @class Ext.grid.GroupingView
 * @extends Ext.grid.GridView
 * Adds the ability for single level grouping to the grid. A {@link Ext.data.GroupingStore GroupingStore}
 * must be used to enable grouping.  Some grouping characteristics may also be configured at the
 * {@link Ext.grid.Column Column level}<div class="mdetail-params"><ul>
 * <li><code>{@link Ext.grid.Column#emptyGroupText emptyGroupText}</li>
 * <li><code>{@link Ext.grid.Column#groupable groupable}</li>
 * <li><code>{@link Ext.grid.Column#groupName groupName}</li>
 * <li><code>{@link Ext.grid.Column#groupRender groupRender}</li>
 * </ul></div>
 * <p>Sample usage:</p>
 * <pre><code>
var grid = new Ext.grid.GridPanel({
    // A groupingStore is required for a GroupingView
    store: new {@link Ext.data.GroupingStore}({
        autoDestroy: true,
        reader: reader,
        data: xg.dummyData,
        sortInfo: {field: 'company', direction: 'ASC'},
        {@link Ext.data.GroupingStore#groupOnSort groupOnSort}: true,
        {@link Ext.data.GroupingStore#remoteGroup remoteGroup}: true,
        {@link Ext.data.GroupingStore#groupField groupField}: 'industry'
    }),
    colModel: new {@link Ext.grid.ColumnModel}({
        columns:[
            {id:'company',header: 'Company', width: 60, dataIndex: 'company'},
            // {@link Ext.grid.Column#groupable groupable}, {@link Ext.grid.Column#groupName groupName}, {@link Ext.grid.Column#groupRender groupRender} are also configurable at column level
            {header: 'Price', renderer: Ext.util.Format.usMoney, dataIndex: 'price', {@link Ext.grid.Column#groupable groupable}: false},
            {header: 'Change', dataIndex: 'change', renderer: Ext.util.Format.usMoney},
            {header: 'Industry', dataIndex: 'industry'},
            {header: 'Last Updated', renderer: Ext.util.Format.dateRenderer('m/d/Y'), dataIndex: 'lastChange'}
        ],
        defaults: {
            sortable: true,
            menuDisabled: false,
            width: 20
        }
    }),

    view: new Ext.grid.GroupingView({
        {@link Ext.grid.GridView#forceFit forceFit}: true,
        // custom grouping text template to display the number of items per group
        {@link #groupTextTpl}: '{text} ({[values.rs.length]} {[values.rs.length > 1 ? "Items" : "Item"]})'
    }),

    frame:true,
    width: 700,
    height: 450,
    collapsible: true,
    animCollapse: false,
    title: 'Grouping Example',
    iconCls: 'icon-grid',
    renderTo: document.body
});
 * </code></pre>
 * @constructor
 * @param {Object} config
 */

/**
 * @class Ext.grid.NumberColumn
 * @extends Ext.grid.Column
 * <p>A Column definition class which renders a numeric data field according to a {@link #format} string.  See the
 * {@link Ext.grid.Column#xtype xtype} config option of {@link Ext.grid.Column} for more details.</p>
 */

/**
 * @class Ext.grid.PropertyColumnModel
 * @extends Ext.grid.ColumnModel
 * A custom column model for the {@link Ext.grid.PropertyGrid}.  Generally it should not need to be used directly.
 * @constructor
 * @param {Ext.grid.Grid} grid The grid this store will be bound to
 * @param {Object} source The source data config object
 */

/**
 * @class Ext.grid.PropertyGrid
 * @extends Ext.grid.EditorGridPanel
 * A specialized grid implementation intended to mimic the traditional property grid as typically seen in
 * development IDEs.  Each row in the grid represents a property of some object, and the data is stored
 * as a set of name/value pairs in {@link Ext.grid.PropertyRecord}s.  Example usage:
 * <pre><code>
var grid = new Ext.grid.PropertyGrid({
    title: 'Properties Grid',
    autoHeight: true,
    width: 300,
    renderTo: 'grid-ct',
    source: {
        "(name)": "My Object",
        "Created": new Date(Date.parse('10/15/2006')),
        "Available": false,
        "Version": .01,
        "Description": "A test object"
    }
});
</code></pre>
 * @constructor
 * @param {Object} config The grid config object
 */

/**
 * @class Ext.grid.PropertyRecord
 * A specific {@link Ext.data.Record} type that represents a name/value pair and is made to work with the
 * {@link Ext.grid.PropertyGrid}.  Typically, PropertyRecords do not need to be created directly as they can be
 * created implicitly by simply using the appropriate data configs either via the {@link Ext.grid.PropertyGrid#source}
 * config property or by calling {@link Ext.grid.PropertyGrid#setSource}.  However, if the need arises, these records
 * can also be created explicitly as shwon below.  Example usage:
 * <pre><code>
var rec = new Ext.grid.PropertyRecord({
    name: 'Birthday',
    value: new Date(Date.parse('05/26/1972'))
});
// Add record to an already populated grid
grid.store.addSorted(rec);
</code></pre>
 * @constructor
 * @param {Object} config A data object in the format: {name: [name], value: [value]}.  The specified value's type
 * will be read automatically by the grid to determine the type of editor to use when displaying it.
 */

/**
 * @class Ext.grid.PropertyStore
 * @extends Ext.util.Observable
 * A custom wrapper for the {@link Ext.grid.PropertyGrid}'s {@link Ext.data.Store}. This class handles the mapping
 * between the custom data source objects supported by the grid and the {@link Ext.grid.PropertyRecord} format
 * required for compatibility with the underlying store. Generally this class should not need to be used directly --
 * the grid's data should be accessed from the underlying store via the {@link #store} property.
 * @constructor
 * @param {Ext.grid.Grid} grid The grid this store will be bound to
 * @param {Object} source The source data config object
 */

/**
 * @class Ext.grid.RowNumberer
 * This is a utility class that can be passed into a {@link Ext.grid.ColumnModel} as a column config that provides
 * an automatic row numbering column.
 * <br>Usage:<br>
 <pre><code>
 // This is a typical column config with the first column providing row numbers
 var colModel = new Ext.grid.ColumnModel([
    new Ext.grid.RowNumberer(),
    {header: "Name", width: 80, sortable: true},
    {header: "Code", width: 50, sortable: true},
    {header: "Description", width: 200, sortable: true}
 ]);
 </code></pre>
 * @constructor
 * @param {Object} config The configuration options
 */

/**
 * @class Ext.grid.RowSelectionModel
 * @extends Ext.grid.AbstractSelectionModel
 * The default SelectionModel used by {@link Ext.grid.GridPanel}.
 * It supports multiple selections and keyboard selection/navigation. The objects stored
 * as selections and returned by {@link #getSelected}, and {@link #getSelections} are
 * the {@link Ext.data.Record Record}s which provide the data for the selected rows.
 * @constructor
 * @param {Object} config
 */

/**
 * @class Ext.grid.TemplateColumn
 * @extends Ext.grid.Column
 * <p>A Column definition class which renders a value by processing a {@link Ext.data.Record Record}'s
 * {@link Ext.data.Record#data data} using a {@link #tpl configured} {@link Ext.XTemplate XTemplate}.
 * See the {@link Ext.grid.Column#xtype xtype} config option of {@link Ext.grid.Column} for more
 * details.</p>
 */

/**
 * @class Ext.layout.AbsoluteLayout
 * @extends Ext.layout.AnchorLayout
 * <p>This is a layout that inherits the anchoring of <b>{@link Ext.layout.AnchorLayout}</b> and adds the
 * ability for x/y positioning using the standard x and y component config options.</p>
 * <p>This class is intended to be extended or created via the <tt><b>{@link Ext.Container#layout layout}</b></tt>
 * configuration property.  See <tt><b>{@link Ext.Container#layout}</b></tt> for additional details.</p>
 * <p>Example usage:</p>
 * <pre><code>
var form = new Ext.form.FormPanel({
    title: 'Absolute Layout',
    layout:'absolute',
    layoutConfig: {
        // layout-specific configs go here
        extraCls: 'x-abs-layout-item',
    },
    baseCls: 'x-plain',
    url:'save-form.php',
    defaultType: 'textfield',
    items: [{
        x: 0,
        y: 5,
        xtype:'label',
        text: 'Send To:'
    },{
        x: 60,
        y: 0,
        name: 'to',
        anchor:'100%'  // anchor width by percentage
    },{
        x: 0,
        y: 35,
        xtype:'label',
        text: 'Subject:'
    },{
        x: 60,
        y: 30,
        name: 'subject',
        anchor: '100%'  // anchor width by percentage
    },{
        x:0,
        y: 60,
        xtype: 'textarea',
        name: 'msg',
        anchor: '100% 100%'  // anchor width and height
    }]
});
</code></pre>
 */

/**
 * @class Ext.layout.AccordionLayout
 * @extends Ext.layout.FitLayout
 * <p>This is a layout that manages multiple Panels in an expandable accordion style such that only
 * <b>one Panel can be expanded at any given time</b>. Each Panel has built-in support for expanding and collapsing.</p>
 * <p>Note: Only Ext.Panels <b>and all subclasses of Ext.Panel</b> may be used in an accordion layout Container.</p>
 * <p>This class is intended to be extended or created via the <tt><b>{@link Ext.Container#layout layout}</b></tt>
 * configuration property.  See <tt><b>{@link Ext.Container#layout}</b></tt> for additional details.</p>
 * <p>Example usage:</p>
 * <pre><code>
var accordion = new Ext.Panel({
    title: 'Accordion Layout',
    layout:'accordion',
    defaults: {
        // applied to each contained panel
        bodyStyle: 'padding:15px'
    },
    layoutConfig: {
        // layout-specific configs go here
        titleCollapse: false,
        animate: true,
        activeOnTop: true
    },
    items: [{
        title: 'Panel 1',
        html: '&lt;p&gt;Panel content!&lt;/p&gt;'
    },{
        title: 'Panel 2',
        html: '&lt;p&gt;Panel content!&lt;/p&gt;'
    },{
        title: 'Panel 3',
        html: '&lt;p&gt;Panel content!&lt;/p&gt;'
    }]
});
</code></pre>
 */

/**
 * @class Ext.layout.AnchorLayout
 * @extends Ext.layout.ContainerLayout
 * <p>This is a layout that enables anchoring of contained elements relative to the container's dimensions.
 * If the container is resized, all anchored items are automatically rerendered according to their
 * <b><tt>{@link #anchor}</tt></b> rules.</p>
 * <p>This class is intended to be extended or created via the layout:'anchor' {@link Ext.Container#layout}
 * config, and should generally not need to be created directly via the new keyword.</p>
 * <p>AnchorLayout does not have any direct config options (other than inherited ones). By default,
 * AnchorLayout will calculate anchor measurements based on the size of the container itself. However, the
 * container using the AnchorLayout can supply an anchoring-specific config property of <b>anchorSize</b>.
 * If anchorSize is specifed, the layout will use it as a virtual container for the purposes of calculating
 * anchor measurements based on it instead, allowing the container to be sized independently of the anchoring
 * logic if necessary.  For example:</p>
 * <pre><code>
var viewport = new Ext.Viewport({
    layout:'anchor',
    anchorSize: {width:800, height:600},
    items:[{
        title:'Item 1',
        html:'Content 1',
        width:800,
        anchor:'right 20%'
    },{
        title:'Item 2',
        html:'Content 2',
        width:300,
        anchor:'50% 30%'
    },{
        title:'Item 3',
        html:'Content 3',
        width:600,
        anchor:'-100 50%'
    }]
});
 * </code></pre>
 */

/**
 * @class Ext.layout.AutoLayout
 * <p>The AutoLayout is the default layout manager delegated by {@link Ext.Container} to
 * render any child Components when no <tt>{@link Ext.Container#layout layout}</tt> is configured into
 * a {@link Ext.Container Container}. ContainerLayout provides the basic foundation for all other layout
 * classes in Ext. It simply renders all child Components into the Container, performing no sizing or
 * positioning services. To utilize a layout that provides sizing and positioning of child Components,
 * specify an appropriate <tt>{@link Ext.Container#layout layout}</tt>.</p>
 */

/**
 * @class Ext.layout.BorderLayout
 * @extends Ext.layout.ContainerLayout
 * <p>This is a multi-pane, application-oriented UI layout style that supports multiple
 * nested panels, automatic {@link Ext.layout.BorderLayout.Region#split split} bars between
 * {@link Ext.layout.BorderLayout.Region#BorderLayout.Region regions} and built-in
 * {@link Ext.layout.BorderLayout.Region#collapsible expanding and collapsing} of regions.</p>
 * <p>This class is intended to be extended or created via the <tt>layout:'border'</tt>
 * {@link Ext.Container#layout} config, and should generally not need to be created directly
 * via the new keyword.</p>
 * <p>BorderLayout does not have any direct config options (other than inherited ones).
 * All configuration options available for customizing the BorderLayout are at the
 * {@link Ext.layout.BorderLayout.Region} and {@link Ext.layout.BorderLayout.SplitRegion}
 * levels.</p>
 * <p>Example usage:</p>
 * <pre><code>
var myBorderPanel = new Ext.Panel({
    {@link Ext.Component#renderTo renderTo}: document.body,
    {@link Ext.BoxComponent#width width}: 700,
    {@link Ext.BoxComponent#height height}: 500,
    {@link Ext.Panel#title title}: 'Border Layout',
    {@link Ext.Container#layout layout}: 'border',
    {@link Ext.Container#items items}: [{
        {@link Ext.Panel#title title}: 'South Region is resizable',
        {@link Ext.layout.BorderLayout.Region#BorderLayout.Region region}: 'south',     // position for region
        {@link Ext.BoxComponent#height height}: 100,
        {@link Ext.layout.BorderLayout.Region#split split}: true,         // enable resizing
        {@link Ext.SplitBar#minSize minSize}: 75,         // defaults to {@link Ext.layout.BorderLayout.Region#minHeight 50}
        {@link Ext.SplitBar#maxSize maxSize}: 150,
        {@link Ext.layout.BorderLayout.Region#margins margins}: '0 5 5 5'
    },{
        // xtype: 'panel' implied by default
        {@link Ext.Panel#title title}: 'West Region is collapsible',
        {@link Ext.layout.BorderLayout.Region#BorderLayout.Region region}:'west',
        {@link Ext.layout.BorderLayout.Region#margins margins}: '5 0 0 5',
        {@link Ext.BoxComponent#width width}: 200,
        {@link Ext.layout.BorderLayout.Region#collapsible collapsible}: true,   // make collapsible
        {@link Ext.layout.BorderLayout.Region#cmargins cmargins}: '5 5 0 5', // adjust top margin when collapsed
        {@link Ext.Component#id id}: 'west-region-container',
        {@link Ext.Container#layout layout}: 'fit',
        {@link Ext.Panel#unstyled unstyled}: true
    },{
        {@link Ext.Panel#title title}: 'Center Region',
        {@link Ext.layout.BorderLayout.Region#BorderLayout.Region region}: 'center',     // center region is required, no width/height specified
        {@link Ext.Component#xtype xtype}: 'container',
        {@link Ext.Container#layout layout}: 'fit',
        {@link Ext.layout.BorderLayout.Region#margins margins}: '5 5 0 0'
    }]
});
</code></pre>
 * <p><b><u>Notes</u></b>:</p><div class="mdetail-params"><ul>
 * <li>Any container using the BorderLayout <b>must</b> have a child item with <tt>region:'center'</tt>.
 * The child item in the center region will always be resized to fill the remaining space not used by
 * the other regions in the layout.</li>
 * <li>Any child items with a region of <tt>west</tt> or <tt>east</tt> must have <tt>width</tt> defined
 * (an integer representing the number of pixels that the region should take up).</li>
 * <li>Any child items with a region of <tt>north</tt> or <tt>south</tt> must have <tt>height</tt> defined.</li>
 * <li>The regions of a BorderLayout are <b>fixed at render time</b> and thereafter, its child Components may not be removed or added</b>.  To add/remove
 * Components within a BorderLayout, have them wrapped by an additional Container which is directly
 * managed by the BorderLayout.  If the region is to be collapsible, the Container used directly
 * by the BorderLayout manager should be a Panel.  In the following example a Container (an Ext.Panel)
 * is added to the west region:
 * <div style="margin-left:16px"><pre><code>
wrc = {@link Ext#getCmp Ext.getCmp}('west-region-container');
wrc.{@link Ext.Panel#removeAll removeAll}();
wrc.{@link Ext.Container#add add}({
    title: 'Added Panel',
    html: 'Some content'
});
wrc.{@link Ext.Container#doLayout doLayout}();
 * </code></pre></div>
 * </li>
 * <li> To reference a {@link Ext.layout.BorderLayout.Region Region}:
 * <div style="margin-left:16px"><pre><code>
wr = myBorderPanel.layout.west;
 * </code></pre></div>
 * </li>
 * </ul></div>
 */

/**
 * @class Ext.layout.BorderLayout.Region
 * <p>This is a region of a {@link Ext.layout.BorderLayout BorderLayout} that acts as a subcontainer
 * within the layout.  Each region has its own {@link Ext.layout.ContainerLayout layout} that is
 * independent of other regions and the containing BorderLayout, and can be any of the
 * {@link Ext.layout.ContainerLayout valid Ext layout types}.</p>
 * <p>Region size is managed automatically and cannot be changed by the user -- for
 * {@link #split resizable regions}, see {@link Ext.layout.BorderLayout.SplitRegion}.</p>
 * @constructor
 * Create a new Region.
 * @param {Layout} layout The {@link Ext.layout.BorderLayout BorderLayout} instance that is managing this Region.
 * @param {Object} config The configuration options
 * @param {String} position The region position.  Valid values are: <tt>north</tt>, <tt>south</tt>,
 * <tt>east</tt>, <tt>west</tt> and <tt>center</tt>.  Every {@link Ext.layout.BorderLayout BorderLayout}
 * <b>must have a center region</b> for the primary content -- all other regions are optional.
 */

/**
 * @class Ext.layout.BorderLayout.SplitRegion
 * @extends Ext.layout.BorderLayout.Region
 * <p>This is a specialized type of {@link Ext.layout.BorderLayout.Region BorderLayout region} that
 * has a built-in {@link Ext.SplitBar} for user resizing of regions.  The movement of the split bar
 * is configurable to move either {@link #tickSize smooth or incrementally}.</p>
 * @constructor
 * Create a new SplitRegion.
 * @param {Layout} layout The {@link Ext.layout.BorderLayout BorderLayout} instance that is managing this Region.
 * @param {Object} config The configuration options
 * @param {String} position The region position.  Valid values are: north, south, east, west and center.  Every
 * BorderLayout must have a center region for the primary content -- all other regions are optional.
 */

/**
 * @class Ext.layout.BoxLayout
 * @extends Ext.layout.ContainerLayout
 * <p>Base Class for HBoxLayout and VBoxLayout Classes. Generally it should not need to be used directly.</p>
 */

/**
 * @class Ext.layout.CardLayout
 * @extends Ext.layout.FitLayout
 * <p>This layout manages multiple child Components, each fitted to the Container, where only a single child Component can be
 * visible at any given time.  This layout style is most commonly used for wizards, tab implementations, etc.
 * This class is intended to be extended or created via the layout:'card' {@link Ext.Container#layout} config,
 * and should generally not need to be created directly via the new keyword.</p>
 * <p>The CardLayout's focal method is {@link #setActiveItem}.  Since only one panel is displayed at a time,
 * the only way to move from one Component to the next is by calling setActiveItem, passing the id or index of
 * the next panel to display.  The layout itself does not provide a user interface for handling this navigation,
 * so that functionality must be provided by the developer.</p>
 * <p>In the following example, a simplistic wizard setup is demonstrated.  A button bar is added
 * to the footer of the containing panel to provide navigation buttons.  The buttons will be handled by a
 * common navigation routine -- for this example, the implementation of that routine has been ommitted since
 * it can be any type of custom logic.  Note that other uses of a CardLayout (like a tab control) would require a
 * completely different implementation.  For serious implementations, a better approach would be to extend
 * CardLayout to provide the custom functionality needed.  Example usage:</p>
 * <pre><code>
var navHandler = function(direction){
    // This routine could contain business logic required to manage the navigation steps.
    // It would call setActiveItem as needed, manage navigation button state, handle any
    // branching logic that might be required, handle alternate actions like cancellation
    // or finalization, etc.  A complete wizard implementation could get pretty
    // sophisticated depending on the complexity required, and should probably be
    // done as a subclass of CardLayout in a real-world implementation.
};

var card = new Ext.Panel({
    title: 'Example Wizard',
    layout:'card',
    activeItem: 0, // make sure the active item is set on the container config!
    bodyStyle: 'padding:15px',
    defaults: {
        // applied to each contained panel
        border:false
    },
    // just an example of one possible navigation scheme, using buttons
    bbar: [
        {
            id: 'move-prev',
            text: 'Back',
            handler: navHandler.createDelegate(this, [-1]),
            disabled: true
        },
        '->', // greedy spacer so that the buttons are aligned to each side
        {
            id: 'move-next',
            text: 'Next',
            handler: navHandler.createDelegate(this, [1])
        }
    ],
    // the panels (or "cards") within the layout
    items: [{
        id: 'card-0',
        html: '&lt;h1&gt;Welcome to the Wizard!&lt;/h1&gt;&lt;p&gt;Step 1 of 3&lt;/p&gt;'
    },{
        id: 'card-1',
        html: '&lt;p&gt;Step 2 of 3&lt;/p&gt;'
    },{
        id: 'card-2',
        html: '&lt;h1&gt;Congratulations!&lt;/h1&gt;&lt;p&gt;Step 3 of 3 - Complete&lt;/p&gt;'
    }]
});
</code></pre>
 */

/**
 * @class Ext.layout.ColumnLayout
 * @extends Ext.layout.ContainerLayout
 * <p>This is the layout style of choice for creating structural layouts in a multi-column format where the width of
 * each column can be specified as a percentage or fixed width, but the height is allowed to vary based on the content.
 * This class is intended to be extended or created via the layout:'column' {@link Ext.Container#layout} config,
 * and should generally not need to be created directly via the new keyword.</p>
 * <p>ColumnLayout does not have any direct config options (other than inherited ones), but it does support a
 * specific config property of <b><tt>columnWidth</tt></b> that can be included in the config of any panel added to it.  The
 * layout will use the columnWidth (if present) or width of each panel during layout to determine how to size each panel.
 * If width or columnWidth is not specified for a given panel, its width will default to the panel's width (or auto).</p>
 * <p>The width property is always evaluated as pixels, and must be a number greater than or equal to 1.
 * The columnWidth property is always evaluated as a percentage, and must be a decimal value greater than 0 and
 * less than 1 (e.g., .25).</p>
 * <p>The basic rules for specifying column widths are pretty simple.  The logic makes two passes through the
 * set of contained panels.  During the first layout pass, all panels that either have a fixed width or none
 * specified (auto) are skipped, but their widths are subtracted from the overall container width.  During the second
 * pass, all panels with columnWidths are assigned pixel widths in proportion to their percentages based on
 * the total <b>remaining</b> container width.  In other words, percentage width panels are designed to fill the space
 * left over by all the fixed-width and/or auto-width panels.  Because of this, while you can specify any number of columns
 * with different percentages, the columnWidths must always add up to 1 (or 100%) when added together, otherwise your
 * layout may not render as expected.  Example usage:</p>
 * <pre><code>
// All columns are percentages -- they must add up to 1
var p = new Ext.Panel({
    title: 'Column Layout - Percentage Only',
    layout:'column',
    items: [{
        title: 'Column 1',
        columnWidth: .25
    },{
        title: 'Column 2',
        columnWidth: .6
    },{
        title: 'Column 3',
        columnWidth: .15
    }]
});

// Mix of width and columnWidth -- all columnWidth values must add up
// to 1. The first column will take up exactly 120px, and the last two
// columns will fill the remaining container width.
var p = new Ext.Panel({
    title: 'Column Layout - Mixed',
    layout:'column',
    items: [{
        title: 'Column 1',
        width: 120
    },{
        title: 'Column 2',
        columnWidth: .8
    },{
        title: 'Column 3',
        columnWidth: .2
    }]
});
</code></pre>
 */

/**
 * @class Ext.layout.ContainerLayout
 * <p>This class is intended to be extended or created via the <tt><b>{@link Ext.Container#layout layout}</b></tt>
 * configuration property.  See <tt><b>{@link Ext.Container#layout}</b></tt> for additional details.</p>
 */

/**
 * @class Ext.layout.FitLayout
 * @extends Ext.layout.ContainerLayout
 * <p>This is a base class for layouts that contain <b>a single item</b> that automatically expands to fill the layout's
 * container.  This class is intended to be extended or created via the <tt>layout:'fit'</tt> {@link Ext.Container#layout}
 * config, and should generally not need to be created directly via the new keyword.</p>
 * <p>FitLayout does not have any direct config options (other than inherited ones).  To fit a panel to a container
 * using FitLayout, simply set layout:'fit' on the container and add a single panel to it.  If the container has
 * multiple panels, only the first one will be displayed.  Example usage:</p>
 * <pre><code>
var p = new Ext.Panel({
    title: 'Fit Layout',
    layout:'fit',
    items: {
        title: 'Inner Panel',
        html: '&lt;p&gt;This is the inner panel content&lt;/p&gt;',
        border: false
    }
});
</code></pre>
 */

/**
 * @class Ext.layout.FormLayout
 * @extends Ext.layout.AnchorLayout
 * <p>This layout manager is specifically designed for rendering and managing child Components of
 * {@link Ext.form.FormPanel forms}. It is responsible for rendering the labels of
 * {@link Ext.form.Field Field}s.</p>
 *
 * <p>This layout manager is used when a Container is configured with the <tt>layout:'form'</tt>
 * {@link Ext.Container#layout layout} config option, and should generally not need to be created directly
 * via the new keyword. See <tt><b>{@link Ext.Container#layout}</b></tt> for additional details.</p>
 *
 * <p>In an application, it will usually be preferrable to use a {@link Ext.form.FormPanel FormPanel}
 * (which is configured with FormLayout as its layout class by default) since it also provides built-in
 * functionality for {@link Ext.form.BasicForm#doAction loading, validating and submitting} the form.</p>
 *
 * <p>A {@link Ext.Container Container} <i>using</i> the FormLayout layout manager (e.g.
 * {@link Ext.form.FormPanel} or specifying <tt>layout:'form'</tt>) can also accept the following
 * layout-specific config properties:<div class="mdetail-params"><ul>
 * <li><b><tt>{@link Ext.form.FormPanel#hideLabels hideLabels}</tt></b></li>
 * <li><b><tt>{@link Ext.form.FormPanel#labelAlign labelAlign}</tt></b></li>
 * <li><b><tt>{@link Ext.form.FormPanel#labelPad labelPad}</tt></b></li>
 * <li><b><tt>{@link Ext.form.FormPanel#labelSeparator labelSeparator}</tt></b></li>
 * <li><b><tt>{@link Ext.form.FormPanel#labelWidth labelWidth}</tt></b></li>
 * </ul></div></p>
 *
 * <p>Any Component (including Fields) managed by FormLayout accepts the following as a config option:
 * <div class="mdetail-params"><ul>
 * <li><b><tt>{@link Ext.Component#anchor anchor}</tt></b></li>
 * </ul></div></p>
 *
 * <p>Any Component managed by FormLayout may be rendered as a form field (with an associated label) by
 * configuring it with a non-null <b><tt>{@link Ext.Component#fieldLabel fieldLabel}</tt></b>. Components configured
 * in this way may be configured with the following options which affect the way the FormLayout renders them:
 * <div class="mdetail-params"><ul>
 * <li><b><tt>{@link Ext.Component#clearCls clearCls}</tt></b></li>
 * <li><b><tt>{@link Ext.Component#fieldLabel fieldLabel}</tt></b></li>
 * <li><b><tt>{@link Ext.Component#hideLabel hideLabel}</tt></b></li>
 * <li><b><tt>{@link Ext.Component#itemCls itemCls}</tt></b></li>
 * <li><b><tt>{@link Ext.Component#labelSeparator labelSeparator}</tt></b></li>
 * <li><b><tt>{@link Ext.Component#labelStyle labelStyle}</tt></b></li>
 * </ul></div></p>
 *
 * <p>Example usage:</p>
 * <pre><code>
// Required if showing validation messages
Ext.QuickTips.init();

// While you can create a basic Panel with layout:'form', practically
// you should usually use a FormPanel to also get its form functionality
// since it already creates a FormLayout internally.
var form = new Ext.form.FormPanel({
    title: 'Form Layout',
    bodyStyle: 'padding:15px',
    width: 350,
    defaultType: 'textfield',
    defaults: {
        // applied to each contained item
        width: 230,
        msgTarget: 'side'
    },
    items: [{
            fieldLabel: 'First Name',
            name: 'first',
            allowBlank: false,
            {@link Ext.Component#labelSeparator labelSeparator}: ':' // override labelSeparator layout config
        },{
            fieldLabel: 'Last Name',
            name: 'last'
        },{
            fieldLabel: 'Email',
            name: 'email',
            vtype:'email'
        }, {
            xtype: 'textarea',
            hideLabel: true,     // override hideLabels layout config
            name: 'msg',
            anchor: '100% -53'
        }
    ],
    buttons: [
        {text: 'Save'},
        {text: 'Cancel'}
    ],
    layoutConfig: {
        {@link #labelSeparator}: '~' // superseded by assignment below
    },
    // config options applicable to container when layout='form':
    hideLabels: false,
    labelAlign: 'left',   // or 'right' or 'top'
    {@link Ext.form.FormPanel#labelSeparator labelSeparator}: '>>', // takes precedence over layoutConfig value
    labelWidth: 65,       // defaults to 100
    labelPad: 8           // defaults to 5, must specify labelWidth to be honored
});
</code></pre>
 */

/**
 * @class Ext.layout.HBoxLayout
 * @extends Ext.layout.BoxLayout
 * <p>A layout that arranges items horizontally across a Container. This layout optionally divides available horizontal
 * space between child items containing a numeric <code>flex</code> configuration.</p>
 * This layout may also be used to set the heights of child items by configuring it with the {@link #align} option.
 */

/**
 * @class Ext.layout.MenuLayout
 * @extends Ext.layout.ContainerLayout
 * <p>Layout manager used by {@link Ext.menu.Menu}. Generally this class should not need to be used directly.</p>
 */

/**
 * @class Ext.layout.TableLayout
 * @extends Ext.layout.ContainerLayout
 * <p>This layout allows you to easily render content into an HTML table.  The total number of columns can be
 * specified, and rowspan and colspan can be used to create complex layouts within the table.
 * This class is intended to be extended or created via the layout:'table' {@link Ext.Container#layout} config,
 * and should generally not need to be created directly via the new keyword.</p>
 * <p>Note that when creating a layout via config, the layout-specific config properties must be passed in via
 * the {@link Ext.Container#layoutConfig} object which will then be applied internally to the layout.  In the
 * case of TableLayout, the only valid layout config property is {@link #columns}.  However, the items added to a
 * TableLayout can supply the following table-specific config properties:</p>
 * <ul>
 * <li><b>rowspan</b> Applied to the table cell containing the item.</li>
 * <li><b>colspan</b> Applied to the table cell containing the item.</li>
 * <li><b>cellId</b> An id applied to the table cell containing the item.</li>
 * <li><b>cellCls</b> A CSS class name added to the table cell containing the item.</li>
 * </ul>
 * <p>The basic concept of building up a TableLayout is conceptually very similar to building up a standard
 * HTML table.  You simply add each panel (or "cell") that you want to include along with any span attributes
 * specified as the special config properties of rowspan and colspan which work exactly like their HTML counterparts.
 * Rather than explicitly creating and nesting rows and columns as you would in HTML, you simply specify the
 * total column count in the layoutConfig and start adding panels in their natural order from left to right,
 * top to bottom.  The layout will automatically figure out, based on the column count, rowspans and colspans,
 * how to position each panel within the table.  Just like with HTML tables, your rowspans and colspans must add
 * up correctly in your overall layout or you'll end up with missing and/or extra cells!  Example usage:</p>
 * <pre><code>
// This code will generate a layout table that is 3 columns by 2 rows
// with some spanning included.  The basic layout will be:
// +--------+-----------------+
// |   A    |   B             |
// |        |--------+--------|
// |        |   C    |   D    |
// +--------+--------+--------+
var table = new Ext.Panel({
    title: 'Table Layout',
    layout:'table',
    defaults: {
        // applied to each contained panel
        bodyStyle:'padding:20px'
    },
    layoutConfig: {
        // The total column count must be specified here
        columns: 3
    },
    items: [{
        html: '&lt;p&gt;Cell A content&lt;/p&gt;',
        rowspan: 2
    },{
        html: '&lt;p&gt;Cell B content&lt;/p&gt;',
        colspan: 2
    },{
        html: '&lt;p&gt;Cell C content&lt;/p&gt;',
        cellCls: 'highlight'
    },{
        html: '&lt;p&gt;Cell D content&lt;/p&gt;'
    }]
});
</code></pre>
 */

/**
 * @class Ext.layout.ToolbarLayout
 * @extends Ext.layout.ContainerLayout
 * Layout manager implicitly used by Ext.Toolbar.
 */

/**
 * @class Ext.layout.VBoxLayout
 * @extends Ext.layout.BoxLayout
 * <p>A layout that arranges items vertically down a Container. This layout optionally divides available vertical
 * space between child items containing a numeric <code>flex</code> configuration.</p>
 * This layout may also be used to set the widths of child items by configuring it with the {@link #align} option.
 */

/**
 * @class Ext.list.BooleanColumn
 * @extends Ext.list.Column
 * <p>A Column definition class which renders boolean data fields.  See the {@link Ext.list.Column#xtype xtype}
 * config option of {@link Ext.list.Column} for more details.</p>
 */

/**
 * @class Ext.list.Column
 * <p>This class encapsulates column configuration data to be used in the initialization of a
 * {@link Ext.list.ListView ListView}.</p>
 * <p>While subclasses are provided to render data in different ways, this class renders a passed
 * data field unchanged and is usually used for textual columns.</p>
 */

/**
 * @class Ext.list.ColumnResizer
 * @extends Ext.util.Observable
 * <p>Supporting Class for Ext.list.ListView</p>
 * @constructor
 * @param {Object} config
 */

/**
 * @class Ext.list.DateColumn
 * @extends Ext.list.Column
 * <p>A Column definition class which renders a passed date according to the default locale, or a configured
 * {@link #format}. See the {@link Ext.list.Column#xtype xtype} config option of {@link Ext.list.Column}
 * for more details.</p>
 */

/**
 * @class Ext.list.ListView
 * @extends Ext.DataView
 * <p>Ext.list.ListView is a fast and light-weight implentation of a
 * {@link Ext.grid.GridPanel Grid} like view with the following characteristics:</p>
 * <div class="mdetail-params"><ul>
 * <li>resizable columns</li>
 * <li>selectable</li>
 * <li>column widths are initially proportioned by percentage based on the container
 * width and number of columns</li>
 * <li>uses templates to render the data in any required format</li>
 * <li>no horizontal scrolling</li>
 * <li>no editing</li>
 * </ul></div>
 * <p>Example usage:</p>
 * <pre><code>
// consume JSON of this form:
{
   "images":[
      {
         "name":"dance_fever.jpg",
         "size":2067,
         "lastmod":1236974993000,
         "url":"images\/thumbs\/dance_fever.jpg"
      },
      {
         "name":"zack_sink.jpg",
         "size":2303,
         "lastmod":1236974993000,
         "url":"images\/thumbs\/zack_sink.jpg"
      }
   ]
} 
var store = new Ext.data.JsonStore({
    url: 'get-images.php',
    root: 'images',
    fields: [
        'name', 'url',
        {name:'size', type: 'float'},
        {name:'lastmod', type:'date', dateFormat:'timestamp'}
    ]
});
store.load();

var listView = new Ext.list.ListView({
    store: store,
    multiSelect: true,
    emptyText: 'No images to display',
    reserveScrollOffset: true,
    columns: [{
        header: 'File',
        width: .5,
        dataIndex: 'name'
    },{
        header: 'Last Modified',
        width: .35, 
        dataIndex: 'lastmod',
        tpl: '{lastmod:date("m-d h:i a")}'
    },{
        header: 'Size',
        dataIndex: 'size',
        tpl: '{size:fileSize}', // format using Ext.util.Format.fileSize()
        align: 'right'
    }]
});

// put it in a Panel so it looks pretty
var panel = new Ext.Panel({
    id:'images-view',
    width:425,
    height:250,
    collapsible:true,
    layout:'fit',
    title:'Simple ListView <i>(0 items selected)</i>',
    items: listView
});
panel.render(document.body);

// little bit of feedback
listView.on('selectionchange', function(view, nodes){
    var l = nodes.length;
    var s = l != 1 ? 's' : '';
    panel.setTitle('Simple ListView <i>('+l+' item'+s+' selected)</i>');
});
 * </code></pre>
 * @constructor
 * @param {Object} config
 * @xtype listview
 */

/**
 * @class Ext.list.NumberColumn
 * @extends Ext.list.Column
 * <p>A Column definition class which renders a numeric data field according to a {@link #format} string.  See the
 * {@link Ext.list.Column#xtype xtype} config option of {@link Ext.list.Column} for more details.</p>
 */

/**
 * @class Ext.list.Sorter
 * @extends Ext.util.Observable
 * <p>Supporting Class for Ext.list.ListView</p>
 * @constructor
 * @param {Object} config
 */

/**
 * @class Ext.menu.BaseItem
 * @extends Ext.Component
 * The base class for all items that render into menus.  BaseItem provides default rendering, activated state
 * management and base configuration options shared by all menu components.
 * @constructor
 * Creates a new BaseItem
 * @param {Object} config Configuration options
 * @xtype menubaseitem
 */

/**
 * @class Ext.menu.CheckItem
 * @extends Ext.menu.Item
 * Adds a menu item that contains a checkbox by default, but can also be part of a radio group.
 * @constructor
 * Creates a new CheckItem
 * @param {Object} config Configuration options
 * @xtype menucheckitem
 */

/**
 * @class Ext.menu.ColorMenu
 * @extends Ext.menu.Menu
 * <p>A menu containing a {@link Ext.ColorPalette} Component.</p>
 * <p>Notes:</p><div class="mdetail-params"><ul>
 * <li>Although not listed here, the <b>constructor</b> for this class
 * accepts all of the configuration options of <b>{@link Ext.ColorPalette}</b>.</li>
 * <li>If subclassing ColorMenu, any configuration options for the ColorPalette must be
 * applied to the <tt><b>initialConfig</b></tt> property of the ColorMenu.
 * Applying {@link Ext.ColorPalette ColorPalette} configuration settings to
 * <b><tt>this</tt></b> will <b>not</b> affect the ColorPalette's configuration.</li>
 * </ul></div> * 
 * @xtype colormenu
 */

/**
 * @class Ext.menu.DateMenu
 * @extends Ext.menu.Menu
 * <p>A menu containing an {@link Ext.DatePicker} Component.</p>
 * <p>Notes:</p><div class="mdetail-params"><ul>
 * <li>Although not listed here, the <b>constructor</b> for this class
 * accepts all of the configuration options of <b>{@link Ext.DatePicker}</b>.</li>
 * <li>If subclassing DateMenu, any configuration options for the DatePicker must be
 * applied to the <tt><b>initialConfig</b></tt> property of the DateMenu.
 * Applying {@link Ext.DatePicker DatePicker} configuration settings to
 * <b><tt>this</tt></b> will <b>not</b> affect the DatePicker's configuration.</li>
 * </ul></div>
 * @xtype datemenu
 */

/**
 * @class Ext.menu.Item
 * @extends Ext.menu.BaseItem
 * A base class for all menu items that require menu-related functionality (like sub-menus) and are not static
 * display items.  Item extends the base functionality of {@link Ext.menu.BaseItem} by adding menu-specific
 * activation and click handling.
 * @constructor
 * Creates a new Item
 * @param {Object} config Configuration options
 * @xtype menuitem
 */

/**
 * @class Ext.menu.Menu
 * @extends Ext.Container
 * <p>A menu object.  This is the container to which you may add menu items.  Menu can also serve as a base class
 * when you want a specialized menu based off of another component (like {@link Ext.menu.DateMenu} for example).</p>
 * <p>Menus may contain either {@link Ext.menu.Item menu items}, or general {@link Ext.Component Component}s.</p>
 * <p>To make a contained general {@link Ext.Component Component} line up with other {@link Ext.menu.Item menu items}
 * specify <tt>iconCls: 'no-icon'</tt>.  This reserves a space for an icon, and indents the Component in line
 * with the other menu items.  See {@link Ext.form.ComboBox}.{@link Ext.form.ComboBox#getListParent getListParent}
 * for an example.</p>
 * <p>By default, Menus are absolutely positioned, floating Components. By configuring a Menu with
 * <b><tt>{@link #floating}:false</tt></b>, a Menu may be used as child of a Container.</p>
 *
 * @xtype menu
 */

/**
 * @class Ext.menu.MenuMgr
 * Provides a common registry of all menu items on a page so that they can be easily accessed by id.
 * @singleton
 */

/**
 * @class Ext.menu.Separator
 * @extends Ext.menu.BaseItem
 * Adds a separator bar to a menu, used to divide logical groups of menu items. Generally you will
 * add one of these by using "-" in you call to add() or in your items config rather than creating one directly.
 * @constructor
 * @param {Object} config Configuration options
 * @xtype menuseparator
 */

/**
 * @class Ext.menu.TextItem
 * @extends Ext.menu.BaseItem
 * Adds a static text string to a menu, usually used as either a heading or group separator.
 * @constructor
 * Creates a new TextItem
 * @param {Object/String} config If config is a string, it is used as the text to display, otherwise it
 * is applied as a config object (and should contain a <tt>text</tt> property).
 * @xtype menutextitem
 */

/**
 * @class Ext.state.CookieProvider
 * @extends Ext.state.Provider
 * The default Provider implementation which saves state via cookies.
 * <br />Usage:
 <pre><code>
   var cp = new Ext.state.CookieProvider({
       path: "/cgi-bin/",
       expires: new Date(new Date().getTime()+(1000*60*60*24*30)), //30 days
       domain: "extjs.com"
   });
   Ext.state.Manager.setProvider(cp);
 </code></pre>
 * @cfg {String} path The path for which the cookie is active (defaults to root '/' which makes it active for all pages in the site)
 * @cfg {Date} expires The cookie expiration date (defaults to 7 days from now)
 * @cfg {String} domain The domain to save the cookie for.  Note that you cannot specify a different domain than
 * your page is on, but you can specify a sub-domain, or simply the domain itself like 'extjs.com' to include
 * all sub-domains if you need to access cookies across different sub-domains (defaults to null which uses the same
 * domain the page is running on including the 'www' like 'www.extjs.com')
 * @cfg {Boolean} secure True if the site is using SSL (defaults to false)
 * @constructor
 * Create a new CookieProvider
 * @param {Object} config The configuration object
 */

/**
 * @class Ext.state.Manager
 * This is the global state manager. By default all components that are "state aware" check this class
 * for state information if you don't pass them a custom state provider. In order for this class
 * to be useful, it must be initialized with a provider when your application initializes. Example usage:
 <pre><code>
// in your initialization function
init : function(){
   Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
   var win = new Window(...);
   win.restoreState();
}
 </code></pre>
 * @singleton
 */

/**
 * @class Ext.state.Provider
 * Abstract base class for state provider implementations. This class provides methods
 * for encoding and decoding <b>typed</b> variables including dates and defines the
 * Provider interface.
 */

/**
 * @class Ext.tree.AsyncTreeNode
 * @extends Ext.tree.TreeNode
 * @cfg {TreeLoader} loader A TreeLoader to be used by this node (defaults to the loader defined on the tree)
 * @constructor
 * @param {Object/String} attributes The attributes/config for the node or just a string with the text for the node 
 */

/**
 * @class Ext.tree.ColumnResizer
 * @extends Ext.util.Observable
 */

/**
 * @class Ext.tree.DefaultSelectionModel
 * @extends Ext.util.Observable
 * The default single selection for a TreePanel.
 */

/**
 * @class Ext.tree.MultiSelectionModel
 * @extends Ext.util.Observable
 * Multi selection for a TreePanel.
 */

/**
 * @class Ext.tree.RootTreeNodeUI
 * This class provides the default UI implementation for <b>root</b> Ext TreeNodes.
 * The RootTreeNode UI implementation allows customizing the appearance of the root tree node.<br>
 * <p>
 * If you are customizing the Tree's user interface, you
 * may need to extend this class, but you should never need to instantiate this class.<br>
 */

/**
 * @class Ext.tree.TreeDragZone
 * @extends Ext.dd.DragZone
 * @constructor
 * @param {String/HTMLElement/Element} tree The {@link Ext.tree.TreePanel} for which to enable dragging
 * @param {Object} config
 */

/**
 * @class Ext.tree.TreeDropZone
 * @extends Ext.dd.DropZone
 * @constructor
 * @param {String/HTMLElement/Element} tree The {@link Ext.tree.TreePanel} for which to enable dropping
 * @param {Object} config
 */

/**
 * @class Ext.tree.TreeEditor
 * @extends Ext.Editor
 * Provides editor functionality for inline tree node editing.  Any valid {@link Ext.form.Field} subclass can be used
 * as the editor field.
 * @constructor
 * @param {TreePanel} tree
 * @param {Object} fieldConfig (optional) Either a prebuilt {@link Ext.form.Field} instance or a Field config object
 * that will be applied to the default field instance (defaults to a {@link Ext.form.TextField}).
 * @param {Object} config (optional) A TreeEditor config object
 */

/**
 * @class Ext.tree.TreeFilter
 * Note this class is experimental and doesn't update the indent (lines) or expand collapse icons of the nodes
 * @param {TreePanel} tree
 * @param {Object} config (optional)
 */

/**
 * @class Ext.tree.TreeLoader
 * @extends Ext.util.Observable
 * A TreeLoader provides for lazy loading of an {@link Ext.tree.TreeNode}'s child
 * nodes from a specified URL. The response must be a JavaScript Array definition
 * whose elements are node definition objects. e.g.:
 * <pre><code>
    [{
        id: 1,
        text: 'A leaf Node',
        leaf: true
    },{
        id: 2,
        text: 'A folder Node',
        children: [{
            id: 3,
            text: 'A child Node',
            leaf: true
        }]
   }]
</code></pre>
 * <br><br>
 * A server request is sent, and child nodes are loaded only when a node is expanded.
 * The loading node's id is passed to the server under the parameter name "node" to
 * enable the server to produce the correct child nodes.
 * <br><br>
 * To pass extra parameters, an event handler may be attached to the "beforeload"
 * event, and the parameters specified in the TreeLoader's baseParams property:
 * <pre><code>
    myTreeLoader.on("beforeload", function(treeLoader, node) {
        this.baseParams.category = node.attributes.category;
    }, this);
</code></pre>
 * This would pass an HTTP parameter called "category" to the server containing
 * the value of the Node's "category" attribute.
 * @constructor
 * Creates a new Treeloader.
 * @param {Object} config A config object containing config properties.
 */

/**
 * @class Ext.tree.TreeNode
 * @extends Ext.data.Node
 * @cfg {String} text The text for this node
 * @cfg {Boolean} expanded true to start the node expanded
 * @cfg {Boolean} allowDrag False to make this node undraggable if {@link #draggable} = true (defaults to true)
 * @cfg {Boolean} allowDrop False if this node cannot have child nodes dropped on it (defaults to true)
 * @cfg {Boolean} disabled true to start the node disabled
 * @cfg {String} icon The path to an icon for the node. The preferred way to do this
 * is to use the cls or iconCls attributes and add the icon via a CSS background image.
 * @cfg {String} cls A css class to be added to the node
 * @cfg {String} iconCls A css class to be added to the nodes icon element for applying css background images
 * @cfg {String} href URL of the link used for the node (defaults to #)
 * @cfg {String} hrefTarget target frame for the link
 * @cfg {Boolean} hidden True to render hidden. (Defaults to false).
 * @cfg {String} qtip An Ext QuickTip for the node
 * @cfg {Boolean} expandable If set to true, the node will always show a plus/minus icon, even when empty
 * @cfg {String} qtipCfg An Ext QuickTip config for the node (used instead of qtip)
 * @cfg {Boolean} singleClickExpand True for single click expand on this node
 * @cfg {Function} uiProvider A UI <b>class</b> to use for this node (defaults to Ext.tree.TreeNodeUI)
 * @cfg {Boolean} checked True to render a checked checkbox for this node, false to render an unchecked checkbox
 * (defaults to undefined with no checkbox rendered)
 * @cfg {Boolean} draggable True to make this node draggable (defaults to false)
 * @cfg {Boolean} isTarget False to not allow this node to act as a drop target (defaults to true)
 * @cfg {Boolean} allowChildren False to not allow this node to have child nodes (defaults to true)
 * @cfg {Boolean} editable False to not allow this node to be edited by an {@link Ext.tree.TreeEditor} (defaults to true)
 * @constructor
 * @param {Object/String} attributes The attributes/config for the node or just a string with the text for the node
 */

/**
 * @class Ext.tree.TreeNodeUI
 * This class provides the default UI implementation for Ext TreeNodes.
 * The TreeNode UI implementation is separate from the
 * tree implementation, and allows customizing of the appearance of
 * tree nodes.<br>
 * <p>
 * If you are customizing the Tree's user interface, you
 * may need to extend this class, but you should never need to instantiate this class.<br>
 * <p>
 * This class provides access to the user interface components of an Ext TreeNode, through
 * {@link Ext.tree.TreeNode#getUI}
 */

/**
 * @class Ext.tree.TreePanel
 * @extends Ext.Panel
 * <p>The TreePanel provides tree-structured UI representation of tree-structured data.</p>
 * <p>{@link Ext.tree.TreeNode TreeNode}s added to the TreePanel may each contain metadata
 * used by your application in their {@link Ext.tree.TreeNode#attributes attributes} property.</p>
 * <p><b>A TreePanel must have a {@link #root} node before it is rendered.</b> This may either be
 * specified using the {@link #root} config option, or using the {@link #setRootNode} method.
 * <p>An example of tree rendered to an existing div:</p><pre><code>
var tree = new Ext.tree.TreePanel({
    renderTo: 'tree-div',
    useArrows: true,
    autoScroll: true,
    animate: true,
    enableDD: true,
    containerScroll: true,
    border: false,
    // auto create TreeLoader
    dataUrl: 'get-nodes.php',

    root: {
        nodeType: 'async',
        text: 'Ext JS',
        draggable: false,
        id: 'source'
    }
});

tree.getRootNode().expand();
 * </code></pre>
 * <p>The example above would work with a data packet similar to this:</p><pre><code>
[{
    "text": "adapter",
    "id": "source\/adapter",
    "cls": "folder"
}, {
    "text": "dd",
    "id": "source\/dd",
    "cls": "folder"
}, {
    "text": "debug.js",
    "id": "source\/debug.js",
    "leaf": true,
    "cls": "file"
}]
 * </code></pre>
 * <p>An example of tree within a Viewport:</p><pre><code>
new Ext.Viewport({
    layout: 'border',
    items: [{
        region: 'west',
        collapsible: true,
        title: 'Navigation',
        xtype: 'treepanel',
        width: 200,
        autoScroll: true,
        split: true,
        loader: new Ext.tree.TreeLoader(),
        root: new Ext.tree.AsyncTreeNode({
            expanded: true,
            children: [{
                text: 'Menu Option 1',
                leaf: true
            }, {
                text: 'Menu Option 2',
                leaf: true
            }, {
                text: 'Menu Option 3',
                leaf: true
            }]
        }),
        rootVisible: false,
        listeners: {
            click: function(n) {
                Ext.Msg.alert('Navigation Tree Click', 'You clicked: "' + n.attributes.text + '"');
            }
        }
    }, {
        region: 'center',
        xtype: 'tabpanel',
        // remaining code not shown ...
    }]
});
</code></pre>
 *
 * @cfg {Ext.tree.TreeNode} root The root node for the tree.
 * @cfg {Boolean} rootVisible <tt>false</tt> to hide the root node (defaults to <tt>true</tt>)
 * @cfg {Boolean} lines <tt>false</tt> to disable tree lines (defaults to <tt>true</tt>)
 * @cfg {Boolean} enableDD <tt>true</tt> to enable drag and drop
 * @cfg {Boolean} enableDrag <tt>true</tt> to enable just drag
 * @cfg {Boolean} enableDrop <tt>true</tt> to enable just drop
 * @cfg {Object} dragConfig Custom config to pass to the {@link Ext.tree.TreeDragZone} instance
 * @cfg {Object} dropConfig Custom config to pass to the {@link Ext.tree.TreeDropZone} instance
 * @cfg {String} ddGroup The DD group this TreePanel belongs to
 * @cfg {Boolean} ddAppendOnly <tt>true</tt> if the tree should only allow append drops (use for trees which are sorted)
 * @cfg {Boolean} ddScroll <tt>true</tt> to enable body scrolling
 * @cfg {Boolean} containerScroll <tt>true</tt> to register this container with ScrollManager
 * @cfg {Boolean} hlDrop <tt>false</tt> to disable node highlight on drop (defaults to the value of {@link Ext#enableFx})
 * @cfg {String} hlColor The color of the node highlight (defaults to <tt>'C3DAF9'</tt>)
 * @cfg {Boolean} animate <tt>true</tt> to enable animated expand/collapse (defaults to the value of {@link Ext#enableFx})
 * @cfg {Boolean} singleExpand <tt>true</tt> if only 1 node per branch may be expanded
 * @cfg {Object} selModel A tree selection model to use with this TreePanel (defaults to an {@link Ext.tree.DefaultSelectionModel})
 * @cfg {Boolean} trackMouseOver <tt>false</tt> to disable mouse over highlighting
 * @cfg {Ext.tree.TreeLoader} loader A {@link Ext.tree.TreeLoader} for use with this TreePanel
 * @cfg {String} pathSeparator The token used to separate sub-paths in path strings (defaults to <tt>'/'</tt>)
 * @cfg {Boolean} useArrows <tt>true</tt> to use Vista-style arrows in the tree (defaults to <tt>false</tt>)
 * @cfg {String} requestMethod The HTTP request method for loading data (defaults to the value of {@link Ext.Ajax#method}).
 *
 * @constructor
 * @param {Object} config
 * @xtype treepanel
 */

/**
 * @class Ext.tree.TreeSorter
 * Provides sorting of nodes in a {@link Ext.tree.TreePanel}.  The TreeSorter automatically monitors events on the
 * associated TreePanel that might affect the tree's sort order (beforechildrenrendered, append, insert and textchange).
 * Example usage:<br />
 * <pre><code>
new Ext.tree.TreeSorter(myTree, {
    folderSort: true,
    dir: "desc",
    sortType: function(node) {
        // sort by a custom, typed attribute:
        return parseInt(node.id, 10);
    }
});
</code></pre>
 * @constructor
 * @param {TreePanel} tree
 * @param {Object} config
 */

/**
 * @class Ext.util.CSS
 * Utility class for manipulating CSS rules
 * @singleton
 */

/**
 * @class Ext.util.Cookies
 * Utility class for managing and interacting with cookies.
 * @singleton
 */

/**
 * @class Ext.util.Format
 * Reusable data formatting functions
 * @singleton
 */

/**
 * @class Ext.util.JSON
 * Modified version of Douglas Crockford"s json.js that doesn"t
 * mess with the Object prototype
 * http://www.json.org/js.html
 * @singleton
 */

/**
 * @class Ext.util.Observable
 */

/**
 * @class Ext.util.TaskRunner
 * Provides the ability to execute one or more arbitrary tasks in a multithreaded
 * manner.  Generally, you can use the singleton {@link Ext.TaskMgr} instead, but
 * if needed, you can create separate instances of TaskRunner.  Any number of
 * separate tasks can be started at any time and will run independently of each
 * other. Example usage:
 * <pre><code>
// Start a simple clock task that updates a div once per second
var updateClock = function(){
    Ext.fly('clock').update(new Date().format('g:i:s A'));
} 
var task = {
    run: updateClock,
    interval: 1000 //1 second
}
var runner = new Ext.util.TaskRunner();
runner.start(task);

// equivalent using TaskMgr
Ext.TaskMgr.start({
    run: updateClock,
    interval: 1000
});

 * </code></pre>
 * Also see {@link Ext.util.DelayedTask}. 
 * 
 * @constructor
 * @param {Number} interval (optional) The minimum precision in milliseconds supported by this TaskRunner instance
 * (defaults to 10)
 */

/**
 * @class Ext.util.TextMetrics
 * Provides precise pixel measurements for blocks of text so that you can determine exactly how high and
 * wide, in pixels, a given block of text will be. Note that when measuring text, it should be plain text and
 * should not contain any HTML, otherwise it may not be measured correctly.
 * @singleton
 */

/**
 * @class Ext.ux.FieldLabeler
 * <p>A plugin for Field Components which renders standard Ext form wrapping and labels
 * round the Field at render time regardless of the layout of the Container.</p>
 * <p>Usage:</p>
 * <pre><code>
    {
        xtype: 'combo',
        plugins: [ Ext.ux.FieldLabeler ],
        triggerAction: 'all',
        fieldLabel: 'Select type',
        store: typeStore
    }
 * </code></pre>
 */

/**
 * @class Ext.ux.PopupWindowMgr
 * @extends Ext.ux.PopupWindowGroup
 * The default global window group that is available automatically.  To have more than one group of 
 * popup windows, create additional instances of {@link Ext.ux.PopupWindowGroup} as needed.
 * @singleton
 */

/**
 * @class Ext.ux.Printer.BaseRenderer
 * @extends Object
 * @author Ed Spencer
 * @author Cornelius Weiß
 * Abstract base renderer class. Don't use this directly, use a subclass instead
 */

/**
 * @class Ext.ux.Printer.ColumnTreeRenderer
 * @extends Ext.ux.Printer.BaseRenderer
 * @author Ed Spencer
 * Helper class to easily print the contents of a column tree
 */

/**
 * @class Ext.ux.Printer.GridPanelRenderer
 * @extends Ext.ux.Printer.BaseRenderer
 * @author Ed Spencer
 * Helper class to easily print the contents of a grid. Will open a new window with a table where the first row
 * contains the headings from your column model, and with a row for each item in your grid's store. When formatted
 * with appropriate CSS it should look very similar to a default grid. If renderers are specified in your column
 * model, they will be used in creating the table. Override headerTpl and bodyTpl to change how the markup is generated
 */

/**
 * @class Ext.ux.SliderTip
 * @extends Ext.Tip
 * Simple plugin for using an Ext.Tip with a slider to show the slider value
 */

/**
 * @class Ext.ux.WindowFactory
 */

/**
 * @class Ext.ux.display.DisplayTextArea
 * @namespace Ext.ux.display
 * @extends Ext.Container
 * @author Cornelius Weiss <c.weiss@metaways.de>
 *
 * Textarea for displaying a text in a displaypanel
 */

/**
 * @class Ext.ux.grid.CheckColumn
 * @extends Ext.util.Observable
 * GridPanel plugin to add a column with check boxes to a grid.
 * <p>Example usage:</p>
 * <pre><code>
// create the column
var checkColumn = new Ext.grid.CheckColumn({
   header: 'Indoor?',
   dataIndex: 'indoor',
   id: 'check',
   width: 55
});

// add the column to the column model
var cm = new Ext.grid.ColumnModel([{
       header: 'Foo',
       ...
    },
    checkColumn
]);

// create the grid
var grid = new Ext.grid.EditorGridPanel({
    ...
    cm: cm,
    plugins: [checkColumn], // include plugin
    ...
});
 * </code></pre>
 * In addition to storing a Boolean value within the record data, this
 * class toggles a css class between <tt>'x-grid3-check-col'</tt> and
 * <tt>'x-grid3-check-col-on'</tt> to alter the background image used for
 * a column.
 */

/**
 * @class Ext.ux.grid.GroupSummary
 * @extends Ext.util.Observable
 * A GridPanel plugin that enables dynamic column calculations and a dynamically
 * updated grouped summary row.
 */

/**
 * @class Ext.ux.grid.HybridSummary
 * @extends Ext.ux.grid.GroupSummary
 * Adds capability to specify the summary data for the group via json as illustrated here:
 * <pre><code>
{
    data: [
        {
            projectId: 100,     project: 'House',
            taskId:    112, description: 'Paint',
            estimate:    6,        rate:     150,
            due:'06/24/2007'
        },
        ...
    ],

    summaryData: {
        'House': {
            description: 14, estimate: 9,
                   rate: 99, due: new Date(2009, 6, 29),
                   cost: 999
        }
    }
}
 * </code></pre>
 *
 */

/**
 * @class Ext.ux.tree.TreeGrid
 * @extends Ext.tree.TreePanel
 * 
 * @xtype treegrid
 */

/**
 * @class Ext.ux.tree.TreeGridLoader
 * @extends Ext.tree.TreeLoader
 */

/**
 * @class Ext.ux.tree.TreeGridNodeUI
 * @extends Ext.tree.TreeNodeUI
 */

/**
 * @class Ext.ux.tree.TreeGridSorter
 * @extends Ext.tree.TreeSorter
 * Provides sorting of nodes in a {@link Ext.ux.tree.TreeGrid}.  The TreeGridSorter automatically monitors events on the
 * associated TreeGrid that might affect the tree's sort order (beforechildrenrendered, append, insert and textchange).
 * Example usage:<br />
 * <pre><code>
 new Ext.ux.tree.TreeGridSorter(myTreeGrid, {
     folderSort: true,
     dir: "desc",
     sortType: function(node) {
         // sort by a custom, typed attribute:
         return parseInt(node.id, 10);
     }
 });
 </code></pre>
 * @constructor
 * @param {TreeGrid} tree
 * @param {Object} config
 */

/**
 * @class Function
 * These functions are available on every Function object (any JavaScript function).
 */

/**
 * @class GetIt.GridPrinter
 * @author Ed Spencer (edward@domine.co.uk)
 * Class providing a common way of printing Ext.Components. Ext.ux.Printer.print delegates the printing to a specialised
 * renderer class (each of which subclasses Ext.ux.Printer.BaseRenderer), based on the xtype of the component.
 * Each renderer is registered with an xtype, and is used if the component to print has that xtype.
 * 
 * See the files in the renderers directory to customise or to provide your own renderers.
 * 
 * Usage example:
 * 
 * var grid = new Ext.grid.GridPanel({
 *   colModel: //some column model,
 *   store   : //some store
 * });
 * 
 * Ext.ux.Printer.print(grid);
 * 
 */

/**
 * @class JsonReader.Error
 * Error class for JsonReader
 */

/**
 * @class Number
 */

/**
 * @class String
 * These functions are available as static methods on the JavaScript String object.
 */

/**
 * @class String
 * These functions are available on every String object.
 */

/**
 * @class Tine.Tinebase.tineInit
 * @namespace Tine.Tinebase
 * @sigleton
 * static tine init functions
 */

/**
 * @class Tine.widgets.dialog.DuplicateResolveModel
 * A specific {@link Ext.data.Record} type that represents a field/clientValue/doublicateValues/finalValue set and is made to work with the
 * {@link Tine.widgets.dialog.DuplicateResolveGridPanel}.
 * @constructor
 */

/**
 * @classdesc
 * A View object represents a simple 2D view of the map.
 *
 * This is the object to act upon to change the center, resolution,
 * and rotation of the map.
 *
 * A View has a `projection`. The projection determines the
 * coordinate system of the center, and its units determine the units of the
 * resolution (projection units per pixel). The default projection is
 * Web Mercator (EPSG:3857).
 *
 * ### The view states
 *
 * A View is determined by three states: `center`, `resolution`,
 * and `rotation`. Each state has a corresponding getter and setter, e.g.
 * `getCenter` and `setCenter` for the `center` state.
 *
 * The `zoom` state is actually not saved on the view: all computations
 * internally use the `resolution` state. Still, the `setZoom` and `getZoom`
 * methods are available, as well as `getResolutionForZoom` and
 * `getZoomForResolution` to switch from one system to the other.
 *
 * ### The constraints
 *
 * `setCenter`, `setResolution` and `setRotation` can be used to change the
 * states of the view, but any constraint defined in the constructor will
 * be applied along the way.
 *
 * A View object can have a *resolution constraint*, a *rotation constraint*
 * and a *center constraint*.
 *
 * The *resolution constraint* typically restricts min/max values and
 * snaps to specific resolutions. It is determined by the following
 * options: `resolutions`, `maxResolution`, `maxZoom` and `zoomFactor`.
 * If `resolutions` is set, the other three options are ignored. See
 * documentation for each option for more information. By default, the view
 * only has a min/max restriction and allow intermediary zoom levels when
 * pinch-zooming for example.
 *
 * The *rotation constraint* snaps to specific angles. It is determined
 * by the following options: `enableRotation` and `constrainRotation`.
 * By default rotation is allowed and its value is snapped to zero when approaching the
 * horizontal.
 *
 * The *center constraint* is determined by the `extent` option. By
 * default the view center is not constrained at all.
 *
 * ### Changing the view state
 *
 * It is important to note that `setZoom`, `setResolution`, `setCenter` and
 * `setRotation` are subject to the above mentioned constraints. As such, it
 * may sometimes not be possible to know in advance the resulting state of the
 * View. For example, calling `setResolution(10)` does not guarantee that
 * `getResolution()` will return `10`.
 *
 * A consequence of this is that, when applying a delta on the view state, one
 * should use `adjustCenter`, `adjustRotation`, `adjustZoom` and `adjustResolution`
 * rather than the corresponding setters. This will let view do its internal
 * computations. Besides, the `adjust*` methods also take an `anchor`
 * argument which allows specifying an origin for the transformation.
 *
 * ### Interacting with the view
 *
 * View constraints are usually only applied when the view is *at rest*, meaning that
 * no interaction or animation is ongoing. As such, if the user puts the view in a
 * state that is not equivalent to a constrained one (e.g. rotating the view when
 * the snap angle is 0), an animation will be triggered at the interaction end to
 * put back the view to a stable state;
 *
 * @api
 */

/**
 * @classdesc
 * A base class used for creating subclasses and not instantiated in
 * apps. Base class for {@link module:ol/style/Icon~Icon}, {@link module:ol/style/Circle~CircleStyle} and
 * {@link module:ol/style/RegularShape~RegularShape}.
 * @abstract
 * @api
 */

/**
 * @classdesc
 * A button control to reset rotation to 0.
 * To style this control use css selector `.ol-rotate`. A `.ol-hidden` css
 * selector is added to the button when the rotation is 0.
 *
 * @api
 */

/**
 * @classdesc
 * A concrete subclass of {@link module:ol/render/VectorContext~VectorContext} that implements
 * direct rendering of features and geometries to an HTML5 Canvas context.
 * Instances of this class are created internally by the library and
 * provided to application code as vectorContext member of the
 * {@link module:ol/render/Event~RenderEvent} object associated with postcompose, precompose and
 * render events emitted by layers and maps.
 */

/**
 * @classdesc
 * A control is a visible widget with a DOM element in a fixed position on the
 * screen. They can involve user input (buttons), or be informational only;
 * the position is determined using CSS. By default these are placed in the
 * container with CSS class name `ol-overlaycontainer-stopevent`, but can use
 * any outside DOM element.
 *
 * This is the base class for controls. You can use it for simple custom
 * controls by creating the element with listeners, creating an instance:
 * ```js
 * const myControl = new Control({element: myElement});
 * ```
 * and then adding this to the map.
 *
 * The main advantage of having this as a control rather than a simple separate
 * DOM element is that preventing propagation is handled for you. Controls
 * will also be objects in a {@link module:ol/Collection~Collection}, so you can use their methods.
 *
 * You can also extend this base for your own control class. See
 * examples/custom-controls for an example of how to do this.
 *
 * @api
 */

/**
 * @classdesc
 * A control with 2 buttons, one for zoom in and one for zoom out.
 * This control is one of the default controls of a map. To style this control
 * use css selectors `.ol-zoom-in` and `.ol-zoom-out`.
 *
 * @api
 */

/**
 * @classdesc
 * A layer group triggers 'addlayer' and 'removelayer' events when layers are added to or removed from
 * the group or one of its child groups.  When a layer group is added to or removed from another layer group,
 * a single event will be triggered (instead of one per layer in the group added or removed).
 */

/**
 * @classdesc
 * A simplified implementation of the W3C DOM Level 2 EventTarget interface.
 * See https://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html#Events-EventTarget.
 *
 * There are two important simplifications compared to the specification:
 *
 * 1. The handling of `useCapture` in `addEventListener` and
 *    `removeEventListener`. There is no real capture model.
 * 2. The handling of `stopPropagation` and `preventDefault` on `dispatchEvent`.
 *    There is no event target hierarchy. When a listener calls
 *    `stopPropagation` or `preventDefault` on an event object, it means that no
 *    more listeners after this one will be called. Same as when the listener
 *    returns false.
 */

/**
 * @classdesc
 * A vector object for geographic features with a geometry and other
 * attribute properties, similar to the features in vector file formats like
 * GeoJSON.
 *
 * Features can be styled individually with `setStyle`; otherwise they use the
 * style of their vector layer.
 *
 * Note that attribute properties are set as {@link module:ol/Object~BaseObject} properties on
 * the feature object, so they are observable, and have get/set accessors.
 *
 * Typically, a feature has a single geometry property. You can set the
 * geometry using the `setGeometry` method and get it with `getGeometry`.
 * It is possible to store more than one geometry on a feature using attribute
 * properties. By default, the geometry used for rendering is identified by
 * the property name `geometry`. If you want to use another geometry property
 * for rendering, use the `setGeometryName` method to change the attribute
 * property associated with the geometry for the feature.  For example:
 *
 * ```js
 *
 * import Feature from 'ol/Feature.js';
 * import Polygon from 'ol/geom/Polygon.js';
 * import Point from 'ol/geom/Point.js';
 *
 * const feature = new Feature({
 *   geometry: new Polygon(polyCoords),
 *   labelPoint: new Point(labelCoords),
 *   name: 'My Polygon',
 * });
 *
 * // get the polygon geometry
 * const poly = feature.getGeometry();
 *
 * // Render the feature as a point using the coordinates from labelPoint
 * feature.setGeometryName('labelPoint');
 *
 * // get the point geometry
 * const point = feature.getGeometry();
 * ```
 *
 * @api
 * @template {import("./geom/Geometry.js").default} [Geometry=import("./geom/Geometry.js").default]
 */

/**
 * @classdesc
 * A {@link module:ol/Collection~Collection} of layers that are handled together.
 *
 * A generic `change` event is triggered when the group/Collection changes.
 *
 * @api
 */

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * An event target providing convenient methods for listener registration
 * and unregistration. A generic `change` event is always available through
 * {@link module:ol/Observable~Observable#changed}.
 *
 * @fires import("./events/Event.js").default
 * @api
 */

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * Base class for sources providing images divided into a tile grid.
 * @abstract
 * @api
 */

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * Base class for vector geometries.
 *
 * To get notified of changes to the geometry, register a listener for the
 * generic `change` event on your geometry instance.
 *
 * @abstract
 * @api
 */

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * Base class for {@link module:ol/layer/Layer~Layer} sources.
 *
 * A generic `change` event is triggered when the state of the source changes.
 * @abstract
 * @api
 */

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * Most non-trivial classes inherit from this.
 *
 * This extends {@link module:ol/Observable~Observable} with observable
 * properties, where each property is observable as well as the object as a
 * whole.
 *
 * Classes that inherit from this have pre-defined properties, to which you can
 * add your owns. The pre-defined properties are listed in this documentation as
 * 'Observable Properties', and have their own accessors; for example,
 * {@link module:ol/Map~Map} has a `target` property, accessed with
 * `getTarget()` and changed with `setTarget()`. Not all properties are however
 * settable. There are also general-purpose accessors `get()` and `set()`. For
 * example, `get('target')` is equivalent to `getTarget()`.
 *
 * The `set` accessors trigger a change event, and you can monitor this by
 * registering a listener. For example, {@link module:ol/View~View} has a
 * `center` property, so `view.on('change:center', function(evt) {...});` would
 * call the function whenever the value of the center property changes. Within
 * the function, `evt.target` would be the view, so `evt.target.getCenter()`
 * would return the new center.
 *
 * You can add your own observable properties with
 * `object.set('prop', 'value')`, and retrieve that with `object.get('prop')`.
 * You can listen for changes on that property value with
 * `object.on('change:prop', listener)`. You can get a list of all
 * properties with {@link module:ol/Object~BaseObject#getProperties}.
 *
 * Note that the observable properties are separate from standard JS properties.
 * You can, for example, give your map object a title with
 * `map.title='New title'` and with `map.set('title', 'Another title')`. The
 * first will be a `hasOwnProperty`; the second will appear in
 * `getProperties()`. Only the second is observable.
 *
 * Properties can be deleted by using the unset method. E.g.
 * object.unset('foo').
 *
 * @fires ObjectEvent
 * @api
 */

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * Note that with {@link module:ol/layer/Base~BaseLayer} and all its subclasses, any property set in
 * the options is set as a {@link module:ol/Object~BaseObject} property on the layer object, so
 * is observable, and has get/set accessors.
 *
 * @api
 */

/**
 * @classdesc
 * Abstract base class; normally only used for creating subclasses and not
 * instantiated in apps.
 * User actions that change the state of the map. Some are similar to controls,
 * but are not associated with a DOM element.
 * For example, {@link module:ol/interaction/KeyboardZoom~KeyboardZoom} is
 * functionally the same as {@link module:ol/control/Zoom~Zoom}, but triggered
 * by a keyboard event not a button element event.
 * Although interactions do not have a DOM element, some of them do render
 * vectors and so are visible on the screen.
 * @api
 */

/**
 * @classdesc
 * Abstract base class; only used for creating subclasses; do not instantiate
 * in apps, as cannot be rendered.
 *
 * @abstract
 * @api
 */

/**
 * @classdesc
 * Allows the user to draw a vector box by clicking and dragging on the map,
 * normally combined with an {@link module:ol/events/condition} that limits
 * it to when the shift or other key is held down. This is used, for example,
 * for zooming to a specific area of the map
 * (see {@link module:ol/interaction/DragZoom~DragZoom} and
 * {@link module:ol/interaction/DragRotateAndZoom~DragRotateAndZoom}).
 *
 * @fires DragBoxEvent
 * @api
 */

/**
 * @classdesc
 * Allows the user to pan the map by dragging the map.
 * @api
 */

/**
 * @classdesc
 * Allows the user to pan the map using keyboard arrows.
 * Note that, although this interaction is by default included in maps,
 * the keys can only be used when browser focus is on the element to which
 * the keyboard events are attached. By default, this is the map div,
 * though you can change this with the `keyboardEventTarget` in
 * {@link module:ol/Map~Map}. `document` never loses focus but, for any other
 * element, focus will have to be on, and returned to, this element if the keys
 * are to function.
 * See also {@link module:ol/interaction/KeyboardZoom~KeyboardZoom}.
 * @api
 */

/**
 * @classdesc
 * Allows the user to rotate the map by clicking and dragging on the map,
 * normally combined with an {@link module:ol/events/condition} that limits
 * it to when the alt and shift keys are held down.
 *
 * This interaction is only supported for mouse devices.
 * @api
 */

/**
 * @classdesc
 * Allows the user to rotate the map by twisting with two fingers
 * on a touch screen.
 * @api
 */

/**
 * @classdesc
 * Allows the user to zoom by double-clicking on the map.
 * @api
 */

/**
 * @classdesc
 * Allows the user to zoom the map by clicking and dragging on the map,
 * normally combined with an {@link module:ol/events/condition} that limits
 * it to when a key, shift by default, is held down.
 *
 * To change the style of the box, use CSS and the `.ol-dragzoom` selector, or
 * your custom one configured with `className`.
 * @api
 */

/**
 * @classdesc
 * Allows the user to zoom the map by pinching with two fingers
 * on a touch screen.
 * @api
 */

/**
 * @classdesc
 * Allows the user to zoom the map by scrolling the mouse wheel.
 * @api
 */

/**
 * @classdesc
 * Allows the user to zoom the map using keyboard + and -.
 * Note that, although this interaction is by default included in maps,
 * the keys can only be used when browser focus is on the element to which
 * the keyboard events are attached. By default, this is the map div,
 * though you can change this with the `keyboardEventTarget` in
 * {@link module:ol/Map~Map}. `document` never loses focus but, for any other
 * element, focus will have to be on, and returned to, this element if the keys
 * are to function.
 * See also {@link module:ol/interaction/KeyboardPan~KeyboardPan}.
 * @api
 */

/**
 * @classdesc
 * An expanded version of standard JS Array, adding convenience methods for
 * manipulation. Add and remove changes to the Collection trigger a Collection
 * event. Note that this does not cover changes to the objects _within_ the
 * Collection; they trigger events on the appropriate object, not on the
 * Collection as a whole.
 *
 * @fires CollectionEvent
 *
 * @template T
 * @api
 */

/**
 * @classdesc
 * Base class for setting the grid pattern for sources accessing tiled-image
 * servers.
 * @api
 */

/**
 * @classdesc
 * Base class for sources providing images divided into a tile grid.
 *
 * @fires import("./Tile.js").TileSourceEvent
 * @api
 */

/**
 * @classdesc
 * Base class for sources providing tiles divided into a tile grid over http.
 *
 * @fires import("./Tile.js").TileSourceEvent
 */

/**
 * @classdesc
 * Base class for tiles.
 *
 * @abstract
 */

/**
 * @classdesc
 * Base class from which all layer types are derived. This should only be instantiated
 * in the case where a custom layer is added to the map with a custom `render` function.
 * Such a function can be specified in the `options` object, and is expected to return an HTML element.
 *
 * A visual representation of raster or vector map data.
 * Layers group together those properties that pertain to how the data is to be
 * displayed, irrespective of the source of that data.
 *
 * Layers are usually added to a map with [map.addLayer()]{@link import("../Map.js").default#addLayer}.
 * Components like {@link module:ol/interaction/Draw~Draw} use unmanaged layers
 * internally. These unmanaged layers are associated with the map using
 * [layer.setMap()]{@link module:ol/layer/Layer~Layer#setMap} instead.
 *
 * A generic `change` event is fired when the state of the source changes.
 * A `sourceready` event is fired when the layer's source is ready.
 *
 * @fires import("../render/Event.js").RenderEvent#prerender
 * @fires import("../render/Event.js").RenderEvent#postrender
 * @fires import("../events/Event.js").BaseEvent#sourceready
 *
 * @template {import("../source/Source.js").default} [SourceType=import("../source/Source.js").default]
 * @template {import("../renderer/Layer.js").default} [RendererType=import("../renderer/Layer.js").default]
 * @api
 */

/**
 * @classdesc
 * Base class that calls user-defined functions on `down`, `move` and `up`
 * events. This class also manages "drag sequences".
 *
 * When the `handleDownEvent` user function returns `true` a drag sequence is
 * started. During a drag sequence the `handleDragEvent` user function is
 * called on `move` events. The drag sequence ends when the `handleUpEvent`
 * user function is called and returns `false`.
 * @api
 */

/**
 * @classdesc
 * Canvas map renderer.
 * @api
 */

/**
 * @classdesc
 * Canvas renderer for tile layers.
 * @api
 * @template {import("../../layer/Tile.js").default<import("../../source/Tile.js").default>|import("../../layer/VectorTile.js").default} [LayerType=import("../../layer/Tile.js").default<import("../../source/Tile.js").default>|import("../../layer/VectorTile.js").default]
 * @extends {CanvasLayerRenderer<LayerType>}
 */

/**
 * @classdesc
 * Canvas renderer for vector layers.
 * @api
 */

/**
 * @classdesc
 * Class containing triangulation of the given target extent.
 * Used for determining source data and the reprojection itself.
 */

/**
 * @classdesc
 * Class encapsulating single reprojected tile.
 * See {@link module:ol/source/TileImage~TileImage}.
 *
 */

/**
 * @classdesc
 * Container for vector feature rendering styles. Any changes made to the style
 * or its children through `set*()` methods will not take effect until the
 * feature or layer that uses the style is re-rendered.
 *
 * ## Feature styles
 *
 * If no style is defined, the following default style is used:
 * ```js
 *  import {Circle, Fill, Stroke, Style} from 'ol/style.js';
 *
 *  const fill = new Fill({
 *    color: 'rgba(255,255,255,0.4)',
 *  });
 *  const stroke = new Stroke({
 *    color: '#3399CC',
 *    width: 1.25,
 *  });
 *  const styles = [
 *    new Style({
 *      image: new Circle({
 *        fill: fill,
 *        stroke: stroke,
 *        radius: 5,
 *      }),
 *      fill: fill,
 *      stroke: stroke,
 *    }),
 *  ];
 * ```
 *
 * A separate editing style has the following defaults:
 * ```js
 *  import {Circle, Fill, Stroke, Style} from 'ol/style.js';
 *
 *  const styles = {};
 *  const white = [255, 255, 255, 1];
 *  const blue = [0, 153, 255, 1];
 *  const width = 3;
 *  styles['Polygon'] = [
 *    new Style({
 *      fill: new Fill({
 *        color: [255, 255, 255, 0.5],
 *      }),
 *    }),
 *  ];
 *  styles['MultiPolygon'] =
 *      styles['Polygon'];
 *  styles['LineString'] = [
 *    new Style({
 *      stroke: new Stroke({
 *        color: white,
 *        width: width + 2,
 *      }),
 *    }),
 *    new Style({
 *      stroke: new Stroke({
 *        color: blue,
 *        width: width,
 *      }),
 *    }),
 *  ];
 *  styles['MultiLineString'] = styles['LineString'];
 *
 *  styles['Circle'] = styles['Polygon'].concat(
 *    styles['LineString']
 *  );
 *
 *  styles['Point'] = [
 *    new Style({
 *      image: new Circle({
 *        radius: width * 2,
 *        fill: new Fill({
 *          color: blue,
 *        }),
 *        stroke: new Stroke({
 *          color: white,
 *          width: width / 2,
 *        }),
 *      }),
 *      zIndex: Infinity,
 *    }),
 *  ];
 *  styles['MultiPoint'] =
 *      styles['Point'];
 *  styles['GeometryCollection'] =
 *      styles['Polygon'].concat(
 *          styles['LineString'],
 *          styles['Point']
 *      );
 * ```
 *
 * @api
 */

/**
 * @classdesc
 * Context for drawing geometries.  A vector context is available on render
 * events and does not need to be constructed directly.
 * @api
 */

/**
 * @classdesc
 * Control to show all the attributions associated with the layer sources
 * in the map. This control is one of the default controls included in maps.
 * By default it will show in the bottom right portion of the map, but this can
 * be changed by using a css selector for `.ol-attribution`.
 *
 * @api
 */

/**
 * @classdesc
 * Events emitted as map browser events are instances of this type.
 * See {@link module:ol/Map~Map} for which events trigger a map browser event.
 * @template {UIEvent} EVENT
 */

/**
 * @classdesc
 * Events emitted as map events are instances of this type.
 * See {@link module:ol/Map~Map} for which events trigger a map event.
 */

/**
 * @classdesc
 * Events emitted by {@link module:ol/Collection~Collection} instances are instances of this
 * type.
 * @template T
 */

/**
 * @classdesc
 * Events emitted by {@link module:ol/Object~BaseObject} instances are instances of this type.
 */

/**
 * @classdesc
 * Events emitted by {@link module:ol/interaction/DragBox~DragBox} instances are instances of
 * this type.
 */

/**
 * @classdesc
 * Events emitted by {@link module:ol/source/Tile~TileSource} instances are instances of this
 * type.
 */

/**
 * @classdesc
 * Events emitted by {@link module:ol/source/Vector~VectorSource} instances are instances of this
 * type.
 * @template {import("../geom/Geometry.js").default} [Geometry=import("../geom/Geometry.js").default]
 */

/**
 * @classdesc
 * For layer sources that provide pre-rendered, tiled images in grids that are
 * organized by zoom levels for specific resolutions.
 * Note that any property set in the options is set as a {@link module:ol/Object~BaseObject}
 * property on the layer object; for example, setting `title: 'My Title'` in the
 * options means that `title` is observable, and has get/set accessors.
 *
 * @template {import("../source/Tile.js").default} TileSourceType
 * @extends BaseTileLayer<TileSourceType, CanvasTileLayerRenderer>
 * @api
 */

/**
 * @classdesc
 * For layer sources that provide pre-rendered, tiled images in grids that are
 * organized by zoom levels for specific resolutions.
 * Note that any property set in the options is set as a {@link module:ol/Object~BaseObject}
 * property on the layer object; for example, setting `title: 'My Title'` in the
 * options means that `title` is observable, and has get/set accessors.
 *
 * @template {import("../source/Tile.js").default} TileSourceType
 * @template {import("../renderer/Layer.js").default} RendererType
 * @extends {Layer<TileSourceType, RendererType>}
 * @api
 */

/**
 * @classdesc
 * Implementation of inertial deceleration for map movement.
 *
 * @api
 */

/**
 * @classdesc
 * Implements a Least-Recently-Used cache where the keys do not conflict with
 * Object's properties (e.g. 'hasOwnProperty' is not allowed as a key). Expiring
 * items from the cache is the responsibility of the user.
 *
 * @fires import("../events/Event.js").default
 * @template T
 */

/**
 * @classdesc
 * Layer source for tile data with URLs in a set XYZ format that are
 * defined in a URL template. By default, this follows the widely-used
 * Google grid where `x` 0 and `y` 0 are in the top left. Grids like
 * TMS where `x` 0 and `y` 0 are in the bottom left can be used by
 * using the `{-y}` placeholder in the URL template, so long as the
 * source does not have a custom tile grid. In this case
 * a `tileUrlFunction` can be used, such as:
 * ```js
 *  tileUrlFunction: function(coordinate) {
 *    return 'http://mapserver.com/' + coordinate[0] + '/' +
 *      coordinate[1] + '/' + (-coordinate[2] - 1) + '.png';
 *  }
 * ```
 * @api
 */

/**
 * @classdesc
 * Linear ring geometry. Only used as part of polygon; cannot be rendered
 * on its own.
 *
 * @api
 */

/**
 * @classdesc
 * Objects that need to clean up after themselves.
 */

/**
 * @classdesc
 * Point geometry.
 *
 * @api
 */

/**
 * @classdesc
 * Polygon geometry.
 *
 * @api
 */

/**
 * @classdesc
 * Priority queue.
 *
 * The implementation is inspired from the Closure Library's Heap class and
 * Python's heapq module.
 *
 * See https://github.com/google/closure-library/blob/master/closure/goog/structs/heap.js
 * and https://hg.python.org/cpython/file/2.7/Lib/heapq.py.
 *
 * @template T
 */

/**
 * @classdesc
 * Projection definition class. One of these is created for each projection
 * supported in the application and stored in the {@link module:ol/proj} namespace.
 * You can use these in applications, but this is not required, as API params
 * and options use {@link module:ol/proj~ProjectionLike} which means the simple string
 * code will suffice.
 *
 * You can use {@link module:ol/proj.get} to retrieve the object for a particular
 * projection.
 *
 * The library includes definitions for `EPSG:4326` and `EPSG:3857`, together
 * with the following aliases:
 * * `EPSG:4326`: CRS:84, urn:ogc:def:crs:EPSG:6.6:4326,
 *     urn:ogc:def:crs:OGC:1.3:CRS84, urn:ogc:def:crs:OGC:2:84,
 *     http://www.opengis.net/gml/srs/epsg.xml#4326,
 *     urn:x-ogc:def:crs:EPSG:4326
 * * `EPSG:3857`: EPSG:102100, EPSG:102113, EPSG:900913,
 *     urn:ogc:def:crs:EPSG:6.18:3:3857,
 *     http://www.opengis.net/gml/srs/epsg.xml#3857
 *
 * If you use [proj4js](https://github.com/proj4js/proj4js), aliases can
 * be added using `proj4.defs()`. After all required projection definitions are
 * added, call the {@link module:ol/proj/proj4.register} function.
 *
 * @api
 */

/**
 * @classdesc
 * Projection object for WGS84 geographic coordinates (EPSG:4326).
 *
 * Note that OpenLayers does not strictly comply with the EPSG definition.
 * The EPSG registry defines 4326 as a CRS for Latitude,Longitude (y,x).
 * OpenLayers treats EPSG:4326 as a pseudo-projection, with x,y coordinates.
 */

/**
 * @classdesc
 * Projection object for web/spherical Mercator (EPSG:3857).
 */

/**
 * @classdesc
 * Provides a source of features for vector layers. Vector features provided
 * by this source are suitable for editing. See {@link module:ol/source/VectorTile~VectorTile} for
 * vector data that is optimized for rendering.
 *
 * @fires VectorSourceEvent
 * @api
 * @template {import("../geom/Geometry.js").default} [Geometry=import("../geom/Geometry.js").default]
 */

/**
 * @classdesc
 * Set circle style for vector features.
 * @api
 */

/**
 * @classdesc
 * Set fill style for vector features.
 * @api
 */

/**
 * @classdesc
 * Set icon style for vector features.
 * @api
 */

/**
 * @classdesc
 * Set regular shape style for vector features. The resulting shape will be
 * a regular polygon when `radius` is provided, or a star when `radius1` and
 * `radius2` are provided.
 * @api
 */

/**
 * @classdesc
 * Set stroke style for vector features.
 * Note that the defaults given are the Canvas defaults, which will be used if
 * option is not defined. The `get` functions return whatever was entered in
 * the options; they will not return the default.
 * @api
 */

/**
 * @classdesc
 * Set text style for vector features.
 * @api
 */

/**
 * @classdesc
 * Singleton class. Available through {@link module:ol/style/IconImageCache.shared}.
 */

/**
 * @classdesc
 * Stripped down implementation of the W3C DOM Level 2 Event interface.
 * See https://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-interface.
 *
 * This implementation only provides `type` and `target` properties, and
 * `stopPropagation` and `preventDefault` methods. It is meant as base class
 * for higher level events defined in the library, and works with
 * {@link module:ol/events/Target~Target}.
 */

/**
 * @classdesc
 * The map is the core component of OpenLayers. For a map to render, a view,
 * one or more layers, and a target container are needed:
 *
 *     import Map from 'ol/Map.js';
 *     import View from 'ol/View.js';
 *     import TileLayer from 'ol/layer/Tile.js';
 *     import OSM from 'ol/source/OSM.js';
 *
 *     const map = new Map({
 *       view: new View({
 *         center: [0, 0],
 *         zoom: 1,
 *       }),
 *       layers: [
 *         new TileLayer({
 *           source: new OSM(),
 *         }),
 *       ],
 *       target: 'map',
 *     });
 *
 * The above snippet creates a map using a {@link module:ol/layer/Tile~TileLayer} to
 * display {@link module:ol/source/OSM~OSM} OSM data and render it to a DOM
 * element with the id `map`.
 *
 * The constructor places a viewport container (with CSS class name
 * `ol-viewport`) in the target element (see `getViewport()`), and then two
 * further elements within the viewport: one with CSS class name
 * `ol-overlaycontainer-stopevent` for controls and some overlays, and one with
 * CSS class name `ol-overlaycontainer` for other overlays (see the `stopEvent`
 * option of {@link module:ol/Overlay~Overlay} for the difference). The map
 * itself is placed in a further element within the viewport.
 *
 * Layers are stored as a {@link module:ol/Collection~Collection} in
 * layerGroups. A top-level group is provided by the library. This is what is
 * accessed by `getLayerGroup` and `setLayerGroup`. Layers entered in the
 * options are added to this group, and `addLayer` and `removeLayer` change the
 * layer collection in the group. `getLayers` is a convenience function for
 * `getLayerGroup().getLayers()`. Note that {@link module:ol/layer/Group~LayerGroup}
 * is a subclass of {@link module:ol/layer/Base~BaseLayer}, so layers entered in the
 * options or added with `addLayer` can be groups, which can contain further
 * groups, and so on.
 *
 * @fires import("./MapBrowserEvent.js").MapBrowserEvent
 * @fires import("./MapEvent.js").MapEvent
 * @fires import("./render/Event.js").default#precompose
 * @fires import("./render/Event.js").default#postcompose
 * @fires import("./render/Event.js").default#rendercomplete
 * @api
 */

/**
 * @classdesc
 * Vector data is rendered client-side, as vectors. This layer type provides most accurate rendering
 * even during animations. Points and labels stay upright on rotated views. For very large
 * amounts of vector data, performance may suffer during pan and zoom animations. In this case,
 * try {@link module:ol/layer/VectorImage~VectorImageLayer}.
 *
 * Note that any property set in the options is set as a {@link module:ol/Object~BaseObject}
 * property on the layer object; for example, setting `title: 'My Title'` in the
 * options means that `title` is observable, and has get/set accessors.
 *
 * @template {import("../source/Vector.js").default} VectorSourceType
 * @extends {BaseVectorLayer<VectorSourceType, CanvasVectorLayerRenderer>}
 * @api
 */

/**
 * @classdesc
 * Vector data that is rendered client-side.
 * Note that any property set in the options is set as a {@link module:ol/Object~BaseObject}
 * property on the layer object; for example, setting `title: 'My Title'` in the
 * options means that `title` is observable, and has get/set accessors.
 *
 * @template {import("../source/Vector.js").default|import("../source/VectorTile.js").default} VectorSourceType
 * @template {import("../renderer/canvas/VectorLayer.js").default|import("../renderer/canvas/VectorTileLayer.js").default|import("../renderer/canvas/VectorImageLayer.js").default|import("../renderer/webgl/PointsLayer.js").default} RendererType
 * @extends {Layer<VectorSourceType, RendererType>}
 * @api
 */

/**
 * @classdesc
 * Wrapper around the RBush by Vladimir Agafonkin.
 * See https://github.com/mourner/rbush.
 *
 * @template T
 */

/**
 * @const
 * @enum {number}
 */

/**
 * @const
 * @type {Object<import("../geom/Geometry.js").Type,
 *                function(import("../render/canvas/BuilderGroup.js").default, import("../geom/Geometry.js").default,
 *                         import("../style/Style.js").default, Object): void>}
 */

/**
 * @const
 * @type {import("../colorlike.js").ColorLike}
 */

/**
 * @const
 * @type {string}
 */

/**
 * @constuctor
 */

/**
 * @enum {number}
 */

/**
 * @enum {string}
 * @private
 */

/**
 * @enum {string}
 */

/**
 * @license
 * Lodash <https://lodash.com/>
 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
 * Released under MIT license <https://lodash.com/license>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 */

/**
 * @license     http://creativecommons.org/licenses/publicdomain Public Domain
 * @author      Koji Horaguchi <horaguchi@horaguchi.net>
 */

/**
 * @module ol/Disposable
 */

/**
 * @module ol/Feature
 */

/**
 * @module ol/ImageTile
 */

/**
 * @module ol/Kinetic
 */

/**
 * @module ol/Map
 */

/**
 * @module ol/MapBrowserEvent
 */

/**
 * @module ol/MapBrowserEventHandler
 */

/**
 * @module ol/MapEvent
 */

/**
 * @module ol/Object
 */

/**
 * @module ol/Observable
 */

/**
 * @module ol/Tile
 */

/**
 * @module ol/TileCache
 */

/**
 * @module ol/TileQueue
 */

/**
 * @module ol/TileRange
 */

/**
 * @module ol/ViewHint
 */

/**
 * @module ol/asserts
 */

/**
 * @module ol/centerconstraint
 */

/**
 * @module ol/color
 */

/**
 * @module ol/colorlike
 */

/**
 * @module ol/console
 */

/**
 * @module ol/control/Attribution
 */

/**
 * @module ol/control/Control
 */

/**
 * @module ol/control/Rotate
 */

/**
 * @module ol/control/Zoom
 */

/**
 * @module ol/control/defaults
 */

/**
 * @module ol/coordinate
 */

/**
 * @module ol/dom
 */

/**
 * @module ol/easing
 */

/**
 * @module ol/events
 */

/**
 * @module ol/events/Event
 */

/**
 * @module ol/events/Target
 */

/**
 * @module ol/events/condition
 */

/**
 * @module ol/extent
 */

/**
 * @module ol/extent/Relationship
 */

/**
 * @module ol/featureloader
 */

/**
 * @module ol/functions
 */

/**
 * @module ol/geom/Geometry
 */

/**
 * @module ol/geom/LinearRing
 */

/**
 * @module ol/geom/Point
 */

/**
 * @module ol/geom/Polygon
 */

/**
 * @module ol/geom/SimpleGeometry
 */

/**
 * @module ol/geom/flat/area
 */

/**
 * @module ol/geom/flat/closest
 */

/**
 * @module ol/geom/flat/contains
 */

/**
 * @module ol/geom/flat/deflate
 */

/**
 * @module ol/geom/flat/inflate
 */

/**
 * @module ol/geom/flat/interiorpoint
 */

/**
 * @module ol/geom/flat/intersectsextent
 */

/**
 * @module ol/geom/flat/length
 */

/**
 * @module ol/geom/flat/orient
 */

/**
 * @module ol/geom/flat/reverse
 */

/**
 * @module ol/geom/flat/segments
 */

/**
 * @module ol/geom/flat/straightchunk
 */

/**
 * @module ol/geom/flat/textpath
 */

/**
 * @module ol/geom/flat/transform
 */

/**
 * @module ol/interaction/DoubleClickZoom
 */

/**
 * @module ol/interaction/DragPan
 */

/**
 * @module ol/interaction/DragRotate
 */

/**
 * @module ol/interaction/DragZoom
 */

/**
 * @module ol/interaction/Interaction
 */

/**
 * @module ol/interaction/KeyboardPan
 */

/**
 * @module ol/interaction/KeyboardZoom
 */

/**
 * @module ol/interaction/MouseWheelZoom
 */

/**
 * @module ol/interaction/PinchRotate
 */

/**
 * @module ol/interaction/PinchZoom
 */

/**
 * @module ol/interaction/Pointer
 */

/**
 * @module ol/interaction/Property
 */

/**
 * @module ol/interaction/defaults
 */

/**
 * @module ol/layer/Base
 */

/**
 * @module ol/layer/BaseTile
 */

/**
 * @module ol/layer/BaseVector
 */

/**
 * @module ol/layer/Group
 */

/**
 * @module ol/layer/Layer
 */

/**
 * @module ol/layer/Tile
 */

/**
 * @module ol/layer/Vector
 */

/**
 * @module ol/loadingstrategy
 */

/**
 * @module ol/math
 */

/**
 * @module ol/obj
 */

/**
 * @module ol/proj
 */

/**
 * @module ol/proj/Projection
 */

/**
 * @module ol/proj/epsg4326
 */

/**
 * @module ol/proj/projections
 */

/**
 * @module ol/proj/transforms
 */

/**
 * @module ol/render/Box
 */

/**
 * @module ol/render/Event
 */

/**
 * @module ol/render/VectorContext
 */

/**
 * @module ol/render/canvas
 */

/**
 * @module ol/render/canvas/Builder
 */

/**
 * @module ol/render/canvas/Executor
 */

/**
 * @module ol/render/canvas/ImageBuilder
 */

/**
 * @module ol/render/canvas/Immediate
 */

/**
 * @module ol/render/canvas/LineStringBuilder
 */

/**
 * @module ol/render/canvas/PolygonBuilder
 */

/**
 * @module ol/render/canvas/TextBuilder
 */

/**
 * @module ol/renderer/Composite
 */

/**
 * @module ol/renderer/Layer
 */

/**
 * @module ol/renderer/Map
 */

/**
 * @module ol/renderer/canvas/TileLayer
 */

/**
 * @module ol/renderer/canvas/VectorLayer
 */

/**
 * @module ol/renderer/vector
 */

/**
 * @module ol/reproj
 */

/**
 * @module ol/reproj/Tile
 */

/**
 * @module ol/resolutionconstraint
 */

/**
 * @module ol/rotationconstraint
 */

/**
 * @module ol/source/Source
 */

/**
 * @module ol/source/Tile
 */

/**
 * @module ol/source/TileImage
 */

/**
 * @module ol/source/UrlTile
 */

/**
 * @module ol/source/Vector
 */

/**
 * @module ol/source/XYZ
 */

/**
 * @module ol/sphere
 */

/**
 * @module ol/structs/LRUCache
 */

/**
 * @module ol/structs/RBush
 */

/**
 * @module ol/style/Circle
 */

/**
 * @module ol/style/Fill
 */

/**
 * @module ol/style/Icon
 */

/**
 * @module ol/style/IconImage
 */

/**
 * @module ol/style/IconImageCache
 */

/**
 * @module ol/style/Image
 */

/**
 * @module ol/style/RegularShape
 */

/**
 * @module ol/style/Stroke
 */

/**
 * @module ol/style/Style
 */

/**
 * @module ol/style/flat
 */

/**
 * @module ol/tilecoord
 */

/**
 * @module ol/tilegrid
 */

/**
 * @module ol/tileurlfunction
 */

/**
 * @module ol/transform
 */

/**
 * @module ol/util
 */

/**
 * @namespace   Ext.ux
 * @class       Ext.ux.ButtonLockedToggle & Ext.ux.tbButtonLockedToggle
 * @extends     Ext.Button
 * @description
 * The normal button, when enableToggle is used and toggleGroup is set correctly, still allows the user
 * to toggle off the toggled button by pressing on it. This class overrides the toggle-method so that
 * the toggled button is impossible to 'untoggle' other than programmatically or as a reaction
 * to any of the other buttons in the group getting toggled on.
 *
 * Toggle is by the way a very strange word when you repeat it enough.
 *
 * @author www.steinarmyhre.com
 * @constructor
 * Identical to Ext.Button and/or Ext.Toolbar.Button except that enableToggle is true by default.
 * @param (Object/Array) config A config object
 */

/**
 * @namespace   Ext.ux
 * @class       Ext.ux.ConnectionStatus
 * @constructor
 */

/**
 * @namespace   Ext.ux
 * @class       Ext.ux.GMapPanel
 * @extends     Ext.Panel
 */

/**
 * @namespace   Ext.ux
 * @class       Ext.ux.TabPanelKeyPlugin
 * @author      Alexander Stintzing <alex@stintzing.net>
 */

/**
 * @namespace   Ext.ux
 * @class       Ext.ux.TabPanelSortPlugin
 * 
 * @constructor
 * @param {Object} config Configurations options
 */

/**
 * @namespace   Ext.ux
 * @class       Ext.ux.TabPanelStripCompressorPlugin
 *
 * @constructor
 * @param {Object} config Configurations options
 */

/**
 * @namespace   Ext.ux
 * @class       Ext.ux.WindowFactory
 * @contructor
 *
 * @cfg {String} windowType type of window {Ext|Browser}
 */

/**
 * @namespace   Ext.ux.direct
 * @class       Ext.ux.direct.JsonRpcProvider
 * @extends     Ext.direct.RemotingProvider
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2009-2010 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * Ext.Direct provider for seamless integration with JSON RPC servers
 * 
 *  Ext.Direct.addProvider(Ext.apply(Ext.app.JSONRPC_API, {
        'type'     : 'jsonrpcprovider',
        'url'      : Ext.app.JSONRPC_API
    }));
 * 
 */

/**
 * @namespace   Ext.ux.file
 * @class       Ext.ux.file.BrowsePlugin
 * @param       {Object} config Configuration options
 */

/**
 * @namespace   Ext.ux.file
 * @class       Ext.ux.file.Download
 * @extends     Ext.util.Observable
 */

/**
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.BrowseButton
 * @extends     Ext.Button
 */

/**
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.BytesField
 * @extends     Ext.form.NumberField
 */

/**
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.ClearableTextField
 * @extends     Ext.form.TriggerField
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2009 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * Textfield with clearing trigger
 */

/**
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.ColorField
 * @extends     Ext.form.TriggerField
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2009 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * Provides a color input field with a {@link Ext.menu.ColorMenu} dropdown.
 * @constructor Create a new ColorField
 * @param {Object} config
 * @xtype colorfield
 */

/**
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.ColumnFormPanel
 * @description
 * Helper Class for creating form panels with a horizontal layout. This class could be directly
 * created using the new keyword or by specifying the xtype: 'columnform'
 * Example usage:</p>
 * <pre><code>
var p = new Ext.ux.form.ColumnFormPanel({
    title: 'Horizontal Form Layout',
    items: [
        [
            {
                columnWidth: .6,
                fieldLabel:'Company Name', 
                name:'org_name'
            },
            {
                columnWidth: .4,
                fieldLabel:'Street', 
                name:'adr_one_street'
            }
        ],
        [
            {
                columnWidth: .7,
                fieldLabel:'Region',
                name:'adr_one_region'
            },
            {
                columnWidth: .3,
                fieldLabel:'Postal Code', 
                name:'adr_one_postalcode'
            }
        ]
    ]
});
</code></pre>
 */

/**
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.ImageCropper
 * @extends     Ext.Component
 */

/**
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.ImageField
 * 
 * <p>A field which displayes a image of the given url and optionally supplies upload
 * button with the feature to display the newly uploaded image on the fly</p>
 * <p>Example usage:</p>
 * <pre><code>
 var formField = new Ext.ux.form.ImageField({
     name: 'jpegimage',
     width: 90,
     height: 90
 });
 * </code></pre>
 */

/**
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.LayerCombo
 * @extends     Ext.form.TriggerField
 * 
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * 
 * trigger field with support for extra layer on trigger click
 */

/**
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.MoneyField
 * @extends     Ext.form.MoneyField
 */

/**
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.Spinner
 * @extends     Ext.form.TriggerField
 */

/**
 * @namespace   Ext.ux.form.HtmlEditor
 * @class       Ext.ux.form.HtmlEditor.Divider
 * @extends     Ext.util.Observable
 * @author      Shea Frederick - http://www.vinylfox.com
 *
 * <p>A plugin that creates a divider on the HtmlEditor. Used for separating additional buttons.</p>
 */

/**
 * @namespace   Ext.ux.form.HtmlEditor
 * @class       Ext.ux.form.HtmlEditor.HR
 * @extends     Ext.util.Observable
 * @author      Shea Frederick - http://www.vinylfox.com
 *
 * <p>A plugin that creates a button on the HtmlEditor for inserting a horizontal rule.</p>
 */

/**
 * @namespace   Ext.ux.form.HtmlEditor
 * @class       Ext.ux.form.HtmlEditor.IndentOutdent
 * @extends     Ext.ux.form.HtmlEditor.MidasCommand
 * @author      Shea Frederick - http://www.vinylfox.com
 *
 * <p>A plugin that creates two buttons on the HtmlEditor for indenting and outdenting of selected text.</p>
 */

/**
 * @namespace   Ext.ux.form.HtmlEditor
 * @class       Ext.ux.form.HtmlEditor.MidasCommand
 * @extends     Ext.util.Observable
 */

/**
 * @namespace   Ext.ux.form.HtmlEditor
 * @class       Ext.ux.form.HtmlEditor.RemoveFormat
 * @extends     Ext.ux.form.HtmlEditor.MidasCommand
 * @author      Shea Frederick - http://www.vinylfox.com
 *
 * <p>A plugin that creates a button on the HtmlEditor that will remove all formatting on selected text.</p>
 */

/**
 * @namespace   Ext.ux.form.HtmlEditor
 * @class       Ext.ux.form.HtmlEditor.SelectImage
 * @extends     Ext.ux.form.HtmlEditor.MidasCommand
 *
 * <p>A plugin to select image on the HtmlEditor..</p>
 */

/**
 * @namespace   Ext.ux.form.HtmlEditor
 * @class       Ext.ux.form.HtmlEditor.SpecialCharacters
 * @extends     Ext.util.Observable
 * @author      Shea Frederick - http://www.vinylfox.com
 *
 * <p>A plugin that creates a button on the HtmlEditor for inserting special characters.</p>
 */

/**
 * @namespace   Ext.ux.form.HtmlEditor
 * @class       Ext.ux.form.HtmlEditor.SubSuperScript
 * @extends     Ext.ux.form.HtmlEditor.MidasCommand
 * @author      Shea Frederick - http://www.vinylfox.com
 *
 * <p>A plugin that creates two buttons on the HtmlEditor for superscript and subscripting of selected text.</p>
 */

/**
 * @namespace   Ext.ux.form.HtmlEditor
 * @class       Ext.ux.form.HtmlEditor.Table
 * @extends     Ext.util.Observable
 * @author      Shea Frederick - http://www.vinylfox.com
 *
 * <p>A plugin that creates a button on the HtmlEditor for making simple tables.</p>
 */

/**
 * @namespace   Ext.ux.form.HtmlEditor
 * @class       Ext.ux.form.HtmlEditor.Word
 * @extends     Ext.util.Observable
 * @author      Shea Frederick - http://www.vinylfox.com
 *
 * <p>A plugin that creates a button on the HtmlEditor for pasting text from Word without all the jibberish html.</p>
 */

/**
 * @namespace   Ext.ux.grid
 * @class       Ext.ux.grid.ActionColumnPlugin
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * 
 * @plugin for Ext.ux.grid.GridPanel
 */

/**
 * @namespace   Ext.ux.grid
 * @class       Ext.ux.grid.RowExpander
 * @extends     Ext.util.Observable
 */

/**
 * @namespace   Ext.ux.layout
 * @class       Ext.ux.layout.CenterLayout
 * @extends     Ext.layout.FitLayout
 * 
 * <p>This is a very simple layout style used to center contents within a container.  This layout works within
 * nested containers and can also be used as expected as a Viewport layout to center the page layout.</p>
 * <p>As a subclass of FitLayout, CenterLayout expects to have a single child panel of the container that uses 
 * the layout.  The layout does not require any config options, although the child panel contained within the
 * layout must provide a fixed or percentage width.  The child panel's height will fit to the container by
 * default, but you can specify <tt>autoHeight:true</tt> to allow it to autosize based on its content height.  
 * Example usage:</p> 
 * <pre><code>
// The content panel is centered in the container
var p = new Ext.Panel({
    title: 'Center Layout',
    layout: 'ux.center',
    items: [{
        title: 'Centered Content',
        width: '75%',
        html: 'Some content'
    }]
});

// If you leave the title blank and specify no border
// you'll create a non-visual, structural panel just
// for centering the contents in the main container.
var p = new Ext.Panel({
    layout: 'ux.center',
    border: false,
    items: [{
        title: 'Centered Content',
        width: 300,
        autoHeight: true,
        html: 'Some content'
    }]
});
</code></pre>
 */

/**
 * @namespace   Ext.ux.layout
 * @class       Ext.ux.layout.DisplayLayout
 * @extends     Ext.layout.FormLayout
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * 
 * <b>Layout for displaying information in a displaypanel</b>
 */

/**
 * @namespace   Ext.ux.layout
 * @class       Ext.ux.layout.HorizontalFitLayout
 * @extends     Ext.layout.ContainerLayout
 * @description
 * <p>This is a base class for layouts that contain a single item that automatically expands horizontally to fill 
 * the horizontal dimenson of the layout's container.  This class is intended to be extended or created via the 
 * layout:'hfit' {@link Ext.Container#layout} config, and should generally not need to be created directly via 
 * the new keyword.</p>
 * <p>To fit a panel to a container horizontally using Horizontal FitLayout, simply set layout:'hfit' on the container 
 * and add a multiple panel to it.</p>
 * <p>Example usage:</p>
 * <pre><code>
var p = new Ext.Panel({
    title: 'Horizontal Fit Layout',
    layout:'hfit',
    items: [{
        title: 'Inner Panel One',
        html: '&lt;p&gt;This is the firsts inner panel content&lt;/p&gt;',
        border: false
    },{
        title: 'Inner Panel Two',
        html: '&lt;p&gt;This is the seconds inner panel content&lt;/p&gt;',
        border: false
    }]
});
</code></pre>
 */

/**
 * @namespace   Ext.ux.layout
 * @class       Ext.ux.layout.RowLayout
 * @extends     Ext.layout.ContainerLayout
 * 
 * <p>This is the layout style of choice for creating structural layouts in a multi-row format where the height of
 * each row can be specified as a percentage or fixed height.  Row widths can also be fixed, percentage or auto.
 * This class is intended to be extended or created via the layout:'ux.row' {@link Ext.Container#layout} config,
 * and should generally not need to be created directly via the new keyword.</p>
 * <p>RowLayout does not have any direct config options (other than inherited ones), but it does support a
 * specific config property of <b><tt>rowHeight</tt></b> that can be included in the config of any panel added to it.  The
 * layout will use the rowHeight (if present) or height of each panel during layout to determine how to size each panel.
 * If height or rowHeight is not specified for a given panel, its height will default to the panel's height (or auto).</p>
 * <p>The height property is always evaluated as pixels, and must be a number greater than or equal to 1.
 * The rowHeight property is always evaluated as a percentage, and must be a decimal value greater than 0 and
 * less than 1 (e.g., .25).</p>
 * <p>The basic rules for specifying row heights are pretty simple.  The logic makes two passes through the
 * set of contained panels.  During the first layout pass, all panels that either have a fixed height or none
 * specified (auto) are skipped, but their heights are subtracted from the overall container height.  During the second
 * pass, all panels with rowHeights are assigned pixel heights in proportion to their percentages based on
 * the total <b>remaining</b> container height.  In other words, percentage height panels are designed to fill the space
 * left over by all the fixed-height and/or auto-height panels.  Because of this, while you can specify any number of rows
 * with different percentages, the rowHeights must always add up to 1 (or 100%) when added together, otherwise your
 * layout may not render as expected.  Example usage:</p>
 * <pre><code>
// All rows are percentages -- they must add up to 1
var p = new Ext.Panel({
    title: 'Row Layout - Percentage Only',
    layout:'ux.row',
    items: [{
        title: 'Row 1',
        rowHeight: .25
    },{
        title: 'Row 2',
        rowHeight: .6
    },{
        title: 'Row 3',
        rowHeight: .15
    }]
});

// Mix of height and rowHeight -- all rowHeight values must add
// up to 1. The first row will take up exactly 120px, and the last two
// rows will fill the remaining container height.
var p = new Ext.Panel({
    title: 'Row Layout - Mixed',
    layout:'ux.row',
    items: [{
        title: 'Row 1',
        height: 120,
        // standard panel widths are still supported too:
        width: '50%' // or 200
    },{
        title: 'Row 2',
        rowHeight: .8,
        width: 300
    },{
        title: 'Row 3',
        rowHeight: .2
    }]
});
</code></pre>
 */

/**
 * @namespace   Ext.ux.tree
 * @class       Ext.ux.tree.CheckboxSelectionModel
 * @extends     Ext.util.Observable
 * 
 * Checkbox multi selection for a TreePanel.
 */

/**
 * @namespace   Ext.ux.util
 * @class       Ext.ux.util.Cookie
 */

/**
 * @namespace   Tine.Tasks
 * @class       Tine.Tinebase.widgets.keyfield.Filter
 * @extends     Tine.widgets.grid.FilterModel
 * 
 * @author      Philipp Schüle <p.schuele@metaways.de>
 */

/**
 * @namespace   Tine.Tasks
 * @class       Tine.Tinebase.widgets.keyfield.FilterValueField
 * @extends     Ext.ux.form.LayerCombo
 * 
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * 
 * TODO think about using Tine.widgets.grid.PickerFilterValueField
 */

/**
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.CreditsScreen
 * @extends     Ext.Window
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * 
 * @param {Object} config The configuration options.
 */

/**
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.LicenseScreen
 * @extends     Ext.Window
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * 
 * @param {Object} config The configuration options.
 */

/**
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.LoginPanel
 * @extends     Ext.Panel
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 */

/**
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.SiteFilterModel
 * @extends     Tine.widgets.grid.ForeignRecordFilter
 */

/**
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.StateProvider
 * @extends     Ext.state.Provider
 */

/**
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.SubscriptionScreen
 * @extends     Ext.Window
 * @author      Ching En Cheng <c.cheng@metaways.de> 
 *   
 * @param {Object} config The configuration options.
 */

/**
 * @namespace   Tine.Tinebase.data
 * @class       Tine.Tinebase.data.GroupedStoreCollection
 * @extends     Ext.util.MixedCollection
 *
 * grouping store collection
 *
 * automatically manages group stores
 *
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @constructor
 * @param {Object} config
 */

/**
 * @namespace   Tine.Tinebase.data
 * @class       Tine.Tinebase.data.RecordProxy
 * @extends     Ext.data.DataProxy
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * 
 * Generic record proxy for an model/datatype of an application
 * 
 * @constructor
 * @param {Object} config Config Object
 */

/**
 * @namespace   Tine.Tinebase.widgets.form
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @class       Tine.Tinebase.widgets.form.RecordPickerComboBox
 * @extends     Ext.form.ComboBox
 *
 * <p>Abstract base class for recordPickers like account/group pickers </p>
 *
 * Usage:
 * <pre><code>
var resourcePicker = new Tine.Tinebase.widgets.form.RecordPickerComboBox({
    recordClass: Tine.Calendar.Model.Resource
});
   </code></pre>
 */

/**
 * @namespace   Tine.Tinebase.widgets.keyfield
 * @class       Tine.Tinebase.widgets.keyfield.Store
 * @extends     Ext.data.JsonStore
 */

/**
 * @namespace   Tine.widgets
 * @class       Tine.widgets.ContentTypeTreePanel
 * @extends     Ext.tree.TreePanel
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @param       {Object} config Configuration options
 * @description
 * <p>Utility class for generating content type trees as used in the apps westpanel</p>
 *<p>Example usage:</p>
<pre><code>
var modulePanel =  new Tine.widgets.ContentTypeTreePanel({
    app: Tine.Tinebase.appMgr.get('Timetracker'),
    contentTypes: [{modelName: 'Timesheet', requiredRight: null}, {modelName: 'Timeaccount', requiredRight: 'manage'}],
    contentType: 'Timeaccount'
});
</code></pre>
 */

/**
 * @namespace   Tine.widgets
 * @class       Tine.widgets.CountryFilter
 * @extends     Tine.widgets.grid.PickerFilter
 */

/**
 * @namespace   Tine.widgets
 * @class       Tine.widgets.MainScreen
 * @extends     Ext.Panel
 *
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 */

/**
 * @namespace   Tine.widgets.account
 * @class       Tine.widgets.account.ChangeAccountAction
 * @extends     Ext.Action
 */

/**
 * @namespace   Tine.widgets.activities
 * @class       Tine.widgets.activities.ActivitiesGridPanel
 * @extends     Ext.grid.GridPanel
 * @author      Michael Spahn <m.spahn@metaways.de>
 */

/**
 * @namespace   Tine.widgets.container
 * @class       Tine.widgets.container.FilterModel
 * @extends     Tine.widgets.grid.FilterModel
 * 
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 */

/**
 * @namespace   Tine.widgets.container
 * @class       Tine.widgets.container.FilterModelMultipleValueField
 * @extends     Ext.ux.form.LayerCombo
 * 
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 */

/**
 * @namespace   Tine.widgets.container
 * @class       Tine.widgets.container.TreePanel
 * @extends     Ext.tree.TreePanel
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @param       {Object} config Configuration options
 * @description
 * <p>Utility class for generating container trees as used in the apps tree panel</p>
 * <p>This widget handles all container related actions like add/rename/delte and manager permissions<p>
 *<p>Example usage:</p>
<pre><code>
var taskPanel =  new Tine.containerTreePanel({
    app: Tine.Tinebase.appMgr.get('Tasks'),
    recordClass: Tine.Tasks.Model.Task
});
</code></pre>
 */

/**
 * @namespace   Tine.widgets.customfields
 * @class       Tine.widgets.customfields.FilterModel
 * @extends     Tine.widgets.grid.FilterModel
 */

/**
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.AddToRecordPanel
 * @extends     Ext.FormPanel
 * @author      Alexander Stintzing <alex@stintzing.net>
 */

/**
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.AttachmentsGridPanel
 * @extends     Tine.widgets.grid.FileUploadGrid
 * @author      Philipp Schüle <p.schuele@metaways.de>
 */

/**
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.DuplicateMergeDialog
 * @extends     Ext.FormPanel
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * 
 * @param {Object} config The configuration options.
 */

/**
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.FileListDialog
 * @extends     Ext.FormPanel
 */

/**
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.MultipleEditResultSummary
 * @extends     Ext.FormPanel
 */

/**
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.SimpleRecordEditDialog
 * @extends     Tine.widgets.dialog.EditDialog
 * SimpleRecord Edit Dialog <br>
 *
 * @author      Philipp Schüle <p.schuele@metaways.de>
 */

/**
 * @namespace   Tine.widgets.editDialog
 * @class       Tine.widgets.dialog.AddRelationsDialogPlugin
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * 
 * @plugin for Tine.widgets.editDialog
 */

/**
 * @namespace   Tine.widgets.editDialog
 * @class       Tine.widgets.dialog.MultipleEditDialogPlugin
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * 
 * @plugin for Tine.widgets.editDialog
 */

/**
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.ExportButton
 * @extends     Ext.Button
 * <p>export button</p>
 * @constructor
 */

/**
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.FileUploadGrid
 * @extends     Ext.grid.GridPanel
 *
 * <p>FileUpload grid for dialogs</p>
 * <p>
 * </p>
 *
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2010-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 *
 * @param       {Object} config
 *
 * @constructor Create a new  Tine.widgets.grid.FileUploadGrid
 */

/**
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.FilterButton
 * @extends     Ext.Button
 * <p>Toggle Button to be used as filter</p>
 * @constructor
 */

/**
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.FilterModelMultiSelect
 * @extends     Tine.widgets.grid.FilterModel
 * 
 * @author      Philipp Schuele <p.schuele@metaways.de>
 */

/**
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.FilterModelMultiSelectValueField
 * @extends     Ext.ux.form.LayerCombo
 * 
 * @author      Philipp Schuele <p.schuele@metaways.de>
 */

/**
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.FilterPlugin
 * @extends     Ext.util.Observable
 * <p>Base class for all grid filter plugins.</p>
 * @constructor
 */

/**
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.FilterRegistry
 * @singleton
 */

/**
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.FilterToolbar
 * @extends     Ext.Panel
 * 
 * <br>Usage:<br>
     <pre><code>
     tb = new Tine.widgets.grid.FilterToolbar({
         filterModels: [
            {label: 'Full Name', field: 'n_fn', defaultOperator: 'contains'},
            {label: 'Container', field: 'container_id', operatorRenderer: function() {...}, valueRenderer: function() {...}},
            {label: 'Contact', field: 'quicksearch'}
         ],
         defaultFilter: 'quicksearch',
         filters: [
            {field: 'n_fn', operator: 'contains', value: 'Smith'},
            {field: 'container_id', operator: 'equals', value: 4}
        ]
     });
    </code></pre>
 * @constructor
 * @param {Object} config
 */

/**
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.FilterToolbarQuickFilterPlugin
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2009 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * This plugin provides an external filter field (quickfilter) as a plugin of a filtertoolbar.
 * The filtertoolbar itself will be hidden no filter is set.
 * 
 * @example
 <pre><code>
    // init quickfilter as plugin of filtertoolbar
    this.quickSearchFilterToolbarPlugin = new Tine.widgets.grid.FilterToolbarQuickFilterPlugin();
    this.filterToolbar = new Tine.widgets.grid.FilterToolbar({
        filterModels: Tine.Addressbook.Model.Contact.getFilterModel(),
        defaultFilter: 'query',
        filters: [],
        plugins: [
            this.quickSearchFilterToolbarPlugin
        ]
    });
    
    // put quickfilterfield in a toolbar
    this.tbar = new Ext.Toolbar({
        '->',
        this.quickSearchFilterToolbarPlugin.getQuickFilterField()
    })
</code></pre>
 */

/**
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.MappingPickerGridPanel
 * @extends     Tine.widgets.grid.PickerGridPanel
 *
 *
 * pick mapped dependent records with can be grouped by other records optionally
 *
 * Example: Project Members(Addressbook.Contact) grouped by Addressbook.Lists
 *
 * NOTE: Members must be defined as mapped dependent records because the (single) referenceId is stored on the depended
 *       record side - we can't add a field to Contacts AND a Contact might me member of multiple Projects.
 *
 * NOTE: Group defining records must be defined as separate map as dynamic typed dependencies not possible in modelconfig
 *
   projectMemberGroupsGrid = Ext.extend(Tine.widgets.grid.MappingPickerGridPanel, {
       field: 'membergroups',
       mappingField: 'groupMemberId'
   });
   projectMembersGrid = Ext.extend(Tine.widgets.grid.MappingPickerGridPanel, {
       field: 'members',
       mappingField: 'memberId',
       groupRecordsGrid: projectMemberGroupsGrid
   });
 *
 * @TODO: both grids should be part of this picker widget
 * @TODO: than the group grid could optional be merged as typed (client only) records here
 * @TODO: when records via group needs own properties in the mapping (e.g. last action), then the server
 *        needs to persist the resolved groupmembers and flag them as gropumembers (see calendar attendee)
 */

/**
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.PickerFilter
 * @extends     Tine.widgets.grid.FilterModel
 */

/**
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.PickerFilterValueField
 * @extends     Ext.ux.form.LayerCombo
 */

/**
 * @namespace   Tine.widgets.mainscreen
 * @class       Tine.widgets.mainscreen.WestPanel
 * @extends     Ext.ux.Portal
 * 
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * 
 * @todo make save button working again -> move to here
 * 
 * @constructor
 * @xtype       tine.widgets.mainscreen.westpanel
 */

/**
 * @namespace   Tine.widgets.persistentfilter
 * 
 * @param       {String} appName
 * @return      {model.PersistentFilter} or null
 */

/**
 * @namespace   Tine.widgets.persistentfilter
 * 
 * get store of all persistent filters
 * 
 * @static
 * @singleton
 * @return {PersistentFilterStore}
 */

/**
 * @namespace   Tine.widgets.persistentfilter
 * @class       Tine.Tinebase.data.RecordProxy
 * @singelton   Tine.widgets.persistentfilter.model.persistentFilterProxy
 * 
 * <p>Backend for Persistent Filter</p>
 * 
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 */

/**
 * @namespace   Tine.widgets.persistentfilter
 * @class       Tine.widgets.persistentfilter.model.PersistentFilter
 * @extends     Tine.Tinebase.data.Record
 * 
 * <p>Model of a Persistent Filter</p>
 * 
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * 
 * @param       {Object} data
 * @constructor
 * Create a new Tine.widgets.persistentfilter.model.PersistentFilter Record
 */

/**
 * @namespace   Tine.widgets.persistentfilter
 * @class       Tine.widgets.persistentfilter.store.PersistentFilterStore
 * @extends     Ext.data.ArrayStore
 * 
 * <p>Store for Persistent Filter Records</p>
 * 
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * 
 * @param       {Object} config
 * @constructor
 * Create a new Tine.widgets.persistentfilter.store.PersistentFilterStore
 */

/**
 * @namespace   Tine.widgets.printer
 * @class       Tine.widgets.printer.RecordRenderer
 * @author      Stefanie Stamer <s.stamer@metaways.de>
 */

/**
 * @namespace   Tine.widgets.relation
 * @class       Tine.widgets.relation.FilterModel
 * @extends     Tine.widgets.grid.FilterModel
 * 
 * @todo CARE FOR SHEET DESTRUCTON!
 * @todo CARE FOR OPERATOR CHANGE
 */

/**
 * @namespace   Tine.widgets.relation
 * @class       Tine.widgets.relation.GenericPickerGridPanel
 * @extends     Tine.widgets.grid.PickerGridPanel
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 */

/**
 * @namespace   Tine.widgets.relation
 * @class       Tine.widgets.relation.GridRenderer
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @extends     Ext.Component
 */

/**
 * @namespace   Tine.widgets.relation
 * @class       Tine.widgets.relation.Manager
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 */

/**
 * @namespace   Tine.widgets.relation
 * @class       Tine.widgets.relation.MenuItemManager
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 */

/**
 * @namespace   Tine.widgets.relation
 * @class       Tine.widgets.relation.PickerCombo
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 */

/**
 * @namespace   Tine.widgets.tags
 * @class       Tine.widgets.tags.TagCombo
 * @extends     Ext.ux.form.ClearableComboBox
 */

/**
 * @namespace   Tine.widgets.tags
 * @class       Tine.widgets.tags.TagFilter
 * @extends     Tine.widgets.grid.PickerFilter
 */

/**
 * @namespace   Tine.widgets.tags
 * @class       Tine.widgets.tags.TagsMassAttachAction
 * @extends     Ext.Action
 */

/**
 * @namespace   Tine.widgets.tags
 * @class       Tine.widgets.tags.TagsMassDetachAction
 * @extends     Ext.Action
 */

/**
 * @namespace  Tine.Tinebase
 * @class      Tine.Tinebase.AboutDialog
 * @extends    Ext.Window
 */

/**
 * @namespace  Tine.Tinebase
 * @class      Tine.Tinebase.ExceptionDialog
 * @extends    Ext.Window
 */

/**
 * @namespace  Tine.Tinebase
 * @class      Tine.Tinebase.PasswordChangeDialog
 * @extends    Tine.widgets.dialog.ModalDialog
 */

/**
 * @namespace Tine.Tinebase
 * @class Tine.Tinebase.ExceptionHandler
 * @singleton
 * 
 * IE NOTE: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnscrpt/html/WebErrors2.asp
 *    "A common problem that bites many developers occurs when their onerror handler is not 
 *     called because they have script debugging enabled for Internet Explorer."
 *
 * central class for exception handling
 */

/**
 * @namespace Tine.Tinebase
 * @class Tine.Tinebase.ExceptionHandlerRegistry
 * @singleton
 * 
 * 
 */

/**
 * @namespace Tine.Tinebase
 * @class Tine.Tinebase.dialog.Dialog
 * @extends Ext.Panel
 */

/**
 * @namespace Tine.Tinebase.Model
 * @class     Tine.Tinebase.Model.Config
 * @extends   Record
 * 
 * Model of a application config settings
 */

/**
 * @namespace Tine.Tinebase.Model
 * @class     Tine.Tinebase.Model.Credentials
 * @extends   Record
 * 
 * Model of user credentials
 */

/**
 * @namespace Tine.Tinebase.Model
 * @class     Tine.Tinebase.Model.Department
 * @extends   Record
 * 
 * Model of a Department
 */

/**
 * @namespace Tine.Tinebase.Model
 * @class     Tine.Tinebase.Model.ExportJob
 * @extends   Record
 * 
 * Model of an export job
 */

/**
 * @namespace Tine.Tinebase.Model
 * @class     Tine.Tinebase.Model.ImportJob
 * @extends   Record
 * 
 * Model of an import job
 */

/**
 * @namespace Tine.Tinebase.Model
 * @class     Tine.Tinebase.Model.Relation
 * @extends   Record
 * 
 * Model of a Relation
 */

/**
 * @namespace Tine.Tinebase.data
 * @class     Record
 * @extends   Ext.data.Record
 * 
 * Baseclass of Tine 2.0 models
 */

/**
 * @namespace Tine.Tinebase.data
 * @class     Tine.Tinebase.data.RecordStore
 * @extends   Ext.data.Store
 * @author    Cornelius Weiss <c.weiss@metaways.de>
 * 
 * Small helper class to create an {@link Ext.data.Store} configured with an
 * {@link Ext.data.DirectProxy} and {@link Ext.data.JsonReader} to make interacting
 * with an {@link Ext.Direct} Server-side {@link Ext.ux.direct.ZendFrameworkProvider} easier.
 * 
 * @xtype     tinerecordstore
 * @constructor
 * @param {Object} config config object
 */

/**
 * @namespace Tine.widgets.container
 * @class Tine.widgets.container.SelectionDialog
 * @extends Ext.Component
 *
 * This widget shows a modal container selection dialog
 */

/**
 * @namespace Tine.widgets.persistentfilter
 * @class Tine.widgets.persistentfilter.EditPersistentFilterPanel
 * @extends Ext.FormPanel
 * 
 * <p>
 * PersistentFilter Edit Dialog
 * </p>
 * 
 * @author Alexander Stintzing <a.stintzing@metaways.de>
 * @license http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * 
 * @param {Object} config
 */

/**
 * @namespace Tine.widgets.persistentfilter
 * @class Tine.widgets.persistentfilter.PickerPanel
 * @extends Ext.tree.TreePanel
 * 
 * <p>
 * PersistentFilter Picker Panel
 * </p>
 * 
 * @author Cornelius Weiss <c.weiss@metaways.de>
 * @license http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * 
 * @param {Object}
 *            config
 * @constructor Create a new Tine.widgets.persistentfilter.PickerPanel
 */

/**
 * @namespace Tine.widgets.persistentfilter
 * @class Tine.widgets.persistentfilter.PickerTreePanelLoader
 * @extends Tine.widgets.tree.Loader
 * 
 * <p>
 * PersistentFilter Picker Panel Tree Loader
 * </p>
 * 
 * @author Cornelius Weiss <c.weiss@metaways.de>
 * @license http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * 
 * @param {Object}
 *            config
 * @constructor Create a new Tine.widgets.persistentfilter.PickerTreePanelLoader
 */

/**
 * @namespace Tine.widgets.tags
 * @class Tine.widgets.tags.TagToggleBox
 * @extends Ext.tree.TreePanel
 */

/**
 * @param {"luxon".luxon.Duration} duration
 * @param {string} format
 *
 * @returns {string} The formatted interval.
 */

/**
 * @param {*} assertion Assertion we expected to be truthy.
 * @param {number} errorCode Error code.
 */

/**
 * @param {Array<*>} arr Array.
 * @param {number} begin Begin index.
 * @param {number} end End index.
 */

/**
 * @param {Array<*>} arr The array to test.
 * @param {Function} [func] Comparison function.
 * @param {boolean} [strict] Strictly sorted (default false).
 * @return {boolean} Return index.
 */

/**
 * @param {Array<Array<import("./coordinate.js").Coordinate>>} rings Rings.
 * @param {Extent} [dest] Extent.
 * @return {Extent} Extent.
 */

/**
 * @param {Array<PointerEvent>} pointerEvents List of events.
 * @return {{clientX: number, clientY: number}} Centroid pixel.
 */

/**
 * @param {Array<Projection>} projections Projections.
 */

/**
 * @param {Array<VALUE>} arr The array to modify.
 * @param {!Array<VALUE>|VALUE} data The elements or arrays of elements to add to arr.
 * @template VALUE
 */

/**
 * @param {Array<VALUE>} arr The array to modify.
 * @param {VALUE} obj The element to remove.
 * @template VALUE
 * @return {boolean} If the element was removed.
 */

/**
 * @param {Array<import("./Tile.js").UrlFunction>} tileUrlFunctions Tile URL Functions.
 * @return {import("./Tile.js").UrlFunction} Tile URL function.
 */

/**
 * @param {Array<import("./coordinate.js").Coordinate>} coordinates Coordinates.
 * @param {Extent} [dest] Extent.
 * @return {Extent} Extent.
 */

/**
 * @param {Array<number>} arr Array in descending order.
 * @param {number} target Target.
 * @param {number|NearestDirectionFunction} direction
 *    0 means return the nearest,
 *    > 0 means return the largest nearest,
 *    < 0 means return the smallest nearest.
 * @return {number} Index.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<Array<import("../../coordinate.js").Coordinate>>>} coordinatesss Coordinatesss.
 * @param {number} stride Stride.
 * @param {Array<Array<number>>} [endss] Endss.
 * @return {Array<Array<number>>} Endss.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<import("../../coordinate.js").Coordinate>>} coordinatess Coordinatess.
 * @param {number} stride Stride.
 * @param {Array<number>} [ends] Ends.
 * @return {Array<number>} Ends.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {Array<Array<Array<import("../../coordinate.js").Coordinate>>>} [coordinatesss]
 *     Coordinatesss.
 * @return {Array<Array<Array<import("../../coordinate.js").Coordinate>>>} Coordinatesss.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {Array<number>} flatCenters Flat centers.
 * @return {Array<number>} Interior points as XYM coordinates, where M is the
 * length of the horizontal intersection that the point belongs to.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {import("../../extent.js").Extent} extent Extent.
 * @return {boolean} True if the geometry and the extent intersect.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {number} max Max squared delta.
 * @return {number} Max squared delta.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {number} maxDelta Max delta.
 * @param {boolean} isRing Is ring.
 * @param {number} x X.
 * @param {number} y Y.
 * @param {Array<number>} closestPoint Closest point.
 * @param {number} minSquaredDistance Minimum squared distance.
 * @param {Array<number>} [tmpPoint] Temporary point object.
 * @return {number} Minimum squared distance.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {number} tolerance Tolerance.
 * @param {Array<number>} simplifiedFlatCoordinates Simplified flat
 *     coordinates.
 * @param {number} simplifiedOffset Simplified offset.
 * @param {Array<Array<number>>} simplifiedEndss Simplified endss.
 * @return {number} Simplified offset.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @param {number} x X.
 * @param {number} y Y.
 * @return {boolean} Contains (x, y).
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Endss.
 * @param {number} stride Stride.
 * @return {number} Area.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<import("../../coordinate.js").Coordinate>} coordinates Coordinates.
 * @param {number} stride Stride.
 * @return {number} offset Offset.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {Array<Array<import("../../coordinate.js").Coordinate>>} [coordinatess] Coordinatess.
 * @return {Array<Array<import("../../coordinate.js").Coordinate>>} Coordinatess.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {import("../../extent.js").Extent} extent Extent.
 * @return {boolean} True if the geometry and the extent intersect.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {number} max Max squared delta.
 * @return {number} Max squared delta.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {number} maxDelta Max delta.
 * @param {boolean} isRing Is ring.
 * @param {number} x X.
 * @param {number} y Y.
 * @param {Array<number>} closestPoint Closest point.
 * @param {number} minSquaredDistance Minimum squared distance.
 * @param {Array<number>} [tmpPoint] Temporary point object.
 * @return {number} Minimum squared distance.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {number} squaredTolerance Squared tolerance.
 * @param {Array<number>} simplifiedFlatCoordinates Simplified flat
 *     coordinates.
 * @param {number} simplifiedOffset Simplified offset.
 * @param {Array<number>} simplifiedEnds Simplified ends.
 * @return {number} Simplified offset.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {number} tolerance Tolerance.
 * @param {Array<number>} simplifiedFlatCoordinates Simplified flat
 *     coordinates.
 * @param {number} simplifiedOffset Simplified offset.
 * @param {Array<number>} simplifiedEnds Simplified ends.
 * @return {number} Simplified offset.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {number} x X.
 * @param {number} y Y.
 * @return {boolean} Contains (x, y).
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @return {number} Area.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {import("../../coordinate.js").Coordinate} coordinate Coordinate.
 * @param {number} stride Stride.
 * @return {number} offset Offset.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {Array<import("../../coordinate.js").Coordinate>} [coordinates] Coordinates.
 * @return {Array<import("../../coordinate.js").Coordinate>} Coordinates.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {Extent} [dest] Extent.
 * @return {Extent} Extent.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {import("../../extent.js").Extent} extent Extent.
 * @return {boolean} Contains extent.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {import("../../extent.js").Extent} extent Extent.
 * @return {boolean} True if the geometry and the extent intersect.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {import("../../transform.js").Transform} transform Transform.
 * @param {Array<number>} [dest] Destination.
 * @return {Array<number>} Transformed coordinates.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} angle Angle.
 * @param {Array<number>} anchor Rotation anchor point.
 * @param {Array<number>} [dest] Destination.
 * @return {Array<number>} Transformed coordinates.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} deltaX Delta X.
 * @param {number} deltaY Delta Y.
 * @param {Array<number>} [dest] Destination.
 * @return {Array<number>} Transformed coordinates.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} maxDelta Max delta.
 * @param {boolean} isRing Is ring.
 * @param {number} x X.
 * @param {number} y Y.
 * @param {Array<number>} closestPoint Closest point.
 * @param {number} minSquaredDistance Minimum squared distance.
 * @param {Array<number>} [tmpPoint] Temporary point object.
 * @return {number} Minimum squared distance.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} squaredTolerance Squared tolerance.
 * @param {Array<number>} simplifiedFlatCoordinates Simplified flat
 *     coordinates.
 * @param {number} simplifiedOffset Simplified offset.
 * @return {number} Simplified offset.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} x X.
 * @param {number} y Y.
 * @return {boolean} Contains (x, y).
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @return {number} Area.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @return {number} Length.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @return {number} Perimeter.
 */

/**
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 */

/**
 * @param {Array<number>} flatCoordinates Path to put text on.
 * @param {number} offset Start offset of the `flatCoordinates`.
 * @param {number} end End offset of the `flatCoordinates`.
 * @param {number} stride Stride.
 * @param {string} text Text to place on the path.
 * @param {number} startM m along the path where the text starts.
 * @param {number} maxAngle Max angle between adjacent chars in radians.
 * @param {number} scale The product of the text scale and the device pixel ratio.
 * @param {function(string, string, Object<string, number>):number} measureAndCacheTextWidth Measure and cache text width.
 * @param {string} font The font.
 * @param {Object<string, number>} cache A cache of measured widths.
 * @param {number} rotation Rotation to apply to the flatCoordinates to determine whether text needs to be reversed.
 * @return {Array<Array<*>>|null} The result array (or null if `maxAngle` was
 * exceeded). Entries of the array are x, y, anchorX, angle, chunk.
 */

/**
 * @param {Array<number>} input Input coordinate array.
 * @param {Array<number>} [output] Output array of coordinate values.
 * @return {Array<number>} Input coordinate array (same array as input).
 */

/**
 * @param {Array<number>} input Input coordinate array.
 * @param {Array<number>} [output] Output array of coordinate values.
 * @return {Array<number>} Output coordinate array (new array, same coordinate
 *     values).
 */

/**
 * @param {Array<number>} resolutions Resolutions.
 * @param {boolean} [smooth] If true, the view will be able to slightly exceed resolution limits. Default: true.
 * @param {import("./extent.js").Extent} [maxExtent] Maximum allowed extent.
 * @param {boolean} [showFullExtent] If true, allows us to show the full extent. Default: false.
 * @return {Type} Zoom function.
 */

/**
 * @param {Array<number>} xs Xs.
 * @param {Array<number>} ys Ys.
 * @param {Extent} [dest] Destination extent.
 * @private
 * @return {Extent} Extent.
 */

/**
 * @param {Array<string>} acc Accumulator.
 * @param {string} line Line of text.
 * @param {number} i Index
 * @return {Array<string>} Accumulator.
 */

/**
 * @param {Array<string>} templates Templates.
 * @param {import("./tilegrid/TileGrid.js").default} tileGrid Tile grid.
 * @return {import("./Tile.js").UrlFunction} Tile URL function.
 */

/**
 * @param {Array|Uint8ClampedArray} arr1 The first array to compare.
 * @param {Array|Uint8ClampedArray} arr2 The second array to compare.
 * @return {boolean} Whether the two arrays are equal.
 */

/**
 * @param {CanvasRenderingContext2D} context Context.
 * @param {import("../transform.js").Transform|null} transform Transform.
 * @param {number} opacity Opacity.
 * @param {Label|HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} labelOrImage Label.
 * @param {number} originX Origin X.
 * @param {number} originY Origin Y.
 * @param {number} w Width.
 * @param {number} h Height.
 * @param {number} x X.
 * @param {number} y Y.
 * @param {import("../size.js").Size} scale Scale.
 */

/**
 * @param {CanvasRenderingContext2D} context Context.
 * @param {number} rotation Rotation.
 * @param {number} offsetX X offset.
 * @param {number} offsetY Y offset.
 */

/**
 * @param {Color} color Color.
 * @return {string} String.
 */

/**
 * @param {Coordinate} coord1 First coordinate.
 * @param {Coordinate} coord2 Second coordinate.
 * @return {number} Squared distance between coord1 and coord2.
 */

/**
 * @param {Coordinate} coordinate Coordinate.
 * @param {import("./proj/Projection.js").default} projection Projection.
 * @param {number} [sourceExtentWidth] Width of the source extent.
 * @return {number} Offset in world widths.
 */

/**
 * @param {Coordinate} coordinate1 First coordinate.
 * @param {Coordinate} coordinate2 Second coordinate.
 * @return {boolean} The two coordinates are equal.
 */

/**
 * @param {Event|import("./Event.js").default} evt Event
 */

/**
 * @param {Extent} extent Extent.
 * @param {Array<Array<import("./coordinate.js").Coordinate>>} rings Rings.
 * @return {Extent} Extent.
 */

/**
 * @param {Extent} extent Extent.
 * @param {Array<import("./coordinate.js").Coordinate>} coordinates Coordinates.
 * @return {Extent} Extent.
 */

/**
 * @param {Extent} extent Extent.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @return {Extent} Extent.
 */

/**
 * @param {Extent} extent Extent.
 * @param {Extent} [dest] Extent.
 * @return {Extent} Extent.
 */

/**
 * @param {Extent} extent Extent.
 * @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
 */

/**
 * @param {Extent} extent Extent.
 * @param {number} value Value.
 */

/**
 * @param {Extent} extent Extent.
 * @param {number} x X.
 * @param {number} y Y.
 * @return {number} Closest squared distance.
 */

/**
 * @param {Extent} extent Extent.
 * @param {number} x X.
 * @param {number} y Y.
 */

/**
 * @param {Extent} extent Extent.
 * @return {number} Margin.
 */

/**
 * @param {Extent} extent1 Extent 1.
 * @param {Extent} extent2 Extent 2.
 * @return {number} Enlarged area.
 */

/**
 * @param {Extent} extent1 Extent 1.
 * @param {Extent} extent2 Extent 2.
 * @return {number} Intersection area.
 */

/**
 * @param {FlatStyle} flatStyle A flat style literal.
 * @return {import("./Style.js").default} A style instance.
 */

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} prefix The property prefix.
 * @return {Fill|undefined} The fill (if any).
 */

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @param {string} prefix The property prefix.
 * @return {Stroke|undefined} The stroke (if any).
 */

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @return {Text|undefined} The text (if any).
 */

/**
 * @param {FlatStyle} flatStyle The flat style.
 * @return {import("./Image.js").default|undefined} The image (if any).
 */

/**
 * @param {Function} callback Callback.
 * @param {*} returnValue Return value.
 */

/**
 * @param {HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} image Image element.
 * @param {function():any} loadHandler Load callback function.
 * @param {function():any} errorHandler Error callback function.
 * @return {function():void} Callback to stop listening.
 */

/**
 * @param {HTMLImageElement|HTMLCanvasElement} image Image.
 * @param {string} src Src.
 * @param {import("../size.js").Size} size Size.
 * @param {?string} crossOrigin Cross origin.
 * @param {import("../ImageState.js").default} imageState Image state.
 * @param {import("../color.js").Color} color Color.
 * @return {IconImage} Icon image.
 */

/**
 * @param {ImageTile} imageTile Image tile.
 * @param {string} src Source.
 */

/**
 * @param {Label} label Label.
 * @param {CanvasRenderingContext2D} context Context.
 */

/**
 * @param {MapOptions} options Map options.
 * @return {MapOptionsInternal} Internal map options.
 */

/**
 * @param {Node} newNode Node to replace old node
 * @param {Node} oldNode The node to be replaced
 */

/**
 * @param {Node} node The node to remove the children from.
 */

/**
 * @param {Node} node The node to remove.
 * @return {Node|null} The node that was removed or null.
 */

/**
 * @param {Object}
 * 
 * @return {Ext.ux.Window}
 */

/**
 * @param {Projection|string|undefined} projection Projection.
 * @param {string} defaultCode Default code.
 * @return {Projection} Projection.
 */

/**
 * @param {ReplayImageOrLabelArgs} replayImageOrLabelArgs Arguments to replayImageOrLabel
 * @return {BBox} Declutter bbox.
 */

/**
 * @param {SimpleGeometry} simpleGeometry Simple geometry.
 * @param {import("../transform.js").Transform} transform Transform.
 * @param {Array<number>} [dest] Destination.
 * @return {Array<number>} Transformed flat coordinates.
 */

/**
 * @param {TextState} baseStyle Base style.
 * @param {Array<string>} chunks Text chunks to measure.
 * @return {{width: number, height: number, widths: Array<number>, heights: Array<number>, lineWidths: Array<number>}}} Text metrics.
 */

/**
 * @param {TileCoord} tileCoord Tile coord.
 * @return {number} Hash.
 */

/**
 * @param {TileCoord} tileCoord Tile coordinate.
 * @param {!import("./tilegrid/TileGrid.js").default} tileGrid Tile grid.
 * @return {boolean} Tile coordinate is within extent and zoom level range.
 */

/**
 * @param {TileGrid} tileGrid Tile grid.
 * @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
 * @param {import("./proj/Projection.js").default} projection Projection.
 * @return {import("./tilecoord.js").TileCoord} Tile coordinate.
 */

/**
 * @param {ViewOptions} options View options.
 * @return {import("./centerconstraint.js").Type} The constraint.
 */

/**
 * @param {ViewOptions} options View options.
 * @return {import("./rotationconstraint.js").Type} Rotation constraint.
 */

/**
 * @param {ViewOptions} options View options.
 * @return {{constraint: import("./resolutionconstraint.js").Type, maxResolution: number,
 *     minResolution: number, minZoom: number, zoomFactor: number}} The constraint.
 */

/**
 * @param {boolean} [disable = true] Disable console info about `useGeographic()`
 */

/**
 * @param {import("../../pixel").Pixel} pixel Pixel coordinate on the hit
 * detection canvas in css pixels.
 * @param {Array<F>} features Features. Has to
 * match the `features` array that was passed to `createHitDetectionImageData()`.
 * @param {ImageData} imageData Hit detection image data generated by
 * `createHitDetectionImageData()`.
 * @return {Array<F>} Features.
 * @template {import("../../Feature.js").FeatureLike} F
 */

/**
 * @param {import("../../size.js").Size} size Canvas size in css pixels.
 * @param {Array<import("../../transform.js").Transform>} transforms Transforms
 * for rendering features to all worlds of the viewport, from coordinates to css
 * pixels.
 * @param {Array<import("../../Feature.js").FeatureLike>} features
 * Features to consider for hit detection.
 * @param {import("../../style/Style.js").StyleFunction|undefined} styleFunction
 * Layer style function.
 * @param {import("../../extent.js").Extent} extent Extent.
 * @param {number} resolution Resolution.
 * @param {number} rotation Rotation.
 * @return {ImageData} Hit detection image data.
 */

/**
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {number} resolution Resolution.
 * @return {Array<Style>} Style.
 */

/**
 * @param {import("../Feature.js").FeatureLike} feature1 Feature 1.
 * @param {import("../Feature.js").FeatureLike} feature2 Feature 2.
 * @return {number} Order.
 */

/**
 * @param {import("../Map.js").default} map Map.
 * @param {import("../Map.js").FrameState} frameState Frame state.
 */

/**
 * @param {import("../View.js").default} view View.
 * @param {import("../coordinate.js").Coordinate} delta Delta.
 * @param {number} [duration] Duration.
 */

/**
 * @param {import("../View.js").default} view View.
 * @param {number} delta Delta from previous zoom level.
 * @param {import("../coordinate.js").Coordinate} [anchor] Anchor coordinate in the user projection.
 * @param {number} [duration] Duration.
 */

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} builderGroup Builder group.
 * @param {import("../geom/Circle.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").default} feature Feature.
 * @param {import("../render/canvas/BuilderGroup.js").default} [declutterBuilderGroup] Builder for decluttering.
 */

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} builderGroup Replay group.
 * @param {import("../geom/LineString.js").default|import("../render/Feature.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {import("../render/canvas/BuilderGroup.js").default} [declutterBuilderGroup] Builder for decluttering.
 */

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} builderGroup Replay group.
 * @param {import("../geom/MultiLineString.js").default|import("../render/Feature.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {import("../render/canvas/BuilderGroup.js").default} [declutterBuilderGroup] Builder for decluttering.
 */

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} builderGroup Replay group.
 * @param {import("../geom/MultiPoint.js").default|import("../render/Feature.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {import("../render/canvas/BuilderGroup.js").default} [declutterBuilderGroup] Builder for decluttering.
 */

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} builderGroup Replay group.
 * @param {import("../geom/MultiPolygon.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").default} feature Feature.
 * @param {import("../render/canvas/BuilderGroup.js").default} [declutterBuilderGroup] Builder for decluttering.
 */

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} builderGroup Replay group.
 * @param {import("../geom/Point.js").default|import("../render/Feature.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {import("../render/canvas/BuilderGroup.js").default} [declutterBuilderGroup] Builder for decluttering.
 */

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} builderGroup Replay group.
 * @param {import("../geom/Polygon.js").default|import("../render/Feature.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {import("../render/canvas/BuilderGroup.js").default} [declutterBuilderGroup] Builder for decluttering.
 */

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} replayGroup Replay group.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {import("../style/Style.js").default} style Style.
 * @param {number} squaredTolerance Squared tolerance.
 * @param {function(import("../events/Event.js").default): void} listener Listener function.
 * @param {import("../proj.js").TransformFunction} [transform] Transform from user to view projection.
 * @param {import("../render/canvas/BuilderGroup.js").default} [declutterBuilderGroup] Builder for decluttering.
 * @return {boolean} `true` if style is loading.
 */

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} replayGroup Replay group.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 * @param {import("../style/Style.js").default} style Style.
 * @param {number} squaredTolerance Squared tolerance.
 * @param {import("../proj.js").TransformFunction} [transform] Optional transform function.
 * @param {import("../render/canvas/BuilderGroup.js").default} [declutterBuilderGroup] Builder for decluttering.
 */

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} replayGroup Replay group.
 * @param {import("../geom/Geometry.js").default|import("../render/Feature.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").FeatureLike} feature Feature.
 */

/**
 * @param {import("../render/canvas/BuilderGroup.js").default} replayGroup Replay group.
 * @param {import("../geom/GeometryCollection.js").default} geometry Geometry.
 * @param {import("../style/Style.js").default} style Style.
 * @param {import("../Feature.js").default} feature Feature.
 * @param {import("../render/canvas/BuilderGroup.js").default} [declutterBuilderGroup] Builder for decluttering.
 */

/**
 * @param {import("./Geometry.js").GeometryLayout} layout Layout.
 * @return {number} Stride.
 */

/**
 * @param {import("./color.js").Color|ColorLike} color Color.
 * @return {ColorLike} The color as an {@link ol/colorlike~ColorLike}.
 * @api
 */

/**
 * @param {import("./coordinate.js").Coordinate} [center] Center.
 * @return {import("./coordinate.js").Coordinate|undefined} Center.
 */

/**
 * @param {import("./coordinate.js").Coordinate} center Center.
 * @param {number} resolution Resolution.
 * @param {number} rotation Rotation.
 * @param {import("./size.js").Size} size Size.
 * @param {Extent} [dest] Destination extent.
 * @return {Extent} Extent.
 */

/**
 * @param {import("./coordinate.js").Coordinate} center Center.
 * @param {number} resolution Resolution.
 * @param {number} rotation Rotation.
 * @param {import("./size.js").Size} size Size.
 * @return {Array<number>} Linear ring representing the viewport.
 */

/**
 * @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
 * @param {Extent} [dest] Extent.
 * @return {Extent} Extent.
 */

/**
 * @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
 * @param {import("./size.js").Size} size Box pixel size.
 * @param {import("./pixel.js").Pixel} position Position on the view to center on.
 * @param {number} resolution Resolution.
 * @param {number} rotation Rotation.
 * @return {import("./coordinate.js").Coordinate} Shifted center.
 */

/**
 * @param {import("./extent.js").Extent} extent Extent.
 * @param {boolean} onlyCenter If true, the constraint will only apply to the view center.
 * @param {boolean} smooth If true, the view will be able to go slightly out of the given extent
 * (only during interaction and animation).
 * @return {Type} The constraint.
 */

/**
 * @param {import("./extent.js").Extent} extent Extent.
 * @param {number} [maxZoom] Maximum zoom level (default is
 *     DEFAULT_MAX_ZOOM).
 * @param {number|import("./size.js").Size} [tileSize] Tile size (default uses
 *     DEFAULT_TILE_SIZE).
 * @param {import("./extent.js").Corner} [corner] Extent corner (default is `'top-left'`).
 * @return {!TileGrid} TileGrid instance.
 */

/**
 * @param {import("./layer/Base.js").default} layer Layer.
 * @param {Map} map Map.
 */

/**
 * @param {import("./layer/Base.js").default} layer Layer.
 */

/**
 * @param {import("./proj.js").ProjectionLike} projection Projection.
 * @param {number} [maxZoom] Maximum zoom level (default is
 *     DEFAULT_MAX_ZOOM).
 * @param {number|import("./size.js").Size} [tileSize] Tile size (default uses
 *     DEFAULT_TILE_SIZE).
 * @param {import("./extent.js").Corner} [corner] Extent corner (default is `'top-left'`).
 * @return {!TileGrid} TileGrid instance.
 */

/**
 * @param {import("./proj/Projection.js").default} projection Projection.
 * @return {!TileGrid} Default tile grid for the
 * passed projection.
 */

/**
 * @param {import("./tilecoord.js").TileCoord} tileCoord Tile coordinate.
 * @param {number} pixelRatio Pixel ratio.
 * @param {import("./proj/Projection.js").default} projection Projection.
 * @return {string|undefined} Tile URL.
 */

/**
 * @param {import('./Map.js').FrameState} frameState Frame state.
 * @param {import("./Tile.js").default} tile Tile.
 * @param {string} tileSourceKey Tile source key.
 * @param {import("./coordinate.js").Coordinate} tileCenter Tile center.
 * @param {number} tileResolution Tile resolution.
 * @return {number} Tile priority.
 */

/**
 * @param {number|undefined} rotation Rotation.
 * @return {number|undefined} Rotation.
 */

/**
 * @param {number} [tolerance] Tolerance.
 * @return {Type} Rotation constraint.
 */

/**
 * @param {number} maxAngle Maximum acceptable angle delta between segments.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @return {Array<number>} Start and end of the first suitable chunk of the
 * given `flatCoordinates`.
 */

/**
 * @param {number} maxResolution Max resolution.
 * @param {number} minResolution Min resolution.
 * @param {boolean} [smooth] If true, the view will be able to slightly exceed resolution limits. Default: true.
 * @param {import("./extent.js").Extent} [maxExtent] Maximum allowed extent.
 * @param {boolean} [showFullExtent] If true, allows us to show the full extent. Default: false.
 * @return {Type} Zoom function.
 */

/**
 * @param {number} minX Minimum X.
 * @param {number} maxX Maximum X.
 * @param {number} minY Minimum Y.
 * @param {number} maxY Maximum Y.
 * @param {TileRange} [tileRange] TileRange.
 * @return {TileRange} Tile range.
 */

/**
 * @param {number} n N.
 * @return {Type} Rotation constraint.
 */

/**
 * @param {number} power Power.
 * @param {number} maxResolution Maximum resolution.
 * @param {number} [minResolution] Minimum resolution.
 * @param {boolean} [smooth] If true, the view will be able to slightly exceed resolution limits. Default: true.
 * @param {import("./extent.js").Extent} [maxExtent] Maximum allowed extent.
 * @param {boolean} [showFullExtent] If true, allows us to show the full extent. Default: false.
 * @return {Type} Zoom function.
 */

/**
 * @param {number} resolution Resolution.
 * @param {number} pixelRatio Pixel ratio.
 * @return {number} Pixel tolerance.
 */

/**
 * @param {number} resolution Resolution.
 * @param {number} pixelRatio Pixel ratio.
 * @return {number} Squared pixel tolerance.
 */

/**
 * @param {number} stride Stride.
 * @return {import("./Geometry.js").GeometryLayout} layout Layout.
 */

/**
 * @param {number} value Value.
 * @param {number} tolerance Tolerance.
 * @return {number} Rounded value.
 */

/**
 * @param {number} z Z.
 * @param {number} x X.
 * @param {number} y Y.
 * @param {TileCoord} [tileCoord] Tile coordinate.
 * @return {TileCoord} Tile coordinate.
 */

/**
 * @param {number} z Z.
 * @param {number} x X.
 * @param {number} y Y.
 * @return {string} Key.
 */

/**
 * @param {string|FeatureUrlFunction} url Feature URL service.
 * @param {import("./format/Feature.js").default} format Feature format.
 * @param {import("./extent.js").Extent} extent Extent.
 * @param {number} resolution Resolution.
 * @param {import("./proj/Projection.js").default} projection Projection.
 * @param {function(Array<import("./Feature.js").default>, import("./proj/Projection.js").default): void} success Success
 *      Function called with the loaded features and optionally with the data projection.
 * @param {function(): void} failure Failure
 *      Function called when loading failed.
 */

/**
 * @param {string} font Font.
 * @param {string} text Text.
 * @return {TextMetrics} Text metrics.
 */

/**
 * @param {string} font Font.
 * @param {string} text Text.
 * @return {number} Width.
 */

/**
 * @param {string} input
 * @returns {RegExp}
 */

/**
 * @param {string} s String.
 * @private
 * @return {Color} Color.
 */

/**
 * @param {string} s String.
 * @return {Color} Color.
 */

/**
 * @param {string} s String.
 * @return {boolean} Whether the string is actually a valid color
 */

/**
 * @param {string} src Src.
 * @param {?string} crossOrigin Cross origin.
 * @param {import("../color.js").Color} color Color.
 * @return {string} Cache key.
 */

/**
 * @param {string} template Template.
 * @param {import("./tilegrid/TileGrid.js").default} tileGrid Tile grid.
 * @return {import("./Tile.js").UrlFunction} Tile URL function.
 */

/**
 * @param {string} text Text.
 * @param {CanvasTextAlign} align Alignment.
 * @return {number} Text alignment.
 */

/**
 * @param {string} url URL.
 * @return {Array<string>} Array of urls.
 */

/**
 * @private
 * @type {!Object<string, Object<string, import("../proj.js").TransformFunction>>}
 */

/**
 * @private
 * @type {Transform}
 */

/**
 * @private
 */

/**
 * @private Helper class to have tags processing in the standard form/record cycle
 */

/**
 * @private static Create our own proxy element element. So it will be the same same size on all browsers, we won't use borders. Instead we use a background color.
 */

/**
 * @return {never} Any return.
 */

/**
 * @static
 * @private
 */

/**
 * @static
 * @type {string}
 */

/**
 * @static {Number} lastPresence last event timestamp
 */

/**
 * @template T
 * @param {function(): (T | Promise<T>)} getter A function that returns a value or a promise for a value.
 * @return {Promise<T>} A promise for the value.
 */

/**
 * @template T
 * @typedef {function(import("../../Feature.js").FeatureLike, import("../../geom/SimpleGeometry.js").default): T} FeatureCallback
 */

/**
 * @template {import("../layer/Layer.js").default} LayerType
 */

/**
 * @template {import("../source/Source.js").default} [SourceType=import("../source/Source.js").default]
 * @typedef {Object} Options
 * @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
 * @property {number} [opacity=1] Opacity (0, 1).
 * @property {boolean} [visible=true] Visibility.
 * @property {import("../extent.js").Extent} [extent] The bounding extent for layer rendering.  The layer will not be
 * rendered outside of this extent.
 * @property {number} [zIndex] The z-index for layer rendering.  At rendering time, the layers
 * will be ordered, first by Z-index and then by position. When `undefined`, a `zIndex` of 0 is assumed
 * for layers that are added to the map's `layers` collection, or `Infinity` when the layer's `setMap()`
 * method was used.
 * @property {number} [minResolution] The minimum resolution (inclusive) at which this layer will be
 * visible.
 * @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
 * be visible.
 * @property {number} [minZoom] The minimum view zoom level (exclusive) above which this layer will be
 * visible.
 * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
 * be visible.
 * @property {SourceType} [source] Source for this layer.  If not provided to the constructor,
 * the source can be set by calling {@link module:ol/layer/Layer~Layer#setSource layer.setSource(source)} after
 * construction.
 * @property {import("../Map.js").default|null} [map] Map.
 * @property {RenderFunction} [render] Render function. Takes the frame state as input and is expected to return an
 * HTML element. Will overwrite the default rendering for the layer.
 * @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
 */

/**
 * @template {import("../source/Tile.js").default} TileSourceType
 * @typedef {Object} Options
 * @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
 * @property {number} [opacity=1] Opacity (0, 1).
 * @property {boolean} [visible=true] Visibility.
 * @property {import("../extent.js").Extent} [extent] The bounding extent for layer rendering.  The layer will not be
 * rendered outside of this extent.
 * @property {number} [zIndex] The z-index for layer rendering.  At rendering time, the layers
 * will be ordered, first by Z-index and then by position. When `undefined`, a `zIndex` of 0 is assumed
 * for layers that are added to the map's `layers` collection, or `Infinity` when the layer's `setMap()`
 * method was used.
 * @property {number} [minResolution] The minimum resolution (inclusive) at which this layer will be
 * visible.
 * @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
 * be visible.
 * @property {number} [minZoom] The minimum view zoom level (exclusive) above which this layer will be
 * visible.
 * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
 * be visible.
 * @property {number} [preload=0] Preload. Load low-resolution tiles up to `preload` levels. `0`
 * means no preloading.
 * @property {TileSourceType} [source] Source for this layer.
 * @property {import("../Map.js").default} [map] Sets the layer as overlay on a map. The map will not manage
 * this layer in its layers collection, and the layer will be rendered on top. This is useful for
 * temporary layers. The standard way to add a layer to a map and have it managed by the map is to
 * use {@link import("../Map.js").default#addLayer map.addLayer()}.
 * @property {boolean} [useInterimTilesOnError=true] Use interim tiles on error.
 * @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
 */

/**
 * @template {import("../source/Vector.js").default|import("../source/VectorTile.js").default} VectorSourceType
 * @typedef {Object} Options
 * @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
 * @property {number} [opacity=1] Opacity (0, 1).
 * @property {boolean} [visible=true] Visibility.
 * @property {import("../extent.js").Extent} [extent] The bounding extent for layer rendering.  The layer will not be
 * rendered outside of this extent.
 * @property {number} [zIndex] The z-index for layer rendering.  At rendering time, the layers
 * will be ordered, first by Z-index and then by position. When `undefined`, a `zIndex` of 0 is assumed
 * for layers that are added to the map's `layers` collection, or `Infinity` when the layer's `setMap()`
 * method was used.
 * @property {number} [minResolution] The minimum resolution (inclusive) at which this layer will be
 * visible.
 * @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
 * be visible.
 * @property {number} [minZoom] The minimum view zoom level (exclusive) above which this layer will be
 * visible.
 * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
 * be visible.
 * @property {import("../render.js").OrderFunction} [renderOrder] Render order. Function to be used when sorting
 * features before rendering. By default features are drawn in the order that they are created. Use
 * `null` to avoid the sort, but get an undefined draw order.
 * @property {number} [renderBuffer=100] The buffer in pixels around the viewport extent used by the
 * renderer when getting features from the vector source for the rendering or hit-detection.
 * Recommended value: the size of the largest symbol, line width or label.
 * @property {VectorSourceType} [source] Source.
 * @property {import("../Map.js").default} [map] Sets the layer as overlay on a map. The map will not manage
 * this layer in its layers collection, and the layer will be rendered on top. This is useful for
 * temporary layers. The standard way to add a layer to a map and have it managed by the map is to
 * use [map.addLayer()]{@link import("../Map.js").default#addLayer}.
 * @property {boolean} [declutter=false] Declutter images and text. Decluttering is applied to all
 * image and text styles of all Vector and VectorTile layers that have set this to `true`. The priority
 * is defined by the z-index of the layer, the `zIndex` of the style and the render order of features.
 * Higher z-index means higher priority. Within the same z-index, a feature rendered before another has
 * higher priority.
 *
 * As an optimization decluttered features from layers with the same `className` are rendered above
 * the fill and stroke styles of all of those layers regardless of z-index.  To opt out of this
 * behavior and place declutterd features with their own layer configure the layer with a `className`
 * other than `ol-layer`.
 * @property {import("../style/Style.js").StyleLike|import("../style/flat.js").FlatStyleLike|null} [style] Layer style. When set to `null`, only
 * features that have their own style will be rendered. See {@link module:ol/style/Style~Style} for the default style
 * which will be used if this is not set.
 * @property {import("./Base.js").BackgroundColor} [background] Background color for the layer. If not specified, no background
 * will be rendered.
 * @property {boolean} [updateWhileAnimating=false] When set to `true`, feature batches will
 * be recreated during animations. This means that no vectors will be shown clipped, but the
 * setting will have a performance impact for large amounts of vector data. When set to `false`,
 * batches will be recreated when no animation is active.
 * @property {boolean} [updateWhileInteracting=false] When set to `true`, feature batches will
 * be recreated during interactions. See also `updateWhileAnimating`.
 * @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
 */

/**
 * @type {!Object<string, number>}
 */

/**
 * @type {Array<HTMLCanvasElement>}
 */

/**
 * @type {Array<Style>|null}
 */

/**
 * @type {Array}
 *
 * modlog Fields
 */

/**
 * @type {Array}
 * generic Record fields
 */

/**
 * @type {CanvasRenderingContext2D}
 */

/**
 * @type {HTMLElement}
 * @private
 */

/**
 * @type {Object<Level, number>}
 */

/**
 * @type {Object<string, import("./Projection.js").default>}
 */

/**
 * @type {Projection|null}
 */

/**
 * @type {import("../../extent.js").Extent}
 */

/**
 * @type {import("../transform.js").Transform}
 */

/**
 * @type {number}
 */

/**
 * @type {string}
 */

/**
 * @typedef HitMatch
 * @property {import("../Feature.js").FeatureLike} feature Feature.
 * @property {import("../layer/Layer.js").default} layer Layer.
 * @property {import("../geom/SimpleGeometry.js").default} geometry Geometry.
 * @property {number} distanceSq Squared distance.
 * @property {import("./vector.js").FeatureCallback<T>} callback Callback.
 * @template T
 */

/**
 * @typedef Label
 * @property {number} width Width.
 * @property {number} height Height.
 * @property {Array<string|number>} contextInstructions ContextInstructions.
 */

/**
 * @typedef {'Circle' | 'Image' | 'LineString' | 'Polygon' | 'Text' | 'Default'} BuilderType
 */

/**
 * @typedef {'Point' | 'LineString' | 'LinearRing' | 'Polygon' | 'MultiPoint' | 'MultiLineString' | 'MultiPolygon' | 'GeometryCollection' | 'Circle'} Type
 * The geometry type.  One of `'Point'`, `'LineString'`, `'LinearRing'`,
 * `'Polygon'`, `'MultiPoint'`, `'MultiLineString'`, `'MultiPolygon'`,
 * `'GeometryCollection'`, or `'Circle'`.
 */

/**
 * @typedef {'XY' | 'XYZ' | 'XYM' | 'XYZM'} GeometryLayout
 * The coordinate layout for geometries, indicating whether a 3rd or 4th z ('Z')
 * or measure ('M') coordinate is available.
 */

/**
 * @typedef {'addlayer'|'removelayer'} EventType
 */

/**
 * @typedef {'bottom-left' | 'bottom-right' | 'top-left' | 'top-right'} IconOrigin
 * Icon origin. One of 'bottom-left', 'bottom-right', 'top-left', 'top-right'.
 */

/**
 * @typedef {'change'|'error'} EventTypes
 */

/**
 * @typedef {'fraction' | 'pixels'} IconAnchorUnits
 * Anchor unit can be either a fraction of the icon size or in pixels.
 */

/**
 * @typedef {'info'|'warn'|'error'|'none'} Level
 */

/**
 * @typedef {'sourceready'|'change:source'} LayerEventType
 */

/**
 * @typedef {'trackpad' | 'wheel'} Mode
 */

/**
 * @typedef {'undefined' | 'loading' | 'ready' | 'error'} State
 * State of the source, one of 'undefined', 'loading', 'ready' or 'error'.
 */

/**
 * @typedef {EventTarget|Target} EventTargetLike
 */

/**
 * @typedef {Feature|import("./render/Feature.js").default} FeatureLike
 */

/**
 * @typedef {ListenerFunction|ListenerObject} Listener
 */

/**
 * @typedef {Object<number, import("./canvas/Executor.js").ReplayImageOrLabelArgs>} DeclutterImageWithText
 */

/**
 * @typedef {Object} AtPixelOptions
 * @property {undefined|function(import("./layer/Layer.js").default<import("./source/Source").default>): boolean} [layerFilter] Layer filter
 * function. The filter function will receive one argument, the
 * {@link module:ol/layer/Layer~Layer layer-candidate} and it should return a boolean value.
 * Only layers which are visible and for which this function returns `true`
 * will be tested for features. By default, all visible layers will be tested.
 * @property {number} [hitTolerance=0] Hit-detection tolerance in css pixels. Pixels
 * inside the radius around the given position will be checked for features.
 * @property {boolean} [checkWrapped=true] Check-Wrapped Will check for wrapped geometries inside the range of
 *   +/- 1 world width. Works only if a projection is used that can be wrapped.
 */

/**
 * @typedef {Object} BBox
 * @property {number} minX Minimal x.
 * @property {number} minY Minimal y.
 * @property {number} maxX Maximal x.
 * @property {number} maxY Maximal y
 * @property {*} value Value.
 */

/**
 * @typedef {Object} DefaultsOptions
 * @property {boolean} [altShiftDragRotate=true] Whether Alt-Shift-drag rotate is
 * desired.
 * @property {boolean} [onFocusOnly=false] Interact only when the map has the
 * focus. This affects the `MouseWheelZoom` and `DragPan` interactions and is
 * useful when page scroll is desired for maps that do not have the browser's
 * focus.
 * @property {boolean} [doubleClickZoom=true] Whether double click zoom is
 * desired.
 * @property {boolean} [keyboard=true] Whether keyboard interaction is desired.
 * @property {boolean} [mouseWheelZoom=true] Whether mousewheel zoom is desired.
 * @property {boolean} [shiftDragZoom=true] Whether Shift-drag zoom is desired.
 * @property {boolean} [dragPan=true] Whether drag pan is desired.
 * @property {boolean} [pinchRotate=true] Whether pinch rotate is desired.
 * @property {boolean} [pinchZoom=true] Whether pinch zoom is desired.
 * @property {number} [zoomDelta] Zoom level delta when using keyboard or double click zoom.
 * @property {number} [zoomDuration] Duration of the zoom animation in
 * milliseconds.
 */

/**
 * @typedef {Object} DefaultsOptions
 * @property {boolean} [attribution=true] Include
 * {@link module:ol/control/Attribution~Attribution}.
 * @property {import("./Attribution.js").Options} [attributionOptions]
 * Options for {@link module:ol/control/Attribution~Attribution}.
 * @property {boolean} [rotate=true] Include
 * {@link module:ol/control/Rotate~Rotate}.
 * @property {import("./Rotate.js").Options} [rotateOptions] Options
 * for {@link module:ol/control/Rotate~Rotate}.
 * @property {boolean} [zoom] Include {@link module:ol/control/Zoom~Zoom}.
 * @property {import("./Zoom.js").Options} [zoomOptions] Options for
 * {@link module:ol/control/Zoom~Zoom}.
 */

/**
 * @typedef {Object} Entry
 * @property {number} minX MinX.
 * @property {number} minY MinY.
 * @property {number} maxX MaxX.
 * @property {number} maxY MaxY.
 * @property {Object} [value] Value.
 */

/**
 * @typedef {Object} Entry
 * @property {string} key_ Key.
 * @property {Object} newer Newer.
 * @property {Object} older Older.
 * @property {*} value_ Value.
 */

/**
 * @typedef {Object} FillState
 * @property {import("../colorlike.js").ColorLike} fillStyle FillStyle.
 */

/**
 * @typedef {Object} FillStrokeState
 * @property {import("../colorlike.js").ColorLike} [currentFillStyle] Current FillStyle.
 * @property {import("../colorlike.js").ColorLike} [currentStrokeStyle] Current StrokeStyle.
 * @property {CanvasLineCap} [currentLineCap] Current LineCap.
 * @property {Array<number>} currentLineDash Current LineDash.
 * @property {number} [currentLineDashOffset] Current LineDashOffset.
 * @property {CanvasLineJoin} [currentLineJoin] Current LineJoin.
 * @property {number} [currentLineWidth] Current LineWidth.
 * @property {number} [currentMiterLimit] Current MiterLimit.
 * @property {number} [lastStroke] Last stroke.
 * @property {import("../colorlike.js").ColorLike} [fillStyle] FillStyle.
 * @property {import("../colorlike.js").ColorLike} [strokeStyle] StrokeStyle.
 * @property {CanvasLineCap} [lineCap] LineCap.
 * @property {Array<number>} lineDash LineDash.
 * @property {number} [lineDashOffset] LineDashOffset.
 * @property {CanvasLineJoin} [lineJoin] LineJoin.
 * @property {number} [lineWidth] LineWidth.
 * @property {number} [miterLimit] MiterLimit.
 */

/**
 * @typedef {Object} ImageExtent
 * @property {import("./extent.js").Extent} extent Extent.
 * @property {HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} image Image.
 */

/**
 * @typedef {Object} ImageOrLabelDimensions
 * @property {number} drawImageX DrawImageX.
 * @property {number} drawImageY DrawImageY.
 * @property {number} drawImageW DrawImageW.
 * @property {number} drawImageH DrawImageH.
 * @property {number} originX OriginX.
 * @property {number} originY OriginY.
 * @property {Array<number>} scale Scale.
 * @property {BBox} declutterBox DeclutterBox.
 * @property {import("../../transform.js").Transform} canvasTransform CanvasTransform.
 */

/**
 * @typedef {Object} ListenerObject
 * @property {ListenerFunction} handleEvent HandleEvent listener function.
 */

/**
 * @typedef {Object} MapOptionsInternal
 * @property {Collection<import("./control/Control.js").default>} [controls] Controls.
 * @property {Collection<import("./interaction/Interaction.js").default>} [interactions] Interactions.
 * @property {HTMLElement|Document} keyboardEventTarget KeyboardEventTarget.
 * @property {Collection<import("./Overlay.js").default>} overlays Overlays.
 * @property {Object<string, *>} values Values.
 */

/**
 * @typedef {Object} MetersPerUnitLookup
 * @property {number} radians Radians
 * @property {number} degrees Degrees
 * @property {number} ft  Feet
 * @property {number} m Meters
 * @property {number} us-ft US feet
 */

/**
 * @typedef {Object} Options
 * @property {Array<number>} [anchor=[0.5, 0.5]] Anchor. Default value is the icon center.
 * @property {IconOrigin} [anchorOrigin='top-left'] Origin of the anchor: `bottom-left`, `bottom-right`,
 * `top-left` or `top-right`.
 * @property {IconAnchorUnits} [anchorXUnits='fraction'] Units in which the anchor x value is
 * specified. A value of `'fraction'` indicates the x value is a fraction of the icon. A value of `'pixels'` indicates
 * the x value in pixels.
 * @property {IconAnchorUnits} [anchorYUnits='fraction'] Units in which the anchor y value is
 * specified. A value of `'fraction'` indicates the y value is a fraction of the icon. A value of `'pixels'` indicates
 * the y value in pixels.
 * @property {import("../color.js").Color|string} [color] Color to tint the icon. If not specified,
 * the icon will be left as is.
 * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that you must provide a
 * `crossOrigin` value if you want to access pixel data with the Canvas renderer.
 * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
 * @property {HTMLImageElement|HTMLCanvasElement} [img] Image object for the icon. If the `src` option is not provided then the
 * provided image must already be loaded. And in that case, it is required
 * to provide the size of the image, with the `imgSize` option.
 * @property {import("../size.js").Size} [imgSize] Image size in pixels. Only required if `img` is set and `src` is not.
 * The provided `imgSize` needs to match the actual size of the image.
 * @property {Array<number>} [displacement=[0, 0]] Displacement of the icon in pixels.
 * Positive values will shift the icon right and up.
 * @property {number} [opacity=1] Opacity of the icon.
 * @property {number} [width] The width of the icon in pixels. This can't be used together with `scale`.
 * @property {number} [height] The height of the icon in pixels. This can't be used together with `scale`.
 * @property {number|import("../size.js").Size} [scale=1] Scale.
 * @property {boolean} [rotateWithView=false] Whether to rotate the icon with the view.
 * @property {number} [rotation=0] Rotation in radians (positive rotation clockwise).
 * @property {Array<number>} [offset=[0, 0]] Offset which, together with `size` and `offsetOrigin`, defines the
 * sub-rectangle to use from the original (sprite) image.
 * @property {IconOrigin} [offsetOrigin='top-left'] Origin of the offset: `bottom-left`, `bottom-right`,
 * `top-left` or `top-right`.
 * @property {import("../size.js").Size} [size] Icon size in pixels. Used together with `offset` to define the
 * sub-rectangle to use from the original (sprite) image.
 * @property {string} [src] Image source URI.
 * @property {"declutter"|"obstacle"|"none"|undefined} [declutterMode] Declutter mode.
 */

/**
 * @typedef {Object} Options
 * @property {AttributionLike} [attributions] Attributions.
 * @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
 * @property {import("../proj.js").ProjectionLike} [projection] Projection. Default is the view projection.
 * @property {import("./Source.js").State} [state='ready'] State.
 * @property {boolean} [wrapX=false] WrapX.
 * @property {boolean} [interpolate=false] Use interpolated values when resampling.  By default,
 * the nearest neighbor is used when resampling.
 */

/**
 * @typedef {Object} Options
 * @property {HTMLElement} [element] The element is the control's
 * container element. This only needs to be specified if you're developing
 * a custom control.
 * @property {function(import("../MapEvent.js").default):void} [render] Function called when
 * the control should be re-rendered. This is called in a `requestAnimationFrame`
 * callback.
 * @property {HTMLElement|string} [target] Specify a target if you want
 * the control to be rendered outside of the map's viewport.
 */

/**
 * @typedef {Object} Options
 * @property {boolean} [unique=false] Disallow the same item from being added to
 * the collection twice.
 */

/**
 * @typedef {Object} Options
 * @property {function(import("../MapBrowserEvent.js").default):boolean} [handleDownEvent]
 * Function handling "down" events. If the function returns `true` then a drag
 * sequence is started.
 * @property {function(import("../MapBrowserEvent.js").default):void} [handleDragEvent]
 * Function handling "drag" events. This function is called on "move" events
 * during a drag sequence.
 * @property {function(import("../MapBrowserEvent.js").default):boolean} [handleEvent]
 * Method called by the map to notify the interaction that a browser event was
 * dispatched to the map. The function may return `false` to prevent the
 * propagation of the event to other interactions in the map's interactions
 * chain.
 * @property {function(import("../MapBrowserEvent.js").default):void} [handleMoveEvent]
 * Function handling "move" events. This function is called on "move" events.
 * This functions is also called during a drag sequence, so during a drag
 * sequence both the `handleDragEvent` function and this function are called.
 * If `handleDownEvent` is defined and it returns true this function will not
 * be called during a drag sequence.
 * @property {function(import("../MapBrowserEvent.js").default):boolean} [handleUpEvent]
 *  Function handling "up" events. If the function returns `false` then the
 * current drag sequence is stopped.
 * @property {function(boolean):boolean} [stopDown]
 * Should the down event be propagated to other interactions, or should be
 * stopped?
 */

/**
 * @typedef {Object} Options
 * @property {import("../color.js").Color|import("../colorlike.js").ColorLike|null} [color=null] A color, gradient or pattern.
 * See {@link module:ol/color~Color} and {@link module:ol/colorlike~ColorLike} for possible formats.
 * Default null; if null, the Canvas/renderer default black will be used.
 */

/**
 * @typedef {Object} Options
 * @property {import("../color.js").Color|import("../colorlike.js").ColorLike} [color] A color, gradient or pattern.
 * See {@link module:ol/color~Color} and {@link module:ol/colorlike~ColorLike} for possible formats.
 * Default null; if null, the Canvas/renderer default black will be used.
 * @property {CanvasLineCap} [lineCap='round'] Line cap style: `butt`, `round`, or `square`.
 * @property {CanvasLineJoin} [lineJoin='round'] Line join style: `bevel`, `round`, or `miter`.
 * @property {Array<number>} [lineDash] Line dash pattern. Default is `null` (no dash).
 * @property {number} [lineDashOffset=0] Line dash offset.
 * @property {number} [miterLimit=10] Miter limit.
 * @property {number} [width] Width.
 */

/**
 * @typedef {Object} Options
 * @property {import("../events/condition.js").Condition} [condition] A function that
 * takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
 * boolean to indicate whether that event should be handled. Default is
 * {@link module:ol/events/condition.always}.
 * @property {boolean} [onFocusOnly=false] When the map's target has a `tabindex` attribute set,
 * the interaction will only handle events when the map has the focus.
 * @property {number} [maxDelta=1] Maximum mouse wheel delta.
 * @property {number} [duration=250] Animation duration in milliseconds.
 * @property {number} [timeout=80] Mouse wheel timeout duration in milliseconds.
 * @property {boolean} [useAnchor=true] Enable zooming using the mouse's
 * location as the anchor. When set to `false`, zooming in and out will zoom to
 * the center of the screen instead of zooming on the mouse's location.
 * @property {boolean} [constrainResolution=false] If true, the mouse wheel zoom
 * event will always animate to the closest zoom level after an interaction;
 * false means intermediary zoom levels are allowed.
 */

/**
 * @typedef {Object} Options
 * @property {import("../events/condition.js").Condition} [condition] A function that
 * takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
 * boolean to indicate whether that event should be handled. Default is
 * {@link module:ol/events/condition.noModifierKeys} and
 * {@link module:ol/events/condition.targetNotEditable}.
 * @property {number} [duration=100] Animation duration in milliseconds.
 * @property {number} [pixelDelta=128] The amount of pixels to pan on each key
 * press.
 */

/**
 * @typedef {Object} Options
 * @property {import("../events/condition.js").Condition} [condition] A function that takes an
 * {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a boolean
 * to indicate whether that event should be handled.
 * Default is {@link module:ol/events/condition.altShiftKeysOnly}.
 * @property {number} [duration=250] Animation duration in milliseconds.
 */

/**
 * @typedef {Object} Options
 * @property {import("../events/condition.js").Condition} [condition] A function that takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a boolean
 * to indicate whether that event should be handled.
 * Default is {@link module:ol/events/condition.noModifierKeys} and {@link module:ol/events/condition.primaryAction}.
 * @property {boolean} [onFocusOnly=false] When the map's target has a `tabindex` attribute set,
 * the interaction will only handle events when the map has the focus.
 * @property {import("../Kinetic.js").default} [kinetic] Kinetic inertia to apply to the pan.
 */

/**
 * @typedef {Object} Options
 * @property {import("../extent.js").Extent} [extent] Extent for the tile grid. No tiles outside this
 * extent will be requested by {@link module:ol/source/Tile~TileSource} sources. When no `origin` or
 * `origins` are configured, the `origin` will be set to the top-left corner of the extent.
 * @property {number} [minZoom=0] Minimum zoom.
 * @property {import("../coordinate.js").Coordinate} [origin] The tile grid origin, i.e. where the `x`
 * and `y` axes meet (`[z, 0, 0]`). Tile coordinates increase left to right and downwards. If not
 * specified, `extent` or `origins` must be provided.
 * @property {Array<import("../coordinate.js").Coordinate>} [origins] Tile grid origins, i.e. where
 * the `x` and `y` axes meet (`[z, 0, 0]`), for each zoom level. If given, the array length
 * should match the length of the `resolutions` array, i.e. each resolution can have a different
 * origin. Tile coordinates increase left to right and downwards. If not specified, `extent` or
 * `origin` must be provided.
 * @property {!Array<number>} resolutions Resolutions. The array index of each resolution needs
 * to match the zoom level. This means that even if a `minZoom` is configured, the resolutions
 * array will have a length of `maxZoom + 1`.
 * @property {Array<import("../size.js").Size>} [sizes] Number of tile rows and columns
 * of the grid for each zoom level. If specified the values
 * define each zoom level's extent together with the `origin` or `origins`.
 * A grid `extent` can be configured in addition, and will further limit the extent
 * for which tile requests are made by sources. If the bottom-left corner of
 * an extent is used as `origin` or `origins`, then the `y` value must be
 * negative because OpenLayers tile coordinates use the top left as the origin.
 * @property {number|import("../size.js").Size} [tileSize] Tile size.
 * Default is `[256, 256]`.
 * @property {Array<number|import("../size.js").Size>} [tileSizes] Tile sizes. If given, the array length
 * should match the length of the `resolutions` array, i.e. each resolution can have a different
 * tile size.
 */

/**
 * @typedef {Object} Options
 * @property {import("./Fill.js").default} [fill] Fill style.
 * @property {number} radius Circle radius.
 * @property {import("./Stroke.js").default} [stroke] Stroke style.
 * @property {Array<number>} [displacement=[0,0]] displacement
 * @property {number|import("../size.js").Size} [scale=1] Scale. A two dimensional scale will produce an ellipse.
 * Unless two dimensional scaling is required a better result may be obtained with an appropriate setting for `radius`.
 * @property {number} [rotation=0] Rotation in radians
 * (positive rotation clockwise, meaningful only when used in conjunction with a two dimensional scale).
 * @property {boolean} [rotateWithView=false] Whether to rotate the shape with the view
 * (meaningful only when used in conjunction with a two dimensional scale).
 * @property {"declutter"|"obstacle"|"none"|undefined} [declutterMode] Declutter mode
 */

/**
 * @typedef {Object} Options
 * @property {import("./Source.js").AttributionLike} [attributions] Attributions.
 * @property {Array<import("../Feature.js").default<Geometry>>|Collection<import("../Feature.js").default<Geometry>>} [features]
 * Features. If provided as {@link module:ol/Collection~Collection}, the features in the source
 * and the collection will stay in sync.
 * @property {import("../format/Feature.js").default} [format] The feature format used by the XHR
 * feature loader when `url` is set. Required if `url` is set, otherwise ignored.
 * @property {import("../featureloader.js").FeatureLoader} [loader]
 * The loader function used to load features, from a remote source for example.
 * If this is not set and `url` is set, the source will create and use an XHR
 * feature loader. The `'featuresloadend'` and `'featuresloaderror'` events
 * will only fire if the `success` and `failure` callbacks are used.
 *
 * Example:
 *
 * ```js
 * import Vector from 'ol/source/Vector.js';
 * import GeoJSON from 'ol/format/GeoJSON.js';
 * import {bbox} from 'ol/loadingstrategy.js';
 *
 * const vectorSource = new Vector({
 *   format: new GeoJSON(),
 *   loader: function(extent, resolution, projection, success, failure) {
 *      const proj = projection.getCode();
 *      const url = 'https://ahocevar.com/geoserver/wfs?service=WFS&' +
 *          'version=1.1.0&request=GetFeature&typename=osm:water_areas&' +
 *          'outputFormat=application/json&srsname=' + proj + '&' +
 *          'bbox=' + extent.join(',') + ',' + proj;
 *      const xhr = new XMLHttpRequest();
 *      xhr.open('GET', url);
 *      const onError = function() {
 *        vectorSource.removeLoadedExtent(extent);
 *        failure();
 *      }
 *      xhr.onerror = onError;
 *      xhr.onload = function() {
 *        if (xhr.status == 200) {
 *          const features = vectorSource.getFormat().readFeatures(xhr.responseText);
 *          vectorSource.addFeatures(features);
 *          success(features);
 *        } else {
 *          onError();
 *        }
 *      }
 *      xhr.send();
 *    },
 *    strategy: bbox,
 *  });
 * ```
 * @property {boolean} [overlaps=true] This source may have overlapping geometries.
 * Setting this to `false` (e.g. for sources with polygons that represent administrative
 * boundaries or TopoJSON sources) allows the renderer to optimise fill and
 * stroke operations.
 * @property {LoadingStrategy} [strategy] The loading strategy to use.
 * By default an {@link module:ol/loadingstrategy.all}
 * strategy is used, a one-off strategy which loads all features at once.
 * @property {string|import("../featureloader.js").FeatureUrlFunction} [url]
 * Setting this option instructs the source to load features using an XHR loader
 * (see {@link module:ol/featureloader.xhr}). Use a `string` and an
 * {@link module:ol/loadingstrategy.all} for a one-off download of all features from
 * the given URL. Use a {@link module:ol/featureloader~FeatureUrlFunction} to generate the url with
 * other loading strategies.
 * Requires `format` to be set as well.
 * When default XHR feature loader is provided, the features will
 * be transformed from the data projection to the view projection
 * during parsing. If your remote data source does not advertise its projection
 * properly, this transformation will be incorrect. For some formats, the
 * default projection (usually EPSG:4326) can be overridden by setting the
 * dataProjection constructor option on the format.
 * Note that if a source contains non-feature data, such as a GeoJSON geometry
 * or a KML NetworkLink, these will be ignored. Use a custom loader to load these.
 * @property {boolean} [useSpatialIndex=true]
 * By default, an RTree is used as spatial index. When features are removed and
 * added frequently, and the total number of features is low, setting this to
 * `false` may improve performance.
 *
 * Note that
 * {@link module:ol/source/Vector~VectorSource#getFeaturesInExtent},
 * {@link module:ol/source/Vector~VectorSource#getClosestFeatureToCoordinate} and
 * {@link module:ol/source/Vector~VectorSource#getExtent} cannot be used when `useSpatialIndex` is
 * set to `false`, and {@link module:ol/source/Vector~VectorSource#forEachFeatureInExtent} will loop
 * through all features.
 *
 * When set to `false`, the features will be maintained in an
 * {@link module:ol/Collection~Collection}, which can be retrieved through
 * {@link module:ol/source/Vector~VectorSource#getFeaturesCollection}.
 * @property {boolean} [wrapX=true] Wrap the world horizontally. For vector editing across the
 * -180° and 180° meridians to work properly, this should be set to `false`. The
 * resulting geometry coordinates will then exceed the world bounds.
 * @template {import("../geom/Geometry.js").default} [Geometry=import("../geom/Geometry.js").default]
 */

/**
 * @typedef {Object} Options
 * @property {import("./Source.js").AttributionLike} [attributions] Attributions.
 * @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
 * @property {number} [cacheSize] Cache size.
 * @property {boolean} [opaque=false] Whether the layer is opaque.
 * @property {import("../proj.js").ProjectionLike} [projection] Projection.
 * @property {import("./Source.js").State} [state] State.
 * @property {import("../tilegrid/TileGrid.js").default} [tileGrid] TileGrid.
 * @property {import("../Tile.js").LoadFunction} tileLoadFunction TileLoadFunction.
 * @property {number} [tilePixelRatio] TilePixelRatio.
 * @property {import("../Tile.js").UrlFunction} [tileUrlFunction] TileUrlFunction.
 * @property {string} [url] Url.
 * @property {Array<string>} [urls] Urls.
 * @property {boolean} [wrapX=true] WrapX.
 * @property {number} [transition] Transition.
 * @property {string} [key] Key.
 * @property {number|import("../array.js").NearestDirectionFunction} [zDirection=0] ZDirection.
 * @property {boolean} [interpolate=false] Use interpolated values when resampling.  By default,
 * the nearest neighbor is used when resampling.
 */

/**
 * @typedef {Object} Options
 * @property {import("./Source.js").AttributionLike} [attributions] Attributions.
 * @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
 * @property {number} [cacheSize] CacheSize.
 * @property {boolean} [opaque=false] Whether the layer is opaque.
 * @property {number} [tilePixelRatio] TilePixelRatio.
 * @property {import("../proj.js").ProjectionLike} [projection] Projection.
 * @property {import("./Source.js").State} [state] State.
 * @property {import("../tilegrid/TileGrid.js").default} [tileGrid] TileGrid.
 * @property {boolean} [wrapX=false] WrapX.
 * @property {number} [transition] Transition.
 * @property {string} [key] Key.
 * @property {number|import("../array.js").NearestDirectionFunction} [zDirection=0] ZDirection.
 * @property {boolean} [interpolate=false] Use interpolated values when resampling.  By default,
 * the nearest neighbor is used when resampling.
 */

/**
 * @typedef {Object} Options
 * @property {import("./Source.js").AttributionLike} [attributions] Attributions.
 * @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
 * @property {number} [cacheSize] Initial tile cache size. Will auto-grow to hold at least the number of tiles in the viewport.
 * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images.  Note that
 * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
 * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
 * @property {boolean} [interpolate=true] Use interpolated values when resampling.  By default,
 * linear interpolation is used when resampling.  Set to false to use the nearest neighbor instead.
 * @property {boolean} [opaque=false] Whether the layer is opaque.
 * @property {import("../proj.js").ProjectionLike} [projection='EPSG:3857'] Projection.
 * @property {number} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels).
 * Higher values can increase reprojection performance, but decrease precision.
 * @property {number} [maxZoom=42] Optional max zoom level. Not used if `tileGrid` is provided.
 * @property {number} [minZoom=0] Optional min zoom level. Not used if `tileGrid` is provided.
 * @property {number} [maxResolution] Optional tile grid resolution at level zero. Not used if `tileGrid` is provided.
 * @property {import("../tilegrid/TileGrid.js").default} [tileGrid] Tile grid.
 * @property {import("../Tile.js").LoadFunction} [tileLoadFunction] Optional function to load a tile given a URL. The default is
 * ```js
 * function(imageTile, src) {
 *   imageTile.getImage().src = src;
 * };
 * ```
 * @property {number} [tilePixelRatio=1] The pixel ratio used by the tile service.
 * For example, if the tile service advertizes 256px by 256px tiles but actually sends 512px
 * by 512px images (for retina/hidpi devices) then `tilePixelRatio`
 * should be set to `2`.
 * @property {number|import("../size.js").Size} [tileSize=[256, 256]] The tile size used by the tile service.
 * Not used if `tileGrid` is provided.
 * @property {number} [gutter=0] The size in pixels of the gutter around image tiles to ignore.
 * This allows artifacts of rendering at tile edges to be ignored.
 * Supported images should be wider and taller than the tile size by a value of `2 x gutter`.
 * @property {import("../Tile.js").UrlFunction} [tileUrlFunction] Optional function to get
 * tile URL given a tile coordinate and the projection.
 * Required if `url` or `urls` are not provided.
 * @property {string} [url] URL template. Must include `{x}`, `{y}` or `{-y}`,
 * and `{z}` placeholders. A `{?-?}` template pattern, for example `subdomain{a-f}.domain.com`,
 * may be used instead of defining each one separately in the `urls` option.
 * @property {Array<string>} [urls] An array of URL templates.
 * @property {boolean} [wrapX=true] Whether to wrap the world horizontally.
 * @property {number} [transition=250] Duration of the opacity transition for rendering.
 * To disable the opacity transition, pass `transition: 0`.
 * @property {number|import("../array.js").NearestDirectionFunction} [zDirection=0]
 * Choose whether to use tiles with a higher or lower zoom level when between integer
 * zoom levels. See {@link module:ol/tilegrid/TileGrid~TileGrid#getZForResolution}.
 */

/**
 * @typedef {Object} Options
 * @property {import("./Source.js").AttributionLike} [attributions] Attributions.
 * @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
 * @property {number} [cacheSize] Initial tile cache size. Will auto-grow to hold at least the number of tiles in the viewport.
 * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images.  Note that
 * you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
 * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
 * @property {boolean} [interpolate=true] Use interpolated values when resampling.  By default,
 * linear interpolation is used when resampling.  Set to false to use the nearest neighbor instead.
 * @property {boolean} [opaque=false] Whether the layer is opaque.
 * @property {import("../proj.js").ProjectionLike} [projection] Projection. Default is the view projection.
 * @property {number} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels).
 * Higher values can increase reprojection performance, but decrease precision.
 * @property {import("./Source.js").State} [state] Source state.
 * @property {typeof import("../ImageTile.js").default} [tileClass] Class used to instantiate image tiles.
 * Default is {@link module:ol/ImageTile~ImageTile}.
 * @property {import("../tilegrid/TileGrid.js").default} [tileGrid] Tile grid.
 * @property {import("../Tile.js").LoadFunction} [tileLoadFunction] Optional function to load a tile given a URL. The default is
 * ```js
 * function(imageTile, src) {
 *   imageTile.getImage().src = src;
 * };
 * ```
 * @property {number} [tilePixelRatio=1] The pixel ratio used by the tile service. For example, if the tile
 * service advertizes 256px by 256px tiles but actually sends 512px
 * by 512px images (for retina/hidpi devices) then `tilePixelRatio`
 * should be set to `2`.
 * @property {import("../Tile.js").UrlFunction} [tileUrlFunction] Optional function to get tile URL given a tile coordinate and the projection.
 * @property {string} [url] URL template. Must include `{x}`, `{y}` or `{-y}`, and `{z}` placeholders.
 * A `{?-?}` template pattern, for example `subdomain{a-f}.domain.com`, may be
 * used instead of defining each one separately in the `urls` option.
 * @property {Array<string>} [urls] An array of URL templates.
 * @property {boolean} [wrapX] Whether to wrap the world horizontally. The default, is to
 * request out-of-bounds tiles from the server. When set to `false`, only one
 * world will be rendered. When set to `true`, tiles will be requested for one
 * world only, but they will be wrapped horizontally to render multiple worlds.
 * @property {number} [transition] Duration of the opacity transition for rendering.
 * To disable the opacity transition, pass `transition: 0`.
 * @property {string} [key] Optional tile key for proper cache fetching
 * @property {number|import("../array.js").NearestDirectionFunction} [zDirection=0]
 * Choose whether to use tiles with a higher or lower zoom level when between integer
 * zoom levels. See {@link module:ol/tilegrid/TileGrid~TileGrid#getZForResolution}.
 */

/**
 * @typedef {Object} Options
 * @property {number} [duration=100] Animation duration in milliseconds.
 * @property {import("../events/condition.js").Condition} [condition] A function that
 * takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
 * boolean to indicate whether that event should be handled. Default is
 * {@link module:ol/events/condition.targetNotEditable}.
 * @property {number} [delta=1] The zoom level delta on each key press.
 */

/**
 * @typedef {Object} Options
 * @property {number} [duration=250] Animation duration in milliseconds.
 * @property {number} [delta=1] The zoom delta applied on each double click.
 */

/**
 * @typedef {Object} Options
 * @property {number} [duration=250] Animation duration in milliseconds.
 * @property {string} [className='ol-zoom'] CSS class name.
 * @property {string} [zoomInClassName=className + '-in'] CSS class name for the zoom-in button.
 * @property {string} [zoomOutClassName=className + '-out'] CSS class name for the zoom-out button.
 * @property {string|HTMLElement} [zoomInLabel='+'] Text label to use for the zoom-in
 * button. Instead of text, also an element (e.g. a `span` element) can be used.
 * @property {string|HTMLElement} [zoomOutLabel='–'] Text label to use for the zoom-out button.
 * Instead of text, also an element (e.g. a `span` element) can be used.
 * @property {string} [zoomInTipLabel='Zoom in'] Text label to use for the button tip.
 * @property {string} [zoomOutTipLabel='Zoom out'] Text label to use for the button tip.
 * @property {number} [delta=1] The zoom delta applied on each click.
 * @property {HTMLElement|string} [target] Specify a target if you want the control to be
 * rendered outside of the map's viewport.
 */

/**
 * @typedef {Object} Options
 * @property {number} [duration=250] The duration of the animation in
 * milliseconds.
 * @property {number} [threshold=0.3] Minimal angle in radians to start a rotation.
 */

/**
 * @typedef {Object} Options
 * @property {number} [duration=400] Animation duration in milliseconds.
 */

/**
 * @typedef {Object} Options
 * @property {number} [opacity=1] Opacity (0, 1).
 * @property {boolean} [visible=true] Visibility.
 * @property {import("../extent.js").Extent} [extent] The bounding extent for layer rendering.  The layer will not be
 * rendered outside of this extent.
 * @property {number} [zIndex] The z-index for layer rendering.  At rendering time, the layers
 * will be ordered, first by Z-index and then by position. When `undefined`, a `zIndex` of 0 is assumed
 * for layers that are added to the map's `layers` collection, or `Infinity` when the layer's `setMap()`
 * method was used.
 * @property {number} [minResolution] The minimum resolution (inclusive) at which this layer will be
 * visible.
 * @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
 * be visible.
 * @property {number} [minZoom] The minimum view zoom level (exclusive) above which this layer will be
 * visible.
 * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
 * be visible.
 * @property {Array<import("./Base.js").default>|Collection<import("./Base.js").default>} [layers] Child layers.
 * @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
 */

/**
 * @typedef {Object} Options
 * @property {number} [transition=250] A duration for tile opacity
 * transitions in milliseconds. A duration of 0 disables the opacity transition.
 * @property {boolean} [interpolate=false] Use interpolated values when resampling.  By default,
 * the nearest neighbor is used when resampling.
 * @api
 */

/**
 * @typedef {Object} Options
 * @property {number} opacity Opacity.
 * @property {boolean} rotateWithView If the image should get rotated with the view.
 * @property {number} rotation Rotation.
 * @property {number|import("../size.js").Size} scale Scale.
 * @property {Array<number>} displacement Displacement.
 * @property {"declutter"|"obstacle"|"none"|undefined} declutterMode Declutter mode: `declutter`, `obstacle`, 'none */

/**
 * @typedef {Object} Options
 * @property {string|import("../geom/Geometry.js").default|GeometryFunction} [geometry] Feature property or geometry
 * or function returning a geometry to render for this style.
 * @property {import("./Fill.js").default} [fill] Fill style.
 * @property {import("./Image.js").default} [image] Image style.
 * @property {RenderFunction} [renderer] Custom renderer. When configured, `fill`, `stroke` and `image` will be
 * ignored, and the provided function will be called with each render frame for each geometry.
 * @property {RenderFunction} [hitDetectionRenderer] Custom renderer for hit detection. If provided will be used
 * in hit detection rendering.
 * @property {import("./Stroke.js").default} [stroke] Stroke style.
 * @property {import("./Text.js").default} [text] Text style.
 * @property {number} [zIndex] Z index.
 */

/**
 * @typedef {Object} Options
 * @property {string} [className='ol-attribution'] CSS class name.
 * @property {HTMLElement|string} [target] Specify a target if you
 * want the control to be rendered outside of the map's
 * viewport.
 * @property {boolean} [collapsible] Specify if attributions can
 * be collapsed. If not specified, sources control this behavior with their
 * `attributionsCollapsible` setting.
 * @property {boolean} [collapsed=true] Specify if attributions should
 * be collapsed at startup.
 * @property {string} [tipLabel='Attributions'] Text label to use for the button tip.
 * @property {string|HTMLElement} [label='i'] Text label to use for the
 * collapsed attributions button.
 * Instead of text, also an element (e.g. a `span` element) can be used.
 * @property {string} [expandClassName=className + '-expand'] CSS class name for the
 * collapsed attributions button.
 * @property {string|HTMLElement} [collapseLabel='›'] Text label to use
 * for the expanded attributions button.
 * Instead of text, also an element (e.g. a `span` element) can be used.
 * @property {string} [collapseClassName=className + '-collapse'] CSS class name for the
 * expanded attributions button.
 * @property {function(import("../MapEvent.js").default):void} [render] Function called when
 * the control should be re-rendered. This is called in a `requestAnimationFrame`
 * callback.
 */

/**
 * @typedef {Object} Options
 * @property {string} [className='ol-dragzoom'] CSS class name for styling the
 * box.
 * @property {import("../events/condition.js").Condition} [condition] A function that
 * takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
 * boolean to indicate whether that event should be handled.
 * Default is {@link module:ol/events/condition.shiftKeyOnly}.
 * @property {number} [duration=200] Animation duration in milliseconds.
 * @property {boolean} [out=false] Use interaction for zooming out.
 * @property {number} [minArea=64] The minimum area of the box in pixel, this value is used by the parent default
 * `boxEndCondition` function.
 */

/**
 * @typedef {Object} Options
 * @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
 * @property {number} [opacity=1] Opacity (0, 1).
 * @property {boolean} [visible=true] Visibility.
 * @property {import("../extent.js").Extent} [extent] The bounding extent for layer rendering.  The layer will not be
 * rendered outside of this extent.
 * @property {number} [zIndex] The z-index for layer rendering.  At rendering time, the layers
 * will be ordered, first by Z-index and then by position. When `undefined`, a `zIndex` of 0 is assumed
 * for layers that are added to the map's `layers` collection, or `Infinity` when the layer's `setMap()`
 * method was used.
 * @property {number} [minResolution] The minimum resolution (inclusive) at which this layer will be
 * visible.
 * @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
 * be visible.
 * @property {number} [minZoom] The minimum view zoom level (exclusive) above which this layer will be
 * visible.
 * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
 * be visible.
 * @property {BackgroundColor} [background] Background color for the layer. If not specified, no background
 * will be rendered.
 * @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
 */

/**
 * @typedef {Object} Options
 * @property {string} [className='ol-rotate'] CSS class name.
 * @property {string|HTMLElement} [label='⇧'] Text label to use for the rotate button.
 * Instead of text, also an element (e.g. a `span` element) can be used.
 * @property {string} [tipLabel='Reset rotation'] Text label to use for the rotate tip.
 * @property {string} [compassClassName='ol-compass'] CSS class name for the compass.
 * @property {number} [duration=250] Animation duration in milliseconds.
 * @property {boolean} [autoHide=true] Hide the control when rotation is 0.
 * @property {function(import("../MapEvent.js").default):void} [render] Function called when the control should
 * be re-rendered. This is called in a `requestAnimationFrame` callback.
 * @property {function():void} [resetNorth] Function called when the control is clicked.
 * This will override the default `resetNorth`.
 * @property {HTMLElement|string} [target] Specify a target if you want the control to be
 * rendered outside of the map's viewport.
 */

/**
 * @typedef {Object} Options
 * @property {string} [font] Font style as CSS `font` value, see:
 * https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/font. Default is `'10px sans-serif'`
 * @property {number} [maxAngle=Math.PI/4] When `placement` is set to `'line'`, allow a maximum angle between adjacent characters.
 * The expected value is in radians, and the default is 45° (`Math.PI / 4`).
 * @property {number} [offsetX=0] Horizontal text offset in pixels. A positive will shift the text right.
 * @property {number} [offsetY=0] Vertical text offset in pixels. A positive will shift the text down.
 * @property {boolean} [overflow=false] For polygon labels or when `placement` is set to `'line'`, allow text to exceed
 * the width of the polygon at the label position or the length of the path that it follows.
 * @property {TextPlacement} [placement='point'] Text placement.
 * @property {number|import("../size.js").Size} [scale] Scale.
 * @property {boolean} [rotateWithView=false] Whether to rotate the text with the view.
 * @property {number} [rotation=0] Rotation in radians (positive rotation clockwise).
 * @property {string|Array<string>} [text] Text content or rich text content. For plain text provide a string, which can
 * contain line breaks (`\n`). For rich text provide an array of text/font tuples. A tuple consists of the text to
 * render and the font to use (or `''` to use the text style's font). A line break has to be a separate tuple (i.e. `'\n', ''`).
 * **Example:** `['foo', 'bold 10px sans-serif', ' bar', 'italic 10px sans-serif', ' baz', '']` will yield "**foo** *bar* baz".
 * **Note:** Rich text is not supported for the immediate rendering API.
 * @property {CanvasTextAlign} [textAlign] Text alignment. Possible values: `'left'`, `'right'`, `'center'`, `'end'` or `'start'`.
 * Default is `'center'` for `placement: 'point'`. For `placement: 'line'`, the default is to let the renderer choose a
 * placement where `maxAngle` is not exceeded.
 * @property {TextJustify} [justify] Text justification within the text box.
 * If not set, text is justified towards the `textAlign` anchor.
 * Otherwise, use options `'left'`, `'center'`, or `'right'` to justify the text within the text box.
 * **Note:** `justify` is ignored for immediate rendering and also for `placement: 'line'`.
 * @property {CanvasTextBaseline} [textBaseline='middle'] Text base line. Possible values: `'bottom'`, `'top'`, `'middle'`, `'alphabetic'`,
 * `'hanging'`, `'ideographic'`.
 * @property {import("./Fill.js").default} [fill] Fill style. If none is provided, we'll use a dark fill-style (#333).
 * @property {import("./Stroke.js").default} [stroke] Stroke style.
 * @property {import("./Fill.js").default} [backgroundFill] Fill style for the text background when `placement` is
 * `'point'`. Default is no fill.
 * @property {import("./Stroke.js").default} [backgroundStroke] Stroke style for the text background  when `placement`
 * is `'point'`. Default is no stroke.
 * @property {Array<number>} [padding=[0, 0, 0, 0]] Padding in pixels around the text for decluttering and background. The order of
 * values in the array is `[top, right, bottom, left]`.
 */

/**
 * @typedef {Object} Options
 * @property {string} code The SRS identifier code, e.g. `EPSG:4326`.
 * @property {import("./Units.js").Units} [units] Units. Required unless a
 * proj4 projection is defined for `code`.
 * @property {import("../extent.js").Extent} [extent] The validity extent for the SRS.
 * @property {string} [axisOrientation='enu'] The axis orientation as specified in Proj4.
 * @property {boolean} [global=false] Whether the projection is valid for the whole globe.
 * @property {number} [metersPerUnit] The meters per unit for the SRS.
 * If not provided, the `units` are used to get the meters per unit from the {@link METERS_PER_UNIT}
 * lookup table.
 * @property {import("../extent.js").Extent} [worldExtent] The world extent for the SRS.
 * @property {function(number, import("../coordinate.js").Coordinate):number} [getPointResolution]
 * Function to determine resolution at a point. The function is called with a
 * `number` view resolution and a {@link module:ol/coordinate~Coordinate} as arguments, and returns
 * the `number` resolution in projection units at the passed coordinate. If this is `undefined`,
 * the default {@link module:ol/proj.getPointResolution} function will be used.
 */

/**
 * @typedef {Object} RenderOptions
 * @property {import("../colorlike.js").ColorLike} [strokeStyle] StrokeStyle.
 * @property {number} strokeWidth StrokeWidth.
 * @property {number} size Size.
 * @property {Array<number>|null} lineDash LineDash.
 * @property {number} lineDashOffset LineDashOffset.
 * @property {CanvasLineJoin} lineJoin LineJoin.
 * @property {number} miterLimit MiterLimit.
 */

/**
 * @typedef {Object} ResponsiveBreakpointOverride
 * @property {number} level
 * @property {string} name
 * @property {number} width
 */

/**
 * @typedef {Object} SerializableInstructions
 * @property {Array<*>} instructions The rendering instructions.
 * @property {Array<*>} hitDetectionInstructions The rendering hit detection instructions.
 * @property {Array<number>} coordinates The array of all coordinates.
 * @property {!Object<string, TextState>} [textStates] The text states (decluttering).
 * @property {!Object<string, FillState>} [fillStates] The fill states (decluttering).
 * @property {!Object<string, StrokeState>} [strokeStates] The stroke states (decluttering).
 */

/**
 * @typedef {Object} State
 * @property {import("./Layer.js").default} layer Layer.
 * @property {number} opacity Opacity, the value is rounded to two digits to appear after the decimal point.
 * @property {boolean} visible Visible.
 * @property {boolean} managed Managed.
 * @property {import("../extent.js").Extent} [extent] Extent.
 * @property {number} zIndex ZIndex.
 * @property {number} maxResolution Maximum resolution.
 * @property {number} minResolution Minimum resolution.
 * @property {number} minZoom Minimum zoom.
 * @property {number} maxZoom Maximum zoom.
 */

/**
 * @typedef {Object} StrokeState
 * @property {CanvasLineCap} lineCap LineCap.
 * @property {Array<number>} lineDash LineDash.
 * @property {number} lineDashOffset LineDashOffset.
 * @property {CanvasLineJoin} lineJoin LineJoin.
 * @property {number} lineWidth LineWidth.
 * @property {number} miterLimit MiterLimit.
 * @property {import("../colorlike.js").ColorLike} strokeStyle StrokeStyle.
 */

/**
 * @typedef {Object} TextState
 * @property {string} font Font.
 * @property {CanvasTextAlign} [textAlign] TextAlign.
 * @property {import("../style/Text.js").TextJustify} [justify] Justify.
 * @property {CanvasTextBaseline} textBaseline TextBaseline.
 * @property {import("../style/Text.js").TextPlacement} [placement] Placement.
 * @property {number} [maxAngle] MaxAngle.
 * @property {boolean} [overflow] Overflow.
 * @property {import("../style/Fill.js").default} [backgroundFill] BackgroundFill.
 * @property {import("../style/Stroke.js").default} [backgroundStroke] BackgroundStroke.
 * @property {import("../size.js").Size} [scale] Scale.
 * @property {Array<number>} [padding] Padding.
 */

/**
 * @typedef {Object} XYZOptions
 * @property {import("./extent.js").Extent} [extent] Extent for the tile grid. The origin for an XYZ tile grid is the
 * top-left corner of the extent. If `maxResolution` is not provided the zero level of the grid is defined by the resolution
 * at which one tile fits in the provided extent. If not provided, the extent of the EPSG:3857 projection is used.
 * @property {number} [maxResolution] Resolution at level zero.
 * @property {number} [maxZoom] Maximum zoom. The default is `42`. This determines the number of levels
 * in the grid set. For example, a `maxZoom` of 21 means there are 22 levels in the grid set.
 * @property {number} [minZoom=0] Minimum zoom.
 * @property {number|import("./size.js").Size} [tileSize=[256, 256]] Tile size in pixels.
 */

/**
 * @typedef {function((import("./coordinate.js").Coordinate|undefined), number, import("./size.js").Size, boolean=, Array<number>=): (import("./coordinate.js").Coordinate|undefined)} Type
 */

/**
 * @typedef {function((number|undefined), boolean=): (number|undefined)} Type
 */

/**
 * @typedef {function((number|undefined), number, import("./size.js").Size, boolean=): (number|undefined)} Type
 */

/**
 * @typedef {function(Map, ?FrameState): any} PostRenderFunction
 */

/**
 * @typedef {function(import("../Map.js").FrameState):HTMLElement} RenderFunction
 */

/**
 * @typedef {function(import("./Tile.js").default, string, import("./coordinate.js").Coordinate, number): number} PriorityFunction
 */

/**
 * @typedef {function(number, number, number, number) : (import("../ImageTile.js").default)} FunctionType
 */

/**
 * @typedef {import("../ObjectEventType").Types|'change:extent'|'change:maxResolution'|'change:maxZoom'|
 *    'change:minResolution'|'change:minZoom'|'change:opacity'|'change:visible'|'change:zIndex'} BaseLayerObjectEventTypes
 */

/**
 * @typedef {import("./ObjectEventType").Types|'change:center'|'change:resolution'|'change:rotation'} ViewObjectEventTypes
 */

/**
 * @typedef {import("./ObjectEventType").Types|'change:layergroup'|'change:size'|'change:target'|'change:view'} MapObjectEventTypes
 */

/**
 * @typedef {typeof Feature|typeof import("./render/Feature.js").default} FeatureClass
 */

/**
 * @typedef {{0: CanvasRenderingContext2D, 1: number, 2: import("../canvas.js").Label|HTMLImageElement|HTMLCanvasElement|HTMLVideoElement, 3: ImageOrLabelDimensions, 4: number, 5: Array<*>, 6: Array<*>}} ReplayImageOrLabelArgs
 */

/**
 * A BasicSourceMapConsumer instance represents a parsed source map which we can
 * query for information about the original file positions by giving it a file
 * position in the generated source.
 *
 * The first parameter is the raw source map (either as a JSON string, or
 * already parsed to an object). According to the spec, source maps have the
 * following attributes:
 *
 *   - version: Which version of the source map spec this map is following.
 *   - sources: An array of URLs to the original source files.
 *   - names: An array of identifiers which can be referrenced by individual mappings.
 *   - sourceRoot: Optional. The URL root from which all sources are relative.
 *   - sourcesContent: Optional. An array of contents of the original source files.
 *   - mappings: A string of base64 VLQs which contain the actual mappings.
 *   - file: Optional. The generated file this source map is associated with.
 *
 * Here is an example source map, taken from the source map spec[0]:
 *
 *     {
 *       version : 3,
 *       file: "out.js",
 *       sourceRoot : "",
 *       sources: ["foo.js", "bar.js"],
 *       names: ["src", "maps", "are", "fun"],
 *       mappings: "AA,AB;;ABCDE;"
 *     }
 *
 * The second parameter, if given, is a string whose value is the URL
 * at which the source map was found.  This URL is used to compute the
 * sources array.
 *
 * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#
 */

/**
 * A ComboBox with a secondary trigger button that clears the contents of the ComboBox
 * 
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.ClearableComboBox
 * @extends     Ext.form.ComboBox
 */

/**
 * A DateField with a secondary trigger button that clears the contents of the DateField
 *
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.ClearableDateField
 * @extends     Ext.form.DateField
 */

/**
 * A DateTime is an immutable data structure representing a specific date and time and accompanying methods. It contains class and instance methods for creating, parsing, interrogating, transforming, and formatting them.
 *
 * A DateTime comprises of:
 * * A timestamp. Each DateTime instance refers to a specific millisecond of the Unix epoch.
 * * A time zone. Each instance is considered in the context of a specific zone (by default the local system's zone).
 * * Configuration properties that effect how output strings are formatted, such as `locale`, `numberingSystem`, and `outputCalendar`.
 *
 * Here is a brief overview of the most commonly used functionality it provides:
 *
 * * **Creation**: To create a DateTime from its components, use one of its factory class methods: {@link local}, {@link utc}, and (most flexibly) {@link fromObject}. To create one from a standard string format, use {@link fromISO}, {@link fromHTTP}, and {@link fromRFC2822}. To create one from a custom string format, use {@link fromFormat}. To create one from a native JS date, use {@link fromJSDate}.
 * * **Gregorian calendar and time**: To examine the Gregorian properties of a DateTime individually (i.e as opposed to collectively through {@link toObject}), use the {@link year}, {@link month},
 * {@link day}, {@link hour}, {@link minute}, {@link second}, {@link millisecond} accessors.
 * * **Week calendar**: For ISO week calendar attributes, see the {@link weekYear}, {@link weekNumber}, and {@link weekday} accessors.
 * * **Configuration** See the {@link locale} and {@link numberingSystem} accessors.
 * * **Transformation**: To transform the DateTime into other DateTimes, use {@link set}, {@link reconfigure}, {@link setZone}, {@link setLocale}, {@link plus}, {@link minus}, {@link endOf}, {@link startOf}, {@link toUTC}, and {@link toLocal}.
 * * **Output**: To convert the DateTime to other representations, use the {@link toRelative}, {@link toRelativeCalendar}, {@link toJSON}, {@link toISO}, {@link toHTTP}, {@link toObject}, {@link toRFC2822}, {@link toString}, {@link toLocaleString}, {@link toFormat}, {@link toMillis} and {@link toJSDate}.
 *
 * There's plenty others documented below. In addition, for more information on subtler topics like internationalization, time zones, alternative calendars, validity, and so on, see the external documentation.
 */

/**
 * A Duration object represents a period of time, like "2 months" or "1 day, 1 hour". Conceptually, it's just a map of units to their quantities, accompanied by some additional configuration and methods for creating, parsing, interrogating, transforming, and formatting them. They can be used on their own or in conjunction with other Luxon types; for example, you can use {@link DateTime.plus} to add a Duration object to a DateTime, producing another DateTime.
 *
 * Here is a brief overview of commonly used methods and getters in Duration:
 *
 * * **Creation** To create a Duration, use {@link Duration.fromMillis}, {@link Duration.fromObject}, or {@link Duration.fromISO}.
 * * **Unit values** See the {@link Duration.years}, {@link Duration.months}, {@link Duration.weeks}, {@link Duration.days}, {@link Duration.hours}, {@link Duration.minutes}, {@link Duration.seconds}, {@link Duration.milliseconds} accessors.
 * * **Configuration** See  {@link Duration.locale} and {@link Duration.numberingSystem} accessors.
 * * **Transformation** To create new Durations out of old ones use {@link Duration.plus}, {@link Duration.minus}, {@link Duration.normalize}, {@link Duration.set}, {@link Duration.reconfigure}, {@link Duration.shiftTo}, and {@link Duration.negate}.
 * * **Output** To convert the Duration into other representations, see {@link Duration.as}, {@link Duration.toISO}, {@link Duration.toFormat}, and {@link Duration.toJSON}
 *
 * There's are more methods documented below. In addition, for more information on subtler topics like internationalization and validity, see the external documentation.
 */

/**
 * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined
 * in FIPS 180-2
 * Version 2.2-beta Copyright Angel Marin, Paul Johnston 2000 - 2009.
 * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
 *
 */

/**
 * A NumberField allows to force decimals and prefix, suffix handling
 * 
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.NumberField
 * @extends     Ext.form.NumberField
 */

/**
 * A close relative of [`retry`]{@link module:ControlFlow.retry}.  This method
 * wraps a task and makes it retryable, rather than immediately calling it
 * with retries.
 *
 * @name retryable
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @see [async.retry]{@link module:ControlFlow.retry}
 * @category Control Flow
 * @param {Object|number} [opts = {times: 5, interval: 0}| 5] - optional
 * options, exactly the same as from `retry`, except for a `opts.arity` that
 * is the arity of the `task` function, defaulting to `task.length`
 * @param {AsyncFunction} task - the asynchronous function to wrap.
 * This function will be passed any arguments passed to the returned wrapper.
 * Invoked with (...args, callback).
 * @returns {AsyncFunction} The wrapped function, which when invoked, will
 * retry on an error, based on the parameters specified in `opts`.
 * This function will accept the same parameters as `task`.
 * @example
 *
 * async.auto({
 *     dep1: async.retryable(3, getFromFlakyService),
 *     process: ["dep1", async.retryable(3, function (results, cb) {
 *         maybeProcessData(results.dep1, cb);
 *     })]
 * }, callback);
 */

/**
 * A color represented as a short array [red, green, blue, alpha].
 * red, green, and blue should be integers in the range 0..255 inclusive.
 * alpha should be a float in the range 0..1 inclusive. If no alpha value is
 * given then `1` will be used.
 * @typedef {Array<number>} Color
 * @api
 */

/**
 * A combination of datefield and timefield
 * 
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.DateTimeField
 * @extends     Ext.form.Field
 */

/**
 * A combination range and paging control
 *
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.PeriodPicker
 * @extends     Ext.form.Field
 */

/**
 * A css color, or a function called with a view resolution returning a css color.
 *
 * @typedef {string|function(number):string} BackgroundColor
 * @api
 */

/**
 * A data structure to provide a sorted view of accumulated mappings in a
 * performance conscious manner. It trades a neglibable overhead in general
 * case for a large speedup in case of mappings being added in order.
 */

/**
 * A data structure which is a combination of an array and a set. Adding a new
 * member is O(1), testing for membership is O(1), and finding the index of an
 * element is O(1). Removing elements from the set is not supported. Only
 * strings are supported for membership.
 */

/**
 * A dependency-injected version of the [async.auto]{@link module:ControlFlow.auto} function. Dependent
 * tasks are specified as parameters to the function, after the usual callback
 * parameter, with the parameter names matching the names of the tasks it
 * depends on. This can provide even more readable task graphs which can be
 * easier to maintain.
 *
 * If a final callback is specified, the task results are similarly injected,
 * specified as named parameters after the initial error parameter.
 *
 * The autoInject function is purely syntactic sugar and its semantics are
 * otherwise equivalent to [async.auto]{@link module:ControlFlow.auto}.
 *
 * @name autoInject
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @see [async.auto]{@link module:ControlFlow.auto}
 * @category Control Flow
 * @param {Object} tasks - An object, each of whose properties is an {@link AsyncFunction} of
 * the form 'func([dependencies...], callback). The object's key of a property
 * serves as the name of the task defined by that property, i.e. can be used
 * when specifying requirements for other tasks.
 * * The `callback` parameter is a `callback(err, result)` which must be called
 *   when finished, passing an `error` (which can be `null`) and the result of
 *   the function's execution. The remaining parameters name other tasks on
 *   which the task is dependent, and the results from those tasks are the
 *   arguments of those parameters.
 * @param {Function} [callback] - An optional callback which is called when all
 * the tasks have been completed. It receives the `err` argument if any `tasks`
 * pass an error to their callback, and a `results` object with any completed
 * task results, similar to `auto`.
 * @returns {Promise} a promise, if no callback is passed
 * @example
 *
 * //  The example from `auto` can be rewritten as follows:
 * async.autoInject({
 *     get_data: function(callback) {
 *         // async code to get some data
 *         callback(null, 'data', 'converted to array');
 *     },
 *     make_folder: function(callback) {
 *         // async code to create a directory to store a file in
 *         // this is run at the same time as getting the data
 *         callback(null, 'folder');
 *     },
 *     write_file: function(get_data, make_folder, callback) {
 *         // once there is some data and the directory exists,
 *         // write the data to a file in the directory
 *         callback(null, 'filename');
 *     },
 *     email_link: function(write_file, callback) {
 *         // once the file is written let's email a link to it...
 *         // write_file contains the filename returned by write_file.
 *         callback(null, {'file':write_file, 'email':'user@example.com'});
 *     }
 * }, function(err, results) {
 *     console.log('err = ', err);
 *     console.log('email_link = ', results.email_link);
 * });
 *
 * // If you are using a JS minifier that mangles parameter names, `autoInject`
 * // will not work with plain functions, since the parameter names will be
 * // collapsed to a single letter identifier.  To work around this, you can
 * // explicitly specify the names of the parameters your task function needs
 * // in an array, similar to Angular.js dependency injection.
 *
 * // This still has an advantage over plain `auto`, since the results a task
 * // depends on are still spread into arguments.
 * async.autoInject({
 *     //...
 *     write_file: ['get_data', 'make_folder', function(get_data, make_folder, callback) {
 *         callback(null, 'filename');
 *     }],
 *     email_link: ['write_file', function(write_file, callback) {
 *         callback(null, {'file':write_file, 'email':'user@example.com'});
 *     }]
 *     //...
 * }, function(err, results) {
 *     console.log('err = ', err);
 *     console.log('email_link = ', results.email_link);
 * });
 */

/**
 * A flat style literal or an array of the same.
 *
 * @typedef {FlatStyle|Array<FlatStyle>} FlatStyleLike
 */

/**
 * A function that takes a {@link module:ol/Map~FrameState} and returns a string or
 * an array of strings representing source attributions.
 *
 * @typedef {function(import("../Map.js").FrameState): (string|Array<string>)} Attribution
 */

/**
 * A function that takes a {@link module:ol/coordinate~Coordinate} and
 * transforms it into a `{string}`.
 *
 * @typedef {function((Coordinate|undefined)): string} CoordinateFormat
 * @api
 */

/**
 * A function that takes an {@link module:ol/Feature~Feature} and a `{number}`
 * representing the view's resolution. The function should return a
 * {@link module:ol/style/Style~Style} or an array of them. This way e.g. a
 * vector layer can be styled. If the function returns `undefined`, the
 * feature will not be rendered.
 *
 * @typedef {function(import("../Feature.js").FeatureLike, number):(Style|Array<Style>|void)} StyleFunction
 */

/**
 * A function that takes an {@link module:ol/Feature~Feature} as argument and returns an
 * {@link module:ol/geom/Geometry~Geometry} that will be rendered and styled for the feature.
 *
 * @typedef {function(import("../Feature.js").FeatureLike):
 *     (import("../geom/Geometry.js").default|import("../render/Feature.js").default|undefined)} GeometryFunction
 */

/**
 * A function that takes an {@link module:ol/MapBrowserEvent~MapBrowserEvent} and returns a
 * `{boolean}`. If the condition is met, true should be returned.
 *
 * @typedef {function(this: ?, import("../MapBrowserEvent.js").default): boolean} Condition
 */

/**
 * A function that takes an {@link module:ol/Tile~Tile} for the tile and a
 * `{string}` for the url as arguments. The default is
 * ```js
 * source.setTileLoadFunction(function(tile, src) {
 *   tile.getImage().src = src;
 * });
 * ```
 * For more fine grained control, the load function can use fetch or XMLHttpRequest and involve
 * error handling:
 *
 * ```js
 * import TileState from 'ol/TileState.js';
 *
 * source.setTileLoadFunction(function(tile, src) {
 *   const xhr = new XMLHttpRequest();
 *   xhr.responseType = 'blob';
 *   xhr.addEventListener('loadend', function (evt) {
 *     const data = this.response;
 *     if (data !== undefined) {
 *       tile.getImage().src = URL.createObjectURL(data);
 *     } else {
 *       tile.setState(TileState.ERROR);
 *     }
 *   });
 *   xhr.addEventListener('error', function () {
 *     tile.setState(TileState.ERROR);
 *   });
 *   xhr.open('GET', src);
 *   xhr.send();
 * });
 * ```
 *
 * @typedef {function(Tile, string): void} LoadFunction
 * @api
 */

/**
 * A function that takes an {@link module:ol/extent~Extent} and a resolution as arguments, and
 * returns an array of {@link module:ol/extent~Extent} with the extents to load. Usually this
 * is one of the standard {@link module:ol/loadingstrategy} strategies.
 *
 * @typedef {function(import("../extent.js").Extent, number, import("../proj/Projection.js").default): Array<import("../extent.js").Extent>} LoadingStrategy
 * @api
 */

/**
 * A helper function that wraps an array or an object of functions with `reflect`.
 *
 * @name reflectAll
 * @static
 * @memberOf module:Utils
 * @method
 * @see [async.reflect]{@link module:Utils.reflect}
 * @category Util
 * @param {Array|Object|Iterable} tasks - The collection of
 * [async functions]{@link AsyncFunction} to wrap in `async.reflect`.
 * @returns {Array} Returns an array of async functions, each wrapped in
 * `async.reflect`
 * @example
 *
 * let tasks = [
 *     function(callback) {
 *         setTimeout(function() {
 *             callback(null, 'one');
 *         }, 200);
 *     },
 *     function(callback) {
 *         // do some more stuff but error ...
 *         callback(new Error('bad stuff happened'));
 *     },
 *     function(callback) {
 *         setTimeout(function() {
 *             callback(null, 'two');
 *         }, 100);
 *     }
 * ];
 *
 * async.parallel(async.reflectAll(tasks),
 * // optional callback
 * function(err, results) {
 *     // values
 *     // results[0].value = 'one'
 *     // results[1].error = Error('bad stuff happened')
 *     // results[2].value = 'two'
 * });
 *
 * // an example using an object instead of an array
 * let tasks = {
 *     one: function(callback) {
 *         setTimeout(function() {
 *             callback(null, 'one');
 *         }, 200);
 *     },
 *     two: function(callback) {
 *         callback('two');
 *     },
 *     three: function(callback) {
 *         setTimeout(function() {
 *             callback(null, 'three');
 *         }, 100);
 *     }
 * };
 *
 * async.parallel(async.reflectAll(tasks),
 * // optional callback
 * function(err, results) {
 *     // values
 *     // results.one.value = 'one'
 *     // results.two.error = 'two'
 *     // results.three.value = 'three'
 * });
 */

/**
 * A mapping can have one of the three levels of data:
 *
 *   1. Just the generated position.
 *   2. The Generated position, original position, and original source.
 *   3. Generated and original position, original source, as well as a name
 *      token.
 *
 * To maintain consistency, we validate that any new mapping being added falls
 * in to one of these categories.
 */

/**
 * A projection as {@link module:ol/proj/Projection~Projection}, SRS identifier
 * string or undefined.
 * @typedef {Projection|string|undefined} ProjectionLike
 * @api
 */

/**
 * A queue of tasks for the worker function to complete.
 * @typedef {Iterable} QueueObject
 * @memberOf module:ControlFlow
 * @property {Function} length - a function returning the number of items
 * waiting to be processed. Invoke with `queue.length()`.
 * @property {boolean} started - a boolean indicating whether or not any
 * items have been pushed and processed by the queue.
 * @property {Function} running - a function returning the number of items
 * currently being processed. Invoke with `queue.running()`.
 * @property {Function} workersList - a function returning the array of items
 * currently being processed. Invoke with `queue.workersList()`.
 * @property {Function} idle - a function returning false if there are items
 * waiting or being processed, or true if not. Invoke with `queue.idle()`.
 * @property {number} concurrency - an integer for determining how many `worker`
 * functions should be run in parallel. This property can be changed after a
 * `queue` is created to alter the concurrency on-the-fly.
 * @property {number} payload - an integer that specifies how many items are
 * passed to the worker function at a time. only applies if this is a
 * [cargo]{@link module:ControlFlow.cargo} object
 * @property {AsyncFunction} push - add a new task to the `queue`. Calls `callback`
 * once the `worker` has finished processing the task. Instead of a single task,
 * a `tasks` array can be submitted. The respective callback is used for every
 * task in the list. Invoke with `queue.push(task, [callback])`,
 * @property {AsyncFunction} unshift - add a new task to the front of the `queue`.
 * Invoke with `queue.unshift(task, [callback])`.
 * @property {AsyncFunction} pushAsync - the same as `q.push`, except this returns
 * a promise that rejects if an error occurs.
 * @property {AsyncFunction} unshiftAsync - the same as `q.unshift`, except this returns
 * a promise that rejects if an error occurs.
 * @property {Function} remove - remove items from the queue that match a test
 * function.  The test function will be passed an object with a `data` property,
 * and a `priority` property, if this is a
 * [priorityQueue]{@link module:ControlFlow.priorityQueue} object.
 * Invoked with `queue.remove(testFn)`, where `testFn` is of the form
 * `function ({data, priority}) {}` and returns a Boolean.
 * @property {Function} saturated - a function that sets a callback that is
 * called when the number of running workers hits the `concurrency` limit, and
 * further tasks will be queued.  If the callback is omitted, `q.saturated()`
 * returns a promise for the next occurrence.
 * @property {Function} unsaturated - a function that sets a callback that is
 * called when the number of running workers is less than the `concurrency` &
 * `buffer` limits, and further tasks will not be queued. If the callback is
 * omitted, `q.unsaturated()` returns a promise for the next occurrence.
 * @property {number} buffer - A minimum threshold buffer in order to say that
 * the `queue` is `unsaturated`.
 * @property {Function} empty - a function that sets a callback that is called
 * when the last item from the `queue` is given to a `worker`. If the callback
 * is omitted, `q.empty()` returns a promise for the next occurrence.
 * @property {Function} drain - a function that sets a callback that is called
 * when the last item from the `queue` has returned from the `worker`. If the
 * callback is omitted, `q.drain()` returns a promise for the next occurrence.
 * @property {Function} error - a function that sets a callback that is called
 * when a task errors. Has the signature `function(error, task)`. If the
 * callback is omitted, `error()` returns a promise that rejects on the next
 * error.
 * @property {boolean} paused - a boolean for determining whether the queue is
 * in a paused state.
 * @property {Function} pause - a function that pauses the processing of tasks
 * until `resume()` is called. Invoke with `queue.pause()`.
 * @property {Function} resume - a function that resumes the processing of
 * queued tasks when the queue is paused. Invoke with `queue.resume()`.
 * @property {Function} kill - a function that removes the `drain` callback and
 * empties remaining tasks from the queue forcing it to go idle. No more tasks
 * should be pushed to the queue after calling this function. Invoke with `queue.kill()`.
 *
 * @example
 * const q = async.queue(worker, 2)
 * q.push(item1)
 * q.push(item2)
 * q.push(item3)
 * // queues are iterable, spread into an array to inspect
 * const items = [...q] // [item1, item2, item3]
 * // or use for of
 * for (let item of q) {
 *     console.log(item)
 * }
 *
 * q.drain(() => {
 *     console.log('all done')
 * })
 * // or
 * await q.drain()
 */

/**
 * A relative of [`map`]{@link module:Collections.map}, designed for use with objects.
 *
 * Produces a new Object by mapping each value of `obj` through the `iteratee`
 * function. The `iteratee` is called each `value` and `key` from `obj` and a
 * callback for when it has finished processing. Each of these callbacks takes
 * two arguments: an `error`, and the transformed item from `obj`. If `iteratee`
 * passes an error to its callback, the main `callback` (for the `mapValues`
 * function) is immediately called with the error.
 *
 * Note, the order of the keys in the result is not guaranteed.  The keys will
 * be roughly in the order they complete, (but this is very engine-specific)
 *
 * @name mapValues
 * @static
 * @memberOf module:Collections
 * @method
 * @category Collection
 * @param {Object} obj - A collection to iterate over.
 * @param {AsyncFunction} iteratee - A function to apply to each value and key
 * in `coll`.
 * The iteratee should complete with the transformed value as its result.
 * Invoked with (value, key, callback).
 * @param {Function} [callback] - A callback which is called when all `iteratee`
 * functions have finished, or an error occurs. `result` is a new object consisting
 * of each key from `obj`, with each transformed value on the right-hand side.
 * Invoked with (err, result).
 * @returns {Promise} a promise, if no callback is passed
 * @example
 *
 * // file1.txt is a file that is 1000 bytes in size
 * // file2.txt is a file that is 2000 bytes in size
 * // file3.txt is a file that is 3000 bytes in size
 * // file4.txt does not exist
 *
 * const fileMap = {
 *     f1: 'file1.txt',
 *     f2: 'file2.txt',
 *     f3: 'file3.txt'
 * };
 *
 * const withMissingFileMap = {
 *     f1: 'file1.txt',
 *     f2: 'file2.txt',
 *     f3: 'file4.txt'
 * };
 *
 * // asynchronous function that returns the file size in bytes
 * function getFileSizeInBytes(file, key, callback) {
 *     fs.stat(file, function(err, stat) {
 *         if (err) {
 *             return callback(err);
 *         }
 *         callback(null, stat.size);
 *     });
 * }
 *
 * // Using callbacks
 * async.mapValues(fileMap, getFileSizeInBytes, function(err, result) {
 *     if (err) {
 *         console.log(err);
 *     } else {
 *         console.log(result);
 *         // result is now a map of file size in bytes for each file, e.g.
 *         // {
 *         //     f1: 1000,
 *         //     f2: 2000,
 *         //     f3: 3000
 *         // }
 *     }
 * });
 *
 * // Error handling
 * async.mapValues(withMissingFileMap, getFileSizeInBytes, function(err, result) {
 *     if (err) {
 *         console.log(err);
 *         // [ Error: ENOENT: no such file or directory ]
 *     } else {
 *         console.log(result);
 *     }
 * });
 *
 * // Using Promises
 * async.mapValues(fileMap, getFileSizeInBytes)
 * .then( result => {
 *     console.log(result);
 *     // result is now a map of file size in bytes for each file, e.g.
 *     // {
 *     //     f1: 1000,
 *     //     f2: 2000,
 *     //     f3: 3000
 *     // }
 * }).catch (err => {
 *     console.log(err);
 * });
 *
 * // Error Handling
 * async.mapValues(withMissingFileMap, getFileSizeInBytes)
 * .then( result => {
 *     console.log(result);
 * }).catch (err => {
 *     console.log(err);
 *     // [ Error: ENOENT: no such file or directory ]
 * });
 *
 * // Using async/await
 * async () => {
 *     try {
 *         let result = await async.mapValues(fileMap, getFileSizeInBytes);
 *         console.log(result);
 *         // result is now a map of file size in bytes for each file, e.g.
 *         // {
 *         //     f1: 1000,
 *         //     f2: 2000,
 *         //     f3: 3000
 *         // }
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 * // Error Handling
 * async () => {
 *     try {
 *         let result = await async.mapValues(withMissingFileMap, getFileSizeInBytes);
 *         console.log(result);
 *     }
 *     catch (err) {
 *         console.log(err);
 *         // [ Error: ENOENT: no such file or directory ]
 *     }
 * }
 *
 */

/**
 * A relative of `reduce`.  Takes an Object or Array, and iterates over each
 * element in parallel, each step potentially mutating an `accumulator` value.
 * The type of the accumulator defaults to the type of collection passed in.
 *
 * @name transform
 * @static
 * @memberOf module:Collections
 * @method
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {*} [accumulator] - The initial state of the transform.  If omitted,
 * it will default to an empty Object or Array, depending on the type of `coll`
 * @param {AsyncFunction} iteratee - A function applied to each item in the
 * collection that potentially modifies the accumulator.
 * Invoked with (accumulator, item, key, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished. Result is the transformed accumulator.
 * Invoked with (err, result).
 * @returns {Promise} a promise, if no callback provided
 * @example
 *
 * // file1.txt is a file that is 1000 bytes in size
 * // file2.txt is a file that is 2000 bytes in size
 * // file3.txt is a file that is 3000 bytes in size
 *
 * // helper function that returns human-readable size format from bytes
 * function formatBytes(bytes, decimals = 2) {
 *   // implementation not included for brevity
 *   return humanReadbleFilesize;
 * }
 *
 * const fileList = ['file1.txt','file2.txt','file3.txt'];
 *
 * // asynchronous function that returns the file size, transformed to human-readable format
 * // e.g. 1024 bytes = 1KB, 1234 bytes = 1.21 KB, 1048576 bytes = 1MB, etc.
 * function transformFileSize(acc, value, key, callback) {
 *     fs.stat(value, function(err, stat) {
 *         if (err) {
 *             return callback(err);
 *         }
 *         acc[key] = formatBytes(stat.size);
 *         callback(null);
 *     });
 * }
 *
 * // Using callbacks
 * async.transform(fileList, transformFileSize, function(err, result) {
 *     if(err) {
 *         console.log(err);
 *     } else {
 *         console.log(result);
 *         // [ '1000 Bytes', '1.95 KB', '2.93 KB' ]
 *     }
 * });
 *
 * // Using Promises
 * async.transform(fileList, transformFileSize)
 * .then(result => {
 *     console.log(result);
 *     // [ '1000 Bytes', '1.95 KB', '2.93 KB' ]
 * }).catch(err => {
 *     console.log(err);
 * });
 *
 * // Using async/await
 * (async () => {
 *     try {
 *         let result = await async.transform(fileList, transformFileSize);
 *         console.log(result);
 *         // [ '1000 Bytes', '1.95 KB', '2.93 KB' ]
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * })();
 *
 * @example
 *
 * // file1.txt is a file that is 1000 bytes in size
 * // file2.txt is a file that is 2000 bytes in size
 * // file3.txt is a file that is 3000 bytes in size
 *
 * // helper function that returns human-readable size format from bytes
 * function formatBytes(bytes, decimals = 2) {
 *   // implementation not included for brevity
 *   return humanReadbleFilesize;
 * }
 *
 * const fileMap = { f1: 'file1.txt', f2: 'file2.txt', f3: 'file3.txt' };
 *
 * // asynchronous function that returns the file size, transformed to human-readable format
 * // e.g. 1024 bytes = 1KB, 1234 bytes = 1.21 KB, 1048576 bytes = 1MB, etc.
 * function transformFileSize(acc, value, key, callback) {
 *     fs.stat(value, function(err, stat) {
 *         if (err) {
 *             return callback(err);
 *         }
 *         acc[key] = formatBytes(stat.size);
 *         callback(null);
 *     });
 * }
 *
 * // Using callbacks
 * async.transform(fileMap, transformFileSize, function(err, result) {
 *     if(err) {
 *         console.log(err);
 *     } else {
 *         console.log(result);
 *         // { f1: '1000 Bytes', f2: '1.95 KB', f3: '2.93 KB' }
 *     }
 * });
 *
 * // Using Promises
 * async.transform(fileMap, transformFileSize)
 * .then(result => {
 *     console.log(result);
 *     // { f1: '1000 Bytes', f2: '1.95 KB', f3: '2.93 KB' }
 * }).catch(err => {
 *     console.log(err);
 * });
 *
 * // Using async/await
 * async () => {
 *     try {
 *         let result = await async.transform(fileMap, transformFileSize);
 *         console.log(result);
 *         // { f1: '1000 Bytes', f2: '1.95 KB', f3: '2.93 KB' }
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 */

/**
 * A representation of a contiguous block of tiles.  A tile range is specified
 * by its min/max tile coordinates and is inclusive of coordinates.
 */

/**
 * A reusable function, used e.g. as a default for callbacks.
 *
 * @return {void} Nothing.
 */

/**
 * A rounded string version of the transform.  This can be used
 * for CSS transforms.
 * @param {!Transform} mat Matrix.
 * @return {string} The transform as a string.
 */

/**
 * A specialized version of `_.filter` for arrays without support for
 * iteratee shorthands.
 *
 * @private
 * @param {Array} [array] The array to iterate over.
 * @param {Function} predicate The function invoked per iteration.
 * @returns {Array} Returns the new filtered array.
 */

/**
 * A specialized version of `_.forEach` for arrays without support for
 * iteratee shorthands.
 *
 * @private
 * @param {Array} [array] The array to iterate over.
 * @param {Function} iteratee The function invoked per iteration.
 * @returns {Array} Returns `array`.
 */

/**
 * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
 *
 * @private
 * @param {*} value The value to query.
 * @returns {string} Returns the raw `toStringTag`.
 */

/**
 * A transform function accepts an array of input coordinate values, an optional
 * output array, and an optional dimension (default should be 2).  The function
 * transforms the input coordinate values, populates the output array, and
 * returns the output array.
 *
 * @typedef {function(Array<number>, Array<number>=, number=): Array<number>} TransformFunction
 * @api
 */

/**
 * A type accepted by CanvasRenderingContext2D.fillStyle
 * or CanvasRenderingContext2D.strokeStyle.
 * Represents a color, pattern, or gradient. The origin for patterns and
 * gradients as fill style is an increment of 512 css pixels from map coordinate
 * `[0, 0]`. For seamless repeat patterns, width and height of the pattern image
 * must be a factor of two (2, 4, 8, ..., 512).
 *
 * @typedef {string|CanvasPattern|CanvasGradient} ColorLike
 * @api
 */

/**
 * A type that can be used to provide attribution information for data sources.
 *
 * It represents either
 * * a simple string (e.g. `'© Acme Inc.'`)
 * * an array of simple strings (e.g. `['© Acme Inc.', '© Bacme Inc.']`)
 * * a function that returns a string or array of strings ({@link module:ol/source/Source~Attribution})
 *
 * @typedef {string|Array<string>|Attribution} AttributionLike
 */

/**
 * A zone identified by an IANA identifier, like America/New_York
 * @implements {Zone}
 */

/**
 * A {@link Style}, an array of {@link Style}, or a {@link StyleFunction}.
 * @typedef {Style|Array<Style>|StyleFunction} StyleLike
 */

/**
 * Abstract Backdend for an model/datatype of an application
 * 
 * @namespace   Tine.Tinebase.data
 * @class       Tine.Tinebase.data.AbstractBackend
 * @extends     Ext.data.DataProxy
 * @constructor 
 */

/**
 * Abstract Strategy
 *
 * @namespace   Ext.ux.form.Spinner
 * @class       Ext.ux.form.Spinner.Strategy
 * @extends     Ext.util.Observable
 */

/**
 * Abstract base class for all Tine applications
 * NOTE: app class for Tinebase app itself is Tine.Tinebase.Application.Tinebase (see bellow)
 * 
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.Application
 * @extends     Ext.util.Observable
 * @consturctor
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 */

/**
 * Abstract class for all nodes that represents an expression.
 */

/**
 * Account Picker GridPanel
 *
 * @namespace   Tine.widgets.account
 * @class       Tine.widgets.account.PickerGridPanel
 * @extends     Tine.widgets.grid.PickerGridPanel
 *
 * <p>Account Picker GridPanel</p>
 * <p><pre>
 * TODO         use selectAction config?
 * </pre></p>
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 * @param       {Object} config
 * @constructor Create a new Tine.widgets.account.PickerGridPanel
 */

/**
 * Adapted from https://github.com/kvz/locutus/blob/master/src/php/var/var_dump.js
 */

/**
 * Add `delta` to `coordinate`. `coordinate` is modified in place and returned
 * by the function.
 *
 * Example:
 *
 *     import {add} from 'ol/coordinate.js';
 *
 *     const coord = [7.85, 47.983333];
 *     add(coord, [-2, 4]);
 *     // coord is now [5.85, 51.983333]
 *
 * @param {Coordinate} coordinate Coordinate.
 * @param {Coordinate} delta Delta.
 * @return {Coordinate} The input coordinate adjusted by
 * the given delta.
 * @api
 */

/**
 * Add a Projection object to the list of supported projections that can be
 * looked up by their code.
 *
 * @param {Projection} projection Projection instance.
 * @api
 */

/**
 * Add a chunk of generated JS to the beginning of this source node.
 *
 * @param aChunk A string snippet of generated JS code, another instance of
 *        SourceNode, or an array where each member is one of those things.
 */

/**
 * Add a chunk of generated JS to this source node.
 *
 * @param aChunk A string snippet of generated JS code, another instance of
 *        SourceNode, or an array where each member is one of those things.
 */

/**
 * Add a projection to the cache.
 * @param {string} code The projection code.
 * @param {import("./Projection.js").default} projection The projection to cache.
 */

/**
 * Add a single mapping from original source line and column to the generated
 * source's line and column for this source map being created. The mapping
 * object should have the following properties:
 *
 *   - generated: An object with the generated line and column positions.
 *   - original: An object with the original line and column positions.
 *   - source: The original source file (relative to the sourceRoot).
 *   - name: An optional original token name for this mapping.
 */

/**
 * Add the given source mapping.
 *
 * @param Object aMapping
 */

/**
 * Add the given string to this set.
 *
 * @param String aStr
 */

/**
 * Add transforms to and from EPSG:4326 and EPSG:3857.  This function is called
 * by when this module is executed and should only need to be called again after
 * `clearAllProjections()` is called (e.g. in tests).
 */

/**
 * Adjusts colors of html element
 * @param {Element} element
 */

/**
 * Alarm Panel
 * 
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.AlarmPanel
 * @extends     Ext.Panel
 * 
 * @TODO add validation (alarm after alarmtime)
 */

/**
 * Alias for {@link #applyTemplate}
 * Returns an HTML fragment of this template with the specified <code>values</code> applied.
 * @param {Object/Array} values
 * The template values. Can be an array if the params are numeric (i.e. <code>{0}</code>)
 * or an object (i.e. <code>{foo: 'bar'}</code>).
 * @return {String} The HTML fragment
 * @member Ext.Template
 * @method apply
 */

/**
 * Alias for {@link #applyTemplate}
 * Returns an HTML fragment of this template with the specified values applied.
 * @param {Object/Array} values The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'})
 * @return {String} The HTML fragment
 * @member Ext.XTemplate
 * @method apply
 */

/**
 * Always returns false.
 * @return {boolean} false.
 */

/**
 * Always returns true.
 * @return {boolean} true.
 */

/**
 * An "async function" in the context of Async is an asynchronous function with
 * a variable number of parameters, with the final parameter being a callback.
 * (`function (arg1, arg2, ..., callback) {}`)
 * The final callback is of the form `callback(err, results...)`, which must be
 * called once the function is completed.  The callback should be called with a
 * Error as its first argument to signal that an error occurred.
 * Otherwise, if no error occurred, it should be called with `null` as the first
 * argument, and any additional `result` arguments that may apply, to signal
 * successful completion.
 * The callback must be called exactly once, ideally on a later tick of the
 * JavaScript event loop.
 *
 * This type of function is also referred to as a "Node-style async function",
 * or a "continuation passing-style function" (CPS). Most of the methods of this
 * library are themselves CPS/Node-style async functions, or functions that
 * return CPS/Node-style async functions.
 *
 * Wherever we accept a Node-style async function, we also directly accept an
 * [ES2017 `async` function]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function}.
 * In this case, the `async` function will not be passed a final callback
 * argument, and any thrown error will be used as the `err` argument of the
 * implicit callback, and the return value will be used as the `result` value.
 * (i.e. a `rejected` of the returned Promise becomes the `err` callback
 * argument, and a `resolved` value becomes the `result`.)
 *
 * Note, due to JavaScript limitations, we can only detect native `async`
 * functions and not transpilied implementations.
 * Your environment must have `async`/`await` support for this to work.
 * (e.g. Node > v7.6, or a recent version of a modern browser).
 * If you are using `async` functions through a transpiler (e.g. Babel), you
 * must still wrap the function with [asyncify]{@link module:Utils.asyncify},
 * because the `async function` will be compiled to an ordinary function that
 * returns a promise.
 *
 * @typedef {Function} AsyncFunction
 * @static
 */

/**
 * An IndexedSourceMapConsumer instance represents a parsed source map which
 * we can query for information. It differs from BasicSourceMapConsumer in
 * that it takes "indexed" source maps (i.e. ones with a "sections" field) as
 * input.
 *
 * The first parameter is a raw source map (either as a JSON string, or already
 * parsed to an object). According to the spec for indexed source maps, they
 * have the following attributes:
 *
 *   - version: Which version of the source map spec this map is following.
 *   - file: Optional. The generated file this source map is associated with.
 *   - sections: A list of section definitions.
 *
 * Each value under the "sections" field has two fields:
 *   - offset: The offset into the original specified at which this section
 *       begins to apply, defined as an object with a "line" and "column"
 *       field.
 *   - map: A source map definition. This source map could also be indexed,
 *       but doesn't have to be.
 *
 * Instead of the "map" field, it's also possible to have a "url" field
 * specifying a URL to retrieve a source map from, but that's currently
 * unsupported.
 *
 * Here's an example source map, taken from the source map spec[0], but
 * modified to omit a section which uses the "url" field.
 *
 *  {
 *    version : 3,
 *    file: "app.js",
 *    sections: [{
 *      offset: {line:100, column:10},
 *      map: {
 *        version : 3,
 *        file: "section.js",
 *        sources: ["foo.js", "bar.js"],
 *        names: ["src", "maps", "are", "fun"],
 *        mappings: "AAAA,E;;ABCDE;"
 *      }
 *    }],
 *  }
 *
 * The second parameter, if given, is a string whose value is the URL
 * at which the source map was found.  This URL is used to compute the
 * sources array.
 *
 * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt
 */

/**
 * An Interval object represents a half-open interval of time, where each endpoint is a {@link DateTime}. Conceptually, it's a container for those two endpoints, accompanied by methods for creating, parsing, interrogating, comparing, transforming, and formatting them.
 *
 * Here is a brief overview of the most commonly used methods and getters in Interval:
 *
 * * **Creation** To create an Interval, use {@link fromDateTimes}, {@link after}, {@link before}, or {@link fromISO}.
 * * **Accessors** Use {@link start} and {@link end} to get the start and end.
 * * **Interrogation** To analyze the Interval, use {@link count}, {@link length}, {@link hasSame}, {@link contains}, {@link isAfter}, or {@link isBefore}.
 * * **Transformation** To create other Intervals out of this one, use {@link set}, {@link splitAt}, {@link splitBy}, {@link divideEqually}, {@link merge}, {@link xor}, {@link union}, {@link intersection}, or {@link difference}.
 * * **Comparison** To compare this Interval to another one, use {@link equals}, {@link overlaps}, {@link abutsStart}, {@link abutsEnd}, {@link engulfs}
 * * **Output** To convert the Interval into other representations, see {@link toString}, {@link toISO}, {@link toISODate}, {@link toISOTime}, {@link toFormat}, and {@link toDuration}.
 */

/**
 * An array of numbers representing an extent: `[minx, miny, maxx, maxy]`.
 * @typedef {Array<number>} Extent
 * @api
 */

/**
 * An array of numbers representing an xy coordinate. Example: `[16, 48]`.
 * @typedef {Array<number>} Coordinate
 * @api
 */

/**
 * An array of three numbers representing the location of a tile in a tile
 * grid. The order is `z` (zoom level), `x` (column), and `y` (row).
 * @typedef {Array<number>} TileCoord
 * @api
 */

/**
 * An array representing an affine 2d transformation for use with
 * {@link module:ol/transform} functions. The array has 6 elements.
 * @typedef {!Array<number>} Transform
 * @api
 */

/**
 * An instance of the SourceMapGenerator represents a source map which is
 * being built incrementally. You may pass an object with the following
 * properties:
 *
 *   - file: The filename of the generated source.
 *   - sourceRoot: A root for all relative URLs in this source map.
 */

/**
 * An object that represents a group of {@link Ext.ux.PopupWindow}
 * 
 * @namespace   Ext.ux
 * @class       Ext.ux.PopupWindowGroup
 * @constructor
 */

/**
 * Appends an event handler to this object (shorthand for {@link #addListener}.)
 * @param {String}   eventName     The type of event to listen for
 * @param {Function} handler       The method the event invokes
 * @param {Object}   scope         (optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
 * <b>If omitted, defaults to the object which fired the event.</b>
 * @param {Object}   options       (optional) An object containing handler configuration.
 * @method
 */

/**
 * Appends the elements of `values` to `array`.
 *
 * @private
 * @param {Array} array The array to modify.
 * @param {Array} values The values to append.
 * @returns {Array} Returns `array`.
 */

/**
 * Applies `iteratee` to each item in `coll`, concatenating the results. Returns
 * the concatenated list. The `iteratee`s are called in parallel, and the
 * results are concatenated as they return. The results array will be returned in
 * the original order of `coll` passed to the `iteratee` function.
 *
 * @name concat
 * @static
 * @memberOf module:Collections
 * @method
 * @category Collection
 * @alias flatMap
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`,
 * which should use an array as its result. Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished, or an error occurs. Results is an array
 * containing the concatenated results of the `iteratee` function. Invoked with
 * (err, results).
 * @returns A Promise, if no callback is passed
 * @example
 *
 * // dir1 is a directory that contains file1.txt, file2.txt
 * // dir2 is a directory that contains file3.txt, file4.txt
 * // dir3 is a directory that contains file5.txt
 * // dir4 does not exist
 *
 * let directoryList = ['dir1','dir2','dir3'];
 * let withMissingDirectoryList = ['dir1','dir2','dir3', 'dir4'];
 *
 * // Using callbacks
 * async.concat(directoryList, fs.readdir, function(err, results) {
 *    if (err) {
 *        console.log(err);
 *    } else {
 *        console.log(results);
 *        // [ 'file1.txt', 'file2.txt', 'file3.txt', 'file4.txt', file5.txt ]
 *    }
 * });
 *
 * // Error Handling
 * async.concat(withMissingDirectoryList, fs.readdir, function(err, results) {
 *    if (err) {
 *        console.log(err);
 *        // [ Error: ENOENT: no such file or directory ]
 *        // since dir4 does not exist
 *    } else {
 *        console.log(results);
 *    }
 * });
 *
 * // Using Promises
 * async.concat(directoryList, fs.readdir)
 * .then(results => {
 *     console.log(results);
 *     // [ 'file1.txt', 'file2.txt', 'file3.txt', 'file4.txt', file5.txt ]
 * }).catch(err => {
 *      console.log(err);
 * });
 *
 * // Error Handling
 * async.concat(withMissingDirectoryList, fs.readdir)
 * .then(results => {
 *     console.log(results);
 * }).catch(err => {
 *     console.log(err);
 *     // [ Error: ENOENT: no such file or directory ]
 *     // since dir4 does not exist
 * });
 *
 * // Using async/await
 * async () => {
 *     try {
 *         let results = await async.concat(directoryList, fs.readdir);
 *         console.log(results);
 *         // [ 'file1.txt', 'file2.txt', 'file3.txt', 'file4.txt', file5.txt ]
 *     } catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 * // Error Handling
 * async () => {
 *     try {
 *         let results = await async.concat(withMissingDirectoryList, fs.readdir);
 *         console.log(results);
 *     } catch (err) {
 *         console.log(err);
 *         // [ Error: ENOENT: no such file or directory ]
 *         // since dir4 does not exist
 *     }
 * }
 *
 */

/**
 * Applies filters on a section of a template.
 *
 *   {% apply upper %}
 *      This text becomes uppercase
 *   {% endapply %}
 */

/**
 * Applies rotation to the given transform.
 * @param {!Transform} transform Transform.
 * @param {number} angle Angle in radians.
 * @return {!Transform} The rotated transform.
 */

/**
 * Applies the function `iteratee` to each item in `coll`, in parallel.
 * The `iteratee` is called with an item from the list, and a callback for when
 * it has finished. If the `iteratee` passes an error to its `callback`, the
 * main `callback` (for the `each` function) is immediately called with the
 * error.
 *
 * Note, that since this function applies `iteratee` to each item in parallel,
 * there is no guarantee that the iteratee functions will complete in order.
 *
 * @name each
 * @static
 * @memberOf module:Collections
 * @method
 * @alias forEach
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - An async function to apply to
 * each item in `coll`. Invoked with (item, callback).
 * The array index is not passed to the iteratee.
 * If you need the index, use `eachOf`.
 * @param {Function} [callback] - A callback which is called when all
 * `iteratee` functions have finished, or an error occurs. Invoked with (err).
 * @returns {Promise} a promise, if a callback is omitted
 * @example
 *
 * // dir1 is a directory that contains file1.txt, file2.txt
 * // dir2 is a directory that contains file3.txt, file4.txt
 * // dir3 is a directory that contains file5.txt
 * // dir4 does not exist
 *
 * const fileList = [ 'dir1/file2.txt', 'dir2/file3.txt', 'dir/file5.txt'];
 * const withMissingFileList = ['dir1/file1.txt', 'dir4/file2.txt'];
 *
 * // asynchronous function that deletes a file
 * const deleteFile = function(file, callback) {
 *     fs.unlink(file, callback);
 * };
 *
 * // Using callbacks
 * async.each(fileList, deleteFile, function(err) {
 *     if( err ) {
 *         console.log(err);
 *     } else {
 *         console.log('All files have been deleted successfully');
 *     }
 * });
 *
 * // Error Handling
 * async.each(withMissingFileList, deleteFile, function(err){
 *     console.log(err);
 *     // [ Error: ENOENT: no such file or directory ]
 *     // since dir4/file2.txt does not exist
 *     // dir1/file1.txt could have been deleted
 * });
 *
 * // Using Promises
 * async.each(fileList, deleteFile)
 * .then( () => {
 *     console.log('All files have been deleted successfully');
 * }).catch( err => {
 *     console.log(err);
 * });
 *
 * // Error Handling
 * async.each(fileList, deleteFile)
 * .then( () => {
 *     console.log('All files have been deleted successfully');
 * }).catch( err => {
 *     console.log(err);
 *     // [ Error: ENOENT: no such file or directory ]
 *     // since dir4/file2.txt does not exist
 *     // dir1/file1.txt could have been deleted
 * });
 *
 * // Using async/await
 * async () => {
 *     try {
 *         await async.each(files, deleteFile);
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 * // Error Handling
 * async () => {
 *     try {
 *         await async.each(withMissingFileList, deleteFile);
 *     }
 *     catch (err) {
 *         console.log(err);
 *         // [ Error: ENOENT: no such file or directory ]
 *         // since dir4/file2.txt does not exist
 *         // dir1/file1.txt could have been deleted
 *     }
 * }
 *
 */

/**
 * Applies the mappings of a sub-source-map for a specific source file to the
 * source map being generated. Each mapping to the supplied source file is
 * rewritten using the supplied source map. Note: The resolution for the
 * resulting mappings is the minimium of this map and the supplied map.
 *
 * @param aSourceMapConsumer The source map to be applied.
 * @param aSourceFile Optional. The filename of the source file.
 *        If omitted, SourceMapConsumer's file property will be used.
 * @param aSourceMapPath Optional. The dirname of the path to the source map
 *        to be applied. If relative, it is relative to the SourceMapConsumer.
 *        This parameter is needed when the two source maps aren't in the same
 *        directory, and the source map to be applied contains relative source
 *        paths. If so, those relative source paths need to be rewritten
 *        relative to the SourceMapGenerator.
 */

/**
 * Applies the provided arguments to each function in the array, calling
 * `callback` after all functions have completed. If you only provide the first
 * argument, `fns`, then it will return a function which lets you pass in the
 * arguments as if it were a single function call. If more arguments are
 * provided, `callback` is required while `args` is still optional. The results
 * for each of the applied async functions are passed to the final callback
 * as an array.
 *
 * @name applyEach
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @category Control Flow
 * @param {Array|Iterable|AsyncIterable|Object} fns - A collection of {@link AsyncFunction}s
 * to all call with the same arguments
 * @param {...*} [args] - any number of separate arguments to pass to the
 * function.
 * @param {Function} [callback] - the final argument should be the callback,
 * called when all functions have completed processing.
 * @returns {AsyncFunction} - Returns a function that takes no args other than
 * an optional callback, that is the result of applying the `args` to each
 * of the functions.
 * @example
 *
 * const appliedFn = async.applyEach([enableSearch, updateSchema], 'bucket')
 *
 * appliedFn((err, results) => {
 *     // results[0] is the results for `enableSearch`
 *     // results[1] is the results for `updateSchema`
 * });
 *
 * // partial application example:
 * async.each(
 *     buckets,
 *     async (bucket) => async.applyEach([enableSearch, updateSchema], bucket)(),
 *     callback
 * );
 */

/**
 * Applies translation to the given transform.
 * @param {!Transform} transform Transform.
 * @param {number} dx Translation x.
 * @param {number} dy Translation y.
 * @return {!Transform} The translated transform.
 */

/**
 * Apply a transform function to the extent.
 * @param {Extent} extent Extent.
 * @param {import("./proj.js").TransformFunction} transformFn Transform function.
 * Called with `[minX, minY, maxX, maxY]` extent coordinates.
 * @param {Extent} [dest] Destination extent.
 * @param {number} [stops] Number of stops per side used for the transform.
 * By default only the corners are used.
 * @return {Extent} Extent.
 * @api
 */

/**
 * Assigns `value` to `key` of `object` if the existing value is not equivalent
 * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
 * for equality comparisons.
 *
 * @private
 * @param {Object} object The object to modify.
 * @param {string} key The key of the property to assign.
 * @param {*} value The value to assign.
 */

/**
 * Attempts to get a successful response from `task` no more than `times` times
 * before returning an error. If the task is successful, the `callback` will be
 * passed the result of the successful task. If all attempts fail, the callback
 * will be passed the error and result (if any) of the final attempt.
 *
 * @name retry
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @category Control Flow
 * @see [async.retryable]{@link module:ControlFlow.retryable}
 * @param {Object|number} [opts = {times: 5, interval: 0}| 5] - Can be either an
 * object with `times` and `interval` or a number.
 * * `times` - The number of attempts to make before giving up.  The default
 *   is `5`.
 * * `interval` - The time to wait between retries, in milliseconds.  The
 *   default is `0`. The interval may also be specified as a function of the
 *   retry count (see example).
 * * `errorFilter` - An optional synchronous function that is invoked on
 *   erroneous result. If it returns `true` the retry attempts will continue;
 *   if the function returns `false` the retry flow is aborted with the current
 *   attempt's error and result being returned to the final callback.
 *   Invoked with (err).
 * * If `opts` is a number, the number specifies the number of times to retry,
 *   with the default interval of `0`.
 * @param {AsyncFunction} task - An async function to retry.
 * Invoked with (callback).
 * @param {Function} [callback] - An optional callback which is called when the
 * task has succeeded, or after the final failed attempt. It receives the `err`
 * and `result` arguments of the last attempt at completing the `task`. Invoked
 * with (err, results).
 * @returns {Promise} a promise if no callback provided
 *
 * @example
 *
 * // The `retry` function can be used as a stand-alone control flow by passing
 * // a callback, as shown below:
 *
 * // try calling apiMethod 3 times
 * async.retry(3, apiMethod, function(err, result) {
 *     // do something with the result
 * });
 *
 * // try calling apiMethod 3 times, waiting 200 ms between each retry
 * async.retry({times: 3, interval: 200}, apiMethod, function(err, result) {
 *     // do something with the result
 * });
 *
 * // try calling apiMethod 10 times with exponential backoff
 * // (i.e. intervals of 100, 200, 400, 800, 1600, ... milliseconds)
 * async.retry({
 *   times: 10,
 *   interval: function(retryCount) {
 *     return 50 * Math.pow(2, retryCount);
 *   }
 * }, apiMethod, function(err, result) {
 *     // do something with the result
 * });
 *
 * // try calling apiMethod the default 5 times no delay between each retry
 * async.retry(apiMethod, function(err, result) {
 *     // do something with the result
 * });
 *
 * // try calling apiMethod only when error condition satisfies, all other
 * // errors will abort the retry control flow and return to final callback
 * async.retry({
 *   errorFilter: function(err) {
 *     return err.message === 'Temporary error'; // only retry on a specific error
 *   }
 * }, apiMethod, function(err, result) {
 *     // do something with the result
 * });
 *
 * // to retry individual methods that are not as reliable within other
 * // control flow functions, use the `retryable` wrapper:
 * async.auto({
 *     users: api.getUsers.bind(api),
 *     payments: async.retryable(3, api.getPayments.bind(api))
 * }, function(err, results) {
 *     // do something with the results
 * });
 *
 */

/**
 * Backwards compatibility
 */

/**
 * Base class for all Exception Handler dialogs
 * 
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.ExceptionHandlerDialog
 * @extends     Ext.FormPanel
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @constructor
 * @param {Object} config The configuration options.
 */

/**
 * Base class for all token parsers.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Batches item.
 *
 * @param {any[]} items An array of items
 * @param {number} size  The size of the batch
 * @param {any} fill A value used to fill missing items
 * @param {boolean} preserveKeys
 *
 * @returns Promise<Map<any, any>[]>
 */

/**
 * Bbar Grid Panel
 * 
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.GridPanel
 * @extends     Tine.widgets.grid.GridPanel
 * 
 * <p>Bbar Grid Panel</p>
 * <p><pre>
 *     Grid panel with bottom toolbar for add/edit/delete buttons
 * </pre></p>
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * 
 * @param       {Object} config
 * @constructor
 * Create a new Tine.widgets.grid.BbarGridPanel
 */

/**
 * Because behavior goes wacky when you set `__proto__` on objects, we
 * have to prefix all the strings in our set with an arbitrary character.
 *
 * See https://github.com/mozilla/source-map/pull/31 and
 * https://github.com/mozilla/source-map/issues/30
 *
 * @param String aStr
 */

/**
 * Build an extent that includes all given coordinates.
 *
 * @param {Array<import("./coordinate.js").Coordinate>} coordinates Coordinates.
 * @return {Extent} Bounding extent.
 * @api
 */

/**
 * Cache
 */

/**
 * Caches the results of an async function. When creating a hash to store
 * function results against, the callback is omitted from the hash and an
 * optional hash function can be used.
 *
 * **Note: if the async function errs, the result will not be cached and
 * subsequent calls will call the wrapped function.**
 *
 * If no hash function is specified, the first argument is used as a hash key,
 * which may work reasonably if it is a string or a data type that converts to a
 * distinct string. Note that objects and arrays will not behave reasonably.
 * Neither will cases where the other arguments are significant. In such cases,
 * specify your own hash function.
 *
 * The cache of results is exposed as the `memo` property of the function
 * returned by `memoize`.
 *
 * @name memoize
 * @static
 * @memberOf module:Utils
 * @method
 * @category Util
 * @param {AsyncFunction} fn - The async function to proxy and cache results from.
 * @param {Function} hasher - An optional function for generating a custom hash
 * for storing results. It has all the arguments applied to it apart from the
 * callback, and must be synchronous.
 * @returns {AsyncFunction} a memoized version of `fn`
 * @example
 *
 * var slow_fn = function(name, callback) {
 *     // do something
 *     callback(null, result);
 * };
 * var fn = async.memoize(slow_fn);
 *
 * // fn can now be used as if it were slow_fn
 * fn('some name', function() {
 *     // callback
 * });
 */

/**
 * Calculates a point that is likely to lie in the interior of the linear rings.
 * Inspired by JTS's com.vividsolutions.jts.geom.Geometry#getInteriorPoint.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {Array<number>} flatCenters Flat centers.
 * @param {number} flatCentersOffset Flat center offset.
 * @param {Array<number>} [dest] Destination.
 * @return {Array<number>} Destination point as XYM coordinate, where M is the
 * length of the horizontal intersection that the point belongs to.
 */

/**
 * Calculates ideal resolution to use from the source in order to achieve
 * pixel mapping as close as possible to 1:1 during reprojection.
 * The resolution is calculated regardless of what resolutions
 * are actually available in the dataset (TileGrid, Image, ...).
 *
 * @param {import("./proj/Projection.js").default} sourceProj Source projection.
 * @param {import("./proj/Projection.js").default} targetProj Target projection.
 * @param {import("./coordinate.js").Coordinate} targetCenter Target center.
 * @param {number} targetResolution Target resolution.
 * @return {number} The best resolution to use. Can be +-Infinity, NaN or 0.
 */

/**
 * Calculates ideal resolution to use from the source in order to achieve
 * pixel mapping as close as possible to 1:1 during reprojection.
 * The resolution is calculated regardless of what resolutions
 * are actually available in the dataset (TileGrid, Image, ...).
 *
 * @param {import("./proj/Projection.js").default} sourceProj Source projection.
 * @param {import("./proj/Projection.js").default} targetProj Target projection.
 * @param {import("./extent.js").Extent} targetExtent Target extent
 * @param {number} targetResolution Target resolution.
 * @return {number} The best resolution to use. Can be +-Infinity, NaN or 0.
 */

/**
 * Calculates the linearly interpolated value of x between a and b.
 *
 * @param {number} a Number
 * @param {number} b Number
 * @param {number} x Value to be interpolated.
 * @return {number} Interpolated value.
 */

/**
 * Calculates the point closest to the passed coordinate on the passed circle.
 *
 * @param {Coordinate} coordinate The coordinate.
 * @param {import("./geom/Circle.js").default} circle The circle.
 * @return {Coordinate} Closest point on the circumference.
 */

/**
 * Calculation types for summary row:</p><div class="mdetail-params"><ul>
 * <li><b><tt>sum</tt></b> : <div class="sub-desc"></div></li>
 * <li><b><tt>count</tt></b> : <div class="sub-desc"></div></li>
 * <li><b><tt>max</tt></b> : <div class="sub-desc"></div></li>
 * <li><b><tt>min</tt></b> : <div class="sub-desc"></div></li>
 * <li><b><tt>average</tt></b> : <div class="sub-desc"></div></li>
 * </ul></div>
 * <p>Custom calculations may be implemented.  An example of
 * custom <code>summaryType=totalCost</code>:</p><pre><code>
// define a custom summary function
Ext.ux.grid.GroupSummary.Calculations['totalCost'] = function(v, record, field){
    return v + (record.data.estimate * record.dat7a.rate);
};
 * </code></pre>
 * @property Calculations
 */

/**
 * Call String.prototype.replace on the very right-most source snippet. Useful
 * for trimming whitespace from the end of a source node, etc.
 *
 * @param aPattern The pattern to replace.
 * @param aReplacement The thing to replace the pattern with.
 */

/**
 * Calls `callback` on a later loop around the event loop. In Node.js this just
 * calls `process.nextTick`.  In the browser it will use `setImmediate` if
 * available, otherwise `setTimeout(callback, 0)`, which means other higher
 * priority events may precede the execution of `callback`.
 *
 * This is used internally for browser-compatibility purposes.
 *
 * @name nextTick
 * @static
 * @memberOf module:Utils
 * @method
 * @see [async.setImmediate]{@link module:Utils.setImmediate}
 * @category Util
 * @param {Function} callback - The function to call on a later loop around
 * the event loop. Invoked with (args...).
 * @param {...*} args... - any number of additional arguments to pass to the
 * callback on the next tick.
 * @example
 *
 * var call_order = [];
 * async.nextTick(function() {
 *     call_order.push('two');
 *     // call_order now equals ['one','two']
 * });
 * call_order.push('one');
 *
 * async.setImmediate(function (a, b, c) {
 *     // a, b, and c equal 1, 2, and 3
 * }, 1, 2, 3);
 */

/**
 * Calls the `iteratee` function `n` times, and accumulates results in the same
 * manner you would use with [map]{@link module:Collections.map}.
 *
 * @name times
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @see [async.map]{@link module:Collections.map}
 * @category Control Flow
 * @param {number} n - The number of times to run the function.
 * @param {AsyncFunction} iteratee - The async function to call `n` times.
 * Invoked with the iteration index and a callback: (n, next).
 * @param {Function} callback - see {@link module:Collections.map}.
 * @returns {Promise} a promise, if no callback is provided
 * @example
 *
 * // Pretend this is some complicated async factory
 * var createUser = function(id, callback) {
 *     callback(null, {
 *         id: 'user' + id
 *     });
 * };
 *
 * // generate 5 users
 * async.times(5, function(n, next) {
 *     createUser(n, function(err, user) {
 *         next(err, user);
 *     });
 * }, function(err, users) {
 *     // we should now have 5 users
 * });
 */

/**
 * Calls the asynchronous function `fn` with a callback parameter that allows it
 * to call itself again, in series, indefinitely.

 * If an error is passed to the callback then `errback` is called with the
 * error, and execution stops, otherwise it will never be called.
 *
 * @name forever
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @category Control Flow
 * @param {AsyncFunction} fn - an async function to call repeatedly.
 * Invoked with (next).
 * @param {Function} [errback] - when `fn` passes an error to it's callback,
 * this function will be called, and execution stops. Invoked with (err).
 * @returns {Promise} a promise that rejects if an error occurs and an errback
 * is not passed
 * @example
 *
 * async.forever(
 *     function(next) {
 *         // next is suitable for passing to things that need a callback(err [, whatever]);
 *         // it will result in this function being called again.
 *     },
 *     function(err) {
 *         // if next is called with a value in its first parameter, it will appear
 *         // in here as 'err', and execution will stop.
 *     }
 * );
 */

/**
 * Changes the data store bound to this view and refreshes it. (deprecated in favor of bindStore)
 * @param {Store} store The store to bind to this view
 */

/**
 * Check if one extent contains another.
 *
 * An extent is deemed contained if it lies completely within the other extent,
 * including if they share one or more edges.
 *
 * @param {Extent} extent1 Extent 1.
 * @param {Extent} extent2 Extent 2.
 * @return {boolean} The second extent is contained by or on the edge of the
 *     first.
 * @api
 */

/**
 * Check if the passed coordinate is contained or on the edge of the extent.
 *
 * @param {Extent} extent Extent.
 * @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
 * @return {boolean} The coordinate is contained in the extent.
 * @api
 */

/**
 * Check if the passed coordinate is contained or on the edge of the extent.
 *
 * @param {Extent} extent Extent.
 * @param {number} x X coordinate.
 * @param {number} y Y coordinate.
 * @return {boolean} The x, y values are contained in the extent.
 * @api
 */

/**
 * Check that an obejct is traversable in the sense of PHP,
 * i.e. implements PHP Traversable interface
 *
 * @param value
 * @returns {boolean}
 */

/**
 * Check whether a string consists of numerical character(s) only.
 *
 * @param {string} value
 * @return boolean
 */

/**
 * Check whether a string consists of whitespace character(s) only.
 *
 * @param {string} value
 * @return boolean
 */

/**
 * Checks `localStorage` for boolean values for the given `name`.
 *
 * @param {String} name
 * @returns {Boolean}
 * @api private
 */

/**
 * Checks if `func` has its source masked.
 *
 * @private
 * @param {Function} func The function to check.
 * @returns {boolean} Returns `true` if `func` is masked, else `false`.
 */

/**
 * Checks if `value` is a valid array-like index.
 *
 * @private
 * @param {*} value The value to check.
 * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
 * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
 */

/**
 * Checks if `value` is a valid array-like length.
 *
 * **Note:** This method is loosely based on
 * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
 * @example
 *
 * _.isLength(3);
 * // => true
 *
 * _.isLength(Number.MIN_VALUE);
 * // => false
 *
 * _.isLength(Infinity);
 * // => false
 *
 * _.isLength('3');
 * // => false
 */

/**
 * Checks if `value` is array-like. A value is considered array-like if it's
 * not a function and has a `value.length` that's an integer greater than or
 * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
 * @example
 *
 * _.isArrayLike([1, 2, 3]);
 * // => true
 *
 * _.isArrayLike(document.body.children);
 * // => true
 *
 * _.isArrayLike('abc');
 * // => true
 *
 * _.isArrayLike(_.noop);
 * // => false
 */

/**
 * Checks if `value` is classified as a `Function` object.
 *
 * @static
 * @memberOf _
 * @since 0.1.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a function, else `false`.
 * @example
 *
 * _.isFunction(_);
 * // => true
 *
 * _.isFunction(/abc/);
 * // => false
 */

/**
 * Checks if `value` is classified as an `Array` object.
 *
 * @static
 * @memberOf _
 * @since 0.1.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is an array, else `false`.
 * @example
 *
 * _.isArray([1, 2, 3]);
 * // => true
 *
 * _.isArray(document.body.children);
 * // => false
 *
 * _.isArray('abc');
 * // => false
 *
 * _.isArray(_.noop);
 * // => false
 */

/**
 * Checks if `value` is likely a prototype object.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
 */

/**
 * Checks if `value` is object-like. A value is object-like if it's not `null`
 * and has a `typeof` result of "object".
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
 * @example
 *
 * _.isObjectLike({});
 * // => true
 *
 * _.isObjectLike([1, 2, 3]);
 * // => true
 *
 * _.isObjectLike(_.noop);
 * // => false
 *
 * _.isObjectLike(null);
 * // => false
 */

/**
 * Checks if `value` is suitable for use as unique object key.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
 */

/**
 * Checks if `value` is the
 * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
 * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
 *
 * @static
 * @memberOf _
 * @since 0.1.0
 * @category Lang
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is an object, else `false`.
 * @example
 *
 * _.isObject({});
 * // => true
 *
 * _.isObject([1, 2, 3]);
 * // => true
 *
 * _.isObject(_.noop);
 * // => true
 *
 * _.isObject(null);
 * // => false
 */

/**
 * Checks if a hash value for `key` exists.
 *
 * @private
 * @name has
 * @memberOf Hash
 * @param {string} key The key of the entry to check.
 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
 */

/**
 * Checks if a list cache value for `key` exists.
 *
 * @private
 * @name has
 * @memberOf ListCache
 * @param {string} key The key of the entry to check.
 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
 */

/**
 * Checks if a map value for `key` exists.
 *
 * @private
 * @name has
 * @memberOf MapCache
 * @param {string} key The key of the entry to check.
 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
 */

/**
 * Checks if a stack value for `key` exists.
 *
 * @private
 * @name has
 * @memberOf Stack
 * @param {string} key The key of the entry to check.
 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
 */

/**
 * Checks if a variable is defined in the active context.
 *
 * <pre>
 * {# defined works with variable names and variable attributes #}
 * {% if foo is defined %}
 *     {# ... #}
 * {% endif %}
 * </pre>
 */

/**
 * Checks if a variable is empty.
 *
 * <pre>
 * {# evaluates to true if the foo variable is null, false, or the empty string #}
 * {% if foo is empty %}
 *     {# ... #}
 * {% endif %}
 * </pre>
 *
 * @param value A variable
 *
 * @returns {boolean} true if the value is empty, false otherwise
 */

/**
 * Checks if a variable is traversable.
 *
 * <pre>
 * {# evaluates to true if the foo variable is an array or a traversable object #}
 * {% if foo is iterable %}
 *     {# ... #}
 * {% endif %}
 * </pre>
 *
 * @param value A variable
 *
 * @return {Promise<boolean>} true if the value is traversable
 */

/**
 * Checks if casting an expression to toString() is allowed by the sandbox.
 *
 * For instance, when there is a simple Print statement, like {{ article }},
 * and if the sandbox is enabled, we need to check that the toString()
 * method is allowed if 'article' is an object. The same goes for {{ article|upper }}
 * or {{ random(article) }}.
 */

/**
 * Checks if two projections are the same, that is every coordinate in one
 * projection does represent the same geographic point as the same coordinate in
 * the other projection.
 *
 * @param {Projection} projection1 Projection 1.
 * @param {Projection} projection2 Projection 2.
 * @return {boolean} Equivalent.
 * @api
 */

/**
 * Circle style properties for rendering point features.  At least `circle-radius` must be provided.
 *
 * @typedef {Object} FlatCircle
 * @property {number} [circle-radius] Circle radius.
 * @property {import("../color.js").Color|import("../colorlike.js").ColorLike} [circle-fill-color] The fill color.
 * @property {import("../color.js").Color|import("../colorlike.js").ColorLike} [circle-stroke-color] The stroke color.
 * @property {number} [circle-stroke-width] Stroke pixel width.
 * @property {CanvasLineCap} [circle-stroke-line-cap='round'] Line cap style: `butt`, `round`, or `square`.
 * @property {CanvasLineJoin} [circle-stroke-line-join='round'] Line join style: `bevel`, `round`, or `miter`.
 * @property {Array<number>} [circle-stroke-line-dash] Line dash pattern.
 * @property {number} [circle-stroke-line-dash-offset=0] Line dash offset.
 * @property {number} [circle-stroke-miter-limit=10] Miter limit.
 * @property {Array<number>} [circle-displacement=[0,0]] displacement
 * @property {number|import("../size.js").Size} [circle-scale=1] Scale. A two dimensional scale will produce an ellipse.
 * Unless two dimensional scaling is required a better result may be obtained with an appropriate setting for `circle-radius`.
 * @property {number} [circle-rotation=0] Rotation in radians
 * (positive rotation clockwise, meaningful only when used in conjunction with a two dimensional scale).
 * @property {boolean} [circle-rotate-with-view=false] Whether to rotate the shape with the view
 * (meaningful only when used in conjunction with a two dimensional scale).
 * @property {"declutter"|"obstacle"|"none"|undefined} [circle-declutter-mode] Declutter mode
 */

/**
 * Class for a activities tab with notes/activities grid*
 * 
 * @namespace   Tine.widgets.activities
 * @class       Tine.widgets.activities.ActivitiesTabPanel
 * @extends     Ext.Panel
 */

/**
 * Class for a single tag panel
 * 
 * @namespace   Tine.widgets.tags
 * @class       Tine.widgets.tags.TagPanel
 * @extends     Ext.Panel
 */

/**
 * Class for creating a edittable grid with quick add row on top.
 * <p>As form field for the quick add row, the quickaddField of the column definition is used.<p>
 * <p>The event 'newentry' is fired after the user finished editing the new row.<p>
 * <p>Example usage:</p>
 * <pre><code>
 var g =  new Ext.ux.grid.QuickaddGridPanel({
     ...
     quickaddMandatory: 'summary',
     columns: [
         {
             ...
             id: 'summary',
             quickaddField = new Ext.form.TextField({
                 emptyText: 'Add a task...'
             })
         },
         {
             ...
             id: 'due',
             quickaddField = new Ext.form.DateField({
                 ...
             })
         }
     ]
 });
 * </code></pre>
 *
 * @namespace   Ext.ux.grid
 * @class       Ext.ux.grid.QuickaddGridPanel
 * @extends     Ext.grid.EditorGridPanel
 */

/**
 * Class for creating equal text-fields multiple times in a form.
 * If a value gets changed in one of the fields, all other will be updated
 * <p>Example usage:</p>
 * <pre><code>
 var dialog =  new Ext.Panel({
     layout: 'form',
     items: [
         {
             fieldLabel: 'First occurrence',
             xtype: 'mirrortextfield',
             name: 'themirrorfiled'
         },{
             fieldLabel: 'Normal field',
             xtype: 'textfield',
             name: 'someotherfield'
         },{
             fieldLabel: 'Second occurrence',
             xtype: 'mirrortextfield',
             name: 'themirrorfiled'
         },
     ]
 });
 * </code></pre>
 * 
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.MirrorTextField
 * @extends     Ext.ux.form.IconTextField
 */

/**
 * Class for creating text-fields with an icon in front of the label.
 * <p>Example usage:</p>
 * <pre><code>
 var field =  new Ext.ux.form.IconTextField({
     labelIcon: 'images/oxygen/16x16/actions/mail.png'
     fieldLabel: 'email',
     name: 'email',
 });
 * </code></pre>
 * 
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.IconTextField
 * @extends     Ext.form.TextField
 */

/**
 * Class for handling of native browser popup window.
 * <p>This class is intended to make the usage of a native popup window as easy as dealing with a modal window.<p>
 * <p>Example usage:</p>
 * <pre><code>
 var win = new Ext.ux.PopupWindow({
     name: 'TasksEditWindow',
     width: 700,
     height: 300,
     url:index.php?method=Tasks.editTask&taskId=5
 });
 * </code></pre>
 * 
 * @namespace   Ext.ux
 * @class       Ext.ux.PopupWindow
 * @extends     Ext.Component
 */

/**
 * Clear the projections cache.
 */

/**
 * Clear the transform cache.
 */

/**
 * Clears the label cache when a font becomes available.
 * @param {string} fontSpec CSS font spec.
 */

/**
 * Clone a map.
 *
 * @param {Map<K, V>} map
 * @returns {Map<K, V>}
 */

/**
 * Clones (copies) an Object using deep copying.
 *
 * This function supports circular references by default, but if you are certain
 * there are no circular references in your object, you can save some CPU time
 * by calling clone(obj, false).
 *
 * Caution: if `circular` is false and `parent` contains circular references,
 * your program may enter an infinite loop and crash.
 *
 * @param `parent` - the object to be cloned
 * @param `circular` - set to true if the object to be cloned may contain
 *    circular references. (optional - true by default)
 * @param `depth` - set to a number if the object is only to be cloned to
 *    a particular depth. (optional - defaults to Infinity)
 * @param `prototype` - sets the prototype to be used when cloning an object.
 *    (optional - defaults to parent prototype).
*/

/**
 * Collection of affine 2d transformation functions. The functions work on an
 * array of 6 elements. The element order is compatible with the [SVGMatrix
 * interface](https://developer.mozilla.org/en-US/docs/Web/API/SVGMatrix) and is
 * a subset (elements a to f) of a 3×3 matrix:
 * ```
 * [ a c e ]
 * [ b d f ]
 * [ 0 0 1 ]
 * ```
 */

/**
 * Comparator between two mappings where the original positions are compared.
 *
 * Optionally pass in `true` as `onlyCompareGenerated` to consider two
 * mappings with the same original source/line/column, but different generated
 * line and column the same. Useful when searching for a mapping with a
 * stubbed out mapping.
 */

/**
 * Comparator between two mappings with deflated source and name indices where
 * the generated positions are compared.
 *
 * Optionally pass in `true` as `onlyCompareGenerated` to consider two
 * mappings with the same generated line and column, but different
 * source/name/original line and column the same. Useful when searching for a
 * mapping with a stubbed out mapping.
 */

/**
 * Comparator between two mappings with inflated source and name strings where
 * the generated positions are compared.
 */

/**
 * Compare a DateTime to something else by conforming to PHP loose comparisons rules
 * ┌─────────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬─────────┬───────┬───────┬───────┬───────┐
 * │         │ TRUE  │ FALSE │   1   │   0   │  -1   │  "1"  │  "0"  │ "-1"  │ NULL  │ []    │ ["php"] | "php" │  ""   │  NOW  | LATER |
 * ├─────────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼─────────┼───────┼───────┼───────┼───────┤
 * │  NOW    │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE   │ FALSE │ FALSE │ TRUE  │ FALSE │
 * │  LATER  │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE   │ FALSE │ FALSE │ FALSE │ TRUE  │
 * └─────────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴─────────┴───────┴───────┴───────┴───────┘
 */

/**
 * Compare a Map to something else by conforming to PHP loose comparisons rules
 * ┌─────────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬─────────┬───────┬───────┐
 * │         │ TRUE  │ FALSE │   1   │   0   │  -1   │  "1"  │  "0"  │ "-1"  │ NULL  │ []    │ ["php"] | "php" │  ""   │
 * ├─────────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼─────────┼───────┼───────┤
 * │ []      │ FALSE │ TRUE  │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ TRUE  │ TRUE  │ FALSE   │ FALSE │ FALSE |
 * │ ["php"] │ TRUE  │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ TRUE    │ FALSE │ FALSE |
 * └─────────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴─────────┴───────┴───────┘
 */

/**
 * Compare a boolean to something else by conforming to PHP loose comparisons rules
 * ┌─────────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬─────────┬───────┬───────┐
 * │         │ TRUE  │ FALSE │   1   │   0   │  -1   │  "1"  │  "0"  │ "-1"  │ NULL  │ array() │ "php" │  ""   │
 * ├─────────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼─────── ─┼───────┼───────┤
 * │ TRUE    │ TRUE  │ FALSE │ TRUE  │ FALSE │ TRUE  │ TRUE  │ FALSE │ TRUE  │ FALSE │ FALSE   │ TRUE  │ FALSE │
 * │ FALSE   │ FALSE │ TRUE  │ FALSE │ TRUE  │ FALSE │ FALSE │ TRUE  │ FALSE │ TRUE  │ TRUE    │ FALSE │ TRUE  │
 * └─────────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴─────────┴───────┴───────┘
 */

/**
 * Compare a number to something else by conforming to PHP loose comparisons rules
 * ┌─────────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬─────────┬───────┬───────┐
 * │         │ TRUE  │ FALSE │   1   │   0   │  -1   │  "1"  │  "0"  │ "-1"  │ NULL  │ array() │ "php" │  ""   │
 * ├─────────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼─────── ─┼───────┼───────┤
 * │ 1       │ TRUE  │ FALSE │ TRUE  │ FALSE │ FALSE │ TRUE  │ FALSE │ FALSE │ FALSE │ FALSE   │ FALSE │ FALSE │
 * │ 0       │ FALSE │ TRUE  │ FALSE │ TRUE  │ FALSE │ FALSE │ TRUE  │ FALSE │ TRUE  │ FALSE   │ TRUE  │ TRUE  │
 * │ -1      │ TRUE  │ FALSE │ FALSE │ FALSE │ TRUE  │ FALSE │ FALSE │ TRUE  │ FALSE │ FALSE   │ FALSE │ FALSE │
 * └─────────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴─────────┴───────┴───────┘
 */

/**
 * Compare a string to something else by conforming to PHP loose comparisons rules
 * ┌─────────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬─────────┬───────┬───────┐
 * │         │ TRUE  │ FALSE │   1   │   0   │  -1   │  "1"  │  "0"  │ "-1"  │ NULL  │ array() │ "php" │  ""   │
 * ├─────────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼─────── ─┼───────┼───────┤
 * │ "1"     │ TRUE  │ FALSE │ TRUE  │ FALSE │ FALSE │ TRUE  │ FALSE │ FALSE │ FALSE │ FALSE   │ FALSE │ FALSE │
 * │ "0"     │ FALSE │ TRUE  │ FALSE │ TRUE  │ FALSE │ FALSE │ TRUE  │ FALSE │ FALSE │ FALSE   │ FALSE │ FALSE │
 * │ "-1"    │ TRUE  │ FALSE │ FALSE │ FALSE │ TRUE  │ FALSE │ FALSE │ TRUE  │ FALSE │ FALSE   │ FALSE │ FALSE │
 * │ ""      │ FALSE │ TRUE  │ FALSE │ TRUE  │ FALSE │ FALSE │ FALSE │ FALSE │ TRUE  │ FALSE   │ FALSE │ TRUE  │
 * │ "php"   │ TRUE  │ FALSE │ FALSE │ TRUE  │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE │ FALSE   │ TRUE  │ FALSE │
 * └─────────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴─────────┴───────┴───────┘
 */

/**
 * Compare by conforming to PHP loose comparisons rules
 *
 * @see http://php.net/manual/en/types.comparisons.php
 * @see https://stackoverflow.com/questions/47969711/php-algorithm-loose-equality-comparison
 */

/**
 * Compare function sorting arrays in ascending order.  Safe to use for numeric values.
 * @param {*} a The first object to be compared.
 * @param {*} b The second object to be compared.
 * @return {number} A negative number, zero, or a positive number as the first
 *     argument is less than, equal to, or greater than the second.
 */

/**
 * Compare null to something else by conforming to PHP loose comparisons rules
 * ┌─────────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬─────────┬───────┬───────┐
 * │         │ TRUE  │ FALSE │   1   │   0   │  -1   │  "1"  │  "0"  │ "-1"  │ NULL  │ []    │ ["php"] | "php" │  ""   │
 * ├─────────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼───────┼─────────┼───────┼───────┤
 * │ NULL    │ FALSE │ TRUE  │ FALSE │ TRUE  │ FALSE │ FALSE │ FALSE │ FALSE │ TRUE  │ TRUE  │ FALSE   │ FALSE │ TRUE  |
 * └─────────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴───────┴─────────┴───────┴───────┘
 */

/**
 * Compile a regular expression from the `state` object returned by the
 * [parse()](#parse) method.
 *
 * @param {Object} `state`
 * @param {Object} `options`
 * @param {Boolean} `returnOutput` Intended for implementors, this argument allows you to return the raw output from the parser.
 * @param {Boolean} `returnState` Adds the state to a `state` property on the returned regex. Useful for implementors and debugging.
 * @return {RegExp}
 * @api public
 */

/**
 * Compiles a brace pattern into a regex-compatible, optimized string.
 * This method is called by the main [braces](#braces) function by default.
 *
 * ```js
 * const braces = require('braces');
 * console.log(braces.compile('a/{b,c}/d'));
 * //=> ['a/(b|c)/d']
 * ```
 * @param {String} `input` Brace pattern or AST.
 * @param {Object} `options`
 * @return {Array} Returns an array of expanded values.
 * @api public
 */

/**
 * Compute the URL of a source given the the source root, the source's
 * URL, and the source map's URL.
 */

/**
 * Compute the last column for each generated mapping. The last column is
 * inclusive.
 */

/**
 * Concrete Strategy: Date
 *
 * @namespace   Ext.ux.form.Spinner
 * @class       Ext.ux.form.Spinner.DateStrategy
 * @extends     Ext.ux.form.Spinner.Strategy
 */

/**
 * Concrete Strategy: Numbers
 * 
 * @namespace   Ext.ux.form.Spinner
 * @class       Ext.ux.form.Spinner.NumberStrategy
 * @extends     Ext.ux.form.Spinner.Strategy
 */

/**
 * Concrete Strategy: Time
 *
 * @namespace   Ext.ux.form.Spinner
 * @class       Ext.ux.form.Spinner.TimeStrategy
 * @extends     Ext.ux.form.Spinner.DateStrategy
 */

/**
 * Configuration Panel
 * 
 * @namespace   Tine.Tinebase.widgets.form
 * @class       Tine.Tinebase.widgets.form.ConfigPanel
 * @extends     Ext.FormPanel
 * 
 * <p>Configuration Panel</p>
 * <p><pre>
 * NOTE: 
 * - For each section in the config file, a group in the form is added.
 * - Form names are constructed <section>_<subsection>... and transformed transparently by this component
 * - Enabling and Disabling of sections is handled automatically if you give the id 'setup-<section>-group' 
 *   to the checkboxToggle enabled fieldset
 *   
 * TODO         make TABS work
 * TODO         add reload button
 * </pre></p>
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * @param       {Object} config
 * @constructor
 * Create a new Tine.Tinebase.widgets.form.ConfigPanel
 */

/**
 * Constants
 */

/**
 * Container Grants dialog
 * 
 * @namespace   Tine.widgets.container
 * @class       Tine.widgets.container.GrantsDialog
 * @extends     Tine.widgets.dialog.EditDialog
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 * @constructor
 * @param {Object} config The configuration options.
 */

/**
 * Container Grants grid
 * 
 * @namespace   Tine.widgets.container
 * @class       Tine.widgets.container.GrantsDialog
 * @extends     Tine.widgets.dialog.EditDialog
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2011 Metaways Infosystems GmbH (http://www.metaways.de)
 * @constructor
 * @param {Object} config The configuration options.
 */

/**
 * Container Properties dialog
 * 
 * @namespace   Tine.widgets.container
 * @class       Tine.widgets.container.PropertiesDialog
 * @extends     Tine.widgets.dialog.EditDialog
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 * @constructor
 * @param {Object} config The configuration options.
 */

/**
 * Container select ComboBox widget
 * 
 * @namespace   Tine.widgets.container
 * @class       Tine.widgets.container.SelectionComboBox
 * @extends     Ext.form.ComboBox
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 */

/**
 * Convert a range to a regex pattern
 * @param {Number} `start`
 * @param {Number} `stop`
 * @return {String}
 */

/**
 * Convert the provided object into a feature style function.  Functions passed
 * through unchanged.  Arrays of Style or single style objects wrapped
 * in a new feature style function.
 * @param {!import("./style/Style.js").StyleFunction|!Array<import("./style/Style.js").default>|!import("./style/Style.js").default} obj
 *     A feature style function, a single style, or an array of styles.
 * @return {import("./style/Style.js").StyleFunction} A style function.
 */

/**
 * Convert the provided object into a style function.  Functions passed through
 * unchanged.  Arrays of Style or single style objects wrapped in a
 * new style function.
 * @param {StyleFunction|Array<Style>|Style} obj
 *     A style function, a single style, or an array of styles.
 * @return {StyleFunction} A style function.
 */

/**
 * Converts `func` to its source code.
 *
 * @private
 * @param {Function} func The function to convert.
 * @returns {string} Returns the source code.
 */

/**
 * Converts `value` to a string using `Object.prototype.toString`.
 *
 * @private
 * @param {*} value The value to convert.
 * @returns {string} Returns the converted string.
 */

/**
 * Converts a date to the given format.
 *
 * <pre>
 *   {{ post.published_at|date("m/d/Y") }}
 * </pre>
 *
 * @param {TwingTemplate} template
 * @param {DateTime|Duration|string} date A date
 * @param {string|null} format The target format, null to use the default
 * @param {string|null|boolean} timezone The target timezone, null to use the default, false to leave unchanged
 *
 * @return {Promise<string>} The formatted date
 */

/**
 * Converts a string to lowercase.
 *
 * @param {TwingEnvironment} env
 * @param {string | TwingMarkup} string A string
 *
 * @returns {Promise<string>} The lowercased string
 */

/**
 * Converts a string to uppercase.
 *
 * @param {string | TwingMarkup} string A string
 *
 * @returns {Promise<string>} The uppercased string
 */

/**
 * Converts an input to a DateTime instance.
 *
 * <pre>
 *    {% if date(user.created_at) < date('+2days') %}
 *      {# do something #}
 *    {% endif %}
 * </pre>
 *
 * @param {TwingTemplate} template
 * @param {Date | DateTime | Duration | number | string} date A date or null to use the current time
 * @param {string | null | boolean} timezone The target timezone, null to use the default, false to leave unchanged
 *
 * @returns {Promise<DateTime | Duration>}
 */

/**
 * Converts degrees to radians.
 *
 * @param {number} angleInDegrees Angle in degrees.
 * @return {number} Angle in radians.
 */

/**
 * Converts from a two-complement value to a value where the sign bit is
 * placed in the least significant bit.  For example, as decimals:
 *   1 becomes 2 (10 binary), -1 becomes 3 (11 binary)
 *   2 becomes 4 (100 binary), -2 becomes 5 (101 binary)
 */

/**
 * Converts input to Map.
 *
 * @param {*} thing
 * @returns {Map<any, any>}
 */

/**
 * Converts radians to to degrees.
 *
 * @param {number} angleInRadians Angle in radians.
 * @return {number} Angle in degrees.
 */

/**
 * Converts to a two-complement value from a value where the sign bit is
 * placed in the least significant bit.  For example, as decimals:
 *   2 (10 binary) becomes 1, 3 (11 binary) becomes -1
 *   4 (100 binary) becomes 2, 5 (101 binary) becomes -2
 */

/**
 * Copies all the properties of config to obj.
 * @param {Object} obj The receiver of the properties
 * @param {Object} config The source of the properties
 * @param {Object} defaults A different object that will also be applied for default values
 * @return {Object} returns obj
 * @member Ext apply
 */

/**
 * Copies own and inherited symbols of `source` to `object`.
 *
 * @private
 * @param {Object} source The object to copy symbols from.
 * @param {Object} [object={}] The object to copy symbols to.
 * @returns {Object} Returns `object`.
 */

/**
 * Copies own symbols of `source` to `object`.
 *
 * @private
 * @param {Object} source The object to copy symbols from.
 * @param {Object} [object={}] The object to copy symbols to.
 * @returns {Object} Returns `object`.
 */

/**
 * Copies properties of `source` to `object`.
 *
 * @private
 * @param {Object} source The object to copy properties from.
 * @param {Array} props The property identifiers to copy.
 * @param {Object} [object={}] The object to copy properties to.
 * @param {Function} [customizer] The function to customize copied values.
 * @returns {Object} Returns `object`.
 */

/**
 * Copies the values of `source` to `array`.
 *
 * @private
 * @param {Array} source The array to copy values from.
 * @param {Array} [array=[]] The array to copy values to.
 * @returns {Array} Returns `array`.
 */

/**
 * Copyright (c) 2008, Steven Chim
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
 * 
 *     * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
 *     * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
 *     * The names of its contributors may not be used to endorse or promote products derived from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

/**
 * Count all elements in an object.
 *
 * @param {*} countable
 * @returns {number}
 */

/**
 * Counter for getUid.
 * @type {number}
 * @private
 */

/**
 * Create a BasicSourceMapConsumer from a SourceMapGenerator.
 *
 * @param SourceMapGenerator aSourceMap
 *        The source map that will be consumed.
 * @param String aSourceMapURL
 *        The URL at which the source map can be found (optional)
 * @returns BasicSourceMapConsumer
 */

/**
 * Create a new empty extent or make the provided one empty.
 * @param {Extent} [dest] Extent.
 * @return {Extent} Extent.
 */

/**
 * Create a new extent or update the provided extent.
 * @param {number} minX Minimum X.
 * @param {number} minY Minimum Y.
 * @param {number} maxX Maximum X.
 * @param {number} maxY Maximum Y.
 * @param {Extent} [dest] Destination extent.
 * @return {Extent} Extent.
 */

/**
 * Create a polygon from an extent. The layout used is `XY`.
 * @param {import("../extent.js").Extent} extent The extent.
 * @return {Polygon} The polygon.
 * @api
 */

/**
 * Create a regular expression from a parsed glob pattern.
 *
 * ```js
 * const picomatch = require('picomatch');
 * const state = picomatch.parse('*.js');
 * // picomatch.compileRe(state[, options]);
 *
 * console.log(picomatch.compileRe(state));
 * //=> /^(?:(?!\.)(?=.)[^/]*?\.js)$/
 * ```
 * @param {String} `state` The object returned from the `.parse` method.
 * @param {Object} `options`
 * @param {Boolean} `returnOutput` Implementors may use this argument to return the compiled output, instead of a regular expression. This is not exposed on the options to prevent end-users from mutating the result.
 * @param {Boolean} `returnState` Implementors may use this argument to return the state from the parsed glob with the returned regular expression.
 * @return {RegExp} Returns a regex created from the given pattern.
 * @api public
 */

/**
 * Create a regular expression from the given glob `pattern`.
 *
 * ```js
 * const mm = require('micromatch');
 * // mm.makeRe(pattern[, options]);
 *
 * console.log(mm.makeRe('*.js'));
 * //=> /^(?:(\.[\\\/])?(?!\.)(?=.)[^\/]*?\.js)$/
 * ```
 * @param {String} `pattern` A glob pattern to convert to regex.
 * @param {Object} `options`
 * @return {RegExp} Returns a regex created from the given pattern.
 * @api public
 */

/**
 * Create a regular expression from the given regex source string.
 *
 * ```js
 * const picomatch = require('picomatch');
 * // picomatch.toRegex(source[, options]);
 *
 * const { output } = picomatch.parse('*.js');
 * console.log(picomatch.toRegex(output));
 * //=> /^(?:(?!\.)(?=.)[^/]*?\.js)$/
 * ```
 * @param {String} `source` Regular expression source string.
 * @param {Object} `options`
 * @return {RegExp}
 * @api public
 */

/**
 * Create a regular polygon from a circle.
 * @param {import("./Circle.js").default} circle Circle geometry.
 * @param {number} [sides] Number of sides of the polygon. Default is 32.
 * @param {number} [angle] Start angle for the first vertex of the polygon in
 *     counter-clockwise radians. 0 means East. Default is 0.
 * @return {Polygon} Polygon geometry.
 * @api
 */

/**
 * Create a resolutions array from an extent.  A zoom factor of 2 is assumed.
 * @param {import("./extent.js").Extent} extent Extent.
 * @param {number} [maxZoom] Maximum zoom level (default is
 *     DEFAULT_MAX_ZOOM).
 * @param {number|import("./size.js").Size} [tileSize] Tile size (default uses
 *     DEFAULT_TILE_SIZE).
 * @param {number} [maxResolution] Resolution at level zero.
 * @return {!Array<number>} Resolutions array.
 */

/**
 * Create an XHR feature loader for a `url` and `format`. The feature loader
 * loads features (with XHR), parses the features, and adds them to the
 * vector source.
 * @param {string|FeatureUrlFunction} url Feature URL service.
 * @param {import("./format/Feature.js").default} format Feature format.
 * @return {FeatureLoader} The feature loader.
 * @api
 */

/**
 * Create an approximation of a circle on the surface of a sphere.
 * @param {import("../coordinate.js").Coordinate} center Center (`[lon, lat]` in degrees).
 * @param {number} radius The great-circle distance from the center to
 *     the polygon vertices in meters.
 * @param {number} [n] Optional number of vertices for the resulting
 *     polygon. Default is `32`.
 * @param {number} [sphereRadius] Optional radius for the sphere (defaults to
 *     the Earth's mean radius using the WGS84 ellipsoid).
 * @return {Polygon} The "circular" polygon.
 * @api
 */

/**
 * Create an empty extent.
 * @return {Extent} Empty extent.
 * @api
 */

/**
 * Create an html canvas element and returns its 2d context.
 * @param {number} [width] Canvas width.
 * @param {number} [height] Canvas height.
 * @param {Array<HTMLCanvasElement>} [canvasPool] Canvas pool to take existing canvas from.
 * @param {CanvasRenderingContext2DSettings} [settings] CanvasRenderingContext2DSettings
 * @return {CanvasRenderingContext2D} The context.
 */

/**
 * Create an identity transform.
 * @return {!Transform} Identity transform.
 */

/**
 * Create new import window
 */

/**
 * Creates a SourceNode from generated code and a SourceMapConsumer.
 *
 * @param aGeneratedCode The generated code
 * @param aSourceMapConsumer The SourceMap for the generated code
 * @param aRelativePath Optional. The path that relative sources in the
 *        SourceMapConsumer should be relative to.
 */

/**
 * Creates a `cargoQueue` object with the specified payload. Tasks added to the
 * cargoQueue will be processed together (up to the `payload` limit) in `concurrency` parallel workers.
 * If the all `workers` are in progress, the task is queued until one becomes available. Once
 * a `worker` has completed some tasks, each callback of those tasks is
 * called. Check out [these](https://camo.githubusercontent.com/6bbd36f4cf5b35a0f11a96dcd2e97711ffc2fb37/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130382f62626330636662302d356632392d313165322d393734662d3333393763363464633835382e676966) [animations](https://camo.githubusercontent.com/f4810e00e1c5f5f8addbe3e9f49064fd5d102699/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130312f38346339323036362d356632392d313165322d383134662d3964336430323431336266642e676966)
 * for how `cargo` and `queue` work.
 *
 * While [`queue`]{@link module:ControlFlow.queue} passes only one task to one of a group of workers
 * at a time, and [`cargo`]{@link module:ControlFlow.cargo} passes an array of tasks to a single worker,
 * the cargoQueue passes an array of tasks to multiple parallel workers.
 *
 * @name cargoQueue
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @see [async.queue]{@link module:ControlFlow.queue}
 * @see [async.cargo]{@link module:ControlFLow.cargo}
 * @category Control Flow
 * @param {AsyncFunction} worker - An asynchronous function for processing an array
 * of queued tasks. Invoked with `(tasks, callback)`.
 * @param {number} [concurrency=1] - An `integer` for determining how many
 * `worker` functions should be run in parallel.  If omitted, the concurrency
 * defaults to `1`.  If the concurrency is `0`, an error is thrown.
 * @param {number} [payload=Infinity] - An optional `integer` for determining
 * how many tasks should be processed per round; if omitted, the default is
 * unlimited.
 * @returns {module:ControlFlow.QueueObject} A cargoQueue object to manage the tasks. Callbacks can
 * attached as certain properties to listen for specific events during the
 * lifecycle of the cargoQueue and inner queue.
 * @example
 *
 * // create a cargoQueue object with payload 2 and concurrency 2
 * var cargoQueue = async.cargoQueue(function(tasks, callback) {
 *     for (var i=0; i<tasks.length; i++) {
 *         console.log('hello ' + tasks[i].name);
 *     }
 *     callback();
 * }, 2, 2);
 *
 * // add some items
 * cargoQueue.push({name: 'foo'}, function(err) {
 *     console.log('finished processing foo');
 * });
 * cargoQueue.push({name: 'bar'}, function(err) {
 *     console.log('finished processing bar');
 * });
 * cargoQueue.push({name: 'baz'}, function(err) {
 *     console.log('finished processing baz');
 * });
 * cargoQueue.push({name: 'boo'}, function(err) {
 *     console.log('finished processing boo');
 * });
 */

/**
 * Creates a `cargo` object with the specified payload. Tasks added to the
 * cargo will be processed altogether (up to the `payload` limit). If the
 * `worker` is in progress, the task is queued until it becomes available. Once
 * the `worker` has completed some tasks, each callback of those tasks is
 * called. Check out [these](https://camo.githubusercontent.com/6bbd36f4cf5b35a0f11a96dcd2e97711ffc2fb37/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130382f62626330636662302d356632392d313165322d393734662d3333393763363464633835382e676966) [animations](https://camo.githubusercontent.com/f4810e00e1c5f5f8addbe3e9f49064fd5d102699/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313637363837312f36383130312f38346339323036362d356632392d313165322d383134662d3964336430323431336266642e676966)
 * for how `cargo` and `queue` work.
 *
 * While [`queue`]{@link module:ControlFlow.queue} passes only one task to one of a group of workers
 * at a time, cargo passes an array of tasks to a single worker, repeating
 * when the worker is finished.
 *
 * @name cargo
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @see [async.queue]{@link module:ControlFlow.queue}
 * @category Control Flow
 * @param {AsyncFunction} worker - An asynchronous function for processing an array
 * of queued tasks. Invoked with `(tasks, callback)`.
 * @param {number} [payload=Infinity] - An optional `integer` for determining
 * how many tasks should be processed per round; if omitted, the default is
 * unlimited.
 * @returns {module:ControlFlow.QueueObject} A cargo object to manage the tasks. Callbacks can
 * attached as certain properties to listen for specific events during the
 * lifecycle of the cargo and inner queue.
 * @example
 *
 * // create a cargo object with payload 2
 * var cargo = async.cargo(function(tasks, callback) {
 *     for (var i=0; i<tasks.length; i++) {
 *         console.log('hello ' + tasks[i].name);
 *     }
 *     callback();
 * }, 2);
 *
 * // add some items
 * cargo.push({name: 'foo'}, function(err) {
 *     console.log('finished processing foo');
 * });
 * cargo.push({name: 'bar'}, function(err) {
 *     console.log('finished processing bar');
 * });
 * await cargo.push({name: 'baz'});
 * console.log('finished processing baz');
 */

/**
 * Creates a `queue` object with the specified `concurrency`. Tasks added to the
 * `queue` are processed in parallel (up to the `concurrency` limit). If all
 * `worker`s are in progress, the task is queued until one becomes available.
 * Once a `worker` completes a `task`, that `task`'s callback is called.
 *
 * @name queue
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @category Control Flow
 * @param {AsyncFunction} worker - An async function for processing a queued task.
 * If you want to handle errors from an individual task, pass a callback to
 * `q.push()`. Invoked with (task, callback).
 * @param {number} [concurrency=1] - An `integer` for determining how many
 * `worker` functions should be run in parallel.  If omitted, the concurrency
 * defaults to `1`.  If the concurrency is `0`, an error is thrown.
 * @returns {module:ControlFlow.QueueObject} A queue object to manage the tasks. Callbacks can be
 * attached as certain properties to listen for specific events during the
 * lifecycle of the queue.
 * @example
 *
 * // create a queue object with concurrency 2
 * var q = async.queue(function(task, callback) {
 *     console.log('hello ' + task.name);
 *     callback();
 * }, 2);
 *
 * // assign a callback
 * q.drain(function() {
 *     console.log('all items have been processed');
 * });
 * // or await the end
 * await q.drain()
 *
 * // assign an error callback
 * q.error(function(err, task) {
 *     console.error('task experienced an error');
 * });
 *
 * // add some items to the queue
 * q.push({name: 'foo'}, function(err) {
 *     console.log('finished processing foo');
 * });
 * // callback is optional
 * q.push({name: 'bar'});
 *
 * // add some items to the queue (batch-wise)
 * q.push([{name: 'baz'},{name: 'bay'},{name: 'bax'}], function(err) {
 *     console.log('finished processing item');
 * });
 *
 * // add some items to the front of the queue
 * q.unshift({name: 'bar'}, function (err) {
 *     console.log('finished processing bar');
 * });
 */

/**
 * Creates a braces string from an AST, or an AST node.
 *
 * ```js
 * const braces = require('braces');
 * let ast = braces.parse('foo/{a,b}/bar');
 * console.log(stringify(ast.nodes[2])); //=> '{a,b}'
 * ```
 * @param {String} `input` Brace pattern or AST.
 * @param {Object} `options`
 * @return {Array} Returns an array of expanded values.
 * @api public
 */

/**
 * Creates a chainable wrapper around one or more targets.
 * When a target exposes an `each` method, any applied function will
 * ripple through the target itself (if includeSelf is true) and all
 * items yielded by `each`.
 * After the first apply, the chain operates on the flat results without
 * re-expanding any `each` collections.
 *
 * @param {*|Array} targets - A single value, object with an `each` method, or array of either.
 * @param {boolean} [includeSelf=true] - Whether to also apply functions to the target itself,
 *                                       in addition to its `each` items.
 * @returns {RippleChain}
 *
 * @example
 * ripple(myCollection).apply(upper).apply(trim).value();
 * // → ["GROUP", "A", "B", "C"]  (trim runs on the already-flat results, not re-expanded)
 */

/**
 * Creates a clone of  `buffer`.
 *
 * @private
 * @param {Buffer} buffer The buffer to clone.
 * @param {boolean} [isDeep] Specify a deep clone.
 * @returns {Buffer} Returns the cloned buffer.
 */

/**
 * Creates a clone of `arrayBuffer`.
 *
 * @private
 * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
 * @returns {ArrayBuffer} Returns the cloned array buffer.
 */

/**
 * Creates a clone of `dataView`.
 *
 * @private
 * @param {Object} dataView The data view to clone.
 * @param {boolean} [isDeep] Specify a deep clone.
 * @returns {Object} Returns the cloned data view.
 */

/**
 * Creates a clone of `regexp`.
 *
 * @private
 * @param {Object} regexp The regexp to clone.
 * @returns {Object} Returns the cloned regexp.
 */

/**
 * Creates a clone of `typedArray`.
 *
 * @private
 * @param {Object} typedArray The typed array to clone.
 * @param {boolean} [isDeep] Specify a deep clone.
 * @returns {Object} Returns the cloned typed array.
 */

/**
 * Creates a clone of an extent.
 *
 * @param {Extent} extent Extent to clone.
 * @param {Extent} [dest] Extent.
 * @return {Extent} The clone.
 */

/**
 * Creates a clone of the `symbol` object.
 *
 * @private
 * @param {Object} symbol The symbol object to clone.
 * @returns {Object} Returns the cloned symbol object.
 */

/**
 * Creates a composite transform given an initial translation, scale, rotation, and
 * final translation (in that order only, not commutative).
 * @param {!Transform} transform The transform (will be modified in place).
 * @param {number} dx1 Initial translation x.
 * @param {number} dy1 Initial translation y.
 * @param {number} sx Scale factor x.
 * @param {number} sy Scale factor y.
 * @param {number} angle Rotation (in counter-clockwise radians).
 * @param {number} dx2 Final translation x.
 * @param {number} dy2 Final translation y.
 * @return {!Transform} The composite transform.
 */

/**
 * Creates a composite transform given an initial translation, scale, rotation, and
 * final translation (in that order only, not commutative). The resulting transform
 * string can be applied as `transform` property of an HTMLElement's style.
 * @param {number} dx1 Initial translation x.
 * @param {number} dy1 Initial translation y.
 * @param {number} sx Scale factor x.
 * @param {number} sy Scale factor y.
 * @param {number} angle Rotation (in counter-clockwise radians).
 * @param {number} dx2 Final translation x.
 * @param {number} dy2 Final translation y.
 * @return {string} The composite css transform.
 * @api
 */

/**
 * Creates a condition function that passes when all provided conditions pass.
 * @param {...Condition} var_args Conditions to check.
 * @return {Condition} Condition function.
 */

/**
 * Creates a continuation function with some arguments already applied.
 *
 * Useful as a shorthand when combined with other control flow functions. Any
 * arguments passed to the returned function are added to the arguments
 * originally passed to apply.
 *
 * @name apply
 * @static
 * @memberOf module:Utils
 * @method
 * @category Util
 * @param {Function} fn - The function you want to eventually apply all
 * arguments to. Invokes with (arguments...).
 * @param {...*} arguments... - Any number of arguments to automatically apply
 * when the continuation is called.
 * @returns {Function} the partially-applied function
 * @example
 *
 * // using apply
 * async.parallel([
 *     async.apply(fs.writeFile, 'testfile1', 'test1'),
 *     async.apply(fs.writeFile, 'testfile2', 'test2')
 * ]);
 *
 *
 * // the same process without using apply
 * async.parallel([
 *     function(callback) {
 *         fs.writeFile('testfile1', 'test1', callback);
 *     },
 *     function(callback) {
 *         fs.writeFile('testfile2', 'test2', callback);
 *     }
 * ]);
 *
 * // It's possible to pass any number of additional arguments when calling the
 * // continuation:
 *
 * node> var fn = async.apply(sys.puts, 'one');
 * node> fn('two', 'three');
 * one
 * two
 * three
 */

/**
 * Creates a function which is a composition of the passed asynchronous
 * functions. Each function consumes the return value of the function that
 * follows. Composing functions `f()`, `g()`, and `h()` would produce the result
 * of `f(g(h()))`, only this version uses callbacks to obtain the return values.
 *
 * If the last argument to the composed function is not a function, a promise
 * is returned when you call it.
 *
 * Each function is executed with the `this` binding of the composed function.
 *
 * @name compose
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @category Control Flow
 * @param {...AsyncFunction} functions - the asynchronous functions to compose
 * @returns {Function} an asynchronous function that is the composed
 * asynchronous `functions`
 * @example
 *
 * function add1(n, callback) {
 *     setTimeout(function () {
 *         callback(null, n + 1);
 *     }, 10);
 * }
 *
 * function mul3(n, callback) {
 *     setTimeout(function () {
 *         callback(null, n * 3);
 *     }, 10);
 * }
 *
 * var add1mul3 = async.compose(mul3, add1);
 * add1mul3(4, function (err, result) {
 *     // result now equals 15
 * });
 */

/**
 * Creates a hash object.
 *
 * @private
 * @constructor
 * @param {Array} [entries] The key-value pairs to cache.
 */

/**
 * Creates a map cache object to store key-value pairs.
 *
 * @private
 * @constructor
 * @param {Array} [entries] The key-value pairs to cache.
 */

/**
 * Creates a matcher function from one or more glob patterns. The
 * returned function takes a string to match as its first argument,
 * and returns true if the string is a match. The returned matcher
 * function also takes a boolean as the second argument that, when true,
 * returns an object with additional information.
 *
 * ```js
 * const picomatch = require('picomatch');
 * // picomatch(glob[, options]);
 *
 * const isMatch = picomatch('*.!(*a)');
 * console.log(isMatch('a.a')); //=> false
 * console.log(isMatch('a.b')); //=> true
 * ```
 * @name picomatch
 * @param {String|Array} `globs` One or more glob patterns.
 * @param {Object=} `options`
 * @return {Function=} Returns a matcher function.
 * @api public
 */

/**
 * Creates a new SourceMapGenerator based on a SourceMapConsumer
 *
 * @param aSourceMapConsumer The SourceMap.
 */

/**
 * Creates a new filled Buffer instance.
 * alloc(size[, fill[, encoding]])
 **/

/**
 * Creates a scale transform.
 * @param {!Transform} target Transform to overwrite.
 * @param {number} x Scale factor x.
 * @param {number} y Scale factor y.
 * @return {!Transform} The scale transform.
 */

/**
 * Creates a stack cache object to store key-value pairs.
 *
 * @private
 * @constructor
 * @param {Array} [entries] The key-value pairs to cache.
 */

/**
 * Creates a template from the passed element's value (<i>display:none</i> textarea, preferred) or innerHTML.
 * @param {String/HTMLElement} el A DOM element or its id
 * @param {Object} config A configuration object
 * @return {Ext.Template} The created template
 * @static
 */

/**
 * Creates a template from the passed element's value (<i>display:none</i> textarea, preferred) or innerHTML.
 * @param {String/HTMLElement} el A DOM element or its id
 * @return {Ext.Template} The created template
 * @static
 */

/**
 * Creates a tile grid with a standard XYZ tiling scheme.
 * @param {XYZOptions} [options] Tile grid options.
 * @return {!TileGrid} Tile grid instance.
 * @api
 */

/**
 * Creates a unary function that invokes `func` with its argument transformed.
 *
 * @private
 * @param {Function} func The function to wrap.
 * @param {Function} transform The argument transform.
 * @returns {Function} Returns the new function.
 */

/**
 * Creates a {@link module:ol/proj~TransformFunction} from a simple 2D coordinate transform
 * function.
 * @param {function(import("./coordinate.js").Coordinate): import("./coordinate.js").Coordinate} coordTransform Coordinate
 *     transform.
 * @return {TransformFunction} Transform function.
 */

/**
 * Creates an array of own and inherited enumerable property names and
 * symbols of `object`.
 *
 * @private
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of property names and symbols.
 */

/**
 * Creates an array of own enumerable property names and symbols of `object`.
 *
 * @private
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of property names and symbols.
 */

/**
 * Creates an array of the enumerable property names of the array-like `value`.
 *
 * @private
 * @param {*} value The value to query.
 * @param {boolean} inherited Specify returning inherited property names.
 * @returns {Array} Returns the array of property names.
 */

/**
 * Creates an array of the own and inherited enumerable property names of `object`.
 *
 * **Note:** Non-object values are coerced to objects.
 *
 * @static
 * @memberOf _
 * @since 3.0.0
 * @category Object
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of property names.
 * @example
 *
 * function Foo() {
 *   this.a = 1;
 *   this.b = 2;
 * }
 *
 * Foo.prototype.c = 3;
 *
 * _.keysIn(new Foo);
 * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
 */

/**
 * Creates an array of the own enumerable property names of `object`.
 *
 * **Note:** Non-object values are coerced to objects. See the
 * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
 * for more details.
 *
 * @static
 * @since 0.1.0
 * @memberOf _
 * @category Object
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of property names.
 * @example
 *
 * function Foo() {
 *   this.a = 1;
 *   this.b = 2;
 * }
 *
 * Foo.prototype.c = 3;
 *
 * _.keys(new Foo);
 * // => ['a', 'b'] (iteration order is not guaranteed)
 *
 * _.keys('hi');
 * // => ['0', '1']
 */

/**
 * Creates an list cache object.
 *
 * @private
 * @constructor
 * @param {Array} [entries] The key-value pairs to cache.
 */

/**
 * Custom renderer function. Takes two arguments:
 *
 * 1. The pixel coordinates of the geometry in GeoJSON notation.
 * 2. The {@link module:ol/render~State} of the layer renderer.
 *
 * @typedef {function((import("../coordinate.js").Coordinate|Array<import("../coordinate.js").Coordinate>|Array<Array<import("../coordinate.js").Coordinate>>),import("../render.js").State): void} RenderFunction
 */

/**
 * CustomfieldsCombo
 * 
 * @namespace   Tine.widgets.customfields
 * @class       Tine.widgets.customfields.CustomfieldsCombo
 * @extends     Ext.form.ComboBox
 * 
 */

/**
 * CustomfieldsSearchCombo
 * 
 * @namespace   Tine.Tinebase.widgets.customfields
 * @class       Tine.Tinebase.widgets.customfields.CustomfieldSearchCombo
 * @extends     Ext.form.ComboBox
 * 
 * <p>Customfields Search Combo</p>
 * <p>
 * searches for custom field values 
 * 
 * <pre>
 * </pre></p>
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009-2010 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * @param       {Object} config
 * @constructor
 * Create a new Tine.Tinebase.widgets.customfields.CustomfieldSearchCombo
 */

/**
 * Cycles over a value.
 *
 * @param {Map<any, any> | any} value
 * @param {number} position The cycle position
 *
 * @returns {Promise<any>} The value at position
 */

/**
 * Decode a single base 64 character code digit to an integer. Returns -1 on
 * failure.
 */

/**
 * Decodes the next base 64 VLQ value from the given string and returns the
 * value and the rest of the string via the out parameter.
 */

/**
 * Default base class for compiled templates.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Default styles for editing features.
 * @return {Object<import("../geom/Geometry.js").Type, Array<Style>>} Styles
 */

/**
 * Defines a macro.
 *
 * <pre>
 * {% macro input(name, value, type, size) %}
 *    <input type="{{ type|default('text') }}" name="{{ name }}" value="{{ value|e }}" size="{{ size|default(20) }}" />
 * {% endmacro %}
 * </pre>
 */

/**
 * Deprecates a section of a template.
 *
 * <pre>
 * {% deprecated 'The "base.twig" template is deprecated, use "layout.twig" instead.' %}
 *
 * {% extends 'layout.html.twig' %}
 * </pre>
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Determine if an animation involves no view change.
 * @param {Animation} animation The animation.
 * @return {boolean} The animation involves no view change.
 */

/**
 * Determine if an extent is empty.
 * @param {Extent} extent Extent.
 * @return {boolean} Is empty.
 * @api
 */

/**
 * Determine if an object has any properties.
 * @param {Object} object The object to check.
 * @return {boolean} The object is empty.
 */

/**
 * Determine if one extent intersects another.
 * @param {Extent} extent1 Extent 1.
 * @param {Extent} extent2 Extent.
 * @return {boolean} The two extents intersect.
 * @api
 */

/**
 * Determine if the segment between two coordinates intersects (crosses,
 * touches, or is contained by) the provided extent.
 * @param {Extent} extent The extent.
 * @param {import("./coordinate.js").Coordinate} start Segment start coordinate.
 * @param {import("./coordinate.js").Coordinate} end Segment end coordinate.
 * @return {boolean} The segment intersects the extent.
 */

/**
 * Determine if two extents are approximately equivalent.
 * @param {Extent} extent1 Extent 1.
 * @param {Extent} extent2 Extent 2.
 * @param {number} tolerance Tolerance in extent coordinate units.
 * @return {boolean} The two extents differ by less than the tolerance.
 */

/**
 * Determine if two extents are equivalent.
 * @param {Extent} extent1 Extent 1.
 * @param {Extent} extent2 Extent 2.
 * @return {boolean} The two extents are equivalent.
 * @api
 */

/**
 * Determine whether mappingB is after mappingA with respect to generated
 * position.
 */

/**
 * Determines if a size has a positive area.
 * @param {Size} size The size to test.
 * @return {boolean} The size has a positive area.
 */

/**
 * Determines if linear rings are oriented.  By default, left-hand orientation
 * is tested (first ring must be clockwise, remaining rings counter-clockwise).
 * To test for right-hand orientation, use the `right` argument.
 *
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Array of array of end indexes.
 * @param {number} stride Stride.
 * @param {boolean} [right] Test for right-hand orientation
 *     (counter-clockwise exterior ring and clockwise interior rings).
 * @return {boolean} Rings are correctly oriented.
 */

/**
 * Determines if linear rings are oriented.  By default, left-hand orientation
 * is tested (first ring must be clockwise, remaining rings counter-clockwise).
 * To test for right-hand orientation, use the `right` argument.
 *
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Array of end indexes.
 * @param {number} stride Stride.
 * @param {boolean} [right] Test for right-hand orientation
 *     (counter-clockwise exterior ring and clockwise interior rings).
 * @return {boolean} Rings are correctly oriented.
 */

/**
 * Determines if the current browser configuration can render triangular clip regions correctly.
 * This value is cached so the function is only expensive the first time called.
 * Firefox on Windows (as of now) does not if HWA is enabled. See https://bugzilla.mozilla.org/show_bug.cgi?id=1606976
 * Chrome works, and everything seems to work on OSX and Android. This function caches the
 * result. I suppose that it is conceivably possible that a browser might flip modes while the app is
 * running, but lets hope not.
 *
 * @return {boolean} true if the Diagonal Rendering is broken.
 */

/**
 * Determines the best order for running the {@link AsyncFunction}s in `tasks`, based on
 * their requirements. Each function can optionally depend on other functions
 * being completed first, and each function is run as soon as its requirements
 * are satisfied.
 *
 * If any of the {@link AsyncFunction}s pass an error to their callback, the `auto` sequence
 * will stop. Further tasks will not execute (so any other functions depending
 * on it will not run), and the main `callback` is immediately called with the
 * error.
 *
 * {@link AsyncFunction}s also receive an object containing the results of functions which
 * have completed so far as the first argument, if they have dependencies. If a
 * task function has no dependencies, it will only be passed a callback.
 *
 * @name auto
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @category Control Flow
 * @param {Object} tasks - An object. Each of its properties is either a
 * function or an array of requirements, with the {@link AsyncFunction} itself the last item
 * in the array. The object's key of a property serves as the name of the task
 * defined by that property, i.e. can be used when specifying requirements for
 * other tasks. The function receives one or two arguments:
 * * a `results` object, containing the results of the previously executed
 *   functions, only passed if the task has any dependencies,
 * * a `callback(err, result)` function, which must be called when finished,
 *   passing an `error` (which can be `null`) and the result of the function's
 *   execution.
 * @param {number} [concurrency=Infinity] - An optional `integer` for
 * determining the maximum number of tasks that can be run in parallel. By
 * default, as many as possible.
 * @param {Function} [callback] - An optional callback which is called when all
 * the tasks have been completed. It receives the `err` argument if any `tasks`
 * pass an error to their callback. Results are always returned; however, if an
 * error occurs, no further `tasks` will be performed, and the results object
 * will only contain partial results. Invoked with (err, results).
 * @returns {Promise} a promise, if a callback is not passed
 * @example
 *
 * //Using Callbacks
 * async.auto({
 *     get_data: function(callback) {
 *         // async code to get some data
 *         callback(null, 'data', 'converted to array');
 *     },
 *     make_folder: function(callback) {
 *         // async code to create a directory to store a file in
 *         // this is run at the same time as getting the data
 *         callback(null, 'folder');
 *     },
 *     write_file: ['get_data', 'make_folder', function(results, callback) {
 *         // once there is some data and the directory exists,
 *         // write the data to a file in the directory
 *         callback(null, 'filename');
 *     }],
 *     email_link: ['write_file', function(results, callback) {
 *         // once the file is written let's email a link to it...
 *         callback(null, {'file':results.write_file, 'email':'user@example.com'});
 *     }]
 * }, function(err, results) {
 *     if (err) {
 *         console.log('err = ', err);
 *     }
 *     console.log('results = ', results);
 *     // results = {
 *     //     get_data: ['data', 'converted to array']
 *     //     make_folder; 'folder',
 *     //     write_file: 'filename'
 *     //     email_link: { file: 'filename', email: 'user@example.com' }
 *     // }
 * });
 *
 * //Using Promises
 * async.auto({
 *     get_data: function(callback) {
 *         console.log('in get_data');
 *         // async code to get some data
 *         callback(null, 'data', 'converted to array');
 *     },
 *     make_folder: function(callback) {
 *         console.log('in make_folder');
 *         // async code to create a directory to store a file in
 *         // this is run at the same time as getting the data
 *         callback(null, 'folder');
 *     },
 *     write_file: ['get_data', 'make_folder', function(results, callback) {
 *         // once there is some data and the directory exists,
 *         // write the data to a file in the directory
 *         callback(null, 'filename');
 *     }],
 *     email_link: ['write_file', function(results, callback) {
 *         // once the file is written let's email a link to it...
 *         callback(null, {'file':results.write_file, 'email':'user@example.com'});
 *     }]
 * }).then(results => {
 *     console.log('results = ', results);
 *     // results = {
 *     //     get_data: ['data', 'converted to array']
 *     //     make_folder; 'folder',
 *     //     write_file: 'filename'
 *     //     email_link: { file: 'filename', email: 'user@example.com' }
 *     // }
 * }).catch(err => {
 *     console.log('err = ', err);
 * });
 *
 * //Using async/await
 * async () => {
 *     try {
 *         let results = await async.auto({
 *             get_data: function(callback) {
 *                 // async code to get some data
 *                 callback(null, 'data', 'converted to array');
 *             },
 *             make_folder: function(callback) {
 *                 // async code to create a directory to store a file in
 *                 // this is run at the same time as getting the data
 *                 callback(null, 'folder');
 *             },
 *             write_file: ['get_data', 'make_folder', function(results, callback) {
 *                 // once there is some data and the directory exists,
 *                 // write the data to a file in the directory
 *                 callback(null, 'filename');
 *             }],
 *             email_link: ['write_file', function(results, callback) {
 *                 // once the file is written let's email a link to it...
 *                 callback(null, {'file':results.write_file, 'email':'user@example.com'});
 *             }]
 *         });
 *         console.log('results = ', results);
 *         // results = {
 *         //     get_data: ['data', 'converted to array']
 *         //     make_folder; 'folder',
 *         //     write_file: 'filename'
 *         //     email_link: { file: 'filename', email: 'user@example.com' }
 *         // }
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 */

/**
 * Dialog for editing a tag itself
 */

/**
 * Echos the value of a value. Trys to print the value out
 * in the best way possible given the different types.
 *
 * @param {Object} obj The object to print out.
 * @param {Object} opts Optional options object that alters the output.
 */

/**
 * Encapsuple string escaping and subsituting methods
 *
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.EncodingHelper
 * @author      Michael Spahn <m.spahn@metaways.de>
 * @singleton
 * @return {string}
 */

/**
 * Encode an integer in the range of 0 to 63 to a single base 64 digit.
 */

/**
 * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
 * */

/**
 * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
 */

/**
 * Error object thrown when an assertion failed. This is an ECMA-262 Error,
 * extended with a `code` property.
 * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error.
 */

/**
 * Escape the given node with '\\' before node.value
 */

/**
 * Escapes a string.
 *
 * @param {TwingTemplate} template
 * @param {*} string The value to be escaped
 * @param {string} strategy The escaping strategy
 * @param {string} charset The charset
 * @param {boolean} autoescape Whether the function is called by the auto-escaping feature (true) or by the developer (false)
 *
 * @returns {Promise<string>}
 */

/**
 * Exception thrown when a not allowed class property is used in a template.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Exception thrown when a not allowed filter is used in a template.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Exception thrown when a security error occurs at runtime.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Exception thrown when an error occurs during template loading.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Executes the provided function once for each element of an iterable.
 *
 * @param {*} it An iterable
 * @param {IterateCallback} cb Callback to execute for each element, taking a key and a value as arguments
 *
 * @return {void}
 */

/**
 * Expand braces
 */

/**
 * Expand offers a deep parameter to also expand all children as well as a callback function.
 * Before the callback was triggered after the first children were loaded now the callback is triggered when all children
 * are loaded of all nodes!
 */

/**
 * Expands a brace pattern into an array. This method is called by the
 * main [braces](#braces) function when `options.expand` is true. Before
 * using this method it's recommended that you read the [performance notes](#performance))
 * and advantages of using [.compile](#compile) instead.
 *
 * ```js
 * const braces = require('braces');
 * console.log(braces.expand('a/{b,c}/d'));
 * //=> ['a/b/d', 'a/c/d'];
 * ```
 * @param {String} `pattern` Brace pattern
 * @param {Object} `options`
 * @return {Array} Returns an array of expanded values.
 * @api public
 */

/**
 * Expose "braces"
 */

/**
 * Expose "picomatch"
 */

/**
 * Expose `toRegexRange`
 */

/**
 * Expose micromatch
 */

/**
 * Expression is a string that does not get quoted in htmlEncode (@see Ext.util.Format.htmlEncode)
 */

/**
 * Ext.data.Response
 * Experimental.  Do not use directly.
 */

/**
 * Ext.ux.Wizard Extension Class
 * 
 * @namespace   Ext.ux
 * @class       Ext.ux.Wizard
 * @extends     Ext.Panel
 * @constructor
 * @param {Object} config Configuration options
 */

/**
 * Ext.ux.grid.GridViewMenuPlugin
 * Copyright (c) 2008, http://www.siteartwork.de
 *
 * Ext.ux.grid.GridViewMenuPlugin is licensed under the terms of the
 *                  GNU Open Source LGPL 3.0
 * license.
 *
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the LGPL as published by the Free Software
 * Foundation, either version 3 of the License, or any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the LGPL License for more
 * details.
 *
 * You should have received a copy of the GNU LGPL along with
 * this program. If not, see <http://www.gnu.org/licenses/lgpl.html>.
 *
 */

/**
 * Extent corner.
 * @typedef {'bottom-left' | 'bottom-right' | 'top-left' | 'top-right'} Corner
 */

/**
 * Extent of the EPSG:4326 projection which is the whole world.
 *
 * @const
 * @type {import("../extent.js").Extent}
 */

/**
 * Externalize the source map.
 */

/**
 * FIXME: we already overwrite the email regex above!! which one is better?
 */

/**
 * Failure type returned when a communication error happens when attempting
 * to send a request to the remote server. The {@link #response} may be examined to
 * provide further information.
 * @type {String}
 * @static
 */

/**
 * Failure type returned when client side validation of the Form fails
 * thus aborting a submit action. Client side validation is performed unless
 * {@link #clientValidation} is explicitly set to <tt>false</tt>.
 * @type {String}
 * @static
 */

/**
 * Failure type returned when the response's <tt style="font-weight:bold">success</tt>
 * property is set to <tt>false</tt>, or no field values are returned in the response's
 * <tt style="font-weight:bold">data</tt> property.
 * @type {String}
 * @static
 */

/**
 * Fast paths for creating regular expressions for common glob patterns.
 * This can significantly speed up processing and has very little downside
 * impact when none of the fast paths match.
 */

/**
 * Feature callback. The callback will be called with three arguments. The first
 * argument is one {@link module:ol/Feature~Feature feature} or {@link module:ol/render/Feature~RenderFeature render feature}
 * at the pixel, the second is the {@link module:ol/layer/Layer~Layer layer} of the feature and will be null for
 * unmanaged layers. The third is the {@link module:ol/geom/SimpleGeometry~SimpleGeometry} of the feature. For features
 * with a GeometryCollection geometry, it will be the first detected geometry from the collection.
 * @template T
 * @typedef {function(import("../Feature.js").FeatureLike, import("../layer/Layer.js").default<import("../source/Source").default>, import("../geom/SimpleGeometry.js").default): T} FeatureCallback
 */

/**
 * Fetches a Projection object for the code specified.
 *
 * @param {ProjectionLike} projectionLike Either a code string which is
 *     a combination of authority and identifier such as "EPSG:4326", or an
 *     existing projection object, or undefined.
 * @return {Projection|null} Projection object, or null if not in list.
 * @api
 */

/**
 * File picker dialog
 *
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.RangeSliderComponent
 * @extends     Ext.Component
 * @constructor
 * @param       {Object} config The configuration options.
 */

/**
 * FileSelectionArea - no upload, just selection here atm.
 *
 * @namespace   Tine.widgets.form
 * @class       Tine.widgets.form.FileSelectionArea
 * @extends     Ext.Button
 * @author      Michael Spahn <m.spahn@metaways.de>
 * @constructor
 * @param {Object} config The configuration options.
 */

/**
 * Fill map with value until map's size is size.
 *
 * @param {Map<*, *>} map
 * @param {number} size
 * @param {any} value
 */

/**
 * Fill style properties applied to polygon features.
 *
 * @typedef {Object} FlatFill
 * @property {import("../color.js").Color|import("../colorlike.js").ColorLike} [fill-color] The fill color.
 */

/**
 * Filter registry
 * @type Object
 */

/**
 * Filter the keys of the given object with the given `glob` pattern
 * and `options`. Does not attempt to match nested keys. If you need this feature,
 * use [glob-object][] instead.
 *
 * ```js
 * const mm = require('micromatch');
 * // mm.matchKeys(object, patterns[, options]);
 *
 * const obj = { aa: 'a', ab: 'b', ac: 'c' };
 * console.log(mm.matchKeys(obj, '*b'));
 * //=> { ab: 'b' }
 * ```
 * @param {Object} `object` The object with keys to filter.
 * @param {String|Array} `patterns` One or more glob patterns to use for matching.
 * @param {Object} `options` See available [options](#options) for changing how matches are performed
 * @return {Object} Returns an object with only keys that match the given patterns.
 * @api public
 */

/**
 * Filters a section of a template by applying filters.
 *
 * <pre>
 * {% filter upper %}
 *  This text becomes uppercase
 * {% endfilter %}
 * </pre>
 */

/**
 * Find a node of the given type
 */

/**
 * Find the mapping that best matches the hypothetical "needle" mapping that
 * we are searching for in the given "haystack" of mappings.
 */

/**
 * Fits the extent to the real world
 *
 * If the extent does not cross the anti meridian, this will return the extent in an array
 * If the extent crosses the anti meridian, the extent will be sliced, so each part fits within the
 * real world
 *
 *
 * @param {Extent} extent Extent.
 * @param {import("./proj/Projection.js").default} projection Projection
 * @return {Array<Extent>} The extent within the real world extent.
 */

/**
 * Flatten an array
 */

/**
 * For static styling, the [layer.setStyle()]{@link module:ol/layer/Vector~VectorLayer#setStyle} method
 * can be called with an object literal that has fill, stroke, text, icon, regular shape, and/or circle properties.
 * @api
 *
 * @typedef {FlatFill & FlatStroke & FlatText & FlatIcon & FlatShape & FlatCircle} FlatStyle
 */

/**
 * For the formats reference, @see https://secure.php.net/manual/en/function.date.php
 */

/**
 * Foreign Record Filter
 * 
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.ForeignRecordFilter
 * @extends     Tine.widgets.grid.FilterModel
 * 
 * <p>Filter for foreign records</p>
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2009 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * @param       {Object} config
 * @constructor
 */

/**
 * Formats a date given the supplied format string.
 * @param {String} format The format string.
 * @return {String} The formatted date.
 * @method format
 */

/**
 * Function that is called with a feature and returns its default geometry.
 * @param {import("../Feature.js").FeatureLike} feature Feature to get the geometry for.
 * @return {import("../geom/Geometry.js").default|import("../render/Feature.js").default|undefined} Geometry to render.
 */

/**
 * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
 * if value is a number.
 * Buffer.from(str[, encoding])
 * Buffer.from(array)
 * Buffer.from(buffer)
 * Buffer.from(arrayBuffer[, byteOffset[, length]])
 **/

/**
 * Generate a constructor for a specific Record layout.
 * 
 * @param {Array} def see {@link Ext.data.Record#create}
 * @param {Object} meta information see {@link Record}
 * 
 * <br>usage:<br>
<b>IMPORTANT: the ngettext comments are required for the translation system!</b>
<pre><code>
var TopicRecord = Record.create([
    {name: 'summary', mapping: 'topic_title'},
    {name: 'details', mapping: 'username'}
], {
    appName: 'Tasks',
    modelName: 'Task',
    idProperty: 'id',
    titleProperty: 'summary',
    // ngettext('Task', 'Tasks', n);
    recordName: 'Task',
    recordsName: 'Tasks',
    containerProperty: 'container_id',
    // ngettext('to do list', 'to do lists', n);
    containerName: 'to do list',
    containesrName: 'to do lists'
});
</code></pre>
 * @static
 */

/**
 * Generate a constructor for a specific Record layout.
 * @param {Array} o An Array of <b>{@link Ext.data.Field Field}</b> definition objects.
 * The constructor generated by this method may be used to create new Record instances. The data
 * object must contain properties named after the {@link Ext.data.Field field}
 * <b><tt>{@link Ext.data.Field#name}s</tt></b>.  Example usage:<pre><code>
// create a Record constructor from a description of the fields
var TopicRecord = Record.create([ // creates a subclass of Record
    {{@link Ext.data.Field#name name}: 'title', {@link Ext.data.Field#mapping mapping}: 'topic_title'},
    {name: 'author', mapping: 'username', allowBlank: false},
    {name: 'totalPosts', mapping: 'topic_replies', type: 'int'},
    {name: 'lastPost', mapping: 'post_time', type: 'date'},
    {name: 'lastPoster', mapping: 'user2'},
    {name: 'excerpt', mapping: 'post_text', allowBlank: false},
    // In the simplest case, if no properties other than <tt>name</tt> are required,
    // a field definition may consist of just a String for the field name.
    'signature'
]);

// create Record instance
var myNewRecord = new TopicRecord(
    {
        title: 'Do my job please',
        author: 'noobie',
        totalPosts: 1,
        lastPost: new Date(),
        lastPoster: 'Animal',
        excerpt: 'No way dude!',
        signature: ''
    },
    id // optionally specify the id of the record otherwise {@link #Record.id one is auto-assigned}
);
myStore.{@link Ext.data.Store#add add}(myNewRecord);
</code></pre>
 * @method create
 * @return {function} A constructor which is used to create new Records according
 * to the definition. The constructor has the same signature as {@link #Record}.
 * @static
 */

/**
 * Generate a tile grid extent from a projection.  If the projection has an
 * extent, it is used.  If not, a global extent is assumed.
 * @param {import("./proj.js").ProjectionLike} projection Projection.
 * @return {import("./extent.js").Extent} Extent.
 */

/**
 * Generates a sequential id. This method is typically called when a record is {@link #create}d
 * and {@link #Record no id has been specified}. The returned id takes the form:
 * <tt>&#123;PREFIX}-&#123;AUTO_ID}</tt>.<div class="mdetail-params"><ul>
 * <li><b><tt>PREFIX</tt></b> : String<p class="sub-desc"><tt>Record.PREFIX</tt>
 * (defaults to <tt>'ext-record'</tt>)</p></li>
 * <li><b><tt>AUTO_ID</tt></b> : String<p class="sub-desc"><tt>Record.AUTO_ID</tt>
 * (defaults to <tt>1</tt> initially)</p></li>
 * </ul></div>
 * @param {Record} rec The record being created.  The record does not exist, it's a {@link #phantom}.
 * @return {String} auto-generated string id, <tt>"ext-record-i++'</tt>;
 */

/**
 * Generic 'Credentials' dialog
 * 
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.CredentialsDialog
 * @extends     Tine.widgets.dialog.EditDialog
 * @constructor
 * @param       {Object} config The configuration options.
 */

/**
 * Generic 'Edit Record' dialog
 *
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.EditRecord
 * @extends     Ext.FormPanel
 */

/**
 * Generic 'Edit Record' dialog
 * Base class for all 'Edit Record' dialogs
 *
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.EditDialog
 * @extends     Ext.FormPanel
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @constructor
 * @param {Object} config The configuration options.
 */

/**
 * Generic 'Edit Record' form
 *
 * @namespace   Tine.widgets.form
 * @class       Tine.widgets.form.RecordForm
 * @extends     Ext.ux.form.ColumnFormPanel
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @constructor
 * @param {Object} config The configuration options.
 */

/**
 * Generic 'Export' dialog
 *
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.ExportDialog
 * @extends     Tine.widgets.dialog.EditDialog
 * @constructor
 * @param       {Object} config The configuration options
 * 
 * TODO         add template for def combo (shows description, format?, ...)
 *              -> add panel with it
 * 
 */

/**
 * Generic 'Import' dialog
 *
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.ImportDialog
 * @extends     Tine.widgets.dialog.EditDialog
 * @constructor
 * @param       {Object} config The configuration options.
 * 
 * TODO add app grid to show results when dry run is selected
 */

/**
 * Generic widget for a twin trigger combo field
 *
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.LockCombo
 * @extends     Ext.form.ComboBox
 */

/**
 * Generic widget for a twin trigger textfield
 *
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.LockTextfield
 * @extends     Ext.form.TriggerField
 */

/**
 * Generic widget for a twintriggerd search field
 * 
 * @namespace   Ext.ux
 * @class       Ext.ux.SearchField
 * @extends     Ext.form.TwinTriggerField
 */

/**
 * Get a 1-pixel blank image.
 * @return {HTMLCanvasElement} Blank image.
 */

/**
 * Get a cached projection by code.
 * @param {string} code The code for the projection.
 * @return {import("./Projection.js").default} The projection (if cached).
 */

/**
 * Get a corner coordinate of an extent.
 * @param {Extent} extent Extent.
 * @param {Corner} corner Corner.
 * @return {import("./coordinate.js").Coordinate} Corner coordinate.
 */

/**
 * Get a tile coord given a key.
 * @param {string} key The tile coord key.
 * @return {TileCoord} The tile coord.
 */

/**
 * Get a transform given a source code and a destination code.
 * @param {string} sourceCode The code for the source projection.
 * @param {string} destinationCode The code for the destination projection.
 * @return {import("../proj.js").TransformFunction|undefined} The transform function (if found).
 */

/**
 * Get the bottom left coordinate of an extent.
 * @param {Extent} extent Extent.
 * @return {import("./coordinate.js").Coordinate} Bottom left coordinate.
 * @api
 */

/**
 * Get the bottom right coordinate of an extent.
 * @param {Extent} extent Extent.
 * @return {import("./coordinate.js").Coordinate} Bottom right coordinate.
 * @api
 */

/**
 * Get the center coordinate of an extent.
 * @param {Extent} extent Extent.
 * @return {import("./coordinate.js").Coordinate} Center.
 * @api
 */

/**
 * Get the cumulative great circle length of linestring coordinates (geographic).
 * @param {Array} coordinates Linestring coordinates.
 * @param {number} radius The sphere radius to use.
 * @return {number} The length (in meters).
 */

/**
 * Get the current computed width for the given element including margin,
 * padding and border.
 * Equivalent to jQuery's `$(el).outerWidth(true)`.
 * @param {!HTMLElement} element Element.
 * @return {number} The width.
 */

/**
 * Get the great circle distance (in meters) between two geographic coordinates.
 * @param {Array} c1 Starting coordinate.
 * @param {Array} c2 Ending coordinate.
 * @param {number} [radius] The sphere radius to use.  Defaults to the Earth's
 *     mean radius using the WGS84 ellipsoid.
 * @return {number} The great circle distance between the points (in meters).
 * @api
 */

/**
 * Get the height of an extent.
 * @param {Extent} extent Extent.
 * @return {number} Height.
 * @api
 */

/**
 * Get the intersection of two extents.
 * @param {Extent} extent1 Extent 1.
 * @param {Extent} extent2 Extent 2.
 * @param {Extent} [dest] Optional extent to populate with intersection.
 * @return {Extent} Intersecting extent.
 * @api
 */

/**
 * Get the key for a tile coord.
 * @param {TileCoord} tileCoord The tile coord.
 * @return {string} Key.
 */

/**
 * Get the projection for coordinates supplied from and returned by API methods.
 * Note that this method is not yet a part of the stable API.  Support for user
 * projections is not yet complete and should be considered experimental.
 * @return {Projection|null} The user projection (or null if not set).
 * @api
 */

/**
 * Get the relationship between a coordinate and extent.
 * @param {Extent} extent The extent.
 * @param {import("./coordinate.js").Coordinate} coordinate The coordinate.
 * @return {import("./extent/Relationship.js").default} The relationship (bitwise compare with
 *     import("./extent/Relationship.js").Relationship).
 */

/**
 * Get the resolution of the point in degrees or distance units.
 * For projections with degrees as the unit this will simply return the
 * provided resolution. For other projections the point resolution is
 * by default estimated by transforming the `point` pixel to EPSG:4326,
 * measuring its width and height on the normal sphere,
 * and taking the average of the width and height.
 * A custom function can be provided for a specific projection, either
 * by setting the `getPointResolution` option in the
 * {@link module:ol/proj/Projection~Projection} constructor or by using
 * {@link module:ol/proj/Projection~Projection#setGetPointResolution} to change an existing
 * projection object.
 * @param {ProjectionLike} projection The projection.
 * @param {number} resolution Nominal resolution in projection units.
 * @param {import("./coordinate.js").Coordinate} point Point to find adjusted resolution at.
 * @param {import("./proj/Units.js").Units} [units] Units to get the point resolution in.
 * Default is the projection's units.
 * @return {number} Point resolution.
 * @api
 */

/**
 * Get the size of an extent.
 * @param {Extent} extent Extent.
 * @return {number} Area.
 * @api
 */

/**
 * Get the tile cache key for a tile key obtained through `tile.getKey()`.
 * @param {string} tileKey The tile key.
 * @return {string} The cache key.
 */

/**
 * Get the top left coordinate of an extent.
 * @param {Extent} extent Extent.
 * @return {import("./coordinate.js").Coordinate} Top left coordinate.
 * @api
 */

/**
 * Get the top right coordinate of an extent.
 * @param {Extent} extent Extent.
 * @return {import("./coordinate.js").Coordinate} Top right coordinate.
 * @api
 */

/**
 * Get the width of an extent.
 * @param {Extent} extent Extent.
 * @return {number} Width.
 * @api
 */

/**
 * Gets a unique ID for an object. This mutates the object so that further calls
 * with the same object as a parameter returns the same value. Unique IDs are generated
 * as a strictly increasing sequence. Adapted from goog.getUid.
 *
 * @param {Object} obj The object to get the unique ID for.
 * @return {string} The unique ID for the object.
 * @api
 */

/**
 * Gets the data for `map`.
 *
 * @private
 * @param {Object} map The map to query.
 * @param {string} key The reference key.
 * @returns {*} Returns the map data.
 */

/**
 * Gets the hash value for `key`.
 *
 * @private
 * @name get
 * @memberOf Hash
 * @param {string} key The key of the value to get.
 * @returns {*} Returns the entry value.
 */

/**
 * Gets the index at which the `key` is found in `array` of key-value pairs.
 *
 * @private
 * @param {Array} array The array to inspect.
 * @param {*} key The key to search for.
 * @returns {number} Returns the index of the matched value, else `-1`.
 */

/**
 * Gets the list cache value for `key`.
 *
 * @private
 * @name get
 * @memberOf ListCache
 * @param {string} key The key of the value to get.
 * @returns {*} Returns the entry value.
 */

/**
 * Gets the map value for `key`.
 *
 * @private
 * @name get
 * @memberOf MapCache
 * @param {string} key The key of the value to get.
 * @returns {*} Returns the entry value.
 */

/**
 * Gets the native function at `key` of `object`.
 *
 * @private
 * @param {Object} object The object to query.
 * @param {string} key The key of the method to get.
 * @returns {*} Returns the function if it's native, else `undefined`.
 */

/**
 * Gets the stack value for `key`.
 *
 * @private
 * @name get
 * @memberOf Stack
 * @param {string} key The key of the value to get.
 * @returns {*} Returns the entry value.
 */

/**
 * Gets the value at `key` of `object`.
 *
 * @private
 * @param {Object} [object] The object to query.
 * @param {string} key The key of the property to get.
 * @returns {*} Returns the property value.
 */

/**
 * Given the data from getImageData, see if the right values appear at the provided offset.
 * Returns true if either the color or transparency is off
 *
 * @param {Uint8ClampedArray} data The data returned from getImageData
 * @param {number} offset The pixel offset from the start of data.
 * @return {boolean} true if the diagonal rendering is broken
 */

/**
 * Given the projection-like objects, searches for a transformation
 * function to convert a coordinates array from the source projection to the
 * destination projection.
 *
 * @param {ProjectionLike} source Source.
 * @param {ProjectionLike} destination Destination.
 * @return {TransformFunction} Transform function.
 * @api
 */

/**
 * Global flag which determines if strict date parsing should be used.
 * Strict date parsing will not roll-over invalid dates, which is the
 * default behaviour of javascript Date objects.
 * (see {@link #parseDate} for more information)
 * Defaults to <tt>false</tt>.
 * @static
 * @type Boolean
*/

/**
 * Grid Drop Zone
 * 
 * @param {Ext.grid.GridPanel} grid
 * @param {Object} config
 */

/**
 * HTMLProxy - html proxy snipped that will be replaced with the real content later
 *
 * useful in situations where you need to return html directly which gets produces async
 */

/**
 * Helper for Ext.ux.form.MirrorTextField
 * @singleton
 */

/**
 * Html5 File Selector
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.txt file in the root directory of this source tree.
 */

/**
 * Icon style properties applied to point features.  One of `icon-src` or `icon-img` must be provided to render
 * points with an icon.
 *
 * @typedef {Object} FlatIcon
 * @property {string} [icon-src] Image source URI.
 * @property {HTMLImageElement|HTMLCanvasElement} [icon-img] Image object for the icon. If the `icon-src` option is not provided then the
 * provided image must already be loaded. And in that case, it is required
 * to provide the size of the image, with the `icon-img-size` option.
 * @property {import("../size.js").Size} [icon-img-size] Image size in pixels. Only required if `icon-img` is set and `icon-src` is not.
 * The provided size needs to match the actual size of the image.
 * @property {Array<number>} [icon-anchor=[0.5, 0.5]] Anchor. Default value is the icon center.
 * @property {import("./Icon.js").IconOrigin} [icon-anchor-origin='top-left'] Origin of the anchor: `bottom-left`, `bottom-right`,
 * `top-left` or `top-right`.
 * @property {import("./Icon.js").IconAnchorUnits} [icon-anchor-x-units='fraction'] Units in which the anchor x value is
 * specified. A value of `'fraction'` indicates the x value is a fraction of the icon. A value of `'pixels'` indicates
 * the x value in pixels.
 * @property {import("./Icon.js").IconAnchorUnits} [icon-anchor-y-units='fraction'] Units in which the anchor y value is
 * specified. A value of `'fraction'` indicates the y value is a fraction of the icon. A value of `'pixels'` indicates
 * the y value in pixels.
 * @property {import("../color.js").Color|string} [icon-color] Color to tint the icon. If not specified,
 * the icon will be left as is.
 * @property {null|string} [icon-cross-origin] The `crossOrigin` attribute for loaded images. Note that you must provide a
 * `icon-cross-origin` value if you want to access pixel data with the Canvas renderer.
 * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
 * @property {Array<number>} [icon-offset=[0, 0]] Offset, which, together with the size and the offset origin, define the
 * sub-rectangle to use from the original icon image.
 * @property {Array<number>} [icon-displacement=[0,0]] Displacement of the icon.
 * @property {import("./Icon.js").IconOrigin} [icon-offset-origin='top-left'] Origin of the offset: `bottom-left`, `bottom-right`,
 * `top-left` or `top-right`.
 * @property {number} [icon-opacity=1] Opacity of the icon.
 * @property {number|import("../size.js").Size} [icon-scale=1] Scale.
 * @property {number} [icon-rotation=0] Rotation in radians (positive rotation clockwise).
 * @property {boolean} [icon-rotate-with-view=false] Whether to rotate the icon with the view.
 * @property {import("../size.js").Size} [icon-size] Icon size in pixel. Can be used together with `icon-offset` to define the
 * sub-rectangle to use from the origin (sprite) icon image.
 * @property {"declutter"|"obstacle"|"none"|undefined} [icon-declutter-mode] Declutter mode
 */

/**
 * If `Buffer.TYPED_ARRAY_SUPPORT`:
 *   === true    Use Uint8Array implementation (fastest)
 *   === false   Print warning and recommend using `buffer` v4.x which has an Object
 *               implementation (most compatible, even IE6)
 *
 * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
 * Opera 11.6+, iOS 4.2+.
 *
 * We report that the browser does not support typed arrays if the are not subclassable
 * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`
 * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support
 * for __proto__ and has a buggy typed array implementation.
 */

/**
 * Implements a no-cache strategy.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Imports macros.
 *
 * <pre>
 *   {% from 'forms.html' import forms %}
 * </pre>
 */

/**
 * In Twig, a hash is considered a pure array, i.e. a non-keyed array, if its keys form a (xn = n) sequence -i.e. 0,1,2,3,4...
 *
 * @param map
 */

/**
 * Inherit the prototype methods from one constructor into another.
 *
 * The Function.prototype.inherits from lang.js rewritten as a standalone
 * function (not on Function.prototype). NOTE: If this file is to be loaded
 * during bootstrapping this function needs to be rewritten using some native
 * functions as prototype setup using normal JavaScript does not work as
 * expected during bootstrapping (see mirror.js in r114903).
 *
 * @param {function} ctor Constructor function which needs to inherit the
 *     prototype.
 * @param {function} superCtor Constructor function to inherit prototype from.
 */

/**
 * Initializes an array clone.
 *
 * @private
 * @param {Array} array The array to clone.
 * @returns {Array} Returns the initialized clone.
 */

/**
 * Initializes an object clone based on its `toStringTag`.
 *
 * **Note:** This function only supports cloning values with tags of
 * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
 *
 * @private
 * @param {Object} object The object to clone.
 * @param {string} tag The `toStringTag` of the object to clone.
 * @param {boolean} [isDeep] Specify a deep clone.
 * @returns {Object} Returns the initialized clone.
 */

/**
 * Initializes an object clone.
 *
 * @private
 * @param {Object} object The object to clone.
 * @returns {Object} Returns the initialized clone.
 */

/**
 * Internationalization conversion: convert buffer to requested character encoding
 *
 * @param {string} inCharset The input charset.
 * @param {string} outCharset The output charset.
 * @param {Buffer} buffer The buffer to be converted.
 *
 * @returns {Buffer} the converted buffer or false on failure.
 */

/**
 * Invert the given transform.
 * @param {!Transform} target Transform to be set as the inverse of
 *     the source transform.
 * @param {!Transform} source The source transform to invert.
 * @return {!Transform} The inverted (target) transform.
 */

/**
 * Is the given string a member of this set?
 *
 * @param String aStr
 */

/**
 * Is the linear ring oriented clockwise in a coordinate system with a bottom-left
 * coordinate origin? For a coordinate system with a top-left coordinate origin,
 * the ring's orientation is clockwise when this function returns false.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @return {boolean} Is clockwise.
 */

/**
 * It runs each task in series but stops whenever any of the functions were
 * successful. If one of the tasks were successful, the `callback` will be
 * passed the result of the successful task. If all tasks fail, the callback
 * will be passed the error and result (if any) of the final attempt.
 *
 * @name tryEach
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @category Control Flow
 * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection containing functions to
 * run, each function is passed a `callback(err, result)` it must call on
 * completion with an error `err` (which can be `null`) and an optional `result`
 * value.
 * @param {Function} [callback] - An optional callback which is called when one
 * of the tasks has succeeded, or all have failed. It receives the `err` and
 * `result` arguments of the last attempt at completing the `task`. Invoked with
 * (err, results).
 * @returns {Promise} a promise, if no callback is passed
 * @example
 * async.tryEach([
 *     function getDataFromFirstWebsite(callback) {
 *         // Try getting the data from the first website
 *         callback(err, data);
 *     },
 *     function getDataFromSecondWebsite(callback) {
 *         // First website failed,
 *         // Try getting the data from the backup website
 *         callback(err, data);
 *     }
 * ],
 * // optional callback
 * function(err, results) {
 *     Now do something with the data.
 * });
 *
 */

/**
 * Iterate over each mapping between an original source/line/column and a
 * generated line/column in this source map.
 *
 * @param Function aCallback
 *        The function that is called with each mapping.
 * @param Object aContext
 *        Optional. If specified, this object will be the value of `this` every
 *        time that `aCallback` is called.
 * @param aOrder
 *        Either `SourceMapConsumer.GENERATED_ORDER` or
 *        `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to
 *        iterate over the mappings sorted by the generated file's line/column
 *        order or the original's source/line/column order, respectively. Defaults to
 *        `SourceMapConsumer.GENERATED_ORDER`.
 */

/**
 * Iterate through internal items. This method takes the same arguments that
 * `Array.prototype.forEach` takes.
 *
 * NOTE: The order of the mappings is NOT guaranteed.
 */

/**
 * Joins the values to a string.
 *
 * The separator between elements is an empty string per default, you can define it with the optional parameter.
 *
 * <pre>
 *  {{ [1, 2, 3]|join('|') }}
 *  {# returns 1|2|3 #}
 *
 *  {{ [1, 2, 3]|join }}
 *  {# returns 123 #}
 * </pre>
 *
 * @param {any} value A value
 * @param {string} glue The separator
 * @param {string | null} and The separator for the last pair
 *
 * @returns {Promise<string>} The concatenated string
 */

/**
 * Joins two paths/URLs.
 *
 * @param aRoot The root path or URL.
 * @param aPath The path or URL to be joined with the root.
 *
 * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a
 *   scheme-relative URL: Then the scheme of aRoot, if any, is prepended
 *   first.
 * - Otherwise aPath is a path. If aRoot is a URL, then its path portion
 *   is updated with the result and aRoot is returned. Otherwise the result
 *   is returned.
 *   - If aPath is absolute, the result is aPath.
 *   - Otherwise the two paths are joined with a slash.
 * - Joining for example 'http://' and 'www.example.com' is also supported.
 */

/**
 * Key to use with {@link module:ol/Observable.unByKey}.
 * @typedef {Object} EventsKey
 * @property {ListenerFunction} listener Listener.
 * @property {import("./events/Target.js").EventTargetLike} target Target.
 * @property {string} type Type.
 * @api
 */

/**
 * Label style properties applied to all features.  At a minimum, a `text-value` must be provided.
 *
 * @typedef {Object} FlatText
 * @property {string|Array<string>} [text-value] Text content or rich text content. For plain text provide a string, which can
 * contain line breaks (`\n`). For rich text provide an array of text/font tuples. A tuple consists of the text to
 * render and the font to use (or `''` to use the text style's font). A line break has to be a separate tuple (i.e. `'\n', ''`).
 * **Example:** `['foo', 'bold 10px sans-serif', ' bar', 'italic 10px sans-serif', ' baz', '']` will yield "**foo** *bar* baz".
 * **Note:** Rich text is not supported for the immediate rendering API.
 * @property {string} [text-font] Font style as CSS `font` value, see:
 * https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/font. Default is `'10px sans-serif'`
 * @property {number} [text-max-angle=Math.PI/4] When `text-placement` is set to `'line'`, allow a maximum angle between adjacent characters.
 * The expected value is in radians, and the default is 45° (`Math.PI / 4`).
 * @property {number} [text-offset-x=0] Horizontal text offset in pixels. A positive will shift the text right.
 * @property {number} [text-offset-y=0] Vertical text offset in pixels. A positive will shift the text down.
 * @property {boolean} [text-overflow=false] For polygon labels or when `placement` is set to `'line'`, allow text to exceed
 * the width of the polygon at the label position or the length of the path that it follows.
 * @property {import("./Text.js").TextPlacement} [text-placement='point'] Text placement.
 * @property {number|import("../size.js").Size} [text-scale] Scale.
 * @property {boolean} [text-rotate-with-view=false] Whether to rotate the text with the view.
 * @property {number} [text-rotation=0] Rotation in radians (positive rotation clockwise).
 * @property {CanvasTextAlign} [text-align] Text alignment. Possible values: `'left'`, `'right'`, `'center'`, `'end'` or `'start'`.
 * Default is `'center'` for `text-placement: 'point'`. For `text-placement: 'line'`, the default is to let the renderer choose a
 * placement where `text-max-angle` is not exceeded.
 * @property {import('./Text.js').TextJustify} [text-justify] Text justification within the text box.
 * If not set, text is justified towards the `textAlign` anchor.
 * Otherwise, use options `'left'`, `'center'`, or `'right'` to justify the text within the text box.
 * **Note:** `text-justify` is ignored for immediate rendering and also for `text-placement: 'line'`.
 * @property {CanvasTextBaseline} [text-baseline='middle'] Text base line. Possible values: `'bottom'`, `'top'`, `'middle'`, `'alphabetic'`,
 * `'hanging'`, `'ideographic'`.
 * @property {Array<number>} [text-padding=[0, 0, 0, 0]] Padding in pixels around the text for decluttering and background. The order of
 * values in the array is `[top, right, bottom, left]`.
 * @property {import("../color.js").Color|import("../colorlike.js").ColorLike} [text-fill-color] The fill color.
 * @property {import("../color.js").Color|import("../colorlike.js").ColorLike} [text-background-fill-color] The fill color.
 * @property {import("../color.js").Color|import("../colorlike.js").ColorLike} [text-stroke-color] The stroke color.
 * @property {CanvasLineCap} [text-stroke-line-cap='round'] Line cap style: `butt`, `round`, or `square`.
 * @property {CanvasLineJoin} [text-stroke-line-join='round'] Line join style: `bevel`, `round`, or `miter`.
 * @property {Array<number>} [text-stroke-line-dash] Line dash pattern.
 * @property {number} [text-stroke-line-dash-offset=0] Line dash offset.
 * @property {number} [text-stroke-miter-limit=10] Miter limit.
 * @property {number} [text-stroke-width] Stroke pixel width.
 * @property {import("../color.js").Color|import("../colorlike.js").ColorLike} [text-background-stroke-color] The stroke color.
 * @property {CanvasLineCap} [text-background-stroke-line-cap='round'] Line cap style: `butt`, `round`, or `square`.
 * @property {CanvasLineJoin} [text-background-stroke-line-join='round'] Line join style: `bevel`, `round`, or `miter`.
 * @property {Array<number>} [text-background-stroke-line-dash] Line dash pattern.
 * @property {number} [text-background-stroke-line-dash-offset=0] Line dash offset.
 * @property {number} [text-background-stroke-miter-limit=10] Miter limit.
 * @property {number} [text-background-stroke-width] Stroke pixel width.
 */

/**
 * Lexes a template string.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Like ['doWhilst']{@link module:ControlFlow.doWhilst}, except the `test` is inverted. Note the
 * argument ordering differs from `until`.
 *
 * @name doUntil
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @see [async.doWhilst]{@link module:ControlFlow.doWhilst}
 * @category Control Flow
 * @param {AsyncFunction} iteratee - An async function which is called each time
 * `test` fails. Invoked with (callback).
 * @param {AsyncFunction} test - asynchronous truth test to perform after each
 * execution of `iteratee`. Invoked with (...args, callback), where `...args` are the
 * non-error args from the previous callback of `iteratee`
 * @param {Function} [callback] - A callback which is called after the test
 * function has passed and repeated execution of `iteratee` has stopped. `callback`
 * will be passed an error and any arguments passed to the final `iteratee`'s
 * callback. Invoked with (err, [results]);
 * @returns {Promise} a promise, if no callback is passed
 */

/**
 * Like [`each`]{@link module:Collections.each}, except that it passes the key (or index) as the second argument
 * to the iteratee.
 *
 * @name eachOf
 * @static
 * @memberOf module:Collections
 * @method
 * @alias forEachOf
 * @category Collection
 * @see [async.each]{@link module:Collections.each}
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - A function to apply to each
 * item in `coll`.
 * The `key` is the item's key, or index in the case of an array.
 * Invoked with (item, key, callback).
 * @param {Function} [callback] - A callback which is called when all
 * `iteratee` functions have finished, or an error occurs. Invoked with (err).
 * @returns {Promise} a promise, if a callback is omitted
 * @example
 *
 * // dev.json is a file containing a valid json object config for dev environment
 * // dev.json is a file containing a valid json object config for test environment
 * // prod.json is a file containing a valid json object config for prod environment
 * // invalid.json is a file with a malformed json object
 *
 * let configs = {}; //global variable
 * let validConfigFileMap = {dev: 'dev.json', test: 'test.json', prod: 'prod.json'};
 * let invalidConfigFileMap = {dev: 'dev.json', test: 'test.json', invalid: 'invalid.json'};
 *
 * // asynchronous function that reads a json file and parses the contents as json object
 * function parseFile(file, key, callback) {
 *     fs.readFile(file, "utf8", function(err, data) {
 *         if (err) return calback(err);
 *         try {
 *             configs[key] = JSON.parse(data);
 *         } catch (e) {
 *             return callback(e);
 *         }
 *         callback();
 *     });
 * }
 *
 * // Using callbacks
 * async.forEachOf(validConfigFileMap, parseFile, function (err) {
 *     if (err) {
 *         console.error(err);
 *     } else {
 *         console.log(configs);
 *         // configs is now a map of JSON data, e.g.
 *         // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json}
 *     }
 * });
 *
 * //Error handing
 * async.forEachOf(invalidConfigFileMap, parseFile, function (err) {
 *     if (err) {
 *         console.error(err);
 *         // JSON parse error exception
 *     } else {
 *         console.log(configs);
 *     }
 * });
 *
 * // Using Promises
 * async.forEachOf(validConfigFileMap, parseFile)
 * .then( () => {
 *     console.log(configs);
 *     // configs is now a map of JSON data, e.g.
 *     // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json}
 * }).catch( err => {
 *     console.error(err);
 * });
 *
 * //Error handing
 * async.forEachOf(invalidConfigFileMap, parseFile)
 * .then( () => {
 *     console.log(configs);
 * }).catch( err => {
 *     console.error(err);
 *     // JSON parse error exception
 * });
 *
 * // Using async/await
 * async () => {
 *     try {
 *         let result = await async.forEachOf(validConfigFileMap, parseFile);
 *         console.log(configs);
 *         // configs is now a map of JSON data, e.g.
 *         // { dev: //parsed dev.json, test: //parsed test.json, prod: //parsed prod.json}
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 * //Error handing
 * async () => {
 *     try {
 *         let result = await async.forEachOf(invalidConfigFileMap, parseFile);
 *         console.log(configs);
 *     }
 *     catch (err) {
 *         console.log(err);
 *         // JSON parse error exception
 *     }
 * }
 *
 */

/**
 * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between
 * each of `this.children`.
 *
 * @param aSep The separator.
 */

/**
 * Link GridPanel
 * 
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.LinkGridPanel
 * @extends     Tine.widgets.grid.PickerGridPanel
 * 
 * <p>Link GridPanel</p>
 * <p><pre>
 * </pre></p>
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * 
 * @param       {Object} config
 * @constructor
 * Create a new Tine.widgets.grid.LinkGridPanel
 *
 * @deprecated use tinerelationpickergridpanel
 */

/**
 * Listen for a certain type of event.
 * @function
 * @param {string|Array<string>} type The event type or array of event types.
 * @param {function((Event|import("./events/Event").default)): ?} listener The listener function.
 * @return {import("./events.js").EventsKey|Array<import("./events.js").EventsKey>} Unique key for the listener. If
 *     called with an array of event types as the first argument, the return
 *     will be an array of keys.
 * @api
 */

/**
 * Listen once for a certain type of event.
 * @function
 * @param {string|Array<string>} type The event type or array of event types.
 * @param {function((Event|import("./events/Event").default)): ?} listener The listener function.
 * @return {import("./events.js").EventsKey|Array<import("./events.js").EventsKey>} Unique key for the listener. If
 *     called with an array of event types as the first argument, the return
 *     will be an array of keys.
 * @api
 */

/**
 * Listener function. This function is called with an event object as argument.
 * When the function returns `false`, event propagation will stop.
 *
 * @typedef {function((Event|import("./events/Event.js").default)): (void|boolean)} ListenerFunction
 * @api
 */

/**
 * Loads a template from a string.
 *
 * <pre>
 * {{ include(template_from_string("Hello {{ name }}")) }}
 * </pre>
 *
 * @param {TwingTemplate} template A TwingTemplate instance
 * @param {string} string A template as a string or object implementing toString()
 * @param {string} name An optional name for the template to be used in error messages
 *
 * @returns {Promise<TwingTemplate>}
 */

/**
 * Loads template from the filesystem.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Loads templates from other loaders.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Logs the result of an [`async` function]{@link AsyncFunction} to the
 * `console` using `console.dir` to display the properties of the resulting object.
 * Only works in Node.js or in browsers that support `console.dir` and
 * `console.error` (such as FF and Chrome).
 * If multiple arguments are returned from the async function,
 * `console.dir` is called on each argument in order.
 *
 * @name dir
 * @static
 * @memberOf module:Utils
 * @method
 * @category Util
 * @param {AsyncFunction} function - The function you want to eventually apply
 * all arguments to.
 * @param {...*} arguments... - Any number of arguments to apply to the function.
 * @example
 *
 * // in a module
 * var hello = function(name, callback) {
 *     setTimeout(function() {
 *         callback(null, {hello: name});
 *     }, 1000);
 * };
 *
 * // in the node repl
 * node> async.dir(hello, 'world');
 * {hello: 'world'}
 */

/**
 * Logs the result of an `async` function to the `console`. Only works in
 * Node.js or in browsers that support `console.log` and `console.error` (such
 * as FF and Chrome). If multiple arguments are returned from the async
 * function, `console.log` is called on each argument in order.
 *
 * @name log
 * @static
 * @memberOf module:Utils
 * @method
 * @category Util
 * @param {AsyncFunction} function - The function you want to eventually apply
 * all arguments to.
 * @param {...*} arguments... - Any number of arguments to apply to the function.
 * @example
 *
 * // in a module
 * var hello = function(name, callback) {
 *     setTimeout(function() {
 *         callback(null, 'hello ' + name);
 *     }, 1000);
 * };
 *
 * // in the node repl
 * node> async.log(hello, 'world');
 * 'hello world'
 */

/**
 * Loops over each item of a sequence.
 *
 * <pre>
 * <ul>
 *  {% for user in users %}
 *    <li>{{ user.username|e }}</li>
 *  {% endfor %}
 * </ul>
 * </pre>
 */

/**
 * Lowercase a string.
 *
 * @param  {String} str
 * @return {String}
 */

/**
 * Main appStarter/picker app pile panel
 * 
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.AppPile
 * @extends     Ext.Panel
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 */

/**
 * Main appStarter/picker tab panel
 * 
 * @todo discuss: have a set of default apps?
 * 
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.AppTabsPanel
 * @extends     Ext.TabPanel
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 */

/**
 * Maintain a constant speed over time.
 * @param {number} t Input between 0 and 1.
 * @return {number} Output between 0 and 1.
 * @api
 */

/**
 * Make a path relative to a URL or another path.
 *
 * @param aRoot The root path or URL.
 * @param aPath The path or URL to be made relative to aRoot.
 */

/**
 * Mark that a method should not be used.
 * Returns a modified function which warns once by default.
 *
 * If `localStorage.noDeprecation = true` is set, then it is a no-op.
 *
 * If `localStorage.throwDeprecation = true` is set, then deprecated functions
 * will throw an Error when invoked.
 *
 * If `localStorage.traceDeprecation = true` is set, then deprecated functions
 * will invoke `console.trace()` instead of `console.error()`.
 *
 * @param {Function} fn - the function to deprecate
 * @param {String} msg - the string to print to the console when `fn` is invoked
 * @returns {Function} a new "deprecated" version of `fn`
 * @api public
 */

/**
 * Marks a content as safe.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Marks a section of a template as being reusable.
 *
 * <pre>
 *  {% block head %}
 *    <link rel="stylesheet" href="style.css" />
 *    <title>{% block title %}{% endblock %} - My Webpage</title>
 *  {% endblock %}
 * </pre>
 */

/**
 * Marks a section of a template to be escaped or not.
 */

/**
 * Marks a variable as being safe.
 *
 * @param {string | TwingMarkup} string A variable
 *
 * @return {Promise<string>}
 */

/**
 * Match the basename of a filepath.
 *
 * ```js
 * const picomatch = require('picomatch');
 * // picomatch.matchBase(input, glob[, options]);
 * console.log(picomatch.matchBase('foo/bar.js', '*.js'); // true
 * ```
 * @param {String} `input` String to test.
 * @param {RegExp|String} `glob` Glob pattern or regex created by [.makeRe](#makeRe).
 * @return {Boolean}
 * @api public
 */

/**
 * Measure text width using a cache.
 * @param {string} font The font.
 * @param {string} text The text to measure.
 * @param {Object<string, number>} cache A lookup of cached widths by text.
 * @return {number} The text width.
 */

/**
 * Merges an array with another one.
 *
 * <pre>
 *  {% set items = { 'apple': 'fruit', 'orange': 'fruit' } %}
 *
 *  {% set items = items|merge({ 'peugeot': 'car' }) %}
 *
 *  {# items now contains { 'apple': 'fruit', 'orange': 'fruit', 'peugeot': 'car' } #}
 * </pre>
 *
 * @param {any} iterable1 An iterable
 * @param {any} iterable2 An iterable
 *
 * @return {Promise<Map<any, any>>} The merged map
 */

/**
 * Meters per unit lookup table.
 * @const
 * @type {MetersPerUnitLookup}
 * @api
 */

/**
 * Model of a PickerRecord
 * 
 * @constructor {Ext.data.Record}
 * 
 * @deprecated
 */

/**
 * Model of a container
 */

/**
 * Model of a country
 */

/**
 * Model of a customfield definition
 */

/**
 * Model of a customfield value
 */

/**
 * Model of a generalised account (user or group)
 */

/**
 * Model of a grant
 */

/**
 * Model of a language
 */

/**
 * Model of a note
 * 
 * @constructor {Ext.data.Record}
 */

/**
 * Model of a preference
 * 
 * @constructor {Ext.data.Record}
 */

/**
 * Model of a role
 */

/**
 * Model of a tag
 * 
 * @constructor {Record}
 */

/**
 * Model of a timezone
 */

/**
 * Model of an alarm
 * 
 * @constructor {Ext.data.Record}
 */

/**
 * Model of filter
 * 
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.FilterModel
 * @extends     Ext.util.Observable
 * @constructor
 */

/**
 * Model of filter
 * 
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.MonthFilter
 * @extends     Tine.widgets.grid.FilterModel
 */

/**
 * Modifies the provided coordinate in-place to be within the real world
 * extent. The lower projection extent boundary is inclusive, the upper one
 * exclusive.
 *
 * @param {Coordinate} coordinate Coordinate.
 * @param {import("./proj/Projection.js").default} projection Projection.
 * @return {Coordinate} The coordinate within the real world extent.
 */

/**
 * Modifies the provided extent in-place to be within the real world
 * extent.
 *
 * @param {Extent} extent Extent.
 * @param {import("./proj/Projection.js").default} projection Projection
 * @return {Extent} The extent within the real world extent.
 */

/**
 * Modify an extent to include another extent.
 * @param {Extent} extent1 The extent to be modified.
 * @param {Extent} extent2 The extent that will be included in the first.
 * @return {Extent} A reference to the first (extended) extent.
 * @api
 */

/**
 * Module exports.
 */

/**
 * MunicipalityKeyGridPanel
 * 
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.MunicipalityKeyGridPanel
 * @extends     Tine.widgets.grid.GridPanel
 * 
 * <p>MunicipalityKey Grid Panel</p>
 *
 * @param       {Object} config
 * @constructor
 * Create a new Tine.Tinebase.MunicipalityKeyGridPanel
 */

/**
 * NOTE: device type is a combination of mfa_config_id (should be speaking) and provider
 *       this way we can distinguish between two mfa configs of the same provider!
 *       
 * @param config_class
 * @param metadata
 * @param record
 * @return {string|string}
 */

/**
 * NOTE: init.js is included before the tine2.0 code!
 */

/**
 * Namespace alloted for extensions to the framework.
 * @property ux
 * @type Object
 */

/**
 * Need this for ArrowEvents to navigate.
 */

/**
 * Noop implementation of TwingLoaderInterface.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Normalizes a path, or the path portion of a URL:
 *
 * - Replaces consecutive slashes with one slash.
 * - Removes unnecessary '.' parts.
 * - Removes unnecessary '<dir>/..' parts.
 *
 * Based on code in the Node.js 'path' core module.
 *
 * @param aPath The path or url to normalize.
 */

/**
 * Number format filter.
 *
 * All of the formatting options can be left null, in that case the defaults will
 * be used.  Supplying any of the parameters will override the defaults set in the
 * environment object.
 *
 * @param {TwingTemplate} template
 * @param {*} number A float/int/string of the number to format
 * @param {number} decimal the number of decimal points to display
 * @param {string} decimalPoint the character(s) to use for the decimal point
 * @param {string} thousandSep the character(s) to use for the thousands separator
 *
 * @returns {Promise<string>} The formatted number
 */

/**
 * Object literal with config options for interactions.
 * @typedef {Object} InteractionOptions
 * @property {function(import("../MapBrowserEvent.js").default):boolean} handleEvent
 * Method called by the map to notify the interaction that a browser event was
 * dispatched to the map. If the function returns a falsy value, propagation of
 * the event to other interactions in the map's interactions chain will be
 * prevented (this includes functions with no explicit return). The interactions
 * are traversed in reverse order of the interactions collection of the map.
 */

/**
 * Object literal with config options for the map.
 * @typedef {Object} MapOptions
 * @property {Collection<import("./control/Control.js").default>|Array<import("./control/Control.js").default>} [controls]
 * Controls initially added to the map. If not specified,
 * {@link module:ol/control/defaults.defaults} is used.
 * @property {number} [pixelRatio=window.devicePixelRatio] The ratio between
 * physical pixels and device-independent pixels (dips) on the device.
 * @property {Collection<import("./interaction/Interaction.js").default>|Array<import("./interaction/Interaction.js").default>} [interactions]
 * Interactions that are initially added to the map. If not specified,
 * {@link module:ol/interaction/defaults.defaults} is used.
 * @property {HTMLElement|Document|string} [keyboardEventTarget] The element to
 * listen to keyboard events on. This determines when the `KeyboardPan` and
 * `KeyboardZoom` interactions trigger. For example, if this option is set to
 * `document` the keyboard interactions will always trigger. If this option is
 * not specified, the element the library listens to keyboard events on is the
 * map target (i.e. the user-provided div for the map). If this is not
 * `document`, the target element needs to be focused for key events to be
 * emitted, requiring that the target element has a `tabindex` attribute.
 * @property {Array<import("./layer/Base.js").default>|Collection<import("./layer/Base.js").default>|LayerGroup} [layers]
 * Layers. If this is not defined, a map with no layers will be rendered. Note
 * that layers are rendered in the order supplied, so if you want, for example,
 * a vector layer to appear on top of a tile layer, it must come after the tile
 * layer.
 * @property {number} [maxTilesLoading=16] Maximum number tiles to load
 * simultaneously.
 * @property {number} [moveTolerance=1] The minimum distance in pixels the
 * cursor must move to be detected as a map move event instead of a click.
 * Increasing this value can make it easier to click on the map.
 * @property {Collection<import("./Overlay.js").default>|Array<import("./Overlay.js").default>} [overlays]
 * Overlays initially added to the map. By default, no overlays are added.
 * @property {HTMLElement|string} [target] The container for the map, either the
 * element itself or the `id` of the element. If not specified at construction
 * time, {@link module:ol/Map~Map#setTarget} must be called for the map to be
 * rendered. If passed by element, the container can be in a secondary document.
 * **Note:** CSS `transform` support for the target element is limited to `scale`.
 * @property {View|Promise<import("./View.js").ViewOptions>} [view] The map's view.  No layer sources will be
 * fetched unless this is specified at construction time or through
 * {@link module:ol/Map~Map#setView}.
 */

/**
 * Object literal with options for the {@link getLength} or {@link getArea}
 * functions.
 * @typedef {Object} SphereMetricOptions
 * @property {import("./proj.js").ProjectionLike} [projection='EPSG:3857']
 * Projection of the  geometry.  By default, the geometry is assumed to be in
 * Web Mercator.
 * @property {number} [radius=6371008.8] Sphere radius.  By default, the
 * [mean Earth radius](https://en.wikipedia.org/wiki/Earth_radius#Mean_radius)
 * for the WGS84 ellipsoid is used.
 */

/**
 * OpenLayers version.
 * @type {string}
 */

/**
 * Orient coordinates in a flat array of linear rings.  By default, rings
 * are oriented following the left-hand rule (clockwise for exterior and
 * counter-clockwise for interior rings).  To orient according to the
 * right-hand rule, use the `right` argument.
 *
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<Array<number>>} endss Array of array of end indexes.
 * @param {number} stride Stride.
 * @param {boolean} [right] Follow the right-hand rule for orientation.
 * @return {number} End.
 */

/**
 * Orient coordinates in a flat array of linear rings.  By default, rings
 * are oriented following the left-hand rule (clockwise for exterior and
 * counter-clockwise for interior rings).  To orient according to the
 * right-hand rule, use the `right` argument.
 *
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {Array<number>} ends Ends.
 * @param {number} stride Stride.
 * @param {boolean} [right] Follow the right-hand rule for orientation.
 * @return {number} End.
 */

/**
 * Orientation constant - Create a horizontal SplitBar
 * @static
 * @type Number
 */

/**
 * Orientation constant - Create a vertical SplitBar
 * @static
 * @type Number
 */

/**
 * Original version by harley.333
 * Updated 5/6/2011 by taylorbarstow
 *
 * FOUND HERE: http://www.sencha.com/forum/showthread.php?53118-Multiple-Cells-Selection-Model
 *
 * @licence @see https://www.sencha.com/legal/terms-of-use/
 *   Code posted on Sencha Forum is made available as is and we license to customers any
 *   rights we may have to such code under our commercial license agreement. This Code is
 *   not officially supported. Any such code is subject to the restrictions of the license
 *   for the related Sencha product.
 *
 * @class Ext.ux.grid.MultiCellSelectionModel
 * @extends Ext.grid.AbstractSelectionModel
 * Supports multiple selections and keyboard selection/navigation.
 * @constructor
 * @param {Object} config
 */

/**
 * Override how getXTypes works so that it doesn't require that every single class has
 * an xtype registered for it.
 */

/**
 * Paging toolbar with build in selection support
 *
 * @namespace   Ext.ux.grid
 * @class       Ext.ux.grid.PagingToolbar
 * @extends     Ext.PagingToolbar
 * @constructor
 * @param       {Object} config
 */

/**
 * Parse a glob pattern to create the source string for a regular
 * expression.
 *
 * ```js
 * const mm = require('micromatch');
 * const state = mm.parse(pattern[, options]);
 * ```
 * @param {String} `glob`
 * @param {Object} `options`
 * @return {Object} Returns an object with useful properties and output to be used as regex source string.
 * @api public
 */

/**
 * Parse a glob pattern to create the source string for a regular
 * expression.
 *
 * ```js
 * const picomatch = require('picomatch');
 * const result = picomatch.parse(pattern[, options]);
 * ```
 * @param {String} `pattern`
 * @param {Object} `options`
 * @return {Object} Returns an object with useful properties and output to be used as a regex source string.
 * @api public
 */

/**
 * Parse the given `str` with the given `options`.
 *
 * ```js
 * // braces.parse(pattern, [, options]);
 * const ast = braces.parse('a/{b,c}/d');
 * console.log(ast);
 * ```
 * @param {String} pattern Brace pattern to parse
 * @param {Object} options
 * @return {Object} Returns an AST
 * @api public
 */

/**
 * Parse the mappings in a string in to a data structure which we can easily
 * query (the ordered arrays in the `this.__generatedMappings` and
 * `this.__originalMappings` properties).
 */

/**
 * PasswordGenerator.
 *
 * @param config
 * @constructor
 */

/**
 * Percentage select combo box
 * 
 * @namespace   Ext.ux
 * @class       Ext.ux.PercentCombo
 * @extends     Ext.form.ComboBox
 */

/**
 * Performs a
 * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
 * comparison between two values to determine if they are equivalent.
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Lang
 * @param {*} value The value to compare.
 * @param {*} other The other value to compare.
 * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
 * @example
 *
 * var object = { 'a': 1 };
 * var other = { 'a': 1 };
 *
 * _.eq(object, object);
 * // => true
 *
 * _.eq(object, other);
 * // => false
 *
 * _.eq('a', 'a');
 * // => true
 *
 * _.eq('a', Object('a'));
 * // => false
 *
 * _.eq(NaN, NaN);
 * // => true
 */

/**
 * Picker GridPanel
 *
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.PickerGridPanel
 * @extends     Ext.grid.GridPanel
 *
 * <p>Picker GridPanel</p>
 * <p><pre>
 * </pre></p>
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2010 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 * @param       {Object} config
 * @constructor
 * Create a new Tine.widgets.grid.PickerGridPanel
 */

/**
 * Picomatch constants.
 * @return {Object}
 */

/**
 * Placement constant - The resizing element is positioned above the splitter element
 * @static
 * @type Number
 */

/**
 * Placement constant - The resizing element is positioned under splitter element
 * @static
 * @type Number
 */

/**
 * Placement constant - The resizing element is to the left of the splitter element
 * @static
 * @type Number
 */

/**
 * Placement constant - The resizing element is to the right of the splitter element
 * @static
 * @type Number
 */

/**
 * Posix glob regex
 */

/**
 * Process the given brace `pattern`.
 *
 * ```js
 * const { braces } = require('micromatch');
 * console.log(braces('foo/{a,b,c}/bar'));
 * //=> [ 'foo/(a|b|c)/bar' ]
 *
 * console.log(braces('foo/{a,b,c}/bar', { expand: true }));
 * //=> [ 'foo/a/bar', 'foo/b/bar', 'foo/c/bar' ]
 * ```
 * @param {String} `pattern` String with brace pattern to process.
 * @param {Object} `options` Any [options](#options) to change how expansion is performed. See the [braces][] library for all available options.
 * @return {Array}
 * @api public
 */

/**
 * Processes a brace pattern and returns either an expanded array
 * (if `options.expand` is true), a highly optimized regex-compatible string.
 * This method is called by the main [braces](#braces) function.
 *
 * ```js
 * const braces = require('braces');
 * console.log(braces.create('user-{200..300}/project-{a,b,c}-{1..10}'))
 * //=> 'user-(20[0-9]|2[1-9][0-9]|300)/project-(a|b|c)-([1-9]|10)'
 * ```
 * @param {String} `pattern` Brace pattern
 * @param {Object} `options`
 * @return {Array} Returns an array of expanded values.
 * @api public
 */

/**
 * Produces a new collection of values by mapping each value in `coll` through
 * the `iteratee` function. The `iteratee` is called with an item from `coll`
 * and a callback for when it has finished processing. Each of these callbacks
 * takes 2 arguments: an `error`, and the transformed item from `coll`. If
 * `iteratee` passes an error to its callback, the main `callback` (for the
 * `map` function) is immediately called with the error.
 *
 * Note, that since this function applies the `iteratee` to each item in
 * parallel, there is no guarantee that the `iteratee` functions will complete
 * in order. However, the results array will be in the same order as the
 * original `coll`.
 *
 * If `map` is passed an Object, the results will be an Array.  The results
 * will roughly be in the order of the original Objects' keys (but this can
 * vary across JavaScript engines).
 *
 * @name map
 * @static
 * @memberOf module:Collections
 * @method
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - An async function to apply to each item in
 * `coll`.
 * The iteratee should complete with the transformed item.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called when all `iteratee`
 * functions have finished, or an error occurs. Results is an Array of the
 * transformed items from the `coll`. Invoked with (err, results).
 * @returns {Promise} a promise, if no callback is passed
 * @example
 *
 * // file1.txt is a file that is 1000 bytes in size
 * // file2.txt is a file that is 2000 bytes in size
 * // file3.txt is a file that is 3000 bytes in size
 * // file4.txt does not exist
 *
 * const fileList = ['file1.txt','file2.txt','file3.txt'];
 * const withMissingFileList = ['file1.txt','file2.txt','file4.txt'];
 *
 * // asynchronous function that returns the file size in bytes
 * function getFileSizeInBytes(file, callback) {
 *     fs.stat(file, function(err, stat) {
 *         if (err) {
 *             return callback(err);
 *         }
 *         callback(null, stat.size);
 *     });
 * }
 *
 * // Using callbacks
 * async.map(fileList, getFileSizeInBytes, function(err, results) {
 *     if (err) {
 *         console.log(err);
 *     } else {
 *         console.log(results);
 *         // results is now an array of the file size in bytes for each file, e.g.
 *         // [ 1000, 2000, 3000]
 *     }
 * });
 *
 * // Error Handling
 * async.map(withMissingFileList, getFileSizeInBytes, function(err, results) {
 *     if (err) {
 *         console.log(err);
 *         // [ Error: ENOENT: no such file or directory ]
 *     } else {
 *         console.log(results);
 *     }
 * });
 *
 * // Using Promises
 * async.map(fileList, getFileSizeInBytes)
 * .then( results => {
 *     console.log(results);
 *     // results is now an array of the file size in bytes for each file, e.g.
 *     // [ 1000, 2000, 3000]
 * }).catch( err => {
 *     console.log(err);
 * });
 *
 * // Error Handling
 * async.map(withMissingFileList, getFileSizeInBytes)
 * .then( results => {
 *     console.log(results);
 * }).catch( err => {
 *     console.log(err);
 *     // [ Error: ENOENT: no such file or directory ]
 * });
 *
 * // Using async/await
 * async () => {
 *     try {
 *         let results = await async.map(fileList, getFileSizeInBytes);
 *         console.log(results);
 *         // results is now an array of the file size in bytes for each file, e.g.
 *         // [ 1000, 2000, 3000]
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 * // Error Handling
 * async () => {
 *     try {
 *         let results = await async.map(withMissingFileList, getFileSizeInBytes);
 *         console.log(results);
 *     }
 *     catch (err) {
 *         console.log(err);
 *         // [ Error: ENOENT: no such file or directory ]
 *     }
 * }
 *
 */

/**
 * Projections equal to EPSG:3857.
 *
 * @const
 * @type {Array<import("./Projection.js").default>}
 */

/**
 * Projections equal to EPSG:4326.
 *
 * @const
 * @type {Array<import("./Projection.js").default>}
 */

/**
 * Provide the JIT with a nice shape / hidden class.
 */

/**
 * Recursive implementation of binary search.
 *
 * @param aLow Indices here and lower do not contain the needle.
 * @param aHigh Indices here and higher do not contain the needle.
 * @param aNeedle The element being searched for.
 * @param aHaystack The non-empty array being searched.
 * @param aCompare Function which takes two elements and returns -1, 0, or 1.
 * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or
 *     'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the
 *     closest element that is smaller than or greater than the one we are
 *     searching for, respectively, if the exact element cannot be found.
 */

/**
 * Reduce an array of text nodes.
 */

/**
 * Reduces `coll` into a single value using an async `iteratee` to return each
 * successive step. `memo` is the initial state of the reduction. This function
 * only operates in series.
 *
 * For performance reasons, it may make sense to split a call to this function
 * into a parallel map, and then use the normal `Array.prototype.reduce` on the
 * results. This function is for situations where each step in the reduction
 * needs to be async; if you can get the data before reducing it, then it's
 * probably a good idea to do so.
 *
 * @name reduce
 * @static
 * @memberOf module:Collections
 * @method
 * @alias inject
 * @alias foldl
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {*} memo - The initial state of the reduction.
 * @param {AsyncFunction} iteratee - A function applied to each item in the
 * array to produce the next step in the reduction.
 * The `iteratee` should complete with the next state of the reduction.
 * If the iteratee completes with an error, the reduction is stopped and the
 * main `callback` is immediately called with the error.
 * Invoked with (memo, item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished. Result is the reduced value. Invoked with
 * (err, result).
 * @returns {Promise} a promise, if no callback is passed
 * @example
 *
 * // file1.txt is a file that is 1000 bytes in size
 * // file2.txt is a file that is 2000 bytes in size
 * // file3.txt is a file that is 3000 bytes in size
 * // file4.txt does not exist
 *
 * const fileList = ['file1.txt','file2.txt','file3.txt'];
 * const withMissingFileList = ['file1.txt','file2.txt','file3.txt', 'file4.txt'];
 *
 * // asynchronous function that computes the file size in bytes
 * // file size is added to the memoized value, then returned
 * function getFileSizeInBytes(memo, file, callback) {
 *     fs.stat(file, function(err, stat) {
 *         if (err) {
 *             return callback(err);
 *         }
 *         callback(null, memo + stat.size);
 *     });
 * }
 *
 * // Using callbacks
 * async.reduce(fileList, 0, getFileSizeInBytes, function(err, result) {
 *     if (err) {
 *         console.log(err);
 *     } else {
 *         console.log(result);
 *         // 6000
 *         // which is the sum of the file sizes of the three files
 *     }
 * });
 *
 * // Error Handling
 * async.reduce(withMissingFileList, 0, getFileSizeInBytes, function(err, result) {
 *     if (err) {
 *         console.log(err);
 *         // [ Error: ENOENT: no such file or directory ]
 *     } else {
 *         console.log(result);
 *     }
 * });
 *
 * // Using Promises
 * async.reduce(fileList, 0, getFileSizeInBytes)
 * .then( result => {
 *     console.log(result);
 *     // 6000
 *     // which is the sum of the file sizes of the three files
 * }).catch( err => {
 *     console.log(err);
 * });
 *
 * // Error Handling
 * async.reduce(withMissingFileList, 0, getFileSizeInBytes)
 * .then( result => {
 *     console.log(result);
 * }).catch( err => {
 *     console.log(err);
 *     // [ Error: ENOENT: no such file or directory ]
 * });
 *
 * // Using async/await
 * async () => {
 *     try {
 *         let result = await async.reduce(fileList, 0, getFileSizeInBytes);
 *         console.log(result);
 *         // 6000
 *         // which is the sum of the file sizes of the three files
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 * // Error Handling
 * async () => {
 *     try {
 *         let result = await async.reduce(withMissingFileList, 0, getFileSizeInBytes);
 *         console.log(result);
 *     }
 *     catch (err) {
 *         console.log(err);
 *         // [ Error: ENOENT: no such file or directory ]
 *     }
 * }
 *
 */

/**
 * RegexParser
 * Parses a string input.
 *
 * @name RegexParser
 * @function
 * @param {String} input The string input that should be parsed as regular
 * expression.
 * @return {RegExp} The parsed regular expression.
 */

/**
 * Registers a conversion function to convert coordinates from the source
 * projection to the destination projection.
 *
 * @param {import("./Projection.js").default} source Source.
 * @param {import("./Projection.js").default} destination Destination.
 * @param {import("../proj.js").TransformFunction} transformFn Transform.
 */

/**
 * Registers a one-off event listener on an event target. Inspired by
 * https://google.github.io/closure-library/api/source/closure/goog/events/events.js.src.html
 *
 * This function efficiently binds a `listener` as self-unregistering listener
 * to a `this` object, and returns a key for use with
 * {@link module:ol/events.unlistenByKey} in case the listener needs to be
 * unregistered before it is called.
 *
 * When {@link module:ol/events.listen} is called with the same arguments after this
 * function, the self-unregistering listener will be turned into a permanent
 * listener.
 *
 * @param {import("./events/Target.js").EventTargetLike} target Event target.
 * @param {string} type Event type.
 * @param {ListenerFunction} listener Listener.
 * @param {Object} [thisArg] Object referenced by the `this` keyword in the
 *     listener. Default is the `target`.
 * @return {EventsKey} Key for unlistenByKey.
 */

/**
 * Registers an event listener on an event target. Inspired by
 * https://google.github.io/closure-library/api/source/closure/goog/events/events.js.src.html
 *
 * This function efficiently binds a `listener` to a `this` object, and returns
 * a key for use with {@link module:ol/events.unlistenByKey}.
 *
 * @param {import("./events/Target.js").EventTargetLike} target Event target.
 * @param {string} type Event type.
 * @param {ListenerFunction} listener Listener.
 * @param {Object} [thisArg] Object referenced by the `this` keyword in the
 *     listener. Default is the `target`.
 * @param {boolean} [once] If true, add the listener as one-off listener.
 * @return {EventsKey} Unique key for the listener.
 */

/**
 * Registers transformation functions that don't alter coordinates. Those allow
 * to transform between projections with equal meaning.
 *
 * @param {Array<Projection>} projections Projections.
 * @api
 */

/**
 * Registers transformation functions to convert coordinates in any projection
 * in projection1 to any projection in projection2.
 *
 * @param {Array<Projection>} projections1 Projections with equal
 *     meaning.
 * @param {Array<Projection>} projections2 Projections with equal
 *     meaning.
 * @param {TransformFunction} forwardTransform Transformation from any
 *   projection in projection1 to any projection in projection2.
 * @param {TransformFunction} inverseTransform Transform from any projection
 *   in projection2 to any projection in projection1..
 */

/**
 * Regular expression for matching potential named color style strings.
 * @const
 * @type {RegExp}
 * @private
 */

/**
 * Regular shape style properties for rendering point features.  At least `shape-points` must be provided.
 *
 * @typedef {Object} FlatShape
 * @property {number} [shape-points] Number of points for stars and regular polygons. In case of a polygon, the number of points
 * is the number of sides.
 * @property {import("../color.js").Color|import("../colorlike.js").ColorLike} [shape-fill-color] The fill color.
 * @property {import("../color.js").Color|import("../colorlike.js").ColorLike} [shape-stroke-color] The stroke color.
 * @property {number} [shape-stroke-width] Stroke pixel width.
 * @property {CanvasLineCap} [shape-stroke-line-cap='round'] Line cap style: `butt`, `round`, or `square`.
 * @property {CanvasLineJoin} [shape-stroke-line-join='round'] Line join style: `bevel`, `round`, or `miter`.
 * @property {Array<number>} [shape-stroke-line-dash] Line dash pattern.
 * @property {number} [shape-stroke-line-dash-offset=0] Line dash offset.
 * @property {number} [shape-stroke-miter-limit=10] Miter limit.
 * @property {number} [shape-radius] Radius of a regular polygon.
 * @property {number} [shape-radius1] First radius of a star. Ignored if radius is set.
 * @property {number} [shape-radius2] Second radius of a star.
 * @property {number} [shape-angle=0] Shape's angle in radians. A value of 0 will have one of the shape's point facing up.
 * @property {Array<number>} [shape-displacement=[0,0]] Displacement of the shape
 * @property {number} [shape-rotation=0] Rotation in radians (positive rotation clockwise).
 * @property {boolean} [shape-rotate-with-view=false] Whether to rotate the shape with the view.
 * @property {number|import("../size.js").Size} [shape-scale=1] Scale. Unless two dimensional scaling is required a better
 * result may be obtained with appropriate settings for `shape-radius`, `shape-radius1` and `shape-radius2`.
 * @property {"declutter"|"obstacle"|"none"|undefined} [shape-declutter-mode] Declutter mode.
 */

/**
 * Relationship to an extent.
 * @enum {number}
 */

/**
 * Releases canvas memory to avoid exceeding memory limits in Safari.
 * See https://pqina.nl/blog/total-canvas-memory-use-exceeds-the-maximum-limit/
 * @param {CanvasRenderingContext2D} context Context.
 */

/**
 * Removes <b>all</b> added captures from the Observable.
 * @param {Observable} o The Observable to release
 * @static
 */

/**
 * Removes `key` and its value from the hash.
 *
 * @private
 * @name delete
 * @memberOf Hash
 * @param {Object} hash The hash to modify.
 * @param {string} key The key of the value to remove.
 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
 */

/**
 * Removes `key` and its value from the list cache.
 *
 * @private
 * @name delete
 * @memberOf ListCache
 * @param {string} key The key of the value to remove.
 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
 */

/**
 * Removes `key` and its value from the map.
 *
 * @private
 * @name delete
 * @memberOf MapCache
 * @param {string} key The key of the value to remove.
 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
 */

/**
 * Removes `key` and its value from the stack.
 *
 * @private
 * @name delete
 * @memberOf Stack
 * @param {string} key The key of the value to remove.
 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
 */

/**
 * Removes all key-value entries from the hash.
 *
 * @private
 * @name clear
 * @memberOf Hash
 */

/**
 * Removes all key-value entries from the list cache.
 *
 * @private
 * @name clear
 * @memberOf ListCache
 */

/**
 * Removes all key-value entries from the map.
 *
 * @private
 * @name clear
 * @memberOf MapCache
 */

/**
 * Removes all key-value entries from the stack.
 *
 * @private
 * @name clear
 * @memberOf Stack
 */

/**
 * Removes all properties from an object.
 * @param {Object} object The object to clear.
 */

/**
 * Removes an event handler (shorthand for {@link #removeListener}.)
 * @param {String}   eventName     The type of event the handler was associated with.
 * @param {Function} handler       The handler to remove. <b>This must be a reference to the function passed into the {@link #addListener} call.</b>
 * @param {Object}   scope         (optional) The scope originally specified for the handler.
 * @method
 */

/**
 * Removes an event listener using the key returned by `on()` or `once()`.
 * @param {import("./events.js").EventsKey|Array<import("./events.js").EventsKey>} key The key returned by `on()`
 *     or `once()` (or an array of keys).
 * @api
 */

/**
 * Removes whitespaces between HTML tags.
 *
 * @return {Promise<string>}
 */

/**
 * Render any EditDialog.
 */

/**
 * Render the source map being generated to a string.
 */

/**
 * Renders a menu button to the upper right corner of the grid this plugin is
 * bound to. The menu items will represent the column model and hide/show
 * the columns on click.
 *
 * Note that you have to set the enableHdMenu-property of the bound grid to
 * "false" so this plugin does not interfere with the header menus of the grid's view.
 *
 * @namespace   Ext.ux.grid
 * @class       Ext.ux.grid.GridViewMenuPlugin
 * @extends     Object
 * @constructor
 *
 * @author Thorsten Suckow-Homberg <ts@siteartwork.de>
 */

/**
 * Renders a percentage value to a percentage bar
 * @constructor
 */

/**
 * Renders a percentage value to a percentage bar / uploadrow
 * @constructor
 */

/**
 * Renders a template.
 *
 * @param {TwingTemplate} template
 * @param {TwingContext<any, any>} context
 * @param {TwingSource} from
 * @param {TwingOutputBuffer} outputBuffer
 * @param {string | Map<number, string | TwingTemplate>} templates The template to render or an array of templates to try consecutively
 * @param {any} variables The variables to pass to the template
 * @param {boolean} withContext
 * @param {boolean} ignoreMissing Whether to ignore missing templates or not
 * @param {boolean} sandboxed Whether to sandbox the template or not
 *
 * @returns {Promise<string>} The rendered template
 */

/**
 * Renders the source data into new canvas based on the triangulation.
 *
 * @param {number} width Width of the canvas.
 * @param {number} height Height of the canvas.
 * @param {number} pixelRatio Pixel ratio.
 * @param {number} sourceResolution Source resolution.
 * @param {import("./extent.js").Extent} sourceExtent Extent of the data source.
 * @param {number} targetResolution Target resolution.
 * @param {import("./extent.js").Extent} targetExtent Target extent.
 * @param {import("./reproj/Triangulation.js").default} triangulation Calculated triangulation.
 * @param {Array<ImageExtent>} sources Array of sources.
 * @param {number} gutter Gutter of the sources.
 * @param {boolean} [renderEdges] Render reprojection edges.
 * @param {boolean} [interpolate] Use linear interpolation when resampling.
 * @return {HTMLCanvasElement} Canvas with reprojected data.
 */

/**
 * Repeatedly call `iteratee` until `test` returns `true`. Calls `callback` when
 * stopped, or an error occurs. `callback` will be passed an error and any
 * arguments passed to the final `iteratee`'s callback.
 *
 * The inverse of [whilst]{@link module:ControlFlow.whilst}.
 *
 * @name until
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @see [async.whilst]{@link module:ControlFlow.whilst}
 * @category Control Flow
 * @param {AsyncFunction} test - asynchronous truth test to perform before each
 * execution of `iteratee`. Invoked with (callback).
 * @param {AsyncFunction} iteratee - An async function which is called each time
 * `test` fails. Invoked with (callback).
 * @param {Function} [callback] - A callback which is called after the test
 * function has passed and repeated execution of `iteratee` has stopped. `callback`
 * will be passed an error and any arguments passed to the final `iteratee`'s
 * callback. Invoked with (err, [results]);
 * @returns {Promise} a promise, if a callback is not passed
 *
 * @example
 * const results = []
 * let finished = false
 * async.until(function test(cb) {
 *     cb(null, finished)
 * }, function iter(next) {
 *     fetchPage(url, (err, body) => {
 *         if (err) return next(err)
 *         results = results.concat(body.objects)
 *         finished = !!body.next
 *         next(err)
 *     })
 * }, function done (err) {
 *     // all pages have been fetched
 * })
 */

/**
 * Repeatedly call `iteratee`, while `test` returns `true`. Calls `callback` when
 * stopped, or an error occurs.
 *
 * @name whilst
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @category Control Flow
 * @param {AsyncFunction} test - asynchronous truth test to perform before each
 * execution of `iteratee`. Invoked with ().
 * @param {AsyncFunction} iteratee - An async function which is called each time
 * `test` passes. Invoked with (callback).
 * @param {Function} [callback] - A callback which is called after the test
 * function has failed and repeated execution of `iteratee` has stopped. `callback`
 * will be passed an error and any arguments passed to the final `iteratee`'s
 * callback. Invoked with (err, [results]);
 * @returns {Promise} a promise, if no callback is passed
 * @example
 *
 * var count = 0;
 * async.whilst(
 *     function test(cb) { cb(null, count < 5); },
 *     function iter(callback) {
 *         count++;
 *         setTimeout(function() {
 *             callback(null, count);
 *         }, 1000);
 *     },
 *     function (err, n) {
 *         // 5 seconds have passed, n = 5
 *     }
 * );
 */

/**
 * Replaces strings within a string.
 *
 * @param {string} str String to replace in
 * @param {Array<string>|Map<string, string>} from Replace values
 *
 * @returns {Promise<string>}
 */

/**
 * Represents a block call node.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Represents a body node.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Represents a deprecated node.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Represents a do node.
 *
 * The do tag works exactly like the regular variable expression ({{ ... }}) just that it doesn't print anything:
 * {% do 1 + 2 %}
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 * @author Eric Morand <eric.morand@gmail.com>
 */

/**
 * Represents a macro node.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Represents a module node that compiles into a JavaScript module.
 */

/**
 * Represents a verbatim node.
 *
 * @author Eric Morand <eric.morand@gmail.com>
 */

/**
 * Represents an arrow function.
 */

/**
 * Represents an autoescape node.
 *
 * The value is the escaping strategy (can be html, js, ...)
 *
 * The true value is equivalent to html.
 *
 * If autoescaping is disabled, then the value is false.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Represents an import node.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * Return `true` if only the alt-key and shift-key is pressed, `false` otherwise
 * (e.g. when additionally the platform-modifier-key is pressed).
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if only the alt and shift keys are pressed.
 * @api
 */

/**
 * Return `true` if only the alt-key is pressed, `false` otherwise (e.g. when
 * additionally the shift-key is pressed).
 *
 * @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
 * @return {boolean} True if only the alt key is pressed.
 * @api
 */

/**
 * Return `true` if the layer is visible and if the provided view state
 * has resolution and zoom levels that are in range of the layer's min/max.
 * @param {State} layerState Layer state.
 * @param {import("../View.js").State} viewState View state.
 * @return {boolean} The layer is visible at the given view state.
 */

/**
 * Return a coordinate transformed from the user projection.  If no user projection
 * is set, the original coordinate is returned.
 * @param {Array<number>} coordinate Input coordinate.
 * @param {ProjectionLike} destProjection The destination projection.
 * @return {Array<number>} The input coordinate transformed.
 */

/**
 * Return a coordinate transformed into the user projection.  If no user projection
 * is set, the original coordinate is returned.
 * @param {Array<number>} coordinate Input coordinate.
 * @param {ProjectionLike} sourceProjection The input coordinate projection.
 * @return {Array<number>} The input coordinate in the user projection.
 */

/**
 * Return an extent transformed from the user projection.  If no user projection
 * is set, the original extent is returned.
 * @param {import("./extent.js").Extent} extent Input extent.
 * @param {ProjectionLike} destProjection The destination projection.
 * @return {import("./extent.js").Extent} The input extent transformed.
 */

/**
 * Return an extent transformed into the user projection.  If no user projection
 * is set, the original extent is returned.
 * @param {import("./extent.js").Extent} extent Input extent.
 * @param {ProjectionLike} sourceProjection The input extent projection.
 * @return {import("./extent.js").Extent} The input extent in the user projection.
 */

/**
 * Return extent increased by the provided value.
 * @param {Extent} extent Extent.
 * @param {number} value The amount by which the extent should be buffered.
 * @param {Extent} [dest] Extent.
 * @return {Extent} Extent.
 * @api
 */

/**
 * Return how many unique items are in this ArraySet. If duplicates have been
 * added, than those do not count towards the size.
 *
 * @returns Number
 */

/**
 * Return named color as an rgba string.
 * @param {string} color Named color.
 * @return {string} Rgb string.
 */

/**
 * Return the absolute value of a number.
 *
 * @param {number} x
 * @returns {Promise<number>}
 */

/**
 * Return the color as an array. This function maintains a cache of calculated
 * arrays which means the result should not be modified.
 * @param {Color|string} color Color.
 * @return {Color} Color.
 * @api
 */

/**
 * Return the color as an rgba string.
 * @param {Color|string} color Color.
 * @return {string} Rgba string.
 * @api
 */

/**
 * Return the resolution in user projection units per pixel. If no user projection
 * is set, or source or user projection are missing units, the original resolution
 * is returned.
 * @param {number} resolution Resolution in input projection units per pixel.
 * @param {ProjectionLike} sourceProjection The input projection.
 * @return {number} Resolution in user projection units per pixel.
 */

/**
 * Return the resolution in user projection units per pixel. If no user projection
 * is set, or source or user projection are missing units, the original resolution
 * is returned.
 * @param {number} resolution Resolution in user projection units per pixel.
 * @param {ProjectionLike} destProjection The destination projection.
 * @return {number} Resolution in destination projection units per pixel.
 */

/**
 * Return the squared of the largest distance between any pair of consecutive
 * coordinates.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} max Max squared delta.
 * @return {number} Max squared delta.
 */

/**
 * Return the string representation of this source node. Walks over the tree
 * and concatenates all the various snippets together to one string.
 */

/**
 * Return the value of a property of an object, providing array to Map conversion.
 *
 * @param {any} object
 * @param {any} property
 */

/**
 * Return the values from a single column in the input array.
 *
 * <pre>
 *  {% set items = [{ 'fruit' : 'apple'}, {'fruit' : 'orange' }] %}
 *
 *  {% set fruits = items|column('fruit') %}
 *
 *  {# fruits now contains ['apple', 'orange'] #}
 * </pre>
 *
 * @param {*} thing An iterable
 * @param {*} columnKey The column key
 *
 * @return {Promise<Array<any>>} The array of values
 */

/**
 * Return true if we have the source content for every source in the source
 * map, false otherwise.
 */

/**
 * Returns `true` if at least one element in the `coll` satisfies an async test.
 * If any iteratee call returns `true`, the main `callback` is immediately
 * called.
 *
 * @name some
 * @static
 * @memberOf module:Collections
 * @method
 * @alias any
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - An async truth test to apply to each item
 * in the collections in parallel.
 * The iteratee should complete with a boolean `result` value.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called as soon as any
 * iteratee returns `true`, or after all the iteratee functions have finished.
 * Result will be either `true` or `false` depending on the values of the async
 * tests. Invoked with (err, result).
 * @returns {Promise} a promise, if no callback provided
 * @example
 *
 * // dir1 is a directory that contains file1.txt, file2.txt
 * // dir2 is a directory that contains file3.txt, file4.txt
 * // dir3 is a directory that contains file5.txt
 * // dir4 does not exist
 *
 * // asynchronous function that checks if a file exists
 * function fileExists(file, callback) {
 *    fs.access(file, fs.constants.F_OK, (err) => {
 *        callback(null, !err);
 *    });
 * }
 *
 * // Using callbacks
 * async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists,
 *    function(err, result) {
 *        console.log(result);
 *        // true
 *        // result is true since some file in the list exists
 *    }
 *);
 *
 * async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists,
 *    function(err, result) {
 *        console.log(result);
 *        // false
 *        // result is false since none of the files exists
 *    }
 *);
 *
 * // Using Promises
 * async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists)
 * .then( result => {
 *     console.log(result);
 *     // true
 *     // result is true since some file in the list exists
 * }).catch( err => {
 *     console.log(err);
 * });
 *
 * async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists)
 * .then( result => {
 *     console.log(result);
 *     // false
 *     // result is false since none of the files exists
 * }).catch( err => {
 *     console.log(err);
 * });
 *
 * // Using async/await
 * async () => {
 *     try {
 *         let result = await async.some(['dir1/missing.txt','dir2/missing.txt','dir3/file5.txt'], fileExists);
 *         console.log(result);
 *         // true
 *         // result is true since some file in the list exists
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 * async () => {
 *     try {
 *         let result = await async.some(['dir1/missing.txt','dir2/missing.txt','dir4/missing.txt'], fileExists);
 *         console.log(result);
 *         // false
 *         // result is false since none of the files exists
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 */

/**
 * Returns `true` if every element in `coll` satisfies an async test. If any
 * iteratee call returns `false`, the main `callback` is immediately called.
 *
 * @name every
 * @static
 * @memberOf module:Collections
 * @method
 * @alias all
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - An async truth test to apply to each item
 * in the collection in parallel.
 * The iteratee must complete with a boolean result value.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished. Result will be either `true` or `false`
 * depending on the values of the async tests. Invoked with (err, result).
 * @returns {Promise} a promise, if no callback provided
 * @example
 *
 * // dir1 is a directory that contains file1.txt, file2.txt
 * // dir2 is a directory that contains file3.txt, file4.txt
 * // dir3 is a directory that contains file5.txt
 * // dir4 does not exist
 *
 * const fileList = ['dir1/file1.txt','dir2/file3.txt','dir3/file5.txt'];
 * const withMissingFileList = ['file1.txt','file2.txt','file4.txt'];
 *
 * // asynchronous function that checks if a file exists
 * function fileExists(file, callback) {
 *    fs.access(file, fs.constants.F_OK, (err) => {
 *        callback(null, !err);
 *    });
 * }
 *
 * // Using callbacks
 * async.every(fileList, fileExists, function(err, result) {
 *     console.log(result);
 *     // true
 *     // result is true since every file exists
 * });
 *
 * async.every(withMissingFileList, fileExists, function(err, result) {
 *     console.log(result);
 *     // false
 *     // result is false since NOT every file exists
 * });
 *
 * // Using Promises
 * async.every(fileList, fileExists)
 * .then( result => {
 *     console.log(result);
 *     // true
 *     // result is true since every file exists
 * }).catch( err => {
 *     console.log(err);
 * });
 *
 * async.every(withMissingFileList, fileExists)
 * .then( result => {
 *     console.log(result);
 *     // false
 *     // result is false since NOT every file exists
 * }).catch( err => {
 *     console.log(err);
 * });
 *
 * // Using async/await
 * async () => {
 *     try {
 *         let result = await async.every(fileList, fileExists);
 *         console.log(result);
 *         // true
 *         // result is true since every file exists
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 * async () => {
 *     try {
 *         let result = await async.every(withMissingFileList, fileExists);
 *         console.log(result);
 *         // false
 *         // result is false since NOT every file exists
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 */

/**
 * Returns a capitalized string.
 *
 * @param {TwingEnvironment} env
 * @param {string | TwingMarkup} string A string
 *
 * @returns {Promise<string>} The capitalized string
 */

/**
 * Returns a function that when called, calls-back with the values provided.
 * Useful as the first function in a [`waterfall`]{@link module:ControlFlow.waterfall}, or for plugging values in to
 * [`auto`]{@link module:ControlFlow.auto}.
 *
 * @name constant
 * @static
 * @memberOf module:Utils
 * @method
 * @category Util
 * @param {...*} arguments... - Any number of arguments to automatically invoke
 * callback with.
 * @returns {AsyncFunction} Returns a function that when invoked, automatically
 * invokes the callback with the previous given arguments.
 * @example
 *
 * async.waterfall([
 *     async.constant(42),
 *     function (value, next) {
 *         // value === 42
 *     },
 *     //...
 * ], callback);
 *
 * async.waterfall([
 *     async.constant(filename, "utf8"),
 *     fs.readFile,
 *     function (fileData, next) {
 *         //...
 *     }
 *     //...
 * ], callback);
 *
 * async.auto({
 *     hostname: async.constant("https://server.net/"),
 *     port: findFreePort,
 *     launchServer: ["hostname", "port", function (options, cb) {
 *         startServer(options, cb);
 *     }],
 *     //...
 * }, callback);
 */

/**
 * Returns a list of strings that _**do not match any**_ of the given `patterns`.
 *
 * ```js
 * const mm = require('micromatch');
 * // mm.not(list, patterns[, options]);
 *
 * console.log(mm.not(['a.a', 'b.b', 'c.c'], '*.a'));
 * //=> ['b.b', 'c.c']
 * ```
 * @param {Array} `list` Array of strings to match.
 * @param {String|Array} `patterns` One or more glob pattern to use for matching.
 * @param {Object} `options` See available [options](#options) for changing how matches are performed
 * @return {Array} Returns an array of strings that **do not match** the given patterns.
 * @api public
 */

/**
 * Returns a matcher function from the given glob `pattern` and `options`.
 * The returned function takes a string to match as its only argument and returns
 * true if the string is a match.
 *
 * ```js
 * const mm = require('micromatch');
 * // mm.matcher(pattern[, options]);
 *
 * const isMatch = mm.matcher('*.!(*a)');
 * console.log(isMatch('a.a')); //=> false
 * console.log(isMatch('a.b')); //=> true
 * ```
 * @param {String} `pattern` Glob pattern
 * @param {Object} `options`
 * @return {Function} Returns a matcher function.
 * @api public
 */

/**
 * Returns a modified resolution taking into account the viewport size and maximum
 * allowed extent.
 * @param {number} resolution Resolution
 * @param {import("./extent.js").Extent} maxExtent Maximum allowed extent.
 * @param {import("./size.js").Size} viewportSize Viewport size.
 * @param {boolean} showFullExtent Whether to show the full extent.
 * @return {number} Capped resolution.
 */

/**
 * Returns a modified resolution to be between maxResolution and minResolution while
 * still allowing the value to be slightly out of bounds.
 * Note: the computation is based on the logarithm function (ln):
 *  - at 1, ln(x) is 0
 *  - above 1, ln(x) keeps increasing but at a much slower pace than x
 * The final result is clamped to prevent getting too far away from bounds.
 * @param {number} resolution Resolution.
 * @param {number} maxResolution Max resolution.
 * @param {number} minResolution Min resolution.
 * @return {number} Smoothed resolution.
 */

/**
 * Returns a new array of all the values in `coll` which pass an async truth
 * test. This operation is performed in parallel, but the results array will be
 * in the same order as the original.
 *
 * @name filter
 * @static
 * @memberOf module:Collections
 * @method
 * @alias select
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {Function} iteratee - A truth test to apply to each item in `coll`.
 * The `iteratee` is passed a `callback(err, truthValue)`, which must be called
 * with a boolean argument once it has completed. Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished. Invoked with (err, results).
 * @returns {Promise} a promise, if no callback provided
 * @example
 *
 * // dir1 is a directory that contains file1.txt, file2.txt
 * // dir2 is a directory that contains file3.txt, file4.txt
 * // dir3 is a directory that contains file5.txt
 *
 * const files = ['dir1/file1.txt','dir2/file3.txt','dir3/file6.txt'];
 *
 * // asynchronous function that checks if a file exists
 * function fileExists(file, callback) {
 *    fs.access(file, fs.constants.F_OK, (err) => {
 *        callback(null, !err);
 *    });
 * }
 *
 * // Using callbacks
 * async.filter(files, fileExists, function(err, results) {
 *    if(err) {
 *        console.log(err);
 *    } else {
 *        console.log(results);
 *        // [ 'dir1/file1.txt', 'dir2/file3.txt' ]
 *        // results is now an array of the existing files
 *    }
 * });
 *
 * // Using Promises
 * async.filter(files, fileExists)
 * .then(results => {
 *     console.log(results);
 *     // [ 'dir1/file1.txt', 'dir2/file3.txt' ]
 *     // results is now an array of the existing files
 * }).catch(err => {
 *     console.log(err);
 * });
 *
 * // Using async/await
 * async () => {
 *     try {
 *         let results = await async.filter(files, fileExists);
 *         console.log(results);
 *         // [ 'dir1/file1.txt', 'dir2/file3.txt' ]
 *         // results is now an array of the existing files
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 */

/**
 * Returns a new date object modified.
 *
 * <pre>
 *   {{ post.published_at|date_modify("-1day")|date("m/d/Y") }}
 * </pre>
 *
 * @param {TwingTemplate} template
 * @param {DateTime|Duration|string} date A date
 * @param {string} modifier A modifier string
 *
 * @returns {Promise<DateTime>} A new date object
 */

/**
 * Returns a new object, where each value corresponds to an array of items, from
 * `coll`, that returned the corresponding key. That is, the keys of the object
 * correspond to the values passed to the `iteratee` callback.
 *
 * Note: Since this function applies the `iteratee` to each item in parallel,
 * there is no guarantee that the `iteratee` functions will complete in order.
 * However, the values for each key in the `result` will be in the same order as
 * the original `coll`. For Objects, the values will roughly be in the order of
 * the original Objects' keys (but this can vary across JavaScript engines).
 *
 * @name groupBy
 * @static
 * @memberOf module:Collections
 * @method
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - An async function to apply to each item in
 * `coll`.
 * The iteratee should complete with a `key` to group the value under.
 * Invoked with (value, callback).
 * @param {Function} [callback] - A callback which is called when all `iteratee`
 * functions have finished, or an error occurs. Result is an `Object` whoses
 * properties are arrays of values which returned the corresponding key.
 * @returns {Promise} a promise, if no callback is passed
 * @example
 *
 * // dir1 is a directory that contains file1.txt, file2.txt
 * // dir2 is a directory that contains file3.txt, file4.txt
 * // dir3 is a directory that contains file5.txt
 * // dir4 does not exist
 *
 * const files = ['dir1/file1.txt','dir2','dir4']
 *
 * // asynchronous function that detects file type as none, file, or directory
 * function detectFile(file, callback) {
 *     fs.stat(file, function(err, stat) {
 *         if (err) {
 *             return callback(null, 'none');
 *         }
 *         callback(null, stat.isDirectory() ? 'directory' : 'file');
 *     });
 * }
 *
 * //Using callbacks
 * async.groupBy(files, detectFile, function(err, result) {
 *     if(err) {
 *         console.log(err);
 *     } else {
 *	       console.log(result);
 *         // {
 *         //     file: [ 'dir1/file1.txt' ],
 *         //     none: [ 'dir4' ],
 *         //     directory: [ 'dir2']
 *         // }
 *         // result is object containing the files grouped by type
 *     }
 * });
 *
 * // Using Promises
 * async.groupBy(files, detectFile)
 * .then( result => {
 *     console.log(result);
 *     // {
 *     //     file: [ 'dir1/file1.txt' ],
 *     //     none: [ 'dir4' ],
 *     //     directory: [ 'dir2']
 *     // }
 *     // result is object containing the files grouped by type
 * }).catch( err => {
 *     console.log(err);
 * });
 *
 * // Using async/await
 * async () => {
 *     try {
 *         let result = await async.groupBy(files, detectFile);
 *         console.log(result);
 *         // {
 *         //     file: [ 'dir1/file1.txt' ],
 *         //     none: [ 'dir4' ],
 *         //     directory: [ 'dir2']
 *         // }
 *         // result is object containing the files grouped by type
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 */

/**
 * Returns a number with a limited number of decimal digits.
 * @param {number} n The input number.
 * @param {number} decimals The maximum number of decimal digits.
 * @return {number} The input number with a limited number of decimal digits.
 */

/**
 * Returns a random integer within the range `low .. high` inclusive.
 *
 * @param {Number} low
 *        The lower bound on the range.
 * @param {Number} high
 *        The upper bound on the range.
 */

/**
 * Returns a random value depending on the supplied parameter type:
 * - a random item from a Traversable or array
 * - a random character from a string
 * - a random integer between 0 and the integer parameter.
 *
 * @param {TwingEnvironment} env
 * @param {*} values The values to pick a random item from
 * @param {number} max Maximum value used when values is an integer
 *
 * @throws TwingErrorRuntime when values is an empty array (does not apply to an empty string which is returned as is)
 *
 * @returns {Promise<any>} A random value from the given sequence
 */

/**
 * Returns a size scaled by a ratio. The result will be an array of integers.
 * @param {Size} size Size.
 * @param {number} ratio Ratio.
 * @param {Size} [dest] Optional reusable size array.
 * @return {Size} The scaled size.
 */

/**
 * Returns a template content without rendering it.
 *
 * @param {TwingTemplate} template
 * @param {string} name The template name
 * @param {boolean} ignoreMissing Whether to ignore missing templates or not
 *
 * @return {Promise<string>} The template source
 */

/**
 * Returns a title-cased string.
 *
 * @param {string | TwingMarkup} string A string
 *
 * @returns {Promise<string>} The title-cased string
 */

/**
 * Returns a trimmed string.
 *
 * @returns {Promise<string>}
 *
 * @throws TwingErrorRuntime When an invalid trimming side is used (not a string or not 'left', 'right', or 'both')
 */

/**
 * Returns all generated line and column information for the original source,
 * line, and column provided. If no column is provided, returns all mappings
 * corresponding to a either the line we are searching for or the next
 * closest line that has any mappings. Otherwise, returns all mappings
 * corresponding to the given line and either the column we are searching for
 * or the next closest column that has any offsets.
 *
 * The only argument is an object with the following properties:
 *
 *   - source: The filename of the original source.
 *   - line: The line number in the original source.  The line number is 1-based.
 *   - column: Optional. the column number in the original source.
 *    The column number is 0-based.
 *
 * and an array of objects is returned, each with the following properties:
 *
 *   - line: The line number in the generated source, or null.  The
 *    line number is 1-based.
 *   - column: The column number in the generated source, or null.
 *    The column number is 0-based.
 */

/**
 * Returns an `Size` array for the passed in number (meaning: square) or
 * `Size` array.
 * (meaning: non-square),
 * @param {number|Size} size Width and height.
 * @param {Size} [dest] Optional reusable size array.
 * @return {Size} Size.
 * @api
 */

/**
 * Returns an array of matches captured by `pattern` in `string, or `null` if the pattern did not match.
 *
 * ```js
 * const mm = require('micromatch');
 * // mm.capture(pattern, string[, options]);
 *
 * console.log(mm.capture('test/*.js', 'test/foo.js'));
 * //=> ['foo']
 * console.log(mm.capture('test/*.js', 'foo/bar.css'));
 * //=> null
 * ```
 * @param {String} `glob` Glob pattern to use for matching.
 * @param {String} `input` String to match
 * @param {Object} `options` See available [options](#options) for changing how matches are performed
 * @return {Array|null} Returns an array of captures if the input matches the glob pattern, otherwise `null`.
 * @api public
 */

/**
 * Returns an array of strings that match one or more glob patterns.
 *
 * ```js
 * const mm = require('micromatch');
 * // mm(list, patterns[, options]);
 *
 * console.log(mm(['a.js', 'a.txt'], ['*.js']));
 * //=> [ 'a.js' ]
 * ```
 * @param {String|Array<string>} `list` List of strings to match.
 * @param {String|Array<string>} `patterns` One or more glob patterns to use for matching.
 * @param {Object} `options` See available [options](#options)
 * @return {Array} Returns an array of matches
 * @summary false
 * @api public
 */

/**
 * Returns the array representation of this set (which has the proper indices
 * indicated by indexOf). Note that this is a copy of the internal array used
 * for storing the members so that no one can mess with internal state.
 */

/**
 * Returns the base 64 VLQ encoded value.
 */

/**
 * Returns the determinant of the given matrix.
 * @param {!Transform} mat Matrix.
 * @return {number} Determinant.
 */

/**
 * Returns the first element of the item.
 *
 * @param {any} item
 *
 * @returns {Promise<any>} The first element of the item
 */

/**
 * Returns the first value in `coll` that passes an async truth test. The
 * `iteratee` is applied in parallel, meaning the first iteratee to return
 * `true` will fire the detect `callback` with that result. That means the
 * result might not be the first item in the original `coll` (in terms of order)
 * that passes the test.

 * If order within the original `coll` is important, then look at
 * [`detectSeries`]{@link module:Collections.detectSeries}.
 *
 * @name detect
 * @static
 * @memberOf module:Collections
 * @method
 * @alias find
 * @category Collections
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`.
 * The iteratee must complete with a boolean value as its result.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called as soon as any
 * iteratee returns `true`, or after all the `iteratee` functions have finished.
 * Result will be the first item in the array that passes the truth test
 * (iteratee) or the value `undefined` if none passed. Invoked with
 * (err, result).
 * @returns {Promise} a promise, if a callback is omitted
 * @example
 *
 * // dir1 is a directory that contains file1.txt, file2.txt
 * // dir2 is a directory that contains file3.txt, file4.txt
 * // dir3 is a directory that contains file5.txt
 *
 * // asynchronous function that checks if a file exists
 * function fileExists(file, callback) {
 *    fs.access(file, fs.constants.F_OK, (err) => {
 *        callback(null, !err);
 *    });
 * }
 *
 * async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists,
 *    function(err, result) {
 *        console.log(result);
 *        // dir1/file1.txt
 *        // result now equals the first file in the list that exists
 *    }
 *);
 *
 * // Using Promises
 * async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists)
 * .then(result => {
 *     console.log(result);
 *     // dir1/file1.txt
 *     // result now equals the first file in the list that exists
 * }).catch(err => {
 *     console.log(err);
 * });
 *
 * // Using async/await
 * async () => {
 *     try {
 *         let result = await async.detect(['file3.txt','file2.txt','dir1/file1.txt'], fileExists);
 *         console.log(result);
 *         // dir1/file1.txt
 *         // result now equals the file in the list that exists
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 */

/**
 * Returns the flat, sorted array of mappings. The mappings are sorted by
 * generated position.
 *
 * WARNING: This method returns internal data without copying, for
 * performance. The return value must NOT be mutated, and should be treated as
 * an immutable borrow. If you want to take ownership, you must make your own
 * copy.
 */

/**
 * Returns the generated line and column information for the original source,
 * line, and column positions provided. The only argument is an object with
 * the following properties:
 *
 *   - source: The filename of the original source.
 *   - line: The line number in the original source.  The line number
 *     is 1-based.
 *   - column: The column number in the original source.  The column
 *     number is 0-based.
 *
 * and an object is returned with the following properties:
 *
 *   - line: The line number in the generated source, or null.  The
 *     line number is 1-based. 
 *   - column: The column number in the generated source, or null.
 *     The column number is 0-based.
 */

/**
 * Returns the generated line and column information for the original source,
 * line, and column positions provided. The only argument is an object with
 * the following properties:
 *
 *   - source: The filename of the original source.
 *   - line: The line number in the original source.  The line number
 *     is 1-based.
 *   - column: The column number in the original source.  The column
 *     number is 0-based.
 *   - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
 *     'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
 *     closest element that is smaller than or greater than the one we are
 *     searching for, respectively, if the exact element cannot be found.
 *     Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
 *
 * and an object is returned with the following properties:
 *
 *   - line: The line number in the generated source, or null.  The
 *     line number is 1-based.
 *   - column: The column number in the generated source, or null.
 *     The column number is 0-based.
 */

/**
 * Returns the human representation of a token type.
 *
 * @param {TokenType} type The token type
 * @param {boolean} short Whether to return a short representation or not
 *
 * @returns {string} The string representation
 */

/**
 * Returns the keys for the given array.
 *
 * It is useful when you want to iterate over the keys of an array:
 *
 * <pre>
 *  {% for key in array|keys %}
 *      {# ... #}
 *  {% endfor %}
 * </pre>
 *
 * @param {Array<any>} array An array
 *
 * @returns {Promise<Array<any>>} The keys
 */

/**
 * Returns the last element of the item.
 *
 * @param item A variable
 *
 * @returns The last element of the item
 */

/**
 * Returns the length of a thing.
 *
 * @param {TwingEnvironment} env A TwingEnvironment instance
 * @param {any} thing A thing
 *
 * @returns {Promise<number>} The length of the thing
 */

/**
 * Returns the modulo of a / b, depending on the sign of b.
 *
 * @param {number} a Dividend.
 * @param {number} b Divisor.
 * @return {number} Modulo.
 */

/**
 * Returns the original source content. The only argument is the url of the
 * original source file. Returns null if no original source content is
 * available.
 */

/**
 * Returns the original source, line, and column information for the generated
 * source's line and column positions provided. The only argument is an object
 * with the following properties:
 *
 *   - line: The line number in the generated source.  The line number
 *     is 1-based.
 *   - column: The column number in the generated source.  The column
 *     number is 0-based.
 *
 * and an object is returned with the following properties:
 *
 *   - source: The original source file, or null.
 *   - line: The line number in the original source, or null.  The
 *     line number is 1-based.
 *   - column: The column number in the original source, or null.  The
 *     column number is 0-based.
 *   - name: The original identifier, or null.
 */

/**
 * Returns the original source, line, and column information for the generated
 * source's line and column positions provided. The only argument is an object
 * with the following properties:
 *
 *   - line: The line number in the generated source.  The line number
 *     is 1-based.
 *   - column: The column number in the generated source.  The column
 *     number is 0-based.
 *   - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
 *     'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
 *     closest element that is smaller than or greater than the one we are
 *     searching for, respectively, if the exact element cannot be found.
 *     Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
 *
 * and an object is returned with the following properties:
 *
 *   - source: The original source file, or null.
 *   - line: The line number in the original source, or null.  The
 *     line number is 1-based.
 *   - column: The column number in the original source, or null.  The
 *     column number is 0-based.
 *   - name: The original identifier, or null.
 */

/**
 * Returns the point on the 2D line segment flatCoordinates[offset1] to
 * flatCoordinates[offset2] that is closest to the point (x, y).  Extra
 * dimensions are linearly interpolated.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset1 Offset 1.
 * @param {number} offset2 Offset 2.
 * @param {number} stride Stride.
 * @param {number} x X.
 * @param {number} y Y.
 * @param {Array<number>} closestPoint Closest point.
 */

/**
 * Returns the square of the closest distance between the point (x, y) and the
 * line segment (x1, y1) to (x2, y2).
 * @param {number} x X.
 * @param {number} y Y.
 * @param {number} x1 X1.
 * @param {number} y1 Y1.
 * @param {number} x2 X2.
 * @param {number} y2 Y2.
 * @return {number} Squared distance.
 */

/**
 * Returns the square of the distance between the points (x1, y1) and (x2, y2).
 * @param {number} x1 X1.
 * @param {number} y1 Y1.
 * @param {number} x2 X2.
 * @param {number} y2 Y2.
 * @return {number} Squared distance.
 */

/**
 * Returns the string representation of this source node along with a source
 * map.
 */

/**
 * Returns true if **all** of the given `patterns` match
 * the specified string.
 *
 * ```js
 * const mm = require('micromatch');
 * // mm.all(string, patterns[, options]);
 *
 * console.log(mm.all('foo.js', ['foo.js']));
 * // true
 *
 * console.log(mm.all('foo.js', ['*.js', '!foo.js']));
 * // false
 *
 * console.log(mm.all('foo.js', ['*.js', 'foo.js']));
 * // true
 *
 * console.log(mm.all('foo.js', ['*.js', 'f*', '*o*', '*o.js']));
 * // true
 * ```
 * @param {String|Array} `str` The string to test.
 * @param {String|Array} `patterns` One or more glob patterns to use for matching.
 * @param {Object} `options` See available [options](#options) for changing how matches are performed
 * @return {Boolean} Returns true if any patterns match `str`
 * @api public
 */

/**
 * Returns true if **any** of the given glob `patterns` match the specified `string`.
 *
 * ```js
 * const mm = require('micromatch');
 * // mm.isMatch(string, patterns[, options]);
 *
 * console.log(mm.isMatch('a.a', ['b.*', '*.a'])); //=> true
 * console.log(mm.isMatch('a.a', 'b.*')); //=> false
 * ```
 * @param {String} `str` The string to test.
 * @param {String|Array} `patterns` One or more glob patterns to use for matching.
 * @param {Object} `[options]` See available [options](#options).
 * @return {Boolean} Returns true if any patterns match `str`
 * @api public
 */

/**
 * Returns true if **any** of the given glob `patterns` match the specified `string`.
 *
 * ```js
 * const picomatch = require('picomatch');
 * // picomatch.isMatch(string, patterns[, options]);
 *
 * console.log(picomatch.isMatch('a.a', ['b.*', '*.a'])); //=> true
 * console.log(picomatch.isMatch('a.a', 'b.*')); //=> false
 * ```
 * @param {String|Array} str The string to test.
 * @param {String|Array} patterns One or more glob patterns to use for matching.
 * @param {Object} [options] See available [options](#options).
 * @return {Boolean} Returns true if any patterns match `str`
 * @api public
 */

/**
 * Returns true if a brace node is invalid.
 */

/**
 * Returns true if a node is an open or close node
 */

/**
 * Returns true if every string in the given `list` matches
 * any of the given glob `patterns`.
 *
 * ```js
 * const mm = require('micromatch');
 * // mm.every(list, patterns[, options]);
 *
 * console.log(mm.every('foo.js', ['foo.js']));
 * // true
 * console.log(mm.every(['foo.js', 'bar.js'], ['*.js']));
 * // true
 * console.log(mm.every(['foo.js', 'bar.js'], ['*.js', '!foo.js']));
 * // false
 * console.log(mm.every(['foo.js'], ['*.js', '!foo.js']));
 * // false
 * ```
 * @param {String|Array} `list` The string or array of strings to test.
 * @param {String|Array} `patterns` One or more glob patterns to use for matching.
 * @param {Object} `options` See available [options](#options) for changing how matches are performed
 * @return {Boolean} Returns true if all `patterns` matches all of the strings in `list`
 * @api public
 */

/**
 * Returns true if some of the strings in the given `list` match any of the given glob `patterns`.
 *
 * ```js
 * const mm = require('micromatch');
 * // mm.some(list, patterns[, options]);
 *
 * console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));
 * // true
 * console.log(mm.some(['foo.js'], ['*.js', '!foo.js']));
 * // false
 * ```
 * @param {String|Array} `list` The string or array of strings to test. Returns as soon as the first match is found.
 * @param {String|Array} `patterns` One or more glob patterns to use for matching.
 * @param {Object} `options` See available [options](#options) for changing how matches are performed
 * @return {Boolean} Returns true if any `patterns` matches any of the strings in `list`
 * @api public
 */

/**
 * Returns true if the given `string` contains the given pattern. Similar
 * to [.isMatch](#isMatch) but the pattern can match any part of the string.
 *
 * ```js
 * var mm = require('micromatch');
 * // mm.contains(string, pattern[, options]);
 *
 * console.log(mm.contains('aa/bb/cc', '*b'));
 * //=> true
 * console.log(mm.contains('aa/bb/cc', '*d'));
 * //=> false
 * ```
 * @param {String} `str` The string to match.
 * @param {String|Array} `patterns` Glob pattern to use for matching.
 * @param {Object} `options` See available [options](#options) for changing how matches are performed
 * @return {Boolean} Returns true if any of the patterns matches any part of `str`.
 * @api public
 */

/**
 * Returns true if the given brace node should be enclosed in literal braces
 */

/**
 * Reverse a map
 *
 * @param {Map<* ,*>} map
 * @param {boolean} preserveKeys
 *
 * @returns Map
 */

/**
 * Reverses a variable.
 *
 * @param {string | Map<*, *>} item A traversable instance, or a string
 * @param {boolean} preserveKeys Whether to preserve key or not
 *
 * @returns {Promise<string | Map<any, any>>} The reversed input
 */

/**
 * Rotate `coordinate` by `angle`. `coordinate` is modified in place and
 * returned by the function.
 *
 * Example:
 *
 *     import {rotate} from 'ol/coordinate.js';
 *
 *     const coord = [7.85, 47.983333];
 *     const rotateRadians = Math.PI / 2; // 90 degrees
 *     rotate(coord, rotateRadians);
 *     // coord is now [-47.983333, 7.85]
 *
 * @param {Coordinate} coordinate Coordinate.
 * @param {number} angle Angle in radian.
 * @return {Coordinate} Coordinate.
 * @api
 */

/**
 * Rounds a number to the nearest integer value considering only the given number
 * of decimal digits (with rounding on the final digit).
 * @param {number} n The input number.
 * @param {number} decimals The maximum number of decimal digits.
 * @return {number} The nearest integer.
 */

/**
 * Rounds a number to the next bigger integer considering only the given number
 * of decimal digits (with rounding on the final digit).
 * @param {number} n The input number.
 * @param {number} decimals The maximum number of decimal digits.
 * @return {number} The next bigger integer.
 */

/**
 * Rounds a number to the next smaller integer considering only the given number
 * of decimal digits (with rounding on the final digit).
 * @param {number} n The input number.
 * @param {number} decimals The maximum number of decimal digits.
 * @return {number} The next smaller integer.
 */

/**
 * Rounds a number.
 *
 * @param value The value to round
 * @param {number} precision The rounding precision
 * @param {string} method The method to use for rounding
 *
 * @returns {Promise<number>} The rounded number
 */

/**
 * Run the `tasks` collection of functions in parallel, without waiting until
 * the previous function has completed. If any of the functions pass an error to
 * its callback, the main `callback` is immediately called with the value of the
 * error. Once the `tasks` have completed, the results are passed to the final
 * `callback` as an array.
 *
 * **Note:** `parallel` is about kicking-off I/O tasks in parallel, not about
 * parallel execution of code.  If your tasks do not use any timers or perform
 * any I/O, they will actually be executed in series.  Any synchronous setup
 * sections for each task will happen one after the other.  JavaScript remains
 * single-threaded.
 *
 * **Hint:** Use [`reflect`]{@link module:Utils.reflect} to continue the
 * execution of other tasks when a task fails.
 *
 * It is also possible to use an object instead of an array. Each property will
 * be run as a function and the results will be passed to the final `callback`
 * as an object instead of an array. This can be a more readable way of handling
 * results from {@link async.parallel}.
 *
 * @name parallel
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @category Control Flow
 * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection of
 * [async functions]{@link AsyncFunction} to run.
 * Each async function can complete with any number of optional `result` values.
 * @param {Function} [callback] - An optional callback to run once all the
 * functions have completed successfully. This function gets a results array
 * (or object) containing all the result arguments passed to the task callbacks.
 * Invoked with (err, results).
 * @returns {Promise} a promise, if a callback is not passed
 *
 * @example
 *
 * //Using Callbacks
 * async.parallel([
 *     function(callback) {
 *         setTimeout(function() {
 *             callback(null, 'one');
 *         }, 200);
 *     },
 *     function(callback) {
 *         setTimeout(function() {
 *             callback(null, 'two');
 *         }, 100);
 *     }
 * ], function(err, results) {
 *     console.log(results);
 *     // results is equal to ['one','two'] even though
 *     // the second function had a shorter timeout.
 * });
 *
 * // an example using an object instead of an array
 * async.parallel({
 *     one: function(callback) {
 *         setTimeout(function() {
 *             callback(null, 1);
 *         }, 200);
 *     },
 *     two: function(callback) {
 *         setTimeout(function() {
 *             callback(null, 2);
 *         }, 100);
 *     }
 * }, function(err, results) {
 *     console.log(results);
 *     // results is equal to: { one: 1, two: 2 }
 * });
 *
 * //Using Promises
 * async.parallel([
 *     function(callback) {
 *         setTimeout(function() {
 *             callback(null, 'one');
 *         }, 200);
 *     },
 *     function(callback) {
 *         setTimeout(function() {
 *             callback(null, 'two');
 *         }, 100);
 *     }
 * ]).then(results => {
 *     console.log(results);
 *     // results is equal to ['one','two'] even though
 *     // the second function had a shorter timeout.
 * }).catch(err => {
 *     console.log(err);
 * });
 *
 * // an example using an object instead of an array
 * async.parallel({
 *     one: function(callback) {
 *         setTimeout(function() {
 *             callback(null, 1);
 *         }, 200);
 *     },
 *     two: function(callback) {
 *         setTimeout(function() {
 *             callback(null, 2);
 *         }, 100);
 *     }
 * }).then(results => {
 *     console.log(results);
 *     // results is equal to: { one: 1, two: 2 }
 * }).catch(err => {
 *     console.log(err);
 * });
 *
 * //Using async/await
 * async () => {
 *     try {
 *         let results = await async.parallel([
 *             function(callback) {
 *                 setTimeout(function() {
 *                     callback(null, 'one');
 *                 }, 200);
 *             },
 *             function(callback) {
 *                 setTimeout(function() {
 *                     callback(null, 'two');
 *                 }, 100);
 *             }
 *         ]);
 *         console.log(results);
 *         // results is equal to ['one','two'] even though
 *         // the second function had a shorter timeout.
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 * // an example using an object instead of an array
 * async () => {
 *     try {
 *         let results = await async.parallel({
 *             one: function(callback) {
 *                 setTimeout(function() {
 *                     callback(null, 1);
 *                 }, 200);
 *             },
 *            two: function(callback) {
 *                 setTimeout(function() {
 *                     callback(null, 2);
 *                 }, 100);
 *            }
 *         });
 *         console.log(results);
 *         // results is equal to: { one: 1, two: 2 }
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 */

/**
 * Run the functions in the `tasks` collection in series, each one running once
 * the previous function has completed. If any functions in the series pass an
 * error to its callback, no more functions are run, and `callback` is
 * immediately called with the value of the error. Otherwise, `callback`
 * receives an array of results when `tasks` have completed.
 *
 * It is also possible to use an object instead of an array. Each property will
 * be run as a function, and the results will be passed to the final `callback`
 * as an object instead of an array. This can be a more readable way of handling
 *  results from {@link async.series}.
 *
 * **Note** that while many implementations preserve the order of object
 * properties, the [ECMAScript Language Specification](http://www.ecma-international.org/ecma-262/5.1/#sec-8.6)
 * explicitly states that
 *
 * > The mechanics and order of enumerating the properties is not specified.
 *
 * So if you rely on the order in which your series of functions are executed,
 * and want this to work on all platforms, consider using an array.
 *
 * @name series
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @category Control Flow
 * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection containing
 * [async functions]{@link AsyncFunction} to run in series.
 * Each function can complete with any number of optional `result` values.
 * @param {Function} [callback] - An optional callback to run once all the
 * functions have completed. This function gets a results array (or object)
 * containing all the result arguments passed to the `task` callbacks. Invoked
 * with (err, result).
 * @return {Promise} a promise, if no callback is passed
 * @example
 *
 * //Using Callbacks
 * async.series([
 *     function(callback) {
 *         setTimeout(function() {
 *             // do some async task
 *             callback(null, 'one');
 *         }, 200);
 *     },
 *     function(callback) {
 *         setTimeout(function() {
 *             // then do another async task
 *             callback(null, 'two');
 *         }, 100);
 *     }
 * ], function(err, results) {
 *     console.log(results);
 *     // results is equal to ['one','two']
 * });
 *
 * // an example using objects instead of arrays
 * async.series({
 *     one: function(callback) {
 *         setTimeout(function() {
 *             // do some async task
 *             callback(null, 1);
 *         }, 200);
 *     },
 *     two: function(callback) {
 *         setTimeout(function() {
 *             // then do another async task
 *             callback(null, 2);
 *         }, 100);
 *     }
 * }, function(err, results) {
 *     console.log(results);
 *     // results is equal to: { one: 1, two: 2 }
 * });
 *
 * //Using Promises
 * async.series([
 *     function(callback) {
 *         setTimeout(function() {
 *             callback(null, 'one');
 *         }, 200);
 *     },
 *     function(callback) {
 *         setTimeout(function() {
 *             callback(null, 'two');
 *         }, 100);
 *     }
 * ]).then(results => {
 *     console.log(results);
 *     // results is equal to ['one','two']
 * }).catch(err => {
 *     console.log(err);
 * });
 *
 * // an example using an object instead of an array
 * async.series({
 *     one: function(callback) {
 *         setTimeout(function() {
 *             // do some async task
 *             callback(null, 1);
 *         }, 200);
 *     },
 *     two: function(callback) {
 *         setTimeout(function() {
 *             // then do another async task
 *             callback(null, 2);
 *         }, 100);
 *     }
 * }).then(results => {
 *     console.log(results);
 *     // results is equal to: { one: 1, two: 2 }
 * }).catch(err => {
 *     console.log(err);
 * });
 *
 * //Using async/await
 * async () => {
 *     try {
 *         let results = await async.series([
 *             function(callback) {
 *                 setTimeout(function() {
 *                     // do some async task
 *                     callback(null, 'one');
 *                 }, 200);
 *             },
 *             function(callback) {
 *                 setTimeout(function() {
 *                     // then do another async task
 *                     callback(null, 'two');
 *                 }, 100);
 *             }
 *         ]);
 *         console.log(results);
 *         // results is equal to ['one','two']
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 * // an example using an object instead of an array
 * async () => {
 *     try {
 *         let results = await async.parallel({
 *             one: function(callback) {
 *                 setTimeout(function() {
 *                     // do some async task
 *                     callback(null, 1);
 *                 }, 200);
 *             },
 *            two: function(callback) {
 *                 setTimeout(function() {
 *                     // then do another async task
 *                     callback(null, 2);
 *                 }, 100);
 *            }
 *         });
 *         console.log(results);
 *         // results is equal to: { one: 1, two: 2 }
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 */

/**
 * Runs the `tasks` array of functions in parallel, without waiting until the
 * previous function has completed. Once any of the `tasks` complete or pass an
 * error to its callback, the main `callback` is immediately called. It's
 * equivalent to `Promise.race()`.
 *
 * @name race
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @category Control Flow
 * @param {Array} tasks - An array containing [async functions]{@link AsyncFunction}
 * to run. Each function can complete with an optional `result` value.
 * @param {Function} callback - A callback to run once any of the functions have
 * completed. This function gets an error or result from the first function that
 * completed. Invoked with (err, result).
 * @returns {Promise} a promise, if a callback is omitted
 * @example
 *
 * async.race([
 *     function(callback) {
 *         setTimeout(function() {
 *             callback(null, 'one');
 *         }, 200);
 *     },
 *     function(callback) {
 *         setTimeout(function() {
 *             callback(null, 'two');
 *         }, 100);
 *     }
 * ],
 * // main callback
 * function(err, result) {
 *     // the result will be equal to 'two' as it finishes earlier
 * });
 */

/**
 * Runs the `tasks` array of functions in series, each passing their results to
 * the next in the array. However, if any of the `tasks` pass an error to their
 * own callback, the next function is not executed, and the main `callback` is
 * immediately called with the error.
 *
 * @name waterfall
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @category Control Flow
 * @param {Array} tasks - An array of [async functions]{@link AsyncFunction}
 * to run.
 * Each function should complete with any number of `result` values.
 * The `result` values will be passed as arguments, in order, to the next task.
 * @param {Function} [callback] - An optional callback to run once all the
 * functions have completed. This will be passed the results of the last task's
 * callback. Invoked with (err, [results]).
 * @returns {Promise} a promise, if a callback is omitted
 * @example
 *
 * async.waterfall([
 *     function(callback) {
 *         callback(null, 'one', 'two');
 *     },
 *     function(arg1, arg2, callback) {
 *         // arg1 now equals 'one' and arg2 now equals 'two'
 *         callback(null, 'three');
 *     },
 *     function(arg1, callback) {
 *         // arg1 now equals 'three'
 *         callback(null, 'done');
 *     }
 * ], function (err, result) {
 *     // result now equals 'done'
 * });
 *
 * // Or, with named functions:
 * async.waterfall([
 *     myFirstFunction,
 *     mySecondFunction,
 *     myLastFunction,
 * ], function (err, result) {
 *     // result now equals 'done'
 * });
 * function myFirstFunction(callback) {
 *     callback(null, 'one', 'two');
 * }
 * function mySecondFunction(arg1, arg2, callback) {
 *     // arg1 now equals 'one' and arg2 now equals 'two'
 *     callback(null, 'three');
 * }
 * function myLastFunction(arg1, callback) {
 *     // arg1 now equals 'three'
 *     callback(null, 'done');
 * }
 */

/**
 * Same as [`reduce`]{@link module:Collections.reduce}, only operates on `array` in reverse order.
 *
 * @name reduceRight
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.reduce]{@link module:Collections.reduce}
 * @alias foldr
 * @category Collection
 * @param {Array} array - A collection to iterate over.
 * @param {*} memo - The initial state of the reduction.
 * @param {AsyncFunction} iteratee - A function applied to each item in the
 * array to produce the next step in the reduction.
 * The `iteratee` should complete with the next state of the reduction.
 * If the iteratee completes with an error, the reduction is stopped and the
 * main `callback` is immediately called with the error.
 * Invoked with (memo, item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished. Result is the reduced value. Invoked with
 * (err, result).
 * @returns {Promise} a promise, if no callback is passed
 */

/**
 * Scale `coordinate` by `scale`. `coordinate` is modified in place and returned
 * by the function.
 *
 * Example:
 *
 *     import {scale as scaleCoordinate} from 'ol/coordinate.js';
 *
 *     const coord = [7.85, 47.983333];
 *     const scale = 1.2;
 *     scaleCoordinate(coord, scale);
 *     // coord is now [9.42, 57.5799996]
 *
 * @param {Coordinate} coordinate Coordinate.
 * @param {number} scale Scale factor.
 * @return {Coordinate} Coordinate.
 */

/**
 * Scale the coordinates.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} sx Scale factor in the x-direction.
 * @param {number} sy Scale factor in the y-direction.
 * @param {Array<number>} anchor Scale anchor point.
 * @param {Array<number>} [dest] Destination.
 * @return {Array<number>} Transformed coordinates.
 */

/**
 * Scan a glob pattern to separate the pattern into segments.
 *
 * ```js
 * const picomatch = require('picomatch');
 * // picomatch.scan(input[, options]);
 *
 * const result = picomatch.scan('!./foo/*.js');
 * console.log(result);
 * { prefix: '!./',
 *   input: '!./foo/*.js',
 *   start: 3,
 *   base: 'foo',
 *   glob: '*.js',
 *   isBrace: false,
 *   isBracket: false,
 *   isGlob: true,
 *   isExtglob: false,
 *   isGlobstar: false,
 *   negated: true }
 * ```
 * @param {String} `input` Glob pattern to scan.
 * @param {Object} `options`
 * @return {Object} Returns an object with
 * @api public
 */

/**
 * Scan a glob pattern to separate the pattern into segments. Used
 * by the [split](#split) method.
 *
 * ```js
 * const mm = require('micromatch');
 * const state = mm.scan(pattern[, options]);
 * ```
 * @param {String} `pattern`
 * @param {Object} `options`
 * @return {Object} Returns an object with
 * @api public
 */

/**
 * Searches in the list of transform functions for the function for converting
 * coordinates from the source projection to the destination projection.
 *
 * @param {Projection} sourceProjection Source Projection object.
 * @param {Projection} destinationProjection Destination Projection
 *     object.
 * @return {TransformFunction} Transform function.
 */

/**
 * See {@link #setActiveTab}. Sets the specified tab as the active tab. This method fires
 * the {@link #beforetabchange} event which can <tt>return false</tt> to cancel the tab change.
 * @param {String/Panel} tab The id or tab Panel to activate
 * @method activate
 */

/**
 * Selects an array of DOM nodes by CSS/XPath selector. Shorthand of {@link Ext.DomQuery#select}
 * @param {String} path The selector/xpath query
 * @param {Node} root (optional) The start of the query (defaults to document).
 * @return {Array}
 * @member Ext
 * @method query
 */

/**
 * Selects elements based on the passed CSS selector to enable {@link Ext.Element Element} methods
 * to be applied to many related elements in one statement through the returned {@link Ext.CompositeElement CompositeElement} or
 * {@link Ext.CompositeElementLite CompositeElementLite} object.
 * @param {String/Array} selector The CSS selector or an array of elements
 * @param {Boolean} unique (optional) true to create a unique Ext.Element for each element (defaults to a shared flyweight object)
 * @param {HTMLElement/String} root (optional) The root element of the query or id of the root
 * @return {CompositeElementLite/CompositeElement}
 * @member Ext.Element
 * @method select
 */

/**
 * Selects elements based on the passed CSS selector to enable {@link Ext.Element Element} methods
 * to be applied to many related elements in one statement through the returned {@link Ext.CompositeElement CompositeElement} or
 * {@link Ext.CompositeElementLite CompositeElementLite} object.
 * @param {String/Array} selector The CSS selector or an array of elements
 * @param {HTMLElement/String} root (optional) The root element of the query or id of the root
 * @return {CompositeElementLite/CompositeElement}
 * @member Ext
 * @method select
 */

/**
 * Selects elements based on the passed CSS selector to enable {@link Ext.Element Element} methods
 * to be applied to many related elements in one statement through the returned {@link Ext.CompositeElement CompositeElement} or
 * {@link Ext.CompositeElementLite CompositeElementLite} object.
 * @param {String/Array} selector The CSS selector or an array of elements
 * @param {HTMLElement/String} root (optional) The root element of the query or id of the root
 * @return {CompositeElementLite/CompositeElement}
 * @member Ext.Element
 * @method select
 */

/**
 * Semi-major radius of the WGS84 ellipsoid.
 *
 * @const
 * @type {number}
 */

/**
 * Sentence case a string.
 *
 * @param  {string} str
 * @param  {string} locale
 * @param  {string} replacement
 * @return {string}
 */

/**
 * Serialize the accumulated mappings in to the stream of base 64 VLQs
 * specified by the source map format.
 */

/**
 * Set of controls included in maps by default. Unless configured otherwise,
 * this returns a collection containing an instance of each of the following
 * controls:
 * * {@link module:ol/control/Zoom~Zoom}
 * * {@link module:ol/control/Rotate~Rotate}
 * * {@link module:ol/control/Attribution~Attribution}
 *
 * @param {DefaultsOptions} [options] Options for the default controls.
 * @return {Collection<import("./Control.js").default>} A collection of controls
 * to be used with the {@link module:ol/Map~Map} constructor's `controls` option.
 * @api
 */

/**
 * Set of interactions included in maps by default. Specific interactions can be
 * excluded by setting the appropriate option to false in the constructor
 * options, but the order of the interactions is fixed.  If you want to specify
 * a different order for interactions, you will need to create your own
 * {@link module:ol/interaction/Interaction~Interaction} instances and insert
 * them into a {@link module:ol/Collection~Collection} in the order you want
 * before creating your {@link module:ol/Map~Map} instance. Changing the order can
 * be of interest if the event propagation needs to be stopped at a point.
 * The default set of interactions, in sequence, is:
 * * {@link module:ol/interaction/DragRotate~DragRotate}
 * * {@link module:ol/interaction/DoubleClickZoom~DoubleClickZoom}
 * * {@link module:ol/interaction/DragPan~DragPan}
 * * {@link module:ol/interaction/PinchRotate~PinchRotate}
 * * {@link module:ol/interaction/PinchZoom~PinchZoom}
 * * {@link module:ol/interaction/KeyboardPan~KeyboardPan}
 * * {@link module:ol/interaction/KeyboardZoom~KeyboardZoom}
 * * {@link module:ol/interaction/MouseWheelZoom~MouseWheelZoom}
 * * {@link module:ol/interaction/DragZoom~DragZoom}
 *
 * @param {DefaultsOptions} [options] Defaults options.
 * @return {Collection<import("./Interaction.js").default>}
 * A collection of interactions to be used with the {@link module:ol/Map~Map}
 * constructor's `interactions` option.
 * @api
 */

/**
 * Set the logging level.  By default, the level is set to 'info' and all
 * messages will be logged.  Set to 'warn' to only display warnings and errors.
 * Set to 'error' to only display errors.  Set to 'none' to silence all messages.
 *
 * @param {Level} l The new level.
 */

/**
 * Set the projection for coordinates supplied from and returned by API methods.
 * This includes all API methods except for those interacting with tile grids.
 * @param {ProjectionLike} projection The user projection.
 * @api
 */

/**
 * Set the source content for a source file.
 */

/**
 * Set the source content for a source file. This will be added to the SourceMapGenerator
 * in the sourcesContent field.
 *
 * @param aSourceFile The filename of the source file
 * @param aSourceContent The content of the source file
 */

/**
 * Set the transform components a-f on a given transform.
 * @param {!Transform} transform Transform.
 * @param {number} a The a component of the transform.
 * @param {number} b The b component of the transform.
 * @param {number} c The c component of the transform.
 * @param {number} d The d component of the transform.
 * @param {number} e The e component of the transform.
 * @param {number} f The f component of the transform.
 * @return {!Transform} Matrix with transform applied.
 */

/**
 * Set transform on one matrix from another matrix.
 * @param {!Transform} transform1 Matrix to set transform to.
 * @param {!Transform} transform2 Matrix to set transform from.
 * @return {!Transform} transform1 with transform from transform2 applied.
 */

/**
 * Sets a time limit on an asynchronous function. If the function does not call
 * its callback within the specified milliseconds, it will be called with a
 * timeout error. The code property for the error object will be `'ETIMEDOUT'`.
 *
 * @name timeout
 * @static
 * @memberOf module:Utils
 * @method
 * @category Util
 * @param {AsyncFunction} asyncFn - The async function to limit in time.
 * @param {number} milliseconds - The specified time limit.
 * @param {*} [info] - Any variable you want attached (`string`, `object`, etc)
 * to timeout Error for more information..
 * @returns {AsyncFunction} Returns a wrapped function that can be used with any
 * of the control flow functions.
 * Invoke this function with the same parameters as you would `asyncFunc`.
 * @example
 *
 * function myFunction(foo, callback) {
 *     doAsyncTask(foo, function(err, data) {
 *         // handle errors
 *         if (err) return callback(err);
 *
 *         // do some stuff ...
 *
 *         // return processed data
 *         return callback(null, data);
 *     });
 * }
 *
 * var wrapped = async.timeout(myFunction, 1000);
 *
 * // call `wrapped` as you would `myFunction`
 * wrapped({ bar: 'bar' }, function(err, data) {
 *     // if `myFunction` takes < 1000 ms to execute, `err`
 *     // and `data` will have their expected values
 *
 *     // else `err` will be an Error with the code 'ETIMEDOUT'
 * });
 */

/**
 * Sets observability on the passed class constructor.<p>
 * <p>This makes any event fired on any instance of the passed class also fire a single event through
 * the <i>class</i> allowing for central handling of events on many instances at once.</p>
 * <p>Usage:</p><pre><code>
Ext.util.Observable.observeClass(Ext.data.Connection);
Ext.data.Connection.on('beforerequest', function(con, options) {
    console.log('Ajax request made to ' + options.url);
});</code></pre>
 * @param {Function} c The class constructor to make observable.
 * @param {Object} listeners An object containing a series of listeners to add. See {@link #addListener}. 
 * @static
 */

/**
 * Sets the hash `key` to `value`.
 *
 * @private
 * @name set
 * @memberOf Hash
 * @param {string} key The key of the value to set.
 * @param {*} value The value to set.
 * @returns {Object} Returns the hash instance.
 */

/**
 * Sets the list cache `key` to `value`.
 *
 * @private
 * @name set
 * @memberOf ListCache
 * @param {string} key The key of the value to set.
 * @param {*} value The value to set.
 * @returns {Object} Returns the list cache instance.
 */

/**
 * Sets the map `key` to `value`.
 *
 * @private
 * @name set
 * @memberOf MapCache
 * @param {string} key The key of the value to set.
 * @param {*} value The value to set.
 * @returns {Object} Returns the map cache instance.
 */

/**
 * Sets the stack `key` to `value`.
 *
 * @private
 * @name set
 * @memberOf Stack
 * @param {string} key The key of the value to set.
 * @param {*} value The value to set.
 * @returns {Object} Returns the stack cache instance.
 */

/**
 * Setter for the withCredentials configuration for the XHR.
 *
 * @param {boolean} xhrWithCredentials The value of withCredentials to set.
 * Compare https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/
 * @api
 */

/**
 * Settings contains static getters and setters that control Luxon's overall behavior. Luxon is a simple library with few options, but the ones it does have live here.
 */

/**
 * Shorthand for {@link Ext.ComponentMgr#create}
 * Creates a new Component from the specified config object using the
 * config object's {@link Ext.component#xtype xtype} to determine the class to instantiate.
 * @param {Object} config A configuration object for the Component you wish to create.
 * @param {Constructor} defaultType The constructor to provide the default Component type if
 * the config object does not contain a <code>xtype</code>. (Optional if the config contains a <code>xtype</code>).
 * @return {Ext.Component} The newly instantiated Component.
 * @member Ext
 * @method create
 */

/**
 * Shorthand for {@link Ext.ComponentMgr#registerPlugin}
 * @param {String} ptype The {@link Ext.component#ptype mnemonic string} by which the Plugin class
 * may be looked up.
 * @param {Constructor} cls The new Plugin class.
 * @member Ext
 * @method preg
 */

/**
 * Shorthand for {@link Ext.ComponentMgr#registerType}
 * @param {String} xtype The {@link Ext.component#xtype mnemonic string} by which the Component class
 * may be looked up.
 * @param {Constructor} cls The new Component class.
 * @member Ext
 * @method reg
 */

/**
 * Shorthand for {@link Ext.MessageBox}
 */

/**
 * Shorthand for {@link Ext.util.JSON#decode}
 * @param {String} json The JSON string
 * @param {Boolean} safe (optional) Whether to return null or throw an exception if the JSON is invalid.
 * @return {Object} The resulting object
 * @member Ext
 * @method decode
 */

/**
 * Shorthand for {@link Ext.util.JSON#encode}
 * @param {Mixed} o The variable to encode
 * @return {String} The JSON string
 * @member Ext
 * @method encode
 */

/**
 * Simple Import Dialog
 *
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.ImportDialog
 * @extends     Tine.widgets.dialog.EditDialog
 * @constructor
 * @param       {Object} config The configuration options.
 * 
 * TODO add app grid to show results when dry run is selected
 */

/**
 * Simple flat clone using prototype, accepts only objects, usefull for property
 * override on FLAT configuration object (no nested props).
 *
 * USE WITH CAUTION! This may not behave as you wish if you do not know how this
 * works.
 */

/**
 * Simple password field widget to allow toggling between text and password field
 *
 * @namespace   Tine.Tinebase.widgets.form
 * @author      Michael Spahn <m.spahn@metaways.de>
 * @class       Tine.Tinebase.widgets.form.PasswordTriggerField
 * @extends     Ext.form.TriggerField
 */

/**
 * Simplifies a line string using an algorithm designed by Tim Schaub.
 * Coordinates are snapped to the nearest value in a virtual grid and
 * consecutive duplicate coordinates are discarded.  This effectively preserves
 * topology as the simplification of any subsection of a line string is
 * independent of the rest of the line string.  This means that, for examples,
 * the common edge between two polygons will be simplified to the same line
 * string independently in both polygons.  This implementation uses a single
 * pass over the coordinates and eliminates intermediate collinear points.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {number} tolerance Tolerance.
 * @param {Array<number>} simplifiedFlatCoordinates Simplified flat
 *     coordinates.
 * @param {number} simplifiedOffset Simplified offset.
 * @return {number} Simplified offset.
 */

/**
 * Slices a variable.
 *
 * @param item A variable
 * @param {number} start Start of the slice
 * @param {number} length Size of the slice
 * @param {boolean} preserveKeys Whether to preserve key or not (when the input is an object)
 *
 * @returns {Promise<string | Map<any, any>>} The sliced variable
 */

/**
 * Snake case a string.
 *
 * @param  {string} value
 * @param  {string} [locale]
 * @return {string}
 */

/**
 * Solves system of linear equations using Gaussian elimination method.
 *
 * @param {Array<Array<number>>} mat Augmented matrix (n x n + 1 column)
 *                                     in row-major order.
 * @return {Array<number>} The resulting vector.
 */

/**
 * Sort a map and maintain index association.
 *
 * @param {Map<*, *>} map
 * @param {Function} handler
 * @returns {Map<* ,*>}
 */

/**
 * Sort a map by key
 *
 * @param {Map<*, *>} map
 * @param {Function} handler
 */

/**
 * Sort the given array in-place with the given comparator function.
 *
 * @param {Array} ary
 *        An array to sort.
 * @param {function} comparator
 *        Function to use to compare two items.
 */

/**
 * Sort the passed array such that the relative order of equal elements is preserved.
 * See https://en.wikipedia.org/wiki/Sorting_algorithm#Stability for details.
 * @param {Array<*>} arr The array to sort (modifies original).
 * @param {!function(*, *): number} compareFnc Comparison function.
 * @api
 */

/**
 * Sorts a list by the results of running each `coll` value through an async
 * `iteratee`.
 *
 * @name sortBy
 * @static
 * @memberOf module:Collections
 * @method
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - An async function to apply to each item in
 * `coll`.
 * The iteratee should complete with a value to use as the sort criteria as
 * its `result`.
 * Invoked with (item, callback).
 * @param {Function} callback - A callback which is called after all the
 * `iteratee` functions have finished, or an error occurs. Results is the items
 * from the original `coll` sorted by the values returned by the `iteratee`
 * calls. Invoked with (err, results).
 * @returns {Promise} a promise, if no callback passed
 * @example
 *
 * // bigfile.txt is a file that is 251100 bytes in size
 * // mediumfile.txt is a file that is 11000 bytes in size
 * // smallfile.txt is a file that is 121 bytes in size
 *
 * // asynchronous function that returns the file size in bytes
 * function getFileSizeInBytes(file, callback) {
 *     fs.stat(file, function(err, stat) {
 *         if (err) {
 *             return callback(err);
 *         }
 *         callback(null, stat.size);
 *     });
 * }
 *
 * // Using callbacks
 * async.sortBy(['mediumfile.txt','smallfile.txt','bigfile.txt'], getFileSizeInBytes,
 *     function(err, results) {
 *         if (err) {
 *             console.log(err);
 *         } else {
 *             console.log(results);
 *             // results is now the original array of files sorted by
 *             // file size (ascending by default), e.g.
 *             // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt']
 *         }
 *     }
 * );
 *
 * // By modifying the callback parameter the
 * // sorting order can be influenced:
 *
 * // ascending order
 * async.sortBy(['mediumfile.txt','smallfile.txt','bigfile.txt'], function(file, callback) {
 *     getFileSizeInBytes(file, function(getFileSizeErr, fileSize) {
 *         if (getFileSizeErr) return callback(getFileSizeErr);
 *         callback(null, fileSize);
 *     });
 * }, function(err, results) {
 *         if (err) {
 *             console.log(err);
 *         } else {
 *             console.log(results);
 *             // results is now the original array of files sorted by
 *             // file size (ascending by default), e.g.
 *             // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt']
 *         }
 *     }
 * );
 *
 * // descending order
 * async.sortBy(['bigfile.txt','mediumfile.txt','smallfile.txt'], function(file, callback) {
 *     getFileSizeInBytes(file, function(getFileSizeErr, fileSize) {
 *         if (getFileSizeErr) {
 *             return callback(getFileSizeErr);
 *         }
 *         callback(null, fileSize * -1);
 *     });
 * }, function(err, results) {
 *         if (err) {
 *             console.log(err);
 *         } else {
 *             console.log(results);
 *             // results is now the original array of files sorted by
 *             // file size (ascending by default), e.g.
 *             // [ 'bigfile.txt', 'mediumfile.txt', 'smallfile.txt']
 *         }
 *     }
 * );
 *
 * // Error handling
 * async.sortBy(['mediumfile.txt','smallfile.txt','missingfile.txt'], getFileSizeInBytes,
 *     function(err, results) {
 *         if (err) {
 *             console.log(err);
 *             // [ Error: ENOENT: no such file or directory ]
 *         } else {
 *             console.log(results);
 *         }
 *     }
 * );
 *
 * // Using Promises
 * async.sortBy(['mediumfile.txt','smallfile.txt','bigfile.txt'], getFileSizeInBytes)
 * .then( results => {
 *     console.log(results);
 *     // results is now the original array of files sorted by
 *     // file size (ascending by default), e.g.
 *     // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt']
 * }).catch( err => {
 *     console.log(err);
 * });
 *
 * // Error handling
 * async.sortBy(['mediumfile.txt','smallfile.txt','missingfile.txt'], getFileSizeInBytes)
 * .then( results => {
 *     console.log(results);
 * }).catch( err => {
 *     console.log(err);
 *     // [ Error: ENOENT: no such file or directory ]
 * });
 *
 * // Using async/await
 * (async () => {
 *     try {
 *         let results = await async.sortBy(['bigfile.txt','mediumfile.txt','smallfile.txt'], getFileSizeInBytes);
 *         console.log(results);
 *         // results is now the original array of files sorted by
 *         // file size (ascending by default), e.g.
 *         // [ 'smallfile.txt', 'mediumfile.txt', 'bigfile.txt']
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * })();
 *
 * // Error handling
 * async () => {
 *     try {
 *         let results = await async.sortBy(['missingfile.txt','mediumfile.txt','smallfile.txt'], getFileSizeInBytes);
 *         console.log(results);
 *     }
 *     catch (err) {
 *         console.log(err);
 *         // [ Error: ENOENT: no such file or directory ]
 *     }
 * }
 *
 */

/**
 * Sorts an iterable.
 *
 * @param {Map<any, any>} iterable
 *
 * @returns {Promise<Map<any, any>>}
 */

/**
 * SourceNodes provide a way to abstract over interpolating/concatenating
 * snippets of generated JavaScript source code while maintaining the line and
 * column information associated with the original source code.
 *
 * @param aLine The original line number.
 * @param aColumn The original column number.
 * @param aSource The original source's filename.
 * @param aChunks Optional. An array of strings which are snippets of
 *        generated JS, or other SourceNodes.
 * @param aName The original identifier.
 */

/**
 * Special language-specific overrides.
 *
 * Source: ftp://ftp.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt
 *
 * @type {Object}
 */

/**
 * Specify radius for regular polygons, or radius1 and radius2 for stars.
 * @typedef {Object} Options
 * @property {import("./Fill.js").default} [fill] Fill style.
 * @property {number} points Number of points for stars and regular polygons. In case of a polygon, the number of points
 * is the number of sides.
 * @property {number} [radius] Radius of a regular polygon.
 * @property {number} [radius1] First radius of a star. Ignored if radius is set.
 * @property {number} [radius2] Second radius of a star.
 * @property {number} [angle=0] Shape's angle in radians. A value of 0 will have one of the shape's points facing up.
 * @property {Array<number>} [displacement=[0, 0]] Displacement of the shape in pixels.
 * Positive values will shift the shape right and up.
 * @property {import("./Stroke.js").default} [stroke] Stroke style.
 * @property {number} [rotation=0] Rotation in radians (positive rotation clockwise).
 * @property {boolean} [rotateWithView=false] Whether to rotate the shape with the view.
 * @property {number|import("../size.js").Size} [scale=1] Scale. Unless two dimensional scaling is required a better
 * result may be obtained with appropriate settings for `radius`, `radius1` and `radius2`.
 * @property {"declutter"|"obstacle"|"none"|undefined} [declutterMode] Declutter mode.
 */

/**
 * Split an hash into chunks.
 *
 * @param {*} hash
 * @param {number} size
 * @param {boolean} preserveKeys
 * @returns {Promise<Array<Map<any, any>>>}
 */

/**
 * Splits the string into an array.
 *
 * <pre>
 *  {{ "one,two,three"|split(',') }}
 *  {# returns [one, two, three] #}
 *
 *  {{ "one,two,three,four,five"|split(',', 3) }}
 *  {# returns [one, two, "three,four,five"] #}
 *
 *  {{ "123"|split('') }}
 *  {# returns [1, 2, 3] #}
 *
 *  {{ "aabbcc"|split('', 2) }}
 *  {# returns [aa, bb, cc] #}
 * </pre>
 *
 * @param {string} value A string
 * @param {string} delimiter The delimiter
 * @param {number} limit The limit
 *
 * @returns {Promise<Array<string>>} The split string as an array
 */

/**
 * Start fast and slow down.
 * @param {number} t Input between 0 and 1.
 * @return {number} Output between 0 and 1.
 * @api
 */

/**
 * Start slow and speed up.
 * @param {number} t Input between 0 and 1.
 * @return {number} Output between 0 and 1.
 * @api
 */

/**
 * Start slow, speed up, and at the very end slow down again.  This has the
 * same general behavior as {@link module:ol/easing.inAndOut}, but the final
 * slowdown is delayed.
 * @param {number} t Input between 0 and 1.
 * @return {number} Output between 0 and 1.
 * @api
 */

/**
 * Start slow, speed up, and then slow down again.
 * @param {number} t Input between 0 and 1.
 * @return {number} Output between 0 and 1.
 * @api
 */

/**
 * Starts capture on the specified Observable. All events will be passed
 * to the supplied function with the event name + standard signature of the event
 * <b>before</b> the event is fired. If the supplied function returns false,
 * the event will not fire.
 * @param {Observable} o The Observable to capture events from.
 * @param {Function} fn The function to call when an event is fired.
 * @param {Object} scope (optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the Observable firing the event.
 * @static
 */

/**
 * State of the current frame. Only `pixelRatio`, `time` and `viewState` should
 * be used in applications.
 * @typedef {Object} FrameState
 * @property {number} pixelRatio The pixel ratio of the frame.
 * @property {number} time The time when rendering of the frame was requested.
 * @property {import("./View.js").State} viewState The state of the current view.
 * @property {boolean} animate Animate.
 * @property {import("./transform.js").Transform} coordinateToPixelTransform CoordinateToPixelTransform.
 * @property {import("rbush").default} declutterTree DeclutterTree.
 * @property {null|import("./extent.js").Extent} extent Extent.
 * @property {import("./extent.js").Extent} [nextExtent] Next extent during an animation series.
 * @property {number} index Index.
 * @property {Array<import("./layer/Layer.js").State>} layerStatesArray LayerStatesArray.
 * @property {number} layerIndex LayerIndex.
 * @property {import("./transform.js").Transform} pixelToCoordinateTransform PixelToCoordinateTransform.
 * @property {Array<PostRenderFunction>} postRenderFunctions PostRenderFunctions.
 * @property {import("./size.js").Size} size Size.
 * @property {TileQueue} tileQueue TileQueue.
 * @property {!Object<string, Object<string, boolean>>} usedTiles UsedTiles.
 * @property {Array<number>} viewHints ViewHints.
 * @property {!Object<string, Object<string, boolean>>} wantedTiles WantedTiles.
 * @property {string} mapId The id of the map.
 * @property {Object<string, boolean>} renderTargets Identifiers of previously rendered elements.
 */

/**
 * Static convenience method. <b>This method is deprecated in favor of el.load({url:'foo.php', ...})</b>.
 * Usage:
 * <pre><code>Ext.Updater.updateElement("my-div", "stuff.php");</code></pre>
 * @param {Mixed} el The element to update
 * @param {String} url The url
 * @param {String/Object} params (optional) Url encoded param string or an object of name/value pairs
 * @param {Object} options (optional) A config object with any of the Updater properties you want to set - for
 * example: {disableCaching:true, indicatorText: "Loading data..."}
 * @static
 * @deprecated
 * @member Ext.Updater
 */

/**
 * Static method for creating ArraySet instances from an existing array.
 */

/**
 * Strategy function for loading all features with a single request.
 * @param {import("./extent.js").Extent} extent Extent.
 * @param {number} resolution Resolution.
 * @return {Array<import("./extent.js").Extent>} Extents.
 * @api
 */

/**
 * Strategy function for loading features based on the view's extent and
 * resolution.
 * @param {import("./extent.js").Extent} extent Extent.
 * @param {number} resolution Resolution.
 * @return {Array<import("./extent.js").Extent>} Extents.
 * @api
 */

/**
 * Strip any JSON XSSI avoidance prefix from the string (as documented
 * in the source maps specification), and then parse the string as
 * JSON.
 */

/**
 * Stroke style properties applied to line strings and polygon boundaries.  To apply a stroke, at least one of
 * `stroke-color` or `stroke-width` must be provided.
 *
 * @typedef {Object} FlatStroke
 * @property {import("../color.js").Color|import("../colorlike.js").ColorLike} [stroke-color] The stroke color.
 * @property {number} [stroke-width] Stroke pixel width.
 * @property {CanvasLineCap} [stroke-line-cap='round'] Line cap style: `butt`, `round`, or `square`.
 * @property {CanvasLineJoin} [stroke-line-join='round'] Line join style: `bevel`, `round`, or `miter`.
 * @property {Array<number>} [stroke-line-dash] Line dash pattern.
 * @property {number} [stroke-line-dash-offset=0] Line dash offset.
 * @property {number} [stroke-miter-limit=10] Miter limit.
 */

/**
 * Swap the elements indexed by `x` and `y` in the array `ary`.
 *
 * @param {Array} ary
 *        The array.
 * @param {Number} x
 *        The index of the first item.
 * @param {Number} y
 *        The index of the second item.
 */

/**
 * SyntaxError
 *  Holds information about bad syntax found in a message pattern
 **/

/**
 * TODO this function is only used in the test, we probably shouldn't export it
 * @param {Color} color Color.
 * @return {Color} Clamped color.
 */

/**
 * Take a sync function and make it async, passing its return value to a
 * callback. This is useful for plugging sync functions into a waterfall,
 * series, or other async functions. Any arguments passed to the generated
 * function will be passed to the wrapped function (except for the final
 * callback argument). Errors thrown will be passed to the callback.
 *
 * If the function passed to `asyncify` returns a Promise, that promises's
 * resolved/rejected state will be used to call the callback, rather than simply
 * the synchronous return value.
 *
 * This also means you can asyncify ES2017 `async` functions.
 *
 * @name asyncify
 * @static
 * @memberOf module:Utils
 * @method
 * @alias wrapSync
 * @category Util
 * @param {Function} func - The synchronous function, or Promise-returning
 * function to convert to an {@link AsyncFunction}.
 * @returns {AsyncFunction} An asynchronous wrapper of the `func`. To be
 * invoked with `(args..., callback)`.
 * @example
 *
 * // passing a regular synchronous function
 * async.waterfall([
 *     async.apply(fs.readFile, filename, "utf8"),
 *     async.asyncify(JSON.parse),
 *     function (data, next) {
 *         // data is the result of parsing the text.
 *         // If there was a parsing error, it would have been caught.
 *     }
 * ], callback);
 *
 * // passing a function returning a promise
 * async.waterfall([
 *     async.apply(fs.readFile, filename, "utf8"),
 *     async.asyncify(function (contents) {
 *         return db.model.create(contents);
 *     }),
 *     function (model, next) {
 *         // `model` is the instantiated model object.
 *         // If there was an error, this function would be skipped.
 *     }
 * ], callback);
 *
 * // es2017 example, though `asyncify` is not needed if your JS environment
 * // supports async functions out of the box
 * var q = async.queue(async.asyncify(async function(file) {
 *     var intermediateStep = await processFile(file);
 *     return await somePromise(intermediateStep)
 * }));
 *
 * q.push(files);
 */

/**
 * Takes a number and clamps it to within the provided bounds.
 * @param {number} value The input number.
 * @param {number} min The minimum value to return.
 * @param {number} max The maximum value to return.
 * @return {number} The input number if it is within bounds, or the nearest
 *     number within the bounds.
 */

/**
 * Test `input` with the given `regex`. This is used by the main
 * `picomatch()` function to test the input string.
 *
 * ```js
 * const picomatch = require('picomatch');
 * // picomatch.test(input, regex[, options]);
 *
 * console.log(picomatch.test('foo/bar', /^(?:([^/]*?)\/([^/]*?))$/));
 * // { isMatch: true, match: [ 'foo/', 'foo', 'bar' ], output: 'foo/bar' }
 * ```
 * @param {String} `input` String to test.
 * @param {RegExp} `regex`
 * @return {Object} Returns an object with matching info.
 * @api public
 */

/**
 * Tests a condition.
 *
 * <pre>
 * {% if users %}
 *  <ul>
 *    {% for user in users %}
 *      <li>{{ user.username|e }}</li>
 *    {% endfor %}
 *  </ul>
 * {% endif %}
 * </pre>
 */

/**
 * The Buffer constructor returns instances of `Uint8Array` that have their
 * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
 * `Uint8Array`, so the returned instances will have all the node `Buffer` methods
 * and the `Uint8Array` methods. Square bracket notation works as expected -- it
 * returns a single octet.
 *
 * The `Uint8Array` prototype remains unmodified.
 */

/**
 * The Info class contains static methods for retrieving general time and date related data. For example, it has methods for finding out if a time zone has a DST, for listing the months in any supported locale, and for discovering which of Luxon features are available in the current environment.
 */

/**
 * The Quick Sort algorithm.
 *
 * @param {Array} ary
 *        An array to sort.
 * @param {function} comparator
 *        Function to use to compare two items.
 * @param {Number} p
 *        Start index of the array
 * @param {Number} r
 *        End index of the array
 */

/**
 * The base implementation of `_.assignIn` without support for multiple sources
 * or `customizer` functions.
 *
 * @private
 * @param {Object} object The destination object.
 * @param {Object} source The source object.
 * @returns {Object} Returns `object`.
 */

/**
 * The base implementation of `_.assign` without support for multiple sources
 * or `customizer` functions.
 *
 * @private
 * @param {Object} object The destination object.
 * @param {Object} source The source object.
 * @returns {Object} Returns `object`.
 */

/**
 * The base implementation of `_.clone` and `_.cloneDeep` which tracks
 * traversed objects.
 *
 * @private
 * @param {*} value The value to clone.
 * @param {boolean} bitmask The bitmask flags.
 *  1 - Deep clone
 *  2 - Flatten inherited properties
 *  4 - Clone symbols
 * @param {Function} [customizer] The function to customize cloning.
 * @param {string} [key] The key of `value`.
 * @param {Object} [object] The parent object of `value`.
 * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
 * @returns {*} Returns the cloned value.
 */

/**
 * The base implementation of `_.isArguments`.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is an `arguments` object,
 */

/**
 * The base implementation of `_.isMap` without Node.js optimizations.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a map, else `false`.
 */

/**
 * The base implementation of `_.isNative` without bad shim checks.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a native function,
 *  else `false`.
 */

/**
 * The base implementation of `_.isSet` without Node.js optimizations.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a set, else `false`.
 */

/**
 * The base implementation of `_.isTypedArray` without Node.js optimizations.
 *
 * @private
 * @param {*} value The value to check.
 * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
 */

/**
 * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
 *
 * @private
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of property names.
 */

/**
 * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
 *
 * @private
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of property names.
 */

/**
 * The base implementation of `_.times` without support for iteratee shorthands
 * or max array length checks.
 *
 * @private
 * @param {number} n The number of times to invoke `iteratee`.
 * @param {Function} iteratee The function invoked per iteration.
 * @returns {Array} Returns the array of results.
 */

/**
 * The base implementation of `_.unary` without support for storing metadata.
 *
 * @private
 * @param {Function} func The function to cap arguments for.
 * @returns {Function} Returns the new capped function.
 */

/**
 * The base implementation of `assignValue` and `assignMergeValue` without
 * value checks.
 *
 * @private
 * @param {Object} object The object to modify.
 * @param {string} key The key of the property to assign.
 * @param {*} value The value to assign.
 */

/**
 * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
 * `keysFunc` and `symbolsFunc` to get the enumerable property names and
 * symbols of `object`.
 *
 * @private
 * @param {Object} object The object to query.
 * @param {Function} keysFunc The function to get the keys of `object`.
 * @param {Function} symbolsFunc The function to get the symbols of `object`.
 * @returns {Array} Returns the array of property names and symbols.
 */

/**
 * The base implementation of `getTag` without fallbacks for buggy environments.
 *
 * @private
 * @param {*} value The value to query.
 * @returns {string} Returns the `toStringTag`.
 */

/**
 * The characters pairs recognized as brackets.
 */

/**
 * The default drag frame div id
 * @property Ext.dd.DDProxy.dragElId
 * @type String
 * @static
 */

/**
 * The drag and drop utility provides a framework for building drag and drop
 * applications.  In addition to enabling drag and drop for specific elements,
 * the drag and drop elements are tracked by the manager class, and the
 * interactions between the various elements are tracked during the drag and
 * the implementing code is notified about these important moments.
 */

/**
 * The list of original sources.
 */

/**
 * The mean Earth radius (1/3 * (2a + b)) for the WGS84 ellipsoid.
 * https://en.wikipedia.org/wiki/Earth_radius#Mean_radius
 * @type {number}
 */

/**
 * The ol/proj module stores:
 * * a list of {@link module:ol/proj/Projection~Projection}
 * objects, one for each projection supported by the application
 * * a list of transform functions needed to convert coordinates in one projection
 * into another.
 *
 * The static functions are the methods used to maintain these.
 * Each transform function can handle not only simple coordinate pairs, but also
 * large arrays of coordinates such as vector geometries.
 *
 * When loaded, the library adds projection objects for EPSG:4326 (WGS84
 * geographic coordinates) and EPSG:3857 (Web or Spherical Mercator, as used
 * for example by Bing Maps or OpenStreetMap), together with the relevant
 * transform functions.
 *
 * Additional transforms may be added by using the http://proj4js.org/
 * library (version 2.2 or later). You can use the full build supplied by
 * Proj4js, or create a custom build to support those projections you need; see
 * the Proj4js website for how to do this. You also need the Proj4js definitions
 * for the required projections. These definitions can be obtained from
 * https://epsg.io/, and are a JS function, so can be loaded in a script
 * tag (as in the examples) or pasted into your application.
 *
 * After all required projection definitions are added to proj4's registry (by
 * using `proj4.defs()`), simply call `register(proj4)` from the `ol/proj/proj4`
 * package. Existing transforms are not changed by this function. See
 * examples/wms-image-custom-proj for an example of this.
 *
 * Additional projection definitions can be registered with `proj4.defs()` any
 * time. Just make sure to call `register(proj4)` again; for example, with user-supplied data where you don't
 * know in advance what projections are needed, you can initially load minimal
 * support and then load whichever are requested.
 *
 * Note that Proj4js does not support projection extents. If you want to add
 * one for creating default tile grids, you can add it after the Projection
 * object has been created with `setExtent`, for example,
 * `get('EPSG:1234').setExtent(extent)`.
 *
 * In addition to Proj4js support, any transform functions can be added with
 * {@link module:ol/proj.addCoordinateTransforms}. To use this, you must first create
 * a {@link module:ol/proj/Projection~Projection} object for the new projection and add it with
 * {@link module:ol/proj.addProjection}. You can then add the forward and inverse
 * functions with {@link module:ol/proj.addCoordinateTransforms}. See
 * examples/wms-custom-proj for an example of this.
 *
 * Note that if no transforms are needed and you only need to define the
 * projection, just add a {@link module:ol/proj/Projection~Projection} with
 * {@link module:ol/proj.addProjection}. See examples/wms-no-proj for an example of
 * this.
 */

/**
 * The opposite of [`filter`]{@link module:Collections.filter}. Removes values that pass an `async` truth test.
 *
 * @name reject
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.filter]{@link module:Collections.filter}
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {Function} iteratee - An async truth test to apply to each item in
 * `coll`.
 * The should complete with a boolean value as its `result`.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished. Invoked with (err, results).
 * @returns {Promise} a promise, if no callback is passed
 * @example
 *
 * // dir1 is a directory that contains file1.txt, file2.txt
 * // dir2 is a directory that contains file3.txt, file4.txt
 * // dir3 is a directory that contains file5.txt
 *
 * const fileList = ['dir1/file1.txt','dir2/file3.txt','dir3/file6.txt'];
 *
 * // asynchronous function that checks if a file exists
 * function fileExists(file, callback) {
 *    fs.access(file, fs.constants.F_OK, (err) => {
 *        callback(null, !err);
 *    });
 * }
 *
 * // Using callbacks
 * async.reject(fileList, fileExists, function(err, results) {
 *    // [ 'dir3/file6.txt' ]
 *    // results now equals an array of the non-existing files
 * });
 *
 * // Using Promises
 * async.reject(fileList, fileExists)
 * .then( results => {
 *     console.log(results);
 *     // [ 'dir3/file6.txt' ]
 *     // results now equals an array of the non-existing files
 * }).catch( err => {
 *     console.log(err);
 * });
 *
 * // Using async/await
 * async () => {
 *     try {
 *         let results = await async.reject(fileList, fileExists);
 *         console.log(results);
 *         // [ 'dir3/file6.txt' ]
 *         // results now equals an array of the non-existing files
 *     }
 *     catch (err) {
 *         console.log(err);
 *     }
 * }
 *
 */

/**
 * The post-check version of [`whilst`]{@link module:ControlFlow.whilst}. To reflect the difference in
 * the order of operations, the arguments `test` and `iteratee` are switched.
 *
 * `doWhilst` is to `whilst` as `do while` is to `while` in plain JavaScript.
 *
 * @name doWhilst
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @see [async.whilst]{@link module:ControlFlow.whilst}
 * @category Control Flow
 * @param {AsyncFunction} iteratee - A function which is called each time `test`
 * passes. Invoked with (callback).
 * @param {AsyncFunction} test - asynchronous truth test to perform after each
 * execution of `iteratee`. Invoked with (...args, callback), where `...args` are the
 * non-error args from the previous callback of `iteratee`.
 * @param {Function} [callback] - A callback which is called after the test
 * function has failed and repeated execution of `iteratee` has stopped.
 * `callback` will be passed an error and any arguments passed to the final
 * `iteratee`'s callback. Invoked with (err, [results]);
 * @returns {Promise} a promise, if no callback is passed
 */

/**
 * The same as [`applyEach`]{@link module:ControlFlow.applyEach} but runs only a single async operation at a time.
 *
 * @name applyEachSeries
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @see [async.applyEach]{@link module:ControlFlow.applyEach}
 * @category Control Flow
 * @param {Array|Iterable|AsyncIterable|Object} fns - A collection of {@link AsyncFunction}s to all
 * call with the same arguments
 * @param {...*} [args] - any number of separate arguments to pass to the
 * function.
 * @param {Function} [callback] - the final argument should be the callback,
 * called when all functions have completed processing.
 * @returns {AsyncFunction} - A function, that when called, is the result of
 * appling the `args` to the list of functions.  It takes no args, other than
 * a callback.
 */

/**
 * The same as [`concat`]{@link module:Collections.concat} but runs a maximum of `limit` async operations at a time.
 *
 * @name concatLimit
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.concat]{@link module:Collections.concat}
 * @category Collection
 * @alias flatMapLimit
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {number} limit - The maximum number of async operations at a time.
 * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`,
 * which should use an array as its result. Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished, or an error occurs. Results is an array
 * containing the concatenated results of the `iteratee` function. Invoked with
 * (err, results).
 * @returns A Promise, if no callback is passed
 */

/**
 * The same as [`concat`]{@link module:Collections.concat} but runs only a single async operation at a time.
 *
 * @name concatSeries
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.concat]{@link module:Collections.concat}
 * @category Collection
 * @alias flatMapSeries
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - A function to apply to each item in `coll`.
 * The iteratee should complete with an array an array of results.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished, or an error occurs. Results is an array
 * containing the concatenated results of the `iteratee` function. Invoked with
 * (err, results).
 * @returns A Promise, if no callback is passed
 */

/**
 * The same as [`detect`]{@link module:Collections.detect} but runs a maximum of `limit` async operations at a
 * time.
 *
 * @name detectLimit
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.detect]{@link module:Collections.detect}
 * @alias findLimit
 * @category Collections
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {number} limit - The maximum number of async operations at a time.
 * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`.
 * The iteratee must complete with a boolean value as its result.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called as soon as any
 * iteratee returns `true`, or after all the `iteratee` functions have finished.
 * Result will be the first item in the array that passes the truth test
 * (iteratee) or the value `undefined` if none passed. Invoked with
 * (err, result).
 * @returns {Promise} a promise, if a callback is omitted
 */

/**
 * The same as [`detect`]{@link module:Collections.detect} but runs only a single async operation at a time.
 *
 * @name detectSeries
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.detect]{@link module:Collections.detect}
 * @alias findSeries
 * @category Collections
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - A truth test to apply to each item in `coll`.
 * The iteratee must complete with a boolean value as its result.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called as soon as any
 * iteratee returns `true`, or after all the `iteratee` functions have finished.
 * Result will be the first item in the array that passes the truth test
 * (iteratee) or the value `undefined` if none passed. Invoked with
 * (err, result).
 * @returns {Promise} a promise, if a callback is omitted
 */

/**
 * The same as [`eachOf`]{@link module:Collections.eachOf} but runs a maximum of `limit` async operations at a
 * time.
 *
 * @name eachOfLimit
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.eachOf]{@link module:Collections.eachOf}
 * @alias forEachOfLimit
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {number} limit - The maximum number of async operations at a time.
 * @param {AsyncFunction} iteratee - An async function to apply to each
 * item in `coll`. The `key` is the item's key, or index in the case of an
 * array.
 * Invoked with (item, key, callback).
 * @param {Function} [callback] - A callback which is called when all
 * `iteratee` functions have finished, or an error occurs. Invoked with (err).
 * @returns {Promise} a promise, if a callback is omitted
 */

/**
 * The same as [`eachOf`]{@link module:Collections.eachOf} but runs only a single async operation at a time.
 *
 * @name eachOfSeries
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.eachOf]{@link module:Collections.eachOf}
 * @alias forEachOfSeries
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - An async function to apply to each item in
 * `coll`.
 * Invoked with (item, key, callback).
 * @param {Function} [callback] - A callback which is called when all `iteratee`
 * functions have finished, or an error occurs. Invoked with (err).
 * @returns {Promise} a promise, if a callback is omitted
 */

/**
 * The same as [`each`]{@link module:Collections.each} but runs a maximum of `limit` async operations at a time.
 *
 * @name eachLimit
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.each]{@link module:Collections.each}
 * @alias forEachLimit
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {number} limit - The maximum number of async operations at a time.
 * @param {AsyncFunction} iteratee - An async function to apply to each item in
 * `coll`.
 * The array index is not passed to the iteratee.
 * If you need the index, use `eachOfLimit`.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called when all
 * `iteratee` functions have finished, or an error occurs. Invoked with (err).
 * @returns {Promise} a promise, if a callback is omitted
 */

/**
 * The same as [`each`]{@link module:Collections.each} but runs only a single async operation at a time.
 *
 * Note, that unlike [`each`]{@link module:Collections.each}, this function applies iteratee to each item
 * in series and therefore the iteratee functions will complete in order.

 * @name eachSeries
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.each]{@link module:Collections.each}
 * @alias forEachSeries
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - An async function to apply to each
 * item in `coll`.
 * The array index is not passed to the iteratee.
 * If you need the index, use `eachOfSeries`.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called when all
 * `iteratee` functions have finished, or an error occurs. Invoked with (err).
 * @returns {Promise} a promise, if a callback is omitted
 */

/**
 * The same as [`every`]{@link module:Collections.every} but runs a maximum of `limit` async operations at a time.
 *
 * @name everyLimit
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.every]{@link module:Collections.every}
 * @alias allLimit
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {number} limit - The maximum number of async operations at a time.
 * @param {AsyncFunction} iteratee - An async truth test to apply to each item
 * in the collection in parallel.
 * The iteratee must complete with a boolean result value.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished. Result will be either `true` or `false`
 * depending on the values of the async tests. Invoked with (err, result).
 * @returns {Promise} a promise, if no callback provided
 */

/**
 * The same as [`every`]{@link module:Collections.every} but runs only a single async operation at a time.
 *
 * @name everySeries
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.every]{@link module:Collections.every}
 * @alias allSeries
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - An async truth test to apply to each item
 * in the collection in series.
 * The iteratee must complete with a boolean result value.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished. Result will be either `true` or `false`
 * depending on the values of the async tests. Invoked with (err, result).
 * @returns {Promise} a promise, if no callback provided
 */

/**
 * The same as [`filter`]{@link module:Collections.filter} but runs a maximum of `limit` async operations at a
 * time.
 *
 * @name filterLimit
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.filter]{@link module:Collections.filter}
 * @alias selectLimit
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {number} limit - The maximum number of async operations at a time.
 * @param {Function} iteratee - A truth test to apply to each item in `coll`.
 * The `iteratee` is passed a `callback(err, truthValue)`, which must be called
 * with a boolean argument once it has completed. Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished. Invoked with (err, results).
 * @returns {Promise} a promise, if no callback provided
 */

/**
 * The same as [`filter`]{@link module:Collections.filter} but runs only a single async operation at a time.
 *
 * @name filterSeries
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.filter]{@link module:Collections.filter}
 * @alias selectSeries
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {Function} iteratee - A truth test to apply to each item in `coll`.
 * The `iteratee` is passed a `callback(err, truthValue)`, which must be called
 * with a boolean argument once it has completed. Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished. Invoked with (err, results)
 * @returns {Promise} a promise, if no callback provided
 */

/**
 * The same as [`groupBy`]{@link module:Collections.groupBy} but runs a maximum of `limit` async operations at a time.
 *
 * @name groupByLimit
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.groupBy]{@link module:Collections.groupBy}
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {number} limit - The maximum number of async operations at a time.
 * @param {AsyncFunction} iteratee - An async function to apply to each item in
 * `coll`.
 * The iteratee should complete with a `key` to group the value under.
 * Invoked with (value, callback).
 * @param {Function} [callback] - A callback which is called when all `iteratee`
 * functions have finished, or an error occurs. Result is an `Object` whoses
 * properties are arrays of values which returned the corresponding key.
 * @returns {Promise} a promise, if no callback is passed
 */

/**
 * The same as [`groupBy`]{@link module:Collections.groupBy} but runs only a single async operation at a time.
 *
 * @name groupBySeries
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.groupBy]{@link module:Collections.groupBy}
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - An async function to apply to each item in
 * `coll`.
 * The iteratee should complete with a `key` to group the value under.
 * Invoked with (value, callback).
 * @param {Function} [callback] - A callback which is called when all `iteratee`
 * functions have finished, or an error occurs. Result is an `Object` whose
 * properties are arrays of values which returned the corresponding key.
 * @returns {Promise} a promise, if no callback is passed
 */

/**
 * The same as [`mapValues`]{@link module:Collections.mapValues} but runs a maximum of `limit` async operations at a
 * time.
 *
 * @name mapValuesLimit
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.mapValues]{@link module:Collections.mapValues}
 * @category Collection
 * @param {Object} obj - A collection to iterate over.
 * @param {number} limit - The maximum number of async operations at a time.
 * @param {AsyncFunction} iteratee - A function to apply to each value and key
 * in `coll`.
 * The iteratee should complete with the transformed value as its result.
 * Invoked with (value, key, callback).
 * @param {Function} [callback] - A callback which is called when all `iteratee`
 * functions have finished, or an error occurs. `result` is a new object consisting
 * of each key from `obj`, with each transformed value on the right-hand side.
 * Invoked with (err, result).
 * @returns {Promise} a promise, if no callback is passed
 */

/**
 * The same as [`mapValues`]{@link module:Collections.mapValues} but runs only a single async operation at a time.
 *
 * @name mapValuesSeries
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.mapValues]{@link module:Collections.mapValues}
 * @category Collection
 * @param {Object} obj - A collection to iterate over.
 * @param {AsyncFunction} iteratee - A function to apply to each value and key
 * in `coll`.
 * The iteratee should complete with the transformed value as its result.
 * Invoked with (value, key, callback).
 * @param {Function} [callback] - A callback which is called when all `iteratee`
 * functions have finished, or an error occurs. `result` is a new object consisting
 * of each key from `obj`, with each transformed value on the right-hand side.
 * Invoked with (err, result).
 * @returns {Promise} a promise, if no callback is passed
 */

/**
 * The same as [`map`]{@link module:Collections.map} but runs a maximum of `limit` async operations at a time.
 *
 * @name mapLimit
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.map]{@link module:Collections.map}
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {number} limit - The maximum number of async operations at a time.
 * @param {AsyncFunction} iteratee - An async function to apply to each item in
 * `coll`.
 * The iteratee should complete with the transformed item.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called when all `iteratee`
 * functions have finished, or an error occurs. Results is an array of the
 * transformed items from the `coll`. Invoked with (err, results).
 * @returns {Promise} a promise, if no callback is passed
 */

/**
 * The same as [`map`]{@link module:Collections.map} but runs only a single async operation at a time.
 *
 * @name mapSeries
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.map]{@link module:Collections.map}
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - An async function to apply to each item in
 * `coll`.
 * The iteratee should complete with the transformed item.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called when all `iteratee`
 * functions have finished, or an error occurs. Results is an array of the
 * transformed items from the `coll`. Invoked with (err, results).
 * @returns {Promise} a promise, if no callback is passed
 */

/**
 * The same as [`parallel`]{@link module:ControlFlow.parallel} but runs a maximum of `limit` async operations at a
 * time.
 *
 * @name parallelLimit
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @see [async.parallel]{@link module:ControlFlow.parallel}
 * @category Control Flow
 * @param {Array|Iterable|AsyncIterable|Object} tasks - A collection of
 * [async functions]{@link AsyncFunction} to run.
 * Each async function can complete with any number of optional `result` values.
 * @param {number} limit - The maximum number of async operations at a time.
 * @param {Function} [callback] - An optional callback to run once all the
 * functions have completed successfully. This function gets a results array
 * (or object) containing all the result arguments passed to the task callbacks.
 * Invoked with (err, results).
 * @returns {Promise} a promise, if a callback is not passed
 */

/**
 * The same as [`reject`]{@link module:Collections.reject} but runs a maximum of `limit` async operations at a
 * time.
 *
 * @name rejectLimit
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.reject]{@link module:Collections.reject}
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {number} limit - The maximum number of async operations at a time.
 * @param {Function} iteratee - An async truth test to apply to each item in
 * `coll`.
 * The should complete with a boolean value as its `result`.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished. Invoked with (err, results).
 * @returns {Promise} a promise, if no callback is passed
 */

/**
 * The same as [`reject`]{@link module:Collections.reject} but runs only a single async operation at a time.
 *
 * @name rejectSeries
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.reject]{@link module:Collections.reject}
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {Function} iteratee - An async truth test to apply to each item in
 * `coll`.
 * The should complete with a boolean value as its `result`.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished. Invoked with (err, results).
 * @returns {Promise} a promise, if no callback is passed
 */

/**
 * The same as [`some`]{@link module:Collections.some} but runs a maximum of `limit` async operations at a time.
 *
 * @name someLimit
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.some]{@link module:Collections.some}
 * @alias anyLimit
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {number} limit - The maximum number of async operations at a time.
 * @param {AsyncFunction} iteratee - An async truth test to apply to each item
 * in the collections in parallel.
 * The iteratee should complete with a boolean `result` value.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called as soon as any
 * iteratee returns `true`, or after all the iteratee functions have finished.
 * Result will be either `true` or `false` depending on the values of the async
 * tests. Invoked with (err, result).
 * @returns {Promise} a promise, if no callback provided
 */

/**
 * The same as [`some`]{@link module:Collections.some} but runs only a single async operation at a time.
 *
 * @name someSeries
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.some]{@link module:Collections.some}
 * @alias anySeries
 * @category Collection
 * @param {Array|Iterable|AsyncIterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - An async truth test to apply to each item
 * in the collections in series.
 * The iteratee should complete with a boolean `result` value.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called as soon as any
 * iteratee returns `true`, or after all the iteratee functions have finished.
 * Result will be either `true` or `false` depending on the values of the async
 * tests. Invoked with (err, result).
 * @returns {Promise} a promise, if no callback provided
 */

/**
 * The same as [async.queue]{@link module:ControlFlow.queue} only tasks are assigned a priority and
 * completed in ascending priority order.
 *
 * @name priorityQueue
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @see [async.queue]{@link module:ControlFlow.queue}
 * @category Control Flow
 * @param {AsyncFunction} worker - An async function for processing a queued task.
 * If you want to handle errors from an individual task, pass a callback to
 * `q.push()`.
 * Invoked with (task, callback).
 * @param {number} concurrency - An `integer` for determining how many `worker`
 * functions should be run in parallel.  If omitted, the concurrency defaults to
 * `1`.  If the concurrency is `0`, an error is thrown.
 * @returns {module:ControlFlow.QueueObject} A priorityQueue object to manage the tasks. There are three
 * differences between `queue` and `priorityQueue` objects:
 * * `push(task, priority, [callback])` - `priority` should be a number. If an
 *   array of `tasks` is given, all tasks will be assigned the same priority.
 * * `pushAsync(task, priority, [callback])` - the same as `priorityQueue.push`,
 *   except this returns a promise that rejects if an error occurs.
 * * The `unshift` and `unshiftAsync` methods were removed.
 */

/**
 * The same as [times]{@link module:ControlFlow.times} but runs a maximum of `limit` async operations at a
 * time.
 *
 * @name timesLimit
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @see [async.times]{@link module:ControlFlow.times}
 * @category Control Flow
 * @param {number} count - The number of times to run the function.
 * @param {number} limit - The maximum number of async operations at a time.
 * @param {AsyncFunction} iteratee - The async function to call `n` times.
 * Invoked with the iteration index and a callback: (n, next).
 * @param {Function} callback - see [async.map]{@link module:Collections.map}.
 * @returns {Promise} a promise, if no callback is provided
 */

/**
 * The same as [times]{@link module:ControlFlow.times} but runs only a single async operation at a time.
 *
 * @name timesSeries
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @see [async.times]{@link module:ControlFlow.times}
 * @category Control Flow
 * @param {number} n - The number of times to run the function.
 * @param {AsyncFunction} iteratee - The async function to call `n` times.
 * Invoked with the iteration index and a callback: (n, next).
 * @param {Function} callback - see {@link module:Collections.map}.
 * @returns {Promise} a promise, if no callback is provided
 */

/**
 * The version of the source mapping spec that we are consuming.
 */

/**
 * The {@link module:ol/style/IconImageCache~IconImageCache} for
 * {@link module:ol/style/Icon~Icon} images.
 * @api
 */

/**
 * This RegExp matches # followed by 3, 4, 6, or 8 hex digits.
 * @const
 * @type {RegExp}
 * @private
 */

/**
 * This cache is used to store arrays of indexes for calculated pixel circles
 * to increase performance.
 * It is a static property to allow each Replaygroup to access it.
 * @type {Object<number, Array<number>>}
 */

/**
 * This draws a small triangle into a canvas by setting the triangle as the clip region
 * and then drawing a (too large) rectangle
 *
 * @param {CanvasRenderingContext2D} ctx The context in which to draw the triangle
 * @param {number} u1 The x-coordinate of the second point. The first point is 0,0.
 * @param {number} v1 The y-coordinate of the second point.
 * @param {number} u2 The x-coordinate of the third point.
 * @param {number} v2 The y-coordinate of the third point.
 */

/**
 * This function calls `callback` for each corner of the extent. If the
 * callback returns a truthy value the function returns that value
 * immediately. Otherwise the function returns `false`.
 * @param {Extent} extent Extent.
 * @param {function(import("./coordinate.js").Coordinate): S} callback Callback.
 * @return {S|boolean} Value.
 * @template S
 */

/**
 * This function calls `callback` for each segment of the flat coordinates
 * array. If the callback returns a truthy value the function returns that
 * value immediately. Otherwise the function returns `false`.
 * @param {Array<number>} flatCoordinates Flat coordinates.
 * @param {number} offset Offset.
 * @param {number} end End.
 * @param {number} stride Stride.
 * @param {function(import("../../coordinate.js").Coordinate, import("../../coordinate.js").Coordinate): T} callback Function
 *     called for each segment.
 * @return {T|boolean} Value.
 * @template T
 */

/**
 * This function is like
 * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
 * except that it includes inherited enumerable properties.
 *
 * @private
 * @param {Object} object The object to query.
 * @returns {Array} Returns the array of property names.
 */

/**
 * This function should be called from both the onDrop event from your drag/drop
 * dropzone as well as from the HTML5 file selector input field onChange event
 * handler.  Pass the event object from the triggered event into this function.
 * Supports mix of files and folders dropped via drag/drop.
 *
 * Returns: an array of File objects, that includes all files within folders
 *   and subfolders of the dropped/selected items.
 */

/**
 * This is a TriggerField which generates a random UID on click
 * (UID generated by Tine.Tinebase.data.Record.generateUID())
 * 
 * @namespace   Tine.Tinebase.widgets.form
 * @author      Michael Spahn <m.spahn@metaways.de>
 * @class       Tine.Tinebase.widgets.form.UidTriggerField
 * @extends     Ext.form.TriggerField
 */

/**
 * This is a helper function for getting values from parameter/options
 * objects.
 *
 * @param args The object we are extracting values from
 * @param name The name of the property we are getting.
 * @param defaultValue An optional value to return if the property is missing
 * from the object. If this is not specified and the property is missing, an
 * error will be thrown.
 */

/**
 * This is an implementation of binary search which will always try and return
 * the index of the closest element if there is no exact hit. This is because
 * mappings between original and generated line/col pairs are single points,
 * and there is an implicit region between each of them, so a miss just means
 * that you aren't on the very start of a region.
 *
 * @param aNeedle The element you are looking for.
 * @param aHaystack The array that is being searched.
 * @param aCompare A function which takes the needle and an element in the
 *     array and returns -1, 0, or 1 depending on whether the needle is less
 *     than, equal to, or greater than the element, respectively.
 * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or
 *     'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the
 *     closest element that is smaller than or greater than the one we are
 *     searching for, respectively, if the exact element cannot be found.
 *     Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.
 */

/**
 * This method calls {@link #item item()}.
 * Returns the item associated with the passed key OR index. Key has priority
 * over index.  This is the equivalent of calling {@link #key} first, then if
 * nothing matched calling {@link #itemAt}.
 * @param {String/Number} key The key or index of the item.
 * @return {Object} If the item is found, returns the item.  If the item was
 * not found, returns <tt>undefined</tt>. If an item was found, but is a Class,
 * returns <tt>null</tt>.
 */

/**
 * This method is like `_.clone` except that it recursively clones `value`.
 *
 * @static
 * @memberOf _
 * @since 1.0.0
 * @category Lang
 * @param {*} value The value to recursively clone.
 * @returns {*} Returns the deep cloned value.
 * @see _.clone
 * @example
 *
 * var objects = [{ 'a': 1 }, { 'b': 2 }];
 *
 * var deep = _.cloneDeep(objects);
 * console.log(deep[0] === objects[0]);
 * // => false
 */

/**
 * This method returns `false`.
 *
 * @static
 * @memberOf _
 * @since 4.13.0
 * @category Util
 * @returns {boolean} Returns `false`.
 * @example
 *
 * _.times(2, _.stubFalse);
 * // => [false, false]
 */

/**
 * This method returns a new empty array.
 *
 * @static
 * @memberOf _
 * @since 4.13.0
 * @category Util
 * @returns {Array} Returns the new empty array.
 * @example
 *
 * var arrays = _.times(2, _.stubArray);
 *
 * console.log(arrays);
 * // => [[], []]
 *
 * console.log(arrays[0] === arrays[1]);
 * // => false
 */

/**
 * This methods creates an array with indexes of all pixels within a circle,
 * ordered by how close they are to the center.
 * A cache is used to increase performance.
 * @param {number} radius Radius.
 * @return {Array<number>} An array with indexes within a circle.
 */

/**
 * Timetracker Edit Popup
 */

/**
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2019 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/**
 * Tine 2.0
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2025 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/**
 * Tine 2.0
 *
 * @package     Tinebase
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiß <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2017 Metaways Infosystems GmbH (http://www.metaways.de)
 */

/**
 * Tine 2.0
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2012 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 */

/**
 * Tine 2.0
 * 
 * @package     Ext
 * @subpackage  ux
 * @license     BSD
 * @author      Shea Frederick
 * @copyright   Copyright (c) 2008 Shea Frederick
 *
 * based on public domain code from Shea Frederick
 * "Free as a bird. Use it anywhere or any way you like."
 * 
 * http://extjs.com/blog/2008/07/01/integrating-google-maps-api-with-extjs/
 */

/**
 * Tine 2.0
 * 
 * @package     Tine
 * @subpackage  Widgets
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2008 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 * @deprecated  use EditDialog instead. This class will be removed when all
 *              dialogs are moved to the EditDialog widget
 */

/**
 * Tine 2.0
 * 
 * @package     Tine
 * @subpackage  Widgets
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * TODO         add general local + modal dialog (can be used here, in Tine.Courses.AddMemberDialog and ...)
 */

/**
 * Tine 2.0
 * 
 * @package     Tine
 * @subpackage  Widgets
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2010-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 */

/**
 * Tine 2.0 jsclient MainScreen with app selection, menu etc.
 * 
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.MainScreenPanel
 * @extends     Ext.Container
 * @singleton   
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 */

/**
 * Tine 2.0 jsclient main menu
 * 
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.MainMenu
 * @extends     Ext.Toolbar
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 */

/**
 * Tine 2.0 main application manager
 * 
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.AppManager
 * @extends     Ext.util.Observable
 * @consturctor
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 */

/**
 * Tinebase Admin Panel Popup
 * 
 * @param   {Object} config
 * @return  {Ext.ux.Window}
 */

/**
 * Tinebase Application Starter
 * 
 * @namespace   Tine.Tinebase
 * @function    Tine.Tinebase.ApplicationStarter
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 */

/**
 * Tinebase container class
 * 
 * @todo move container model here
 * 
 * @namespace   Tine.Tinebase.container
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 */

/**
 * Token Mode Edit Plugin
 * 
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.TokenModeEditDialogPlugin
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @constructor
 * @param {Object} config The configuration options.
 */

/**
 * Tolerance for geometry simplification in device pixels.
 * @type {number}
 */

/**
 * Transform the children of a parent node so they match the
 * provided list of children.  This function aims to efficiently
 * remove, add, and reorder child nodes while maintaining a simple
 * implementation (it is not guaranteed to minimize DOM operations).
 * @param {Node} node The parent node whose children need reworking.
 * @param {Array<Node>} children The desired children.
 */

/**
 * Transformation from EPSG:3857 to EPSG:4326.
 *
 * @param {Array<number>} input Input array of coordinate values.
 * @param {Array<number>} [output] Output array of coordinate values.
 * @param {number} [dimension] Dimension (default is `2`).
 * @return {Array<number>} Output array of coordinate values.
 */

/**
 * Transformation from EPSG:4326 to EPSG:3857.
 *
 * @param {Array<number>} input Input array of coordinate values.
 * @param {Array<number>} [output] Output array of coordinate values.
 * @param {number} [dimension] Dimension (default is `2`).
 * @return {Array<number>} Output array of coordinate values.
 */

/**
 * Transforms a coordinate from longitude/latitude to a different projection.
 * @param {import("./coordinate.js").Coordinate} coordinate Coordinate as longitude and latitude, i.e.
 *     an array with longitude as 1st and latitude as 2nd element.
 * @param {ProjectionLike} [projection] Target projection. The
 *     default is Web Mercator, i.e. 'EPSG:3857'.
 * @return {import("./coordinate.js").Coordinate} Coordinate projected to the target projection.
 * @api
 */

/**
 * Transforms a coordinate from source projection to destination projection.
 * This returns a new coordinate (and does not modify the original).
 *
 * See {@link module:ol/proj.transformExtent} for extent transformation.
 * See the transform method of {@link module:ol/geom/Geometry~Geometry} and its
 * subclasses for geometry transforms.
 *
 * @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
 * @param {ProjectionLike} source Source projection-like.
 * @param {ProjectionLike} destination Destination projection-like.
 * @return {import("./coordinate.js").Coordinate} Coordinate.
 * @api
 */

/**
 * Transforms a coordinate to longitude/latitude.
 * @param {import("./coordinate.js").Coordinate} coordinate Projected coordinate.
 * @param {ProjectionLike} [projection] Projection of the coordinate.
 *     The default is Web Mercator, i.e. 'EPSG:3857'.
 * @return {import("./coordinate.js").Coordinate} Coordinate as longitude and latitude, i.e. an array
 *     with longitude as 1st and latitude as 2nd element.
 * @api
 */

/**
 * Transforms an extent from source projection to destination projection.  This
 * returns a new extent (and does not modify the original).
 *
 * @param {import("./extent.js").Extent} extent The extent to transform.
 * @param {ProjectionLike} source Source projection-like.
 * @param {ProjectionLike} destination Destination projection-like.
 * @param {number} [stops] Number of stops per side used for the transform.
 * By default only the corners are used.
 * @return {import("./extent.js").Extent} The transformed extent.
 * @api
 */

/**
 * Transforms the given coordinate with the given transform returning the
 * resulting, transformed coordinate. The coordinate will be modified in-place.
 *
 * @param {Transform} transform The transformation.
 * @param {import("./coordinate.js").Coordinate|import("./pixel.js").Pixel} coordinate The coordinate to transform.
 * @return {import("./coordinate.js").Coordinate|import("./pixel.js").Pixel} return coordinate so that operations can be
 *     chained together.
 */

/**
 * Transforms the given point to the destination projection.
 *
 * @param {import("./coordinate.js").Coordinate} point Point.
 * @param {Projection} sourceProjection Source projection.
 * @param {Projection} destinationProjection Destination projection.
 * @return {import("./coordinate.js").Coordinate} Point.
 */

/**
 * Trims whitespace from either end of a string, leaving spaces within the string intact.  Example:
 * <pre><code>
var s = '  foo bar  ';
alert('-' + s + '-');         //alerts "- foo bar -"
alert('-' + s.trim() + '-');  //alerts "-foo bar-"
</code></pre>
 * @return {String} The trimmed string
 */

/**
 * Turns the attributions option into an attributions function.
 * @param {AttributionLike|undefined} attributionLike The attribution option.
 * @return {Attribution|null} An attribution function (or null).
 */

/**
 * Twing base error.
 *
 * @author Eric MORAND <eric.morand@gmail.com>
 */

/**
 * URL encodes (RFC 3986) a string as a path segment or a hash as a query string.
 *
 * @param {string|{}} url A URL or a hash of query parameters
 *
 * @returns {Promise<string>} The URL encoded value
 */

/**
 * Undoes a [memoize]{@link module:Utils.memoize}d function, reverting it to the original,
 * unmemoized form. Handy for testing.
 *
 * @name unmemoize
 * @static
 * @memberOf module:Utils
 * @method
 * @see [async.memoize]{@link module:Utils.memoize}
 * @category Util
 * @param {AsyncFunction} fn - the memoized function
 * @returns {AsyncFunction} a function that calls the original unmemoized function
 */

/**
 * Unlisten for a certain type of event.
 * @function
 * @param {string|Array<string>} type The event type or array of event types.
 * @param {function((Event|import("./events/Event").default)): ?} listener The listener function.
 * @api
 */

/**
 * Unregisters event listeners on an event target. Inspired by
 * https://google.github.io/closure-library/api/source/closure/goog/events/events.js.src.html
 *
 * The argument passed to this function is the key returned from
 * {@link module:ol/events.listen} or {@link module:ol/events.listenOnce}.
 *
 * @param {EventsKey} key The key.
 */

/**
 * Unregisters the conversion function to convert coordinates from the source
 * projection to the destination projection.  This method is used to clean up
 * cached transforms during testing.
 *
 * @param {import("./Projection.js").default} source Source projection.
 * @param {import("./Projection.js").default} destination Destination projection.
 * @return {import("../proj.js").TransformFunction} transformFn The unregistered transform.
 */

/**
 * Upload Button for a _single_ file
 * Calls handler when upload is complete 
 * 
 * @namespace   Tine.widgets.form
 * @class       Tine.widgets.form.FileUploadButton
 * @extends     Ext.Button
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @constructor
 * @param {Object} config The configuration options.
 */

/**
 * Use geographic coordinates (WGS-84 datum) in API methods.  This includes all API
 * methods except for those interacting with tile grids.
 * @api
 */

/**
 * Used to match `RegExp`
 * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
 */

/**
 * Used to resolve the
 * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
 * of values.
 */

/**
 * Utility function that allows you to easily switch a string between two alternating values.  The passed value
 * is compared to the current string, and if they are equal, the other value that was passed in is returned.  If
 * they are already different, the first value passed in is returned.  Note that this method returns the new value
 * but does not change the current string.
 * <pre><code>
// alternate sort directions
sort = sort.toggle('ASC', 'DESC');

// instead of conditional logic:
sort = (sort == 'ASC' ? 'DESC' : 'ASC');
</code></pre>
 * @param {String} value The value to compare to the current string
 * @param {String} other The new value to use if the string already equals the first value passed in
 * @return {String} The new value
 */

/**
 * Utility function to find the index of a source.  Returns -1 if not
 * found.
 */

/**
 * Version of the compose function that is more natural to read. Each function
 * consumes the return value of the previous function. It is the equivalent of
 * [compose]{@link module:ControlFlow.compose} with the arguments reversed.
 *
 * Each function is executed with the `this` binding of the composed function.
 *
 * @name seq
 * @static
 * @memberOf module:ControlFlow
 * @method
 * @see [async.compose]{@link module:ControlFlow.compose}
 * @category Control Flow
 * @param {...AsyncFunction} functions - the asynchronous functions to compose
 * @returns {Function} a function that composes the `functions` in order
 * @example
 *
 * // Requires lodash (or underscore), express3 and dresende's orm2.
 * // Part of an app, that fetches cats of the logged user.
 * // This example uses `seq` function to avoid overnesting and error
 * // handling clutter.
 * app.get('/cats', function(request, response) {
 *     var User = request.models.User;
 *     async.seq(
 *         User.get.bind(User),  // 'User.get' has signature (id, callback(err, data))
 *         function(user, fn) {
 *             user.getCats(fn);      // 'getCats' has signature (callback(err, data))
 *         }
 *     )(req.session.user_id, function (err, cats) {
 *         if (err) {
 *             console.error(err);
 *             response.json({ status: 'error', message: err.message });
 *         } else {
 *             response.json({ status: 'ok', message: 'Cats found', data: cats });
 *         }
 *     });
 * });
 */

/**
 * Visibility mode constant for use with {@link #setVisibilityMode}. Use display to hide element
 * @static
 * @type Number
 */

/**
 * Visibility mode constant for use with {@link #setVisibilityMode}. Use visibility to hide element
 * @static
 * @type Number
 */

/**
 * Walk over the tree of JS snippets in this node and its children. The
 * walking function is called once for each snippet of JS and is passed that
 * snippet and the its original associated source's line/column location.
 *
 * @param aFn The traversal function.
 */

/**
 * Walk over the tree of SourceNodes. The walking function is called for each
 * source file content and is passed the filename and source content.
 *
 * @param aFn The traversal function.
 */

/**
 * What is the element at the given index?
 *
 * @param Number aIdx
 */

/**
 * What is the index of the given string in the array?
 *
 * @param String aStr
 */

/**
 * Widget for Currency selection
 *
 * @namespace   Tine.widgets
 * @class       Tine.widgets.CurrencyCombo
 * @extends     Ext.form.ComboBox
 */

/**
 * Widget for country selection
 *
 * @namespace   Tine.widgets
 * @class       Tine.widgets.CountryCombo
 * @extends     Ext.form.ComboBox
 */

/**
 * Widget for preference selection
 *
 * @namespace   Tine.widgets
 * @class       Tine.widgets.PreferenceCombo
 * @extends     Ext.form.ComboBox
 */

/**
 * Wizard Panel
 * 
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.WizardPanel
 * @extends     Ext.Panel
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @constructor
 * @param {Object} config The configuration options.
 */

/**
 * Wrap a function in another function that remembers the last return.  If the
 * returned function is called twice in a row with the same arguments and the same
 * this object, it will return the value from the first call in the second call.
 *
 * @param {function(...any): ReturnType} fn The function to memoize.
 * @return {function(...any): ReturnType} The memoized function.
 * @template ReturnType
 */

/**
 * Wrap an async function and ensure it calls its callback on a later tick of
 * the event loop.  If the function already calls its callback on a next tick,
 * no extra deferral is added. This is useful for preventing stack overflows
 * (`RangeError: Maximum call stack size exceeded`) and generally keeping
 * [Zalgo](http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony)
 * contained. ES2017 `async` functions are returned as-is -- they are immune
 * to Zalgo's corrupting influences, as they always resolve on a later tick.
 *
 * @name ensureAsync
 * @static
 * @memberOf module:Utils
 * @method
 * @category Util
 * @param {AsyncFunction} fn - an async function, one that expects a node-style
 * callback as its last argument.
 * @returns {AsyncFunction} Returns a wrapped function with the exact same call
 * signature as the function passed in.
 * @example
 *
 * function sometimesAsync(arg, callback) {
 *     if (cache[arg]) {
 *         return callback(null, cache[arg]); // this would be synchronous!!
 *     } else {
 *         doSomeIO(arg, callback); // this IO would be asynchronous
 *     }
 * }
 *
 * // this has a risk of stack overflows if many results are cached in a row
 * async.mapSeries(args, sometimesAsync, done);
 *
 * // this will defer sometimesAsync's callback if necessary,
 * // preventing stack overflows
 * async.mapSeries(args, async.ensureAsync(sometimesAsync), done);
 */

/**
 * Wraps the async function in another function that always completes with a
 * result object, even when it errors.
 *
 * The result object has either the property `error` or `value`.
 *
 * @name reflect
 * @static
 * @memberOf module:Utils
 * @method
 * @category Util
 * @param {AsyncFunction} fn - The async function you want to wrap
 * @returns {Function} - A function that always passes null to it's callback as
 * the error. The second argument to the callback will be an `object` with
 * either an `error` or a `value` property.
 * @example
 *
 * async.parallel([
 *     async.reflect(function(callback) {
 *         // do some stuff ...
 *         callback(null, 'one');
 *     }),
 *     async.reflect(function(callback) {
 *         // do some more stuff but error ...
 *         callback('bad stuff happened');
 *     }),
 *     async.reflect(function(callback) {
 *         // do some more stuff ...
 *         callback(null, 'two');
 *     })
 * ],
 * // optional callback
 * function(err, results) {
 *     // values
 *     // results[0].value = 'one'
 *     // results[1].error = 'bad stuff happened'
 *     // results[2].value = 'two'
 * });
 */

/**
 * Zip strings
 */

/**
 * a row selection model capable to return filters
 * @constructor
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.FilterSelectionModel
 * @extends     Ext.grid.RowSelectionModel
 */

/**
 * a simple file upload
 * objects of this class represent a single file uplaod
 * 
 * @namespace   Ext.ux.file
 * @class       Ext.ux.file.Upload
 * @extends     Ext.util.Observable
 * 
 * @constructor
 * @param       Object config
 */

/**
 * a simple file upload manager
 * collects all uploads
 *
 * @namespace   Ext.ux.file
 * @class       Ext.ux.file.UploadManager
 */

/**
 * a yes/no combo box
 *
 * @namespace   Ext.ux.form
 * @class       Ext.ux.form.BooleanCombo
 * @extends     Ext.form.ComboBox
 */

/**
 * activate  as much as possible :)
 *
 * @TODO
 *  - activate views/ranges (e.g. calendar)
 *  - activate filtertoolbar
 *  - activate and find paths in windows
 * @TODO
 * - rethink forward resolution/activation of paths, we need this for tests to stear UI
 *
 * @private
 * @static
 */

/**
 * additional date patterns
 * @see{Date}
 */

/**
 * additional formats
 */

/**
 * admin settings panel
 * 
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.AdminPanel
 * @extends     Ext.TabPanel
 * 
 * <p>Tinebase Admin Panel</p>
 * <p><pre>
 * </pre></p>
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2010 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * @param       {Object} config
 * @constructor
 * Create a new Tine.Tinebase.AdminPanel
 * @TODO        Invent some kind of registry for inner panels
 */

/**
 * admin settings panel
 * 
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.AdminPanel
 * @extends     Tine.widgets.dialog.EditDialog
 * 
 * <p>Admin Panel</p>
 * <p><pre>
 * </pre></p>
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2010 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * @param       {Object} config
 * @constructor
 * Create a new Tine.widgets.dialog.AdminPanel
 */

/**
 * allow separate icons for small buttons - needed e.g. for animations
 * @type {Ext.Template}
 */

/**
 * auto add selection checkbox for touch devices
 */

/**
 * autocomplete fix for password fields
 * @see {https://stackoverflow.com/a/28457066}
 */

/**
 * autocomplete for forms
 */

/**
 * central column manager
 * - get column for a given column
 * - register column for a given column
 *
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.ColumnManager
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @singleton
 */

/**
 * central config
 */

/**
 * central form field manager
 * - get form field for a given field
 * - register form field for a given field
 *
 * @namespace   Tine.widgets.form
 * @class       Tine.widgets.form.FieldManager
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @singleton
 */

/**
 * central renderer manager
 * - get renderer for a given field
 * - register renderer for a given field
 *
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.RendererManager
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @singleton
 */

/**
 * central title renderer manager for records
 * 
 * @namespace   Tine.Tinebase.data
 * @class       Tine.Tinebase.data.TitleRendererManager
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * @singleton
 */

/**
 * check if newer version of tine is available
 * 
 * @namespace   Tine.widgets
 * @class       Tine.widgets.VersionCheck
 * @constructor
 */

/**
 * check if sort field is in column list to avoid server exceptions
 */

/**
 * checks if component has canonical path part
 *
 * @static
 * @param {Ext.Component} component
 * @returns {Bool}
 */

/**
 * checks users presence according to dom events
 *
 * NOTE: this method intercepts Ext.EventObjectImpl as a lot of events might not bubble till window object
 *       This needs to be adopted as more other frameworks we introduce
 *
 * @namespace  Tine.Tinebase
 * @class      Tine.Tinebase.PresenceObserver
 */

/**
 * close window and show close message
 *
 * @static
 * @param win
 */

/**
 * config grid panel
 *
 * @namespace   Tine.Admin.config
 * @class       Tine.Admin.config.ConfigField
 * @extends     Tine.widgets.grid.LayerCombo
 */

/**
 * content type registry
 *
 * @param {String} appName
 * @param {Collection} contentType
 *   contentType:   {String|Object|Model}
 *   text:          {String}
 *   group:         {String} (optional)
 *   xtype:         {String} (optional)
 */

/**
 * create console pseudo object when firebug is disabled/not installed
 */

/**
 * create record from json string
 *
 * @param {String} json
 * @param {Record} recordClass
 * @returns {Record}
 */

/**
 * credentials dialog popup / window
 */

/**
 * don't fill the ext stats
 */

/**
 * execute and download export
 *
 * @param {Tine.Tinebase.Model.ExportJob} exportJob
 */

/**
 * filter own records
 * 
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.OwnRecordFilter
 * @extends     Tine.widgets.grid.ForeignRecordFilter
 * 
 * @constructor
 */

/**
 * filter plugin for container tree
 * 
 * @namespace Tine.widgets.tree
 * @class     Tine.widgets.tree.FilterPlugin
 * @extends   Tine.widgets.grid.FilterPlugin
 */

/**
 * find duplicate relation in store
 *
 * @param store
 * @param record
 * @return int index in store
 */

/**
 * find gridPanel instance by child component
 * @param cmp
 * @return {Tine.widgets.grid.GridPanel}
 */

/**
 * fix focus related emptyText problems
 * 0008616: emptyText gets inserted into ComboBoxes when the Box gets Hidden while focused 
 */

/**
 * fix for nested css
 * @see https://forge.tine20.org/view.php?id=11884
 *
 * only cacheStyleSheet is affected, but we need to overwrite whole class (closure)
 */

/**
 * fix for table in cell
 */

/**
 * fix interpretation of ISO-8601  formatcode (Date.patterns.ISO8601Long) 
 * 
 * Browsers do not support timezones and also javascripts Date object has no 
 * support for it.  All Date Objects are in _one_ timezone which may ore may 
 * not be the operating systems timezone the browser runs on.
 * 
 * parsing dates in ISO format having the timeshift appended (Date.patterns.ISO8601Long) lead to 
 * correctly converted Date Objects in the browsers timezone. This timezone 
 * conversion changes the the Date Parts and as such, javascipt widget 
 * representing date time information print values of the browsers timezone 
 * and _not_ the values send by the server!
 * 
 * So in a multi timezone envireonment, datetime information in the browser 
 * _must not_ be parsed including the offset. Just the values of the server 
 * side converted datetime information are allowed to be parsed.
 */

/**
 * fix textfield allowBlank validation
 * taken from ext, added trim
 */

/**
 * for some reasons the original fix insertes two <br>'s on enter for webkit. But this is one to much
 */

/**
 * formatting information
 **/

/**
 * generates an imageurl according to the class members
 * 
 * @return {String}
 */

/**
 * generic canonical name support for components
 */

/**
 * generic tree loader for tine trees
 * - calls json method with a filter to return children of a node
 * 
 * @namespace   Tine.widgets.tree
 * @class       Tine.widgets.tree.Loader
 * @extends     Ext.tree.TreeLoader
 */

/**
 * get a fresh set of actions
 *
 * NOTE: An Action is a piece of reusable functionality that can be abstracted
 * out of any particular component so that it can be usefully shared among
 * multiple components. Actions let you share handlers, configuration options
 * and UI updates across any components that support the Action interface
 * (primarily Ext.Toolbar, Ext.Button and Ext.menu.Menu components).
 *
 * NOTE: Using the same action multiple times requires a shared selection model
 *       a) action toolbar is valid for grid selections (and maybe tree selections
 *          and state). So the actions can't be shared with context menus!
 *       b) context menus for grid/tree have different selection mechanisms
 *          i) selected - when the item the context menu was issued on is
 *             part of the current tree/grid selection the context actions
 *             are updated with the current selection and have to be applied
 *             on all selected items
 *         ii) context - when the item the context menu was issued on is
 *             not part of the current grid/tree selection the context actions
 *             are updated with the single underlaying item and have to be applied
 *             to the underlaying item only.
 *          as only one context menu is visible at a time, it's ok to share
 *          actions in context menus, as they are updated with the selection
 *          before the menu is shown.
 *
 *
 * NOTE: Each action should have an action updater - even to apply initial sate.
 *       The action updater runs every time the selection/scope for the action changes.
 *
 * IMPORTANT: it's in the responsibility of the component which created the action
 *       to update it!
 *
 * NOTE: consumers don't directly listen to events fired by the event handlers
 *       all communication is done via the message bus or uploadManager
 *       @TODO rethink: do we need events/callbacks for e.g. for window close?
 *       @TODO do the consumers need something like 'opener'?
 */

/**
 * get all (favorite) export definitions for given model
 *
 * @param {Tine.Tinebase.data.Record} recordClass
 * @param {Boolean} favorites
 * @param {String} scope
 * @return {Collection} exportDefinitionsData
 */

/**
 * get all (favorite) import definitions for given model
 *
 * @param {Tine.Tinebase.data.Record} recordClass
 * @param {Object} importConfig
 */

/**
 * get fieldDefinitions of all fields which should be present in recordForm
 *
 * @param recordClass
 * @return []
 */

/**
 * get full canonical path of given component
 *
 * $static
 * @param {Ext.Component} component
 */

/**
 * get main context items
 *
 * @static
 * @param {Ext.EventObject} e
 * @returns {Ext.util.MixedCollection}
 */

/**
 * get target component
 *
 * @static
 * @param {Ext.EventObject} e
 * @returns {Ext.Component}
 */

/**
 * get the form field 
 *
 * @static
 * @param {Tine.Tinebase.Application} app the application the customfield belongs to
 * @param {Tine.Tinebase.data.Record} cfConfig customfields config record
 * @param {Object} config additional field config
 * @param {Tine.widgets.dialog.EditDialog} editDialog the calling editdialog - just needed if record must not link itself
 * 
 * @return {Ext.form.Field}
 */

/**
 * get translation data from generic locale object (partial clone of Zend Frameworks locale data)
 * 
 * @param   type (Date, Symbol, ...)
 * @param   key  the key
 * @return  translation data
 */

/**
 * get translation list from generic locale object (partial clone of Zend Frameworks locale data)
 * 
 * @param {String} type
 * @return {Object}
 */

/**
 * gets canonical pathes of all created components
 *
 * @private
 * @static
 * @returns {Array}
 */

/**
 * gets period
 *
 * @static
 * @param {Date} startDate date within period
 * @param {String} range day|week|month|year
 * @param {Bool} includeUntil
 * @return {Object} {from: Date, until: Date}
 */

/**
 * gets period
 *
 * @static
 * @param {Object} {from: Date, until: Date}
 * @return {String} range day|week|month|year
 */

/**
 * grants by model registry
 *
 * @type {{defaultGrants, getByContainer, register}}
 */

/**
 * grants dialog popup / window
 */

/**
 * grid details panel
 * 
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.DetailsPanel
 * @extends     Ext.Panel
 * 
 * <p>Grid Details Panel</p>
 * <p><pre>
 * </pre></p>
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * @copyright   Copyright (c) 2007-2009 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * @param       {Object} config
 * @constructor
 * Create a new Tine.widgets.grid.DetailsPanel
 */

/**
 * handles minutes to time conversions
 * @class Ext.ux.form.DurationSpinner
 * @extends Ext.ux.form.Spinner
 */

/**
 * hide the field label when the field is hidden
 */

/**
 * html encode all grid columns per default and convert spaces to &nbsp;
 */

/**
 * html encoding for user generated content
 *
 * @param {String} value
 * @returns {String}
 */

/**
 * html encoding for user generated content when internally decoded (e.g. tooltips)
 *
 * @param {String} value
 * @returns {String}
 */

/**
 * in memory per window msg bus for sync events
 */

/**
 * increase depth of cell selector depth for event delegation (defaults to 4) 
 */

/**
 * init ext quick tips
 */

/**
 * key field combo
 * 
 * @namespace   Tine.Tinebase.widgets.keyfield
 * @class       Tine.Tinebase.widgets.keyfield.ComboBox
 * @extends     Ext.form.ComboBox
 */

/**
 * key field store
 * 
 * @namespace   Tine.Tinebase.widgets.keyfield
 * @param       {Object} config
 * @constructor
 */

/**
 * lang chooser widget
 *
 * @namespace   Tine.widgets
 * @class       Tine.widgets.LangChooser
 * @extends     Ext.form.ComboBox
 */

/**
 * lazy mainscreen init
 *
 * @static
 * @param app
 */

/**
 * logging extension (only to console atm.)
 * 
 * NOTE: we extend the console object here so the console writer preserves 
 *       line number and files in its logging output!
 *       
 * @namespace   Ext.ux.log
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 */

/**
 * make a combo box recent aware
 *  => present recents on empty query
 * 
 */

/**
 * manages key field renderers
 * 
 * @namespace   Tine.Tinebase.widgets.keyfield
 * @class       Tine.Tinebase.widgets.keyfield.Renderer
 * @singleton
 */

/**
 * manages key field renderers
 * 
 * @namespace   Tine.widgets.customfields
 * @class       Tine.widgets.customfields.Renderer
 * @singleton
 */

/**
 * manages key field stores
 * 
 * @namespace   Tine.Tinebase.widgets.keyfield
 * @class       Tine.Tinebase.widgets.keyfield.StoreMgr
 * @singleton
 */

/**
 * manages renderers
 * 
 * @namespace   Tine.widgets.relation
 * @class       Tine.widgets.relation.Renderer
 * @singleton
 */

/**
 * native decodeURI converts can't cope with modern + for spaces
 *
 * @param string
 * @returns {string}
 */

/**
 * native decodeURIComponent converts can't cope with modern + for spaces
 *
 * @param string
 * @returns {string}
 */

/**
 * native encodeURI converts space into %20 -> convert to modern +
 *
 * @param string
 * @returns {string}
 */

/**
 * native encodeURIComponent converts space into %20 -> convert to modern +
 *
 * @param string
 * @returns {string}
 */

/**
 * parse
 *
 * Turns this:
 *  `You have { numBananas, plural,
 *       =0 {no bananas}
 *      one {a banana}
 *    other {# bananas}
 *  } for sale`
 *
 * into this:
 *  [ "You have ", [ "numBananas", "plural", 0, {
 *       "=0": [ "no bananas" ],
 *      "one": [ "a banana" ],
 *    "other": [ [ '#' ], " bananas" ]
 *  } ], " for sale." ]
 *
 * tokens:
 *  [
 *    [ "text", "You have " ],
 *    [ "syntax", "{" ],
 *    [ "space", " " ],
 *    [ "id", "numBananas" ],
 *    [ "syntax", ", " ],
 *    [ "space", " " ],
 *    [ "type", "plural" ],
 *    [ "syntax", "," ],
 *    [ "space", "\n     " ],
 *    [ "selector", "=0" ],
 *    [ "space", " " ],
 *    [ "syntax", "{" ],
 *    [ "text", "no bananas" ],
 *    [ "syntax", "}" ],
 *    [ "space", "\n    " ],
 *    [ "selector", "one" ],
 *    [ "space", " " ],
 *    [ "syntax", "{" ],
 *    [ "text", "a banana" ],
 *    [ "syntax", "}" ],
 *    [ "space", "\n  " ],
 *    [ "selector", "other" ],
 *    [ "space", " " ],
 *    [ "syntax", "{" ],
 *    [ "syntax", "#" ],
 *    [ "text", " bananas" ],
 *    [ "syntax", "}" ],
 *    [ "space", "\n" ],
 *    [ "syntax", "}" ],
 *    [ "text", " for sale." ]
 *  ]
 **/

/**
 * parses an imageurl
 * 
 * @param  {String} url
 * @return {Ext.ux.util.ImageURL}
 */

/**
 * paths block renderer
 *
 * @param {Array} paths
 * @param {String} queryString
 * @returns {string}
 */

/**
 * plugin registry for Ext.Component
 *
 * NOTE: a component needs to query this registry for registered plugins! We don't automatically query
 *       this registry for performance reasons.
 */

/**
 * plugin to insert additional registered items into a container
 *
 * @namespace   Ext.ux
 * @class       Ext.ux.ItemRegistry
 * @autor       Cornelius Weiss <c.weiss@metaways.de>
 * @license     BSD, MIT and GPL
 *
 * @example
// register 'additional item' for myDialog
Ext.ux.ItemRegistry.registerItem('myDialog', 'add-item-xtype', 20);

// in myDialog use itemRegistyPlugin
myDialog = Ext.extend(Ext.Container, {
    ...
    plugins: [{
        ptype: 'ux.itemregistry',
        key:   'myDialog'
    }]
})
 */

/**
 * postal - Pub/Sub library providing wildcard subscriptions, complex message handling, etc.  Works server and client-side.
 * Author: Jim Cowart (http://ifandelse.com)
 * Version: v2.0.6
 * Url: http://github.com/postaljs/postal.js
 * License(s): MIT
 */

/**
 * postal.request-response - postal.js add-on that provides a request/response pattern API.
 * Author: Jim Cowart (http://ifandelse.com)
 * Version: v0.3.1
 * Url: https://github.com/postaljs/postal.request-response
 * License(s): MIT
 */

/**
 * preferences application tree panel
 * 
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.PreferencesTreePanel
 * @extends     Ext.tree.TreePanel
 */

/**
 * preferences card panel
 * -> this panel is filled with the preferences subpanels containing the pref stores for the apps
 * 
 * @namespace   Tine.widgets.dialog
 * @class       Tine.widgets.dialog.PreferencesCardPanel
 * @extends     Ext.Panel
 */

/**
 * preferences panel with the preference input fields for an application
 * 
 * @todo add checkbox type
 */

/**
 * preserve dateformat
 */

/**
 * quickadd grid panel
 *
 * @TODO: add extra options hasColor, hasIcon, hasStandard?
 * 
 * @namespace   Tine.Tinebase.widgets.keyfield
 * @class       Tine.Tinebase.widgets.keyfield.ConfigGrid
 * @extends     Tine.widgets.grid.QuickaddGridPanel
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schüle <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2015 Metaways Infosystems GmbH (http://www.metaways.de)
 * 
 * @param       {Object} config
 * @constructor
 * Create a new Tine.Tinebase.widgets.keyfield.ConfigGrid
 */

/**
 * quickadd grid panel
 *
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.QuickaddGridPanel
 * @extends     Ext.ux.grid.QuickaddGridPanel
 *
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Philipp Schuele <p.schuele@metaways.de>
 * @copyright   Copyright (c) 2009 Metaways Infosystems GmbH (http://www.metaways.de)
 *
 * @param       {Object} config
 * @constructor
 * Create a new Tine.widgets.grid.QuickaddGridPanel
 */

/**
 * quiet logging in release mode
 */

/**
 * registers an item for a given key
 * @static
 * 
 * @param {String|Ext.Component|Object} key
 * @param {String/Constructor/Object} item
 * @param {Number} pos (optional)
 */

/**
 * related model specific picker grid
 *
 * acts as a 'mirror' of the GenericPickerGridPanel for _one_ related model of _one_ relation_type and _one_ relation_degree
 *
 * @TODO respect relation constraints
 */

/**
 * rename window
 */

/**
 * render the CalDAV Url into property panel of containers
 * 
 * @class   Tine.widgets.container.CalDAVContainerPropertiesHookField
 * @extends Ext.form.TextField
 */

/**
 * replace template fields with data
 * @static
 */

/**
 * return canonical path part
 *
 * @static
 * @param {Ext.Component} component
 * @returns {String}
 */

/**
 * returns a clone of given record (in current window context)
 *
 * @param {Record} record
 * @return {Record}
 */

/**
 * returns generic tree context menu with
 * - create/add
 * - rename
 * - delete
 * - edit grants
 * 
 * ctxNode class var is required in calling class
 */

/**
 * returns matching size class
 * @param {Number} px
 * @param columns
 */

/**
 * returns promise that resolves when app code of given app is loaded
 *
 * @param appName
 * @return {*|Promise<never>}
 */

/**
 * returns promise that resolves when code of all user apps is loaded
 * @return {Promise<any>}
 */

/**
 * returns the field
 *
 * @param {Object} fieldDefinition
 * @return {Object}
 */

/**
 * sets text and disabled status of a set of actions according to the grants 
 * of a set of records
 * @legacy use ActionUpdater Obj. instead!
 * 
 * @param {Array|SelectionModel} records
 * @param {Array|Toolbar}        actions
 * @param {String}               containerField
 * @param {Bool}                 skipGrants evaluation
 */

/**
 * show main/global context menu if it has itmes
 *
 * @static
 * @param {Ext.EventObject} e
 * @returns {Ext.Component}
 */

/**
 * single path renderer
 *
 * @param path
 * @param queryString
 * @returns {string}
 */

/**
 * state encoding converts null to empty object
 * 
 * -> take encoder/decoder from Ext 4.1 where this is fixed
 */

/**
 * this class represents an image URL
 */

/**
 * this is called in tineInit::initLocale() to make sure we translate some plugin strings by overwriting prototype values
 */

/**
 * tine 2.0 app grid panel widget
 * 
 * @namespace   Tine.widgets.grid
 * @class       Tine.widgets.grid.GridPanel
 * @extends     Ext.Panel
 * 
 * <p>Application Grid Panel</p>
 * <p>
 * </p>
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 * 
 * @param       {Object} config
 * @constructor
 * Create a new GridPanel
 */

/**
 * tine 2.0 record clipboard
 * 
 * @namespace   Tine.Tinebase.data
 * @class       Tine.Tinebase.data.Clipboard
 * 
 * <p>Record Clipboard</p>
 * 
 * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
 * @author      Alexander Stintzing <a.stintzing@metaways.de>
 * 
 * @singleton
 */

/**
 * type mapping
 * @type {Object}
 */

/**
 * upload file record
 */

/**
 * use empty image as secure url
 */

/**
 * use native json implementation because we had problems with utf8 linebreaks (\u2028 for example)
 * @see 0003356: Special characters in telephone numbers makes addressbook stop responding
 * @type Boolean
 */

/**
 * user profile panel
 *
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.UploadManagerStatusButton
 * @extends     Ext.Button
 * @author      Ching En Cheng <c.cheng@metaways.de>
 */

/**
 * user profile panel
 * 
 * @namespace   Tine.Tinebase
 * @class       Tine.Tinebase.UserProfilePanel
 * @extends     Ext.form.FormPanel
 * @consturctor
 * @author      Cornelius Weiss <c.weiss@metaways.de>
 */

/**
 * utility class used by Button
 * 
 * Fix: http://yui-ext.com/forum/showthread.php?p=142049
 * adds the ButtonToggleMgr.getSelected(toggleGroup, handler, scope) function
 */

/**
 * version of Tine 2.0 javascript client version, gets set a build / release time <br>
 * <b>Supported Properties:</b>
 * <table>
 *   <tr><td><b>buildType</b></td><td> type of build</td></tr>
 *   <tr><td><b>buildDate</b></td><td> date of build</td></tr>
 *   <tr><td><b>buildRevision</b></td><td> revision of build</td></tr>
 *   <tr><td><b>codeName</b></td><td> codename of release</td></tr>
 *   <tr><td><b>packageString</b></td><td> packageString of release</td></tr>
 *   <tr><td><b>releaseTime</b></td><td> releaseTime of release</td></tr>
 * </table>
 * @type {Object}
 */

/**
 * wrap for lazy cf init
 *
 * use like this:
 * {
 *    columnWidth: 0.5,
 *    xtype: 'customfield',
 *    modelName: 'Addressbook_Model_Contact',
 *    customFieldName: 'test'
 * }
 */

/**
 * {@link module:ol/source/Tile~TileSource} sources use a function of this type to get
 * the url that provides a tile for a given tile coordinate.
 *
 * This function takes an {@link module:ol/tilecoord~TileCoord} for the tile
 * coordinate, a `{number}` representing the pixel ratio and a
 * {@link module:ol/proj/Projection~Projection} for the projection  as arguments
 * and returns a `{string}` representing the tile URL, or undefined if no tile
 * should be requested for the passed tile coordinate.
 *
 * @typedef {function(import("./tilecoord.js").TileCoord, number,
 *           import("./proj/Projection.js").default): (string|undefined)} UrlFunction
 * @api
 */

/**
 * {@link module:ol/source/Vector~VectorSource} sources use a function of this type to
 * get the url to load features from.
 *
 * This function takes an {@link module:ol/extent~Extent} representing the area
 * to be loaded, a `{number}` representing the resolution (map units per pixel)
 * and an {@link module:ol/proj/Projection~Projection} for the projection  as
 * arguments and returns a `{string}` representing the URL.
 * @typedef {function(import("./extent.js").Extent, number, import("./proj/Projection.js").default): string} FeatureUrlFunction
 * @api
 */

/**
 * {@link module:ol/source/Vector~VectorSource} sources use a function of this type to
 * load features.
 *
 * This function takes up to 5 arguments. These are an {@link module:ol/extent~Extent} representing
 * the area to be loaded, a `{number}` representing the resolution (map units per pixel), an
 * {@link module:ol/proj/Projection~Projection} for the projection, an optional success callback that should get
 * the loaded features passed as an argument and an optional failure callback with no arguments. If
 * the callbacks are not used, the corresponding vector source will not fire `'featuresloadend'` and
 * `'featuresloaderror'` events. `this` within the function is bound to the
 * {@link module:ol/source/Vector~VectorSource} it's called from.
 *
 * The function is responsible for loading the features and adding them to the
 * source.
 * @typedef {function(this:(import("./source/Vector").default|import("./VectorTile.js").default),
 *           import("./extent.js").Extent,
 *           number,
 *           import("./proj/Projection.js").default,
 *           function(Array<import("./Feature.js").default>): void=,
 *           function(): void=): void} FeatureLoader
 * @api
 */

/**
 * {@link module:ol/tilegrid/TileGrid~TileGrid#getZForResolution} can use a function
 * of this type to determine which nearest resolution to use.
 *
 * This function takes a `{number}` representing a value between two array entries,
 * a `{number}` representing the value of the nearest higher entry and
 * a `{number}` representing the value of the nearest lower entry
 * as arguments and returns a `{number}`. If a negative number or zero is returned
 * the lower value will be used, if a positive number is returned the higher value
 * will be used.
 * @typedef {function(number, number, number): number} NearestDirectionFunction
 * @api
 */

/**
 *@class Ext.SplitBar.AbsoluteLayoutAdapter
 * @extends Ext.SplitBar.BasicLayoutAdapter
 * Adapter that  moves the splitter element to align with the resized sizing element.
 * Used with an absolute positioned SplitBar.
 * @param {Mixed} container The container that wraps around the absolute positioned content. If it's
 * document.body, make sure you assign an id to the body element.
 */

/**
 @class Ext.util.ClickRepeater
 @extends Ext.util.Observable

 A wrapper class which can be applied to any element. Fires a "click" event while the
 mouse is pressed. The interval between firings may be specified in the config but
 defaults to 20 milliseconds.

 Optionally, a CSS class may be applied to the element during the time it is pressed.

 @cfg {Mixed} el The element to act as a button.
 @cfg {Number} delay The initial delay before the repeating event begins firing.
 Similar to an autorepeat key delay.
 @cfg {Number} interval The interval between firings of the "click" event. Default 20 ms.
 @cfg {String} pressClass A CSS class name to be applied to the element while pressed.
 @cfg {Boolean} accelerate True if autorepeating should start slowly and accelerate.
           "interval" and "delay" are ignored.
 @cfg {Boolean} preventDefault True to prevent the default click event
 @cfg {Boolean} stopDefault True to stop the default click event

 @history
    2007-02-02 jvs Original code contributed by Nige "Animal" White
    2007-02-02 jvs Renamed to ClickRepeater
    2007-02-03 jvs Modifications for FF Mac and Safari

 @constructor
 @param {Mixed} el The element to listen on
 @param {Object} config
 */

/**
 Returns the number of milliseconds between this date and date
 @param {Date} date (optional) Defaults to now
 @return {Number} The diff in milliseconds
 @member Date getElapsed
 */

/**
* * https://tools.ietf.org/html/draft-josefsson-eddsa-ed25519-03#section-5.2
*
* EDDSA defines methods for encoding and decoding points and integers. These are
* helper convenience methods, that pass along to utility functions implied
* parameters.
*
*/

/**
* @class Ext.EventManager
*/

/**
* @namespace   Tine.widgets.form
* @class       Tine.widgets.form.RecordPickerManager
* @author      Alexander Stintzing <a.stintzing@metaways.de>
*/

/**
* @param {Array|String} message - message bytes
* @param {Array|String|KeyPair} secret - secret bytes or a keypair
* @returns {Signature} - signature
*/

/**
* @param {Array} message - message bytes
* @param {Array|String|Signature} sig - sig bytes
* @param {Array|String|Point|KeyPair} pub - public key
* @returns {Boolean} - true if public key matches sig of message
*/

/**
* @param {EDDSA} eddsa - eddsa instance
* @param {Array<Bytes>|Object} sig -
* @param {Array<Bytes>|Point} [sig.R] - R point as Point or bytes
* @param {Array<Bytes>|bn} [sig.S] - S scalar as bn or bytes
* @param {Array<Bytes>} [sig.Rencoded] - R point encoded
* @param {Array<Bytes>} [sig.Sencoded] - S scalar encoded
*/

/**
* @param {EDDSA} eddsa - instance
* @param {Object} params - public/private key parameters
*
* @param {Array<Byte>} [params.secret] - secret seed bytes
* @param {Point} [params.pub] - public key point (aka `A` in eddsa terms)
* @param {Array<Byte>} [params.pub] - public key point encoded as bytes
*
*/

/**
/**
 * @class Ext.grid.GridView
 * @extends Ext.util.Observable
 * <p>This class encapsulates the user interface of an {@link Ext.grid.GridPanel}.
 * Methods of this class may be used to access user interface elements to enable
 * special display effects. Do not change the DOM structure of the user interface.</p>
 * <p>This class does not provide ways to manipulate the underlying data. The data
 * model of a Grid is held in an {@link Ext.data.Store}.</p>
 * @constructor
 * @param {Object} config
 */

/** 
   * @cfg {Boolean/Number} bufferResize 
   * @hide 
   */

/** 
   * @cfg {Boolean} autoDestroy 
   * @hide 
   */

/** 
   * @cfg {Boolean} autoWidth 
   * @hide 
   */

/** 
   * @cfg {Boolean} disabled 
   * @hide
   */

/** 
   * @cfg {Boolean} enableScrolling
   * @hide 
   */

/** 
   * @cfg {Boolean} hideBorders 
   * @hide 
   */

/** 
   * @cfg {Boolean} hideOnClick
   * False to continue showing the menu after a color is selected, defaults to true.
   */

/** 
   * @cfg {Boolean} hideOnClick
   * False to continue showing the menu after a date is selected, defaults to true.
   */

/** 
   * @cfg {Boolean} monitorResize 
   * @hide 
   */

/** 
   * @cfg {Boolean} readOnly 
   * @hide
   */

/** 
   * @cfg {Boolean} validateOnBlur 
   * @hide
   */

/** 
   * @cfg {Mixed} items 
   * @hide 
   */

/** 
   * @cfg {Number} maxHeight
   * @hide 
   */

/** 
   * @cfg {Number} scrollIncrement
   * @hide 
   */

/** 
   * @cfg {Number} validationDelay 
   * @hide
   */

/** 
   * @cfg {Object/String/Function} autoLoad 
   * @hide 
   */

/** 
   * @cfg {Object} defaults 
   * @hide 
   */

/** 
   * @cfg {Object} layoutConfig 
   * @hide 
   */

/** 
   * @cfg {String/Boolean} validationEvent 
   * @hide
   */

/** 
   * @cfg {String/Number} activeItem 
   * @hide 
   */

/** 
   * @cfg {String} activeClass
   * @hide 
   */

/** 
   * @cfg {String} defaultType 
   * @hide 
   */

/** 
   * @cfg {String} inputType 
   * @hide
   */

/** 
   * @cfg {String} layout 
   * @hide 
   */

/** 
   * @cfg {String} paletteId
   * An id to assign to the underlying color palette. Defaults to <tt>null</tt>.
   */

/** 
   * @cfg {String} pickerId
   * An id to assign to the underlying date picker. Defaults to <tt>null</tt>.
   */

/** 
   * @event add 
   * @hide 
   */

/** 
   * @event afterlayout 
   * @hide 
   */

/** 
   * @event beforeadd 
   * @hide 
   */

/** 
   * @event beforeremove 
   * @hide 
   */

/** 
   * @event remove 
   * @hide 
   */

/** 
   * @method add 
   * @hide 
   */

/** 
   * @method cascade 
   * @hide 
   */

/** 
   * @method doLayout 
   * @hide 
   */

/** 
   * @method find 
   * @hide 
   */

/** 
   * @method findBy 
   * @hide 
   */

/** 
   * @method findById 
   * @hide 
   */

/** 
   * @method findByType 
   * @hide 
   */

/** 
   * @method getComponent 
   * @hide 
   */

/** 
   * @method getLayout 
   * @hide 
   */

/** 
   * @method getUpdater 
   * @hide 
   */

/** 
   * @method insert 
   * @hide 
   */

/** 
   * @method load 
   * @hide 
   */

/** 
   * @method remove 
   * @hide 
   */

/** 
   * @property items 
   * @hide 
   */

/** 
   * Replaces any existing {@link #dateClss} with the new clss and refreshes the DatePicker.
   * @param {Object} datestr: clssString cls classes for given dates
   */

/**  @private */

/** -------------------- Extjs Framework Initialisation -------------------- **/

/** --------------------- Ultra Generic JavaScript Stuff --------------------- **/

/** ------------------------ Tine 2.0 Initialisation ----------------------- **/

/** ------------------------- Ext.ux Initialisation ------------------------ **/

/** @cfg {Boolean} autoDestroy
   * If true the container will automatically destroy any contained component that is removed from it, else
   * destruction must be handled manually (defaults to true).
   */

/** @cfg {Boolean} floating @hide */

/** @cfg {Boolean} forceLayout
   * If true the container will force a layout initially even if hidden or collapsed. This option
   * is useful for forcing forms to render in collapsed or hidden containers. (defaults to false).
   */

/** @cfg {Boolean} frame @hide */

/** @cfg {Boolean} hideBorders
   * True to hide the borders of each contained component, false to defer to the component's existing
   * border settings (defaults to false).
   */

/** @cfg {Object/Array} fbar
   * <p>A {@link Ext.Toolbar Toolbar} object, a Toolbar config, or an array of
   * {@link Ext.Button Button}s/{@link Ext.Button Button} configs, describing a {@link Ext.Toolbar Toolbar} to be rendered into this Panel's footer element.</p>
   * <p>After render, the <code>fbar</code> property will be an {@link Ext.Toolbar Toolbar} instance.</p>
   * <p>If <code>{@link #buttons}</code> are specified, they will supersede the <code>fbar</code> configuration property.</p>
   * The Panel's <code>{@link #buttonAlign}</code> configuration affects the layout of these items, for example:
   * <pre><code>
  var w = new Ext.Window({
  height: 250,
  width: 500,
  bbar: new Ext.Toolbar({
      items: [{
          text: 'bbar Left'
      },'->',{
          text: 'bbar Right'
      }]
  }),
  {@link #buttonAlign}: 'left', // anything but 'center' or 'right' and you can use '-', and '->'
                                // to control the alignment of fbar items
  fbar: [{
      text: 'fbar Left'
  },'->',{
      text: 'fbar Right'
  }]
  }).show();
   * </code></pre>
   * <p><b>Note:</b> Although a Toolbar may contain Field components, these will <b>not</b> be updated by a load
   * of an ancestor FormPanel. A Panel's toolbars are not part of the standard Container->Component hierarchy, and
   * so are not scanned to collect form items. However, the values <b>will</b> be submitted because form
   * submission parameters are collected from the DOM tree.</p>
   */

/** @cfg {String} defaultType
   * <p>The default {@link Ext.Component xtype} of child Components to create in this Container when
   * a child item is specified as a raw configuration object, rather than as an instantiated Component.</p>
   * <p>Defaults to <code>'panel'</code>, except {@link Ext.menu.Menu} which defaults to <code>'menuitem'</code>,
   * and {@link Ext.Toolbar} and {@link Ext.ButtonGroup} which default to <code>'button'</code>.</p>
   */

/** @cfg {String} elements @hide */

/** @cfg {String} resizeEvent
   * The event to listen to for resizing in layouts. Defaults to <code>'resize'</code>.
   */

/** @cfg {String} resizeEvent
   * The event to listen to for resizing in layouts. Defaults to <tt>'bodyresize'</tt>.
   */

/** @ignore */

/** @ignore Called by the grid automatically. Do not call directly. */

/** @override **/

/** @private **/

/** @private */

/** @type {!Collection<import("./Base.js").default>} */

/** @type {!Object<string, import("../coordinate.js").Coordinate>} */

/** @type {!import("../Tile.js").default} */

/** @type {!import("../View.js").default} */

/** @type {!import("./coordinate.js").Coordinate} */

/** @type {!number} */

/** @type {"declutter"|"obstacle"|"none"|undefined} */

/** @type {*} */

/** @type {?FrameState} */

/** @type {?} */

/** @type {AnimationOptions} */

/** @type {Array<*>} */

/** @type {Array<Array<import("../coordinate.js").Coordinate>>} */

/** @type {Array<HitMatch<T>>} */

/** @type {Array<ReplayImageOrLabelArgs>} */

/** @type {Array<import("../Feature.js").default<Geometry>>} */

/** @type {Array<import("../coordinate.js").Coordinate>} */

/** @type {Array<import("./Feature.js").default>} */

/** @type {Array<number>} */

/** @type {ArrayBuffer} */

/** @type {Array} */

/** @type {CanvasLineCap} */

/** @type {CanvasLineJoin} */

/** @type {CanvasRenderingContext2D} */

/** @type {Collection<import("../Feature.js").default<Geometry>>} */

/** @type {Collection<import("./Control.js").default>} */

/** @type {Collection<import("./Interaction.js").default>} */

/** @type {Collection<import("./Overlay.js").default>} */

/** @type {Collection<import("./control/Control.js").default>} */

/** @type {Collection<import("./interaction/Interaction").default>} */

/** @type {Collection<import("./layer/Base.js").default>|Array<import("./layer/Base.js").default>} */

/** @type {CollectionEvent<T>} */

/** @type {Document|Node|Object|string|undefined} */

/** @type {Element} */

/** @type {Entry} */

/** @type {Event} */

/** @type {Feature<Geometry>} */

/** @type {FontParameters} */

/** @type {Geometry|undefined} */

/** @type {Geometry} */

/** @type {HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} */

/** @type {HTMLCanvasElement|HTMLVideoElement|HTMLImageElement} */

/** @type {HTMLCanvasElement|OffscreenCanvas} */

/** @type {HTMLElement|string|undefined} */

/** @type {HTMLImageElement|HTMLVideoElement} */

/** @type {HTMLImageElement} */

/** @type {KeyboardEvent|MouseEvent|TouchEvent} */

/** @type {KeyboardEvent} */

/** @type {Label} */

/** @type {LayerGroup} */

/** @type {MouseEvent} */

/** @type {Node} */

/** @type {Object<string, *>} */

/** @type {Object} */

/** @type {ObservableOnSignature<import("./events").EventsKey>} */

/** @type {ObservableOnSignature<void>} */

/** @type {Options} */

/** @type {Parameters<define>[0]} */

/** @type {PointerEvent} */

/** @type {Projection} */

/** @type {ReplayImageOrLabelArgs} */

/** @type {ReturnType} */

/** @type {SourceType} */

/** @type {Style} */

/** @type {TouchEvent} */

/** @type {UIEvent} */

/** @type {View} */

/** @type {WheelEvent} */

/** @type {boolean} */

/** @type {import("../../Feature.js").FeatureLike} */

/** @type {import("../../ImageTile.js").default} */

/** @type {import("../../Map.js").PostRenderFunction} */

/** @type {import("../../colorlike.js").ColorLike} */

/** @type {import("../../coordinate.js").Coordinate} */

/** @type {import("../../geom/Circle.js").default} */

/** @type {import("../../geom/GeometryCollection.js").default} */

/** @type {import("../../geom/LineString.js").default} */

/** @type {import("../../geom/MultiLineString.js").default} */

/** @type {import("../../geom/MultiPoint.js").default} */

/** @type {import("../../geom/MultiPolygon.js").default} */

/** @type {import("../../geom/Point.js").default} */

/** @type {import("../../geom/Polygon.js").default|import("../../geom/MultiLineString.js").default} */

/** @type {import("../../geom/Polygon.js").default} */

/** @type {import("../../geom/SimpleGeometry.js").default} */

/** @type {import("../../render.js").State} */

/** @type {import("../../size.js").Size} */

/** @type {import("../Feature.js").default<Geometry>} */

/** @type {import("../Image.js").default} */

/** @type {import("../MapBrowserEvent").default} */

/** @type {import("../Tile.js").default} */

/** @type {import("../canvas.js").DeclutterImageWithText} */

/** @type {import("../canvas.js").FillState} */

/** @type {import("../canvas.js").FillStrokeState} */

/** @type {import("../canvas.js").StrokeState} */

/** @type {import("../canvas.js").TextState} */

/** @type {import("../events.js").ListenerFunction} */

/** @type {import("../events.js").ListenerObject} */

/** @type {import("../extent.js").Extent|undefined} */

/** @type {import("../format/Feature.js").default} */

/** @type {import("../geom/Geometry.js").default} */

/** @type {import("../geom/GeometryCollection.js").default} */

/** @type {import("../geom/SimpleGeometry.js").default} */

/** @type {import("../layer/BaseVector.js").default} */

/** @type {import("../layer/Layer.js").default} */

/** @type {import("../proj/Projection.js").default} */

/** @type {import("../render.js").OrderFunction|null|undefined} */

/** @type {import("../render/Event.js").default} */

/** @type {import("../render/canvas.js").DeclutterImageWithText} */

/** @type {import("./Geometry.js").GeometryLayout} */

/** @type {import("./Instruction.js").default} */

/** @type {import("./Layer.js").State} */

/** @type {import("./Tile.js").default} */

/** @type {import("./Units.js").Units} */

/** @type {import("./coordinate.js").Coordinate|undefined} */

/** @type {import("./coordinate.js").Coordinate} */

/** @type {import("./events.js").EventsKey} */

/** @type {import("./geom/SimpleGeometry.js").default} */

/** @type {import("./size.js").Size|undefined} */

/** @type {import("./source/Vector").default} */

/** @type {import("./style/Style.js").default} */

/** @type {import('.')} */

/** @type {import('./eval')} */

/** @type {import('./range')} */

/** @type {import('./ref')} */

/** @type {import('./syntax')} */

/** @type {import('./type')} */

/** @type {import('./uri')} */

/** @type {number|undefined} */

/** @type {number} */

/** @type {string} */

/** Built-in constructor references. */

/** Built-in value references. */

/** Date interval constant
   * @static
   * @type String
   */

/** Detect free variable `exports`. */

/** Detect free variable `global` from Node.js. */

/** Detect free variable `self`. */

/** First tabbable node in container, __DOM__ order; `undefined` if none. */

/** First tabbable node in container, __tabindex__ order; `undefined` if none. */

/** Key constant @type Number */

/** Last tabbable node in container, __DOM__ order; `undefined` if none. */

/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */

/** True if at least one node with positive `tabindex` was found in this container. */

/** True to force the use of DOM instead of html fragments @type Boolean */

/** Used as a safe reference for `undefined` in pre-ES5 environments. */

/** Used as references for various `Number` constants. */

/** Used as the semantic version number. */

/** Used as the size to enable large array optimizations. */

/** Used for built-in method references. */

/** Used to check objects for own properties. */

/** Used to compose bitmasks for cloning. */

/** Used to convert symbols to primitives and strings. */

/** Used to detect methods masquerading as native. */

/** Used to detect overreaching core-js shims. */

/** Used to detect unsigned integer values. */

/** Used to identify `toStringTag` values supported by `_.clone`. */

/** Used to map Latin Unicode letters to basic Latin letters. */

/** Used to map characters to HTML entities. */

/** Used to match `RegExp` flags from their coerced string values. */

/** Used to resolve the decompiled source of functions. */

/** Used to stand-in for `undefined` hash values. */

/** `Object#toString` result references. */

/***
     * @type {BaseLayerOnSignature<import("../events").EventsKey>}
     */

/***
     * @type {BaseLayerOnSignature<void>}
     */

/***
     * @type {BaseTileLayerOnSignature<import("../events").EventsKey>}
     */

/***
     * @type {BaseTileLayerOnSignature<void>}
     */

/***
     * @type {CollectionOnSignature<T, import("./events").EventsKey>}
     */

/***
     * @type {CollectionOnSignature<T, void>}
     */

/***
     * @type {DragBoxOnSignature<import("../events").EventsKey>}
     */

/***
     * @type {DragBoxOnSignature<void>}
     */

/***
     * @type {FeatureOnSignature<import("./events").EventsKey>}
     */

/***
     * @type {FeatureOnSignature<void>}
     */

/***
     * @type {GroupOnSignature<import("../events").EventsKey>}
     */

/***
     * @type {GroupOnSignature<void>}
     */

/***
     * @type {InteractionOnSignature<import("../events").EventsKey>}
     */

/***
     * @type {InteractionOnSignature<void>}
     */

/***
     * @type {LayerOnSignature<import("../events").EventsKey>}
     */

/***
     * @type {LayerOnSignature<void>}
     */

/***
     * @type {MapEventHandler<import("./events").EventsKey>}
     */

/***
     * @type {MapEventHandler<void>}
     */

/***
     * @type {ObjectOnSignature<import("./events").EventsKey>}
     */

/***
     * @type {ObjectOnSignature<void>}
     */

/***
     * @type {TileSourceOnSignature<import("../events").EventsKey>}
     */

/***
     * @type {TileSourceOnSignature<void>}
     */

/***
     * @type {VectorSourceOnSignature<import("../events").EventsKey>}
     */

/***
     * @type {VectorSourceOnSignature<void>}
     */

/***
     * @type {ViewOnSignature<import("./events").EventsKey>}
     */

/***
     * @type {ViewOnSignature<void>}
     */

/***
 * @template Geometry
 * @typedef {Object<string, *> & { geometry?: Geometry }} ObjectWithGeometry
 */

/***
 * @template Return
 * @typedef {OnSignature<EventTypes, import("./events/Event.js").default, Return> & CombinedOnSignature<EventTypes, Return>} ObservableOnSignature
 */

/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<BaseLayerObjectEventTypes, import("../Object").ObjectEvent, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|BaseLayerObjectEventTypes, Return>} BaseLayerOnSignature
 */

/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<import("../ObjectEventType").Types, import("../Object").ObjectEvent, Return> &
 *   import("../Observable").OnSignature<import("./TileEventType").TileSourceEventTypes, TileSourceEvent, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("../ObjectEventType").Types|
 *     import("./TileEventType").TileSourceEventTypes, Return>} TileSourceOnSignature
 */

/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<import("../ObjectEventType").Types, import("../Object").ObjectEvent, Return> &
 *   import("../Observable").OnSignature<import("./VectorEventType").VectorSourceEventTypes, VectorSourceEvent, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("../ObjectEventType").Types|
 *     import("./VectorEventType").VectorSourceEventTypes, Return>} VectorSourceOnSignature
 */

/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<import("../ObjectEventType").Types|
 *     'change:active', import("../Object").ObjectEvent, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("../ObjectEventType").Types|
 *     'change:active', Return>} InteractionOnSignature
 */

/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<import("../ObjectEventType").Types|
 *     'change:active', import("../Object").ObjectEvent, Return> &
 *   import("../Observable").OnSignature<'boxcancel'|'boxdrag'|'boxend'|'boxstart', DragBoxEvent, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("../ObjectEventType").Types|
 *     'change:active'|'boxcancel'|'boxdrag'|'boxend', Return>} DragBoxOnSignature
 */

/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<import("./Base").BaseLayerObjectEventTypes|
 *     'change:layers', import("../Object").ObjectEvent, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("./Base").BaseLayerObjectEventTypes|'change:layers', Return>} GroupOnSignature
 */

/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<import("./Base").BaseLayerObjectEventTypes|
 *     LayerEventType, import("../Object").ObjectEvent, Return> &
 *   import("../Observable").OnSignature<import("../render/EventType").LayerRenderEventTypes, import("../render/Event").default, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("./Base").BaseLayerObjectEventTypes|LayerEventType|
 *     import("../render/EventType").LayerRenderEventTypes, Return>} LayerOnSignature
 */

/***
 * @template Return
 * @typedef {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default, Return> &
 *   import("../Observable").OnSignature<import("./Base").BaseLayerObjectEventTypes|
 *     import("./Layer.js").LayerEventType|'change:preload'|'change:useInterimTilesOnError', import("../Object").ObjectEvent, Return> &
 *   import("../Observable").OnSignature<import("../render/EventType").LayerRenderEventTypes, import("../render/Event").default, Return> &
 *   import("../Observable").CombinedOnSignature<import("../Observable").EventTypes|import("./Base").BaseLayerObjectEventTypes|
 *   import("./Layer.js").LayerEventType|'change:preload'|'change:useInterimTilesOnError'|import("../render/EventType").LayerRenderEventTypes, Return>} BaseTileLayerOnSignature
 */

/***
 * @template Return
 * @typedef {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default, Return> &
 *    import("./Observable").OnSignature<MapObjectEventTypes, import("./Object").ObjectEvent, Return> &
 *    import("./Observable").OnSignature<import("./MapBrowserEventType").Types, import("./MapBrowserEvent").default, Return> &
 *    import("./Observable").OnSignature<import("./MapEventType").Types, import("./MapEvent").default, Return> &
 *    import("./Observable").OnSignature<import("./render/EventType").MapRenderEventTypes, import("./render/Event").default, Return> &
 *    import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|MapObjectEventTypes|
 *      import("./MapBrowserEventType").Types|import("./MapEventType").Types|
 *      import("./render/EventType").MapRenderEventTypes, Return>} MapEventHandler
 */

/***
 * @template Return
 * @typedef {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default, Return> &
 *    import("./Observable").OnSignature<import("./ObjectEventType").Types, ObjectEvent, Return> &
 *    import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|import("./ObjectEventType").Types, Return>} ObjectOnSignature
 */

/***
 * @template Return
 * @typedef {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default, Return> &
 *   import("./Observable").OnSignature<ViewObjectEventTypes, import("./Object").ObjectEvent, Return> &
 *   import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|ViewObjectEventTypes, Return>} ViewOnSignature
 */

/***
 * @template Return
 * @typedef {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default, Return> &
 *   import("./Observable").OnSignature<import("./ObjectEventType").Types|'change:geometry', import("./Object").ObjectEvent, Return> &
 *   import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|import("./ObjectEventType").Types
 *     |'change:geometry', Return>} FeatureOnSignature
 */

/***
 * @template T
 * @template Return
 * @typedef {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default, Return> &
 *   import("./Observable").OnSignature<import("./ObjectEventType").Types|'change:length', import("./Object").ObjectEvent, Return> &
 *   import("./Observable").OnSignature<'add'|'remove', CollectionEvent<T>, Return> &
 *   import("./Observable").CombinedOnSignature<import("./Observable").EventTypes|import("./ObjectEventType").Types|
 *     'change:length'|'add'|'remove',Return>} CollectionOnSignature
 */

/***
 * @template {string} Type
 * @template Return
 * @typedef {(type: Type[], listener: (event: Event|import("./events/Event").default) => ?) => Return extends void ? void : Return[]} CombinedOnSignature
 */

/***
 * @template {string} Type
 * @template {Event|import("./events/Event.js").default} EventClass
 * @template Return
 * @typedef {(type: Type, listener: (event: EventClass) => ?) => Return} OnSignature
 */

/***** sheets functions *****/

/****************** create ITEMS array ****************/

/******************* return menu **********************/

/************************* helper *********************************/

/************************* tab panel *********************************/

/********************************************************** CONFLICT PANEL **********************************************************/

/********************************************************** FILE PANEL **********************************************************/

/********************************************************** OPTIONS PANEL **********************************************************/

/********************************************************** SUMMARY PANEL **********************************************************/

/************************************************************************/

/******/

/***/

/**/

/**@private*/

/*, 'attachments'*/

/*, 'bool', 'boolean'*/

/*, 'in', 'notin'*/

/*, 'local'*/

/*, callback */

/*, callback*/

/*, env */

/*, recordClass.getDescription()*/

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

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

/*.*/

/*/*/

/*: 'cardinal' | 'ordinal' */

/*: ?Object */

/*: ?Placeholder */

/*: ?string */

/*: AST */

/*: Context */

/*: GenerateId */

/*: Locales */

/*: Message */

/*: MissingTranslation */

/*: Object */

/*: Placeholder */

/*: Replacement */

/*: SubMessages */

/*: T */

/*: Translations */

/*: Types */

/*: any */

/*: any[] */

/*: boolean */

/*: number */

/*: string */

/*: string | SubMessages */

/*: string | number */

/*: string | string[] | void */

/*: { [string]: any } */

/*::
export type AST = Element[]
export type Element = string | Placeholder
export type Placeholder = Plural | Styled | Typed | Simple
export type Plural = [ string, 'plural' | 'selectordinal', number, SubMessages ]
export type Styled = [ string, string, string | SubMessages ]
export type Typed = [ string, string ]
export type Simple = [ string ]
export type SubMessages = { [string]: AST }
export type Token = [ TokenType, string ]
export type TokenType = 'text' | 'space' | 'id' | 'type' | 'style' | 'offset' | 'number' | 'selector' | 'syntax'
type Context = {|
  pattern: string,
  index: number,
  tagsType: ?string,
  tokens: ?Token[]
|}
*/

/*::
import type {
  AST,
  SubMessages
} from '../format-message-parse'
type Locale = string
type Locales = Locale | Locale[]
type Placeholder = any[] // https://github.com/facebook/flow/issues/4050
export type Type = (Placeholder, Locales) => (any, ?Object) => any
export type Types = { [string]: Type }
*/

/*::
import type { Types } from 'format-message-interpret'
type Locale = string
type Locales = Locale | Locale[]
type Message = string | {|
  id?: string,
  default: string,
  description?: string
|}
type Translations = { [string]: ?{ [string]: string | Translation } }
type Translation = {
  message: string,
  format?: (args?: Object) => string,
  toParts?: (args?: Object) => any[],
}
type Replacement = ?string | (string, string, locales?: Locales) => ?string
type GenerateId = (string) => string
type MissingTranslation = 'ignore' | 'warning' | 'error'
type FormatObject = { [string]: * }
type Options = {
  locale?: Locales,
  translations?: ?Translations,
  generateId?: GenerateId,
  missingReplacement?: Replacement,
  missingTranslation?: MissingTranslation,
  formats?: {
    number?: FormatObject,
    date?: FormatObject,
    time?: FormatObject
  },
  types?: Types
}
type Setup = {|
  locale: Locales,
  translations: Translations,
  generateId: GenerateId,
  missingReplacement: Replacement,
  missingTranslation: MissingTranslation,
  formats: {
    number: FormatObject,
    date: FormatObject,
    time: FormatObject
  },
  types: Types
|}
type FormatMessage = {
  (msg: Message, args?: Object, locales?: Locales): string,
  rich (msg: Message, args?: Object, locales?: Locales): any[],
  setup (opt?: Options): Setup,
  number (value: number, style?: string, locales?: Locales): string,
  date (value: number | Date, style?: string, locales?: Locales): string,
  time (value: number | Date, style?: string, locales?: Locales): string,
  select (value: any, options: Object): any,
  custom (placeholder: any[], locales: Locales, value: any, args: Object): any,
  plural (value: number, offset: any, options: any, locale: any): any,
  selectordinal (value: number, offset: any, options: any, locale: any): any,
  namespace (): FormatMessage
}
*/

/*:: <T: Object> */

/*:: ?: ?string */

/*:: ?: Locales */

/*:: ?: Object */

/*:: ?: Options */

/*:: ?: Types */

/*:: ?: boolean */

/*:: ?: number | Date */

/*:: ?: string */

/*:: ?: { tagsType?: string, tokens?: Token[] } */

/*:: export type Rule = 'zero' | 'one' | 'two' | 'few' | 'many' | 'other' */

/*</replacement>*/

/*<replacement>*/

/*BACKSPACE*/

/*DELETE*/

/*column.dataIndex === me.quickaddMandatory ? '+ add new ...' : */

/*cushion*/

/*else {
        const row = this.store.indexOf(this.quickaddRecord);
        const col = this.colModel.columns.indexOf(column);
        const cell = this.getView().getCell(row, col);
        if (cell) {
            // cell.innerHTML = '';
            return Ext.fly(cell);
        }
      } */

/*global Ext*/

/*global Ext, Tine*/

/*global Ext, Tine, Locale*/

/*global Ext, Tine, window*/

/*internal*/

/*jslint bitwise: true */

/*use SoftQuota*/

/*{
        tag: 'div',
        cls: 'ux-pp-mode ux-pp-mode-' + this.mode
        },*/

//

// 

// 	Minutes, numeric

// 	Seconds, numeric, at least 2 digits with leading 0

// 	Years, numeric, at least 2 digits with leading 0

//       

//        

//         	

//         	doc = document,

//         	moved = false; // only move it if it needs it

//         	s = el.getScroll(),

//         	vb,

//         	vh = -offsets.bottom, 

//         	vr,

//         	vw = -offsets.right, 

//         	vx = offsets.left + s.left, 

//         	vxy = el.getXY(),

//         	vy = offsets.top + s.top,            	

//         	w = me.dom.offsetWidth, h = me.dom.offsetHeight,

//         	x = xy[0],

//         	xy = proposedXY || (!local ? me.getXY() : [me.getLeft(true), me.getTop(true)]),

//         	y = xy[1],

//                             i have no idea why i commited here, maybe just because of the id?

//                             let's solve it better the next time!

//                       corresponds to this chunk of generated code,

//                     corresponds to this chunk of generated code,

//                    attachment.set('size', xhr.response.size);

//                    attachment.set('type', xhr.response.type);

//                   http://www.ogcio.gov.hk/tc/business/tech_promotion/ccli/terms/doc/hkscs-2008-big5-iso.txt

//                  this.pollInterval = i;

//                 vx += vxy[0];

//                 vy += vxy[1];

//                0201-1976 Roman, 0208-1978, 0208-1983.

//                Ext.fly(data.el).insertAfter(target.el);

//                Ext.fly(data.el).insertBefore(target.el);

//               (0xA1-0xFE)x2   - 0208 plane (94x94).

//               0x00-0x7F       - lower part of 0201

//               0x8E, 0xA1-0xDF - upper part of 0201

//               0x8F, (0xA1-0xFE)x2 - 0212 plane (94x94).

//               Q = r^-1 (sR + -eG)

//               Used as-is in ISO2022 family.

//               Windows CP932 is a superset of Shift_JIS. Some companies added more chars, notably KDDI.

//               chunk of code,

//               encoding of 0208. Lead byte ranges: 0x81-0x9F, 0xE0-0xEF; Trail byte ranges: 0x40-0x7E, 0x80-0x9E, 0x9F-0xFC.

//              2 planes, first is superset of 0208, second - revised 0212.

//              Has several variations in 1978, 1983, 1990 and 1997.

//              Introduced in 2000, revised 2004. Some characters are in Unicode Plane 2 (0x2xxxx)

//              activeX.unshift(id);

//              if (typeof i == 'number' && isFinite(i)) {

//              l

//              this.defaultHeaders = null;

//              this.useDefaultHeader = b;

//              this.useDefaultXhrHeader = b;

//              }

//             code.

//             if(!local){                    

//             moved = true;

//             test: 'skip-3'

//             vh += Ext.lib.Dom.getViewHeight();

//             vh += el.dom.clientHeight;

//             vw += Ext.lib.Dom.getViewWidth();

//             vw += el.dom.clientWidth;

//             x = vx + vw - w;

//             x = vx;

//             y = vy + vh - h;

//             y = vy;

//             }

//            container = this.getContainerFromFilter() || container;

//            handler: this.onAddFilterToolbar

//            iconCls: this.filterPanel.activeFilterPanel.app ? this.filterPanel.activeFilterPanel.app.getIconCls() : '',

//            listAlign: 'tr-br',

//            listWidth: 500,

//            otherwise we can't open multiple dialogs with new records

//            qtip: i18n._('Show records that match one of the following filters'),

//            requiredGrant: 'editGrant',

//            scope: this,

//            text: '+',

//            text: i18n._('or alternatively'),

//            this.grid.getView().focusRow(0);

//            this.interRecord.set(cp, {account_grants: {editGrant: true}});

//            this.subFilterModels.push(Tine.widgets.grid.FilterToolbar.prototype.createFilterModel.call(this, config));

//           / r2            . .

//           note 1: For example, a=b=c&d====c

//           note 1: Please be aware that this function

//           note 1: Please be aware that this function expects \

//           note 1: This reflects PHP 5.3/6.0+ behavior

//           note 1: When a particular argument has been passed, and the

//           note 1: When no argument is specified, will put variables in global scope.

//           note 1: charset argument not supported

//           note 1: expects to encode into UTF-8 encoded strings, as found on

//           note 1: pages served as UTF-8

//           note 1: returned value is different parse_str of PHP.

//           note 1: to encode into UTF-8 encoded strings, as found on

//           this is useful for replacing switch statements (for example).

//          Collect the info we need to render the label from our Container.

//          Do nothing if being rendered by a form layout

//          If our Container is hiding labels, then we're done!

//          If rendering a regular Component, and it needs an icon,

//          Keystrokes within a form Field (e.g.: down in a Combo) do not navigate. Allow only TAB

//          Link the containing <li> to the item.

//          Replace the Field's onDestroy method with a sequence that calls the plugin's onDestroy after the Field's onRender

//          Replace the Field's onRender method with a sequence that calls the plugin's onRender after the Field's onRender

//          The Component's positionEl is the <li> it is rendered into

//          We need to completely override the onResize method because of the complexity

//          \r\                      .   .

//          e \k\            .  .    . .

//          move the Component rightwards.

//          resetDefaultHeaders : function() {

//          setDefaultPostHeader : function(b) {

//          setDefaultXhrHeader : function(b) {

//          setPollingInterval : function(i) {

//          setProgId : function(id) {

//          },

//         /                           .   .

//         // first validate right/bottom

//         // then make sure top/left isn't negative

//         <= NODE_START -> index of the next node in our trie to process next byte.

//         <= SEQ_START  -> index of the start of a character code sequence, in decodeTableSeq.

//         <= SEQ_START  -> it's an index in encodeTableSeq, see below. The character starts a sequence.

//         == GB18030_CODE -> this is the end of a GB18030 4-byte sequence.

//         == UNASSIGNED -> no conversion found. Output a default char.

//         == UNASSIGNED -> unknown/unassigned sequence.

//         but some legacy code works with custom properties in record, so we can't clone always

//         callback: this.onAreaLockChange.createDelegate(this)

//         channel: "areaLocks",

//         col.quickaddEditor.startEdit(o.row, columns.indexOf(col));

//         el = Ext.get(el);

//         fixed by: Mick@el

//         if the new contet/html arrives before the defer time is over.

//         if(el.dom == doc.body || el.dom == doc){

//         if(x + w > vx + vw){

//         if(x < vx){

//         if(y + h > vy + vh){

//         if(y < vy){

//         input by: AJ

//         input by: Brant Messenger (http://www.brantmessenger.com/)

//         input by: Brett Zamir (http://brett-zamir.me)

//         input by: David Pesta (http://davidpesta.com/)

//         input by: Devan Penner-Woelk

//         input by: Dreamer

//         input by: Francois

//         input by: Mailfaker (http://www.weedem.fr/)

//         input by: Michael Grier

//         input by: Ratheous

//         input by: ReverseSyntax

//         input by: Rick Waldron

//         input by: Scott Cariss

//         input by: Slawomir Kaniecki

//         input by: Steve Hilder

//         input by: Zaide (http://zaidesthings.com/)

//         input by: felix

//         input by: jeicquest

//         input by: travc

//         offsets = Ext.applyIf(offsets || {}, {top : 0, left : 0, bottom : 0, right : 0});

//         return moved ? [x, y] : false;

//         return this.ensureSelected.defer(100, this, [node]);

//         topic: areaLock + '.*',

//         var	me = this,

//         }

//         }else{

//        - 1024 chars are expected to be pass client/server limits savely => 940

//        - base64 means about 30% overhead => 600

//        ----+---- <= distance from center to here is maxr

//        Ext.each(filterConfigs, function(config) {

//        else if (this.filterMode == 'filterToolbar' && this.filterPlugin) {

//        example 1: array_rand( ['Kevin'], 1 )

//        example 1: convert_uuencode("test\ntext text\r\n")

//        example 1: htmlspecialchars("<a href='test'>Test</a>", 'ENT_QUOTES')

//        example 1: htmlspecialchars_decode("<p>this -&gt; &quot;</p>", 'ENT_NOQUOTES')

//        example 1: levenshtein('Kevin van Zonneveld', 'Kevin van Sommeveld')

//        example 1: parse_str('first=foo&second=bar', $arr)

//        example 1: rawurlencode('Kevin van Zonneveld!')

//        example 1: stripslashes('Kevin\'s code')

//        example 1: strnatcasecmp(10, 1)

//        example 1: strnatcmp('abc', 'abc')

//        example 1: strncmp('aaa', 'aab', 2)

//        example 1: strrev('Kevin van Zonneveld')

//        example 1: urlencode('Kevin van Zonneveld!')

//        example 1: var $arr = {}

//        example 1: var $result = $arr

//        example 1: vprintf("%01.2f", 123.1)

//        example 2: htmlspecialchars("ab\"c'd", ['ENT_NOQUOTES', 'ENT_QUOTES'])

//        example 2: htmlspecialchars_decode("&amp;quot;")

//        example 2: levenshtein("carrrot", "carrots")

//        example 2: parse_str('str_a=Jack+and+Jill+didn%27t+see+the+well.', $arr)

//        example 2: rawurlencode('http://kvz.io/')

//        example 2: stripslashes('Kevin\\\'s code')

//        example 2: strnatcasecmp('1', '10')

//        example 2: strnatcmp('a', 'b')

//        example 2: strncmp('aaa', 'aab', 3 )

//        example 2: strrev('a\u0301haB')

//        example 2: urlencode('http://kvz.io/')

//        example 2: var $arr = {}

//        example 2: var $result = $arr

//        example 3: htmlspecialchars('my "&entity;" is still here', null, null, false)

//        example 3: levenshtein("carrrot", "carrots", 2, 3, 4)

//        example 3: parse_str('a[b]["c"]=def&a[q]=t+5', $abc)

//        example 3: rawurlencode('http://www.google.nl/search?q=Locutus&ie=utf-8')

//        example 3: strnatcmp('10', '1')

//        example 3: strrev('A\uD87E\uDC04Z')

//        example 3: urlencode('http://www.google.nl/search?q=Locutus&ie=utf-8')

//        example 3: var $abc = {3:'a'}

//        example 3: var $result = $abc

//        example 4: parse_str('a[][]=value', $arr)

//        example 4: strnatcmp('0000abc', '0abc')

//        example 4: var $arr = {}

//        example 4: var $result = $arr

//        example 5: parse_str('a=1&a[]=2', $arr)

//        example 5: strnatcmp('1239', '12345')

//        example 5: var $arr = {}

//        example 5: var $result = $arr

//        example 6: strnatcmp('t01239', 't012345')

//        example 7: strnatcmp('0A', '5N')

//        if (this.interRecord.get(cp) !== undefined) {

//        if (this.store.getCount() > 0) {

//        in this case we should keep default data?

//        newNode

//        return this.subFilterModels;

//        returns 1: "0=&5S=`IT97AT('1E>'0-\"@\n`\n"

//        returns 1: "Kevin's code"

//        returns 1: '&lt;a href=&#039;test&#039;&gt;Test&lt;/a&gt;'

//        returns 1: '0'

//        returns 1: '<p>this -> &quot;</p>'

//        returns 1: 'Kevin%20van%20Zonneveld%21'

//        returns 1: 'Kevin+van+Zonneveld%21'

//        returns 1: 'dlevennoZ nav niveK'

//        returns 1: 0

//        returns 1: 1

//        returns 1: 3

//        returns 1: 6

//        returns 1: { first: 'foo', second: 'bar' }

//        returns 2: "Kevin\'s code"

//        returns 2: '&quot;'

//        returns 2: 'Baha\u0301' // combining

//        returns 2: 'ab"c&#039;d'

//        returns 2: 'http%3A%2F%2Fkvz.io%2F'

//        returns 2: -1

//        returns 2: 2

//        returns 2: { str_a: "Jack and Jill didn't see the well." }

//        returns 3: 'Z\uD87E\uDC04A' // surrogates

//        returns 3: 'http%3A%2F%2Fwww.google.nl%2Fsearch%3Fq%3DLocutus%26ie%3Dutf-8'

//        returns 3: 'my &quot;&entity;&quot; is still here'

//        returns 3: 1

//        returns 3: 6

//        returns 3: {"3":"a","a":{"b":{"c":"def"},"q":"t 5"}}

//        returns 4: 0

//        returns 4: {"a":{"0":{"0":"value"}}}

//        returns 5: -1

//        returns 5: {"a":{"0":"2"}}

//        returns 6: 1

//        returns 7: -1

//        test: skip-2

//        test: skip-3 skip-4 skip-5 skip-6 skip-7

//        this.cmp.doQuery = this.cmp.doQuery.createInterceptor(this.onBeforeQuery, this);

//        this.getRootNode().appendChild(this.createNode(filterPanel));

//        this.getRootNode().collapse();

//        this.setIconClass(this.origIconCls);

//        this.tbar = [{

//        var cp = this.editDialog.recordClass.getMeta('containerProperty') ? this.editDialog.recordClass.getMeta('containerProperty') : 'container_id';

//        var filterConfigs = this.foreignRecordClass.getFilterModel();

//        var newNode = this.createNode(filterPanel);

//        }

//        }, this);

//        }];

//       'childonly' is no ext mode, we just need something other than 'container'

//       'https://github.com/crypto-browserify/crypto-browserify'

//       'sorry, ' + name + ' is not implemented yet',

//       'we accept pull requests',

//       - otherwise we can't compute phpClassName

//       - otherwise we can't referece

//       - so we defer the alert. In case of reload/redirect the deferd fn dosn't get executed

//       - the extjs xhr abstraction has no such feature

//       - this might not always be the case due to network, service or session problems

//       - we need some way to distinguish server/client connection losses

//       /                                         .   .

//       /####|k ##\

//       2) `positive` is true if unsigned mod is requested

//       BUT: it does not hold the actual data of the new row. all state is within the quickaddFields

//       a selection change. We need to do this by hand here

//       about initial loading.

//       and if mode !== header as placeholder to get a row rendered

//       and scrape them out here -> this also means we whipe all other root level filters (could only be implicit once)

//       as the editor api (get/setValue) does not know about the record the value comes from

//       as the iframe technically is not loaded

//       as the js translations are much better

//       as there is almost no tooling for icu-messages out there

//       b     /               . .

//       be refactored or removed completely

//       but we trigger blur event chain

//       d      \ \  .  .          . .

//       discuss at: http://locutus.io/php/array_rand/

//       discuss at: http://locutus.io/php/convert_uuencode/

//       discuss at: http://locutus.io/php/htmlspecialchars/

//       discuss at: http://locutus.io/php/htmlspecialchars_decode/

//       discuss at: http://locutus.io/php/levenshtein/

//       discuss at: http://locutus.io/php/parse_str/

//       discuss at: http://locutus.io/php/rawurlencode/

//       discuss at: http://locutus.io/php/stripslashes/

//       discuss at: http://locutus.io/php/strnatcasecmp/

//       discuss at: http://locutus.io/php/strnatcmp/

//       discuss at: http://locutus.io/php/strncmp/

//       discuss at: http://locutus.io/php/strrev/

//       discuss at: http://locutus.io/php/urlencode/

//       discuss at: http://locutus.io/php/vprintf/

//       for focus to work (e.g. iOS dosn't show keyborad)

//       generatedColumn: The column number in the generated code,

//       generatedLine: The line number in the generated code,

//       in the instances

//       in their description don't get translated. Thus we (re) translate them here

//       it's not possible to auto create a editor here

//       loading are processed. so we wait a little bit until we register the listeners to not get notified

//       name: The name of the original symbol which generated this chunk of

//       originalColumn: The column number in the original source that

//       originalLine: The line number in the original source that

//       otherwise the record (e.g. query) might not be in the store

//       request both div & mod

//       revised by: Andrea Giammarchi (http://webreflection.blogspot.com)

//       revised by: Kevin van Zonneveld (http://kvz.io)

//       revised by: gorthaur

//       so we frequently check for state updates

//       so we need to route "alternate criterias" (OR on root level) through this filterGroup for transport

//       source: The path to the original source file that generated this

//       there's no way to measure if the resize succeeded in this early stage

//       to `div` to request div only, or be absent to

//      /#####^#####\

//      Add behaviour at important points in the Field's lifecycle.

//      Do not honor delay or interval if acceleration wanted.

//      Ensure that we clean up on destroy.

//      Ensure the input field is sized to fit in the content area of the resizeEl (to the right of its padding-left)

//      If the result is multiple siblings, then encapsulate them into one fragment.

//      We perform all necessary sizing here. We do NOT call the current class's onResize because we need this control

//      bugfixed by: Arno

//      bugfixed by: Brett Zamir (http://brett-zamir.me)

//      bugfixed by: Joris

//      bugfixed by: Kevin van Zonneveld (http://kvz.io)

//      bugfixed by: MIO_KODUKI (http://mio-koduki.blogspot.com/)

//      bugfixed by: Mateusz "loonquawl" Zalega

//      bugfixed by: Nathan

//      bugfixed by: Onno Marsman (https://twitter.com/onnomarsman)

//      bugfixed by: Rafał Kukawski

//      bugfixed by: stag019

//      element than the one we are searching for, so we return -1.

//      if there is a valid use case let's have an option

//      improved by: Ates Goral (http://magnetiq.com)

//      improved by: Brett Zamir (http://brett-zamir.me)

//      improved by: Jack

//      improved by: Kevin van Zonneveld (http://kvz.io)

//      improved by: Lars Fischer

//      improved by: Michael White (http://getsprink.com)

//      improved by: Waldo Malqui Silva (https://fayr.us/waldo/)

//      improved by: marrtins

//      improved by: rezna

//      make sure it contains the default value we want to reset to

//      note 1: "original type" as numeric.

//      note 1: - code more compliant with developer guidelines

//      note 1: - for implementing PHP constant arguments look at

//      note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes

//      note 1: Assumes and converts to Unicode strings with character

//      note 1: C and en for LC_MONETARY/LC_NUMERIC; en for LC_COLLATE

//      note 1: Case-insensitive version of str_replace()

//      note 1: Compliant with PHP 5.0 str_ireplace() Full details at:

//      note 1: Consider using http://demo.icu-project.org/icu-bin/locexp as basis for localization (as in i18n_loc_set_default())

//      note 1: Great work. Ideas for improvement:

//      note 1: Handles rare Unicode characters if 'unicode.semantics' ini (PHP6) is set to 'on'

//      note 1: I have removed this behavior in favor of just calling `console.log`

//      note 1: IE does not allow deleting and re-adding of properties without caching

//      note 1: If the value is null, key and value are skipped in the

//      note 1: Important note: Per the ECMAScript specification,

//      note 1: In 1.3.2 and earlier, this function wrote to the body of the document when it

//      note 1: Is extensible, but currently only implements locales en,

//      note 1: It has been decided that we're not going to add global

//      note 1: Keep in mind that in accordance with PHP, the whole string is buffered and then

//      note 1: List of locales at <http://demo.icu-project.org/icu-bin/locexp>

//      note 1: Long code cause we're aiming for maximum PHP compatibility

//      note 1: May look like overkill, but in order to be truly faithful to handling all Unicode

//      note 1: One could easily represent (or convert the results) of a

//      note 1: Precision 'n' can be adjusted as desired

//      note 1: Relies on file_get_contents which does not work in the browser, so Node only.

//      note 1: Renamed in PHP6 from locale_get_default(). Not listed yet at php.net.

//      note 1: Returns < 0 if str1 is less than str2 ; > 0

//      note 1: See the commented out code below for a version which

//      note 1: Since I can't imageine a complelling use-case for this, and XUL is deprecated

//      note 1: Since JS objects' keys are always strings, and (the

//      note 1: Sorry about the crippled test. Needed because precision differs accross platforms.

//      note 1: The countObj parameter (optional) if used must be passed in as a

//      note 1: The examples are correct, this is a new way

//      note 1: The ini values must be set by ini_set or manually within an ini file

//      note 1: This depends on setlocale having the appropriate

//      note 1: This function deviates from PHP in returning a copy of the array instead

//      note 1: This involved >100 lines of boilerplate to do this in a safe way.

//      note 1: This will not set a global_value or access level for the ini item

//      note 1: To be usable with sort() if it is passed the `SORT_LOCALE_STRING`

//      note 1: Use tab and newline as tokenizing characters as well

//      note 1: Uses global: locutus to store locale info

//      note 1: We show double backslashes in the return value example

//      note 1: as in PHP

//      note 1: behavior by default if IE ever does allow it; only gives shallow copy since

//      note 1: but counts the number of characters, something like this is really necessary.

//      note 1: characters and to this function in PHP which does not count the number of bytes

//      note 1: chooses to create the constants themselves.

//      note 1: code below because a JavaScript string will not

//      note 1: code equivalents of the same numbers as in the from or

//      note 1: currently has no clear binary data type, we chose to use strings

//      note 1: default) SORT_REGULAR flag distinguishes by key type,

//      note 1: dependencies to Locutus, meaning the constants are not

//      note 1: en_US, en_GB, en_AU, fr, and fr_CA for LC_TIME only; C for LC_CTYPE;

//      note 1: flexibility & compatibility possible

//      note 1: function is compatible with PHP 5.2 and older

//      note 1: get the PHP behavior, but use this only if you are in an environment

//      note 1: hashed. If available, we'd recommend using Node's native crypto modules directly

//      note 1: http://ca3.php.net/manual/en/function.str-ireplace.php

//      note 1: http_build_query of PHP while in locutus they are not.

//      note 1: if str1 is greater than str2, and 0 if they are equal.

//      note 1: if the content is a numeric string, we treat the

//      note 1: in a steaming fashion for faster and more efficient hashing

//      note 1: is by reference in PHP anyways

//      note 1: it different from the PHP implementation. We can't fix this unfortunately.

//      note 1: locale (these examples use 'en_US')

//      note 1: object. The count will then be written by reference into it's `value` property

//      note 1: objects may not always iterate in a predictable order

//      note 1: of acting by reference and returning true; this was necessary because

//      note 1: of property position; you can set the ini of "locutus.sortByReference" to true to

//      note 1: property deletion is supported. Note that we intend to implement the PHP

//      note 1: real constants, but strings instead. Integers are also supported if someone

//      note 1: render them as backslashes otherwise

//      note 1: should be treated as actual Unicode, since the PHP function

//      note 1: sorting flag: http://php.net/manual/en/function.sort.php

//      note 1: srand() function)

//      note 1: string form as arrays of code points instead but since JavaScript

//      note 1: such as Firefox extensions where for-in iteration order is fixed and true

//      note 1: target character set; Note that neither the input or output

//      note 1: the pathinfo() function, it offers the greatest

//      note 1: this is original by does not either

//      note 1: was called in webbrowsers, in addition to supporting XUL.

//      note 1: will work with our experimental (though probably unnecessary)

//      note 2: Keep in mind that in accordance with PHP, the whole file is buffered and then

//      note 2: The countObj parameter (optional) if used must be passed in as a

//      note 2: This feature will not work in Node and hence is Browser-only

//      note 2: This function tries to establish the locale via the `window` global.

//      note 2: You'll see functions depends on `echo` instead of `console.log` as we'll want

//      note 2: efficient hashing

//      note 2: hashed. We'd recommend Node's native crypto modules for faster and more

//      note 2: object. The count will then be written by reference into it's `value` property

//      note 2: to have 1 contact point to interface with the outside world, so that it's easy

//      note 2: to support other ways of printing output.

//      original by: Ash Searle (http://hexmen.com/blog/)

//      original by: Brett Zamir (http://brett-zamir.me)

//      original by: Cagri Ekin

//      original by: Carlos R. L. Rodrigues (http://www.jsfromhell.com)

//      original by: Kevin van Zonneveld (http://kvz.io)

//      original by: Martijn Wieringa

//      original by: Martin Pool

//      original by: Mirek Slugen

//      original by: Ole Vrijenhoek

//      original by: Philip Peterson

//      original by: Waldo Malqui Silva (http://waldo.malqui.info)

//      private

//      the next-closest element.

//      we skip that and go up the hierarchy to Ext.form.Field

//      |                        .   .

//      |                       . .

//      |                     . .

//      |      \e\  .    .  .       . .

//      |    \o\      .          .  . . .

//      |  \t\          .                 .

//      | _ _a_ _\#  .            . .

//      |α                                   .   .

//      ° center

//     #addition-add-2007-bl

//     #addition-add-2008-bbjlp

//     #addition-add-2008-hwcd-3

//     #doubling-dbl-2007-bl

//     #doubling-dbl-2008-bbjlp

//     #doubling-dbl-2008-hwcd

//     #doubling-dbl-2009-l

//     #doubling-mdbl-2007-bl

//     'triggered',

//     /#### /+\# s #\

//     // prevent loading non existing remote record

//     Tine.Tinebase.areaLocks.unlock(areaLock);

//     Tine.log.error('Could not create centerPanel "Tine.' + this.app.appName + '.' + contentType + suffix + '"');

//     Tine.log.error(e.stack ? e.stack : e);

//     ].join('\n'))

//     break

//     checkWidth.value)

//     confs[i] = Object.freeze(confs[i])

//     confs[i].level = i

//     const sm = node.getOwnerTree().getSelectionModel();

//     containerDivWidth.value,

//     contentDivWidth.value,

//     ct.enableResponsive = ct.ownerCt?.enableResponsive;

//     field: column.quickaddField

//     field: field.fieldName,

//     fieldDefinition = _.get(modelConfig, 'fields.' + fieldName, {});

//     grid: this,

//     iconSrc = "images/icon-set/icon_ok.svg"

//     if (! node.getUI().rendered) {

//     if (col.quickaddEditor) {

//     modelConfig = recordClass ? recordClass.getModelConfiguration() : null,

//     node.select();

//     originalValue: field.originalValue

//     r => record.id === r.get(this.isMetadataModelFor).id )) return // no duplicates

//     record.setId(0);

//     record: this.quickaddRecord,

//     recordsCountInPopover.value,

//     return;

//     sm.resumeEvents();

//     sm.suspendEvents()

//     text: i18n._("Please note: After saving you cannot view this auto-generated secret key again!")

//     this.actionRemove.setDisabled(this.readOnly || rowCount == 0);

//     this.enableResponsive = ct.ownerCt?.enableResponsive;

//     this.filterModels.push(this.ownRecordFilterModel);

//     this.ownRecordFilterModel = this.createFilterModel({filtertype: 'ownrecord', ownRecordClass: this.recordClass});

//     this.postalSubscriptions.push(postal.subscribe({

//     this.stopEditing(true);

//     this[contentType + suffix] = new Ext.Panel({html: 'ERROR'});

//     throw new Error([

//     top: ((this.height - tm.getHeight(clickToEditText)) / 2) + 'px'

//     touch0,touch1 and previousTouch0,previousTouch1

//     value: field.getValue(),

//     var rowCount = sm.getCount();

//     {

//     }

//     }));

//    /### h/+++\# t #\

//    Great discussion & recap of what's going on https://bugzilla.mozilla.org/show_bug.cgi?id=912470#c31

//    Implementations are not consistent within browsers; sometimes labeled as just big5.

//    In the encoder, it might make sense to support encoding old PUA mappings to Big5 bytes seq-s.

//    MS Internet Explorer switches from big5 to big5-hkscs when a patch applied.

//    Official spec: http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/terms/doc/2003cmp_2008.txt

//    Plus, it has 4 combining sequences.

//    Seems that Mozilla refused to support it for 10 yrs. https://bugzilla.mozilla.org/show_bug.cgi?id=162431 https://bugzilla.mozilla.org/show_bug.cgi?id=310299

//    another readable later.

//    because big5-hkscs is the only encoding to include astral characters in non-algorithmic way.

//    buffer.fill(buffer[, offset[, end]])

//    buffer.fill(number[, offset[, end]])

//    buffer.fill(string[, offset[, end]][, encoding])

//    care of it.

//    draggable : true,

//    getSubFilters: function() {

//    input by: Alan C

//    input by: Alex

//    input by: Amir Habibi (http://www.residence-mixte.com/)

//    input by: Amirouche

//    input by: Bjorn Roesbeke (http://www.bjornroesbeke.be/)

//    input by: Bobby Drake

//    input by: Brett Zamir (http://brett-zamir.me)

//    input by: Brian Tafoya (http://www.premasolutions.com/)

//    input by: Bug?

//    input by: Denny Wardhana

//    input by: Dreamer

//    input by: DxGx

//    input by: Erkekjetter

//    input by: Evertjan Garretsen

//    input by: Frank Forte

//    input by: Greenseed

//    input by: Hans Henrik (http://hanshenrik.tk/)

//    input by: JB

//    input by: James (http://www.james-bell.co.uk/)

//    input by: Jason Wong (http://carrot.org/)

//    input by: Jay Klehr

//    input by: Josep Sanz (http://www.ws3.es/)

//    input by: Kheang Hok Chin (http://www.distantia.ca/)

//    input by: Kirk Strobeck

//    input by: Kongo

//    input by: Marc Palau

//    input by: Marco van Oort

//    input by: Nate

//    input by: Nick Kolosov (http://sammy.ru)

//    input by: Oleg Eremeev

//    input by: Onno Marsman (https://twitter.com/onnomarsman)

//    input by: Paulo Freitas

//    input by: Pul

//    input by: Ratheous

//    input by: Robin

//    input by: Steve Hilder

//    input by: Taras Bogach

//    input by: William

//    input by: daniel airton wermann (http://wermann.com.br)

//    input by: ger

//    input by: incidence

//    input by: josh

//    input by: jpfle

//    input by: meo

//    input by: nord_ua

//    input by: pilus

//    input by: rem

//    input by: saulius

//    input by: uestla

//    many unicode code points moved from PUA to Supplementary plane (U+2XXXX) over the years.

//    new URL(sourceURL, sourceMapURL).toString()

//    or as double (for e,f,g) instead of float or wchar_t instead of char

//    padding, isTarget, maintainOffset, primaryButtonOnly

//    rootVisible: false,

//    },

//   'createCredentials'

//   'data' event.

//   * Every element in `ary[i+1 .. j-1]` is greater than the pivot.

//   * Every element in `ary[p .. i]` is less than or equal to the pivot.

//   * it has no body

//   * it has no macros

//   * it has no parent

//   /### t/+++++\# r #\

//   1. We find the exact element we are looking for.

//   101011

//   2. We did not find the exact element, but we can return the index of

//   3. We did not find the exact element, and there is no next-closest

//   Continuation

//   If the sources are not absolute URLs after prepending of the

//   Line 4: An optional source root, useful for relocating source

//   NEED to construct a new paging object from the params here!

//   SourceMap (like resolving script src in a html document).

//   V    V

//   _example 3: addcslashes("@a\u0000\u0010\u00A9", "\0..\37!@\177..\377"); // Escape as octals those specified and less than 32 (0x20) or greater than 126 (0x7E), but not otherwise

//   _example 4: addcslashes("\u0020\u007E", "\40..\175"); // Those between 32 (0x20 or 040) and 126 (0x7E or 0176) decimal value will be backslashed if specified (not octalized)

//   _example 5: addcslashes("\r\u0007\n", '\0..\37'); // Recognize C escape sequences if specified

//   _example 6: addcslashes("\r\u0007\n", '\0'); // Do not recognize C escape sequences if not specified

//   _returns 3: '\\@a\\000\\020\\302\\251'

//   _returns 4: '\\ ~'

//   _returns 5: "\\r\\a\\n"

//   _returns 6: "\r\u0007\n"

//   and don't update eventually existing params.paging properties. So we ALWAYS

//   call read here would abort the flow and there's no other mechanism for

//   called push() with new data. In this case we skip performing more

//   case 'ok':

//   case where the the stream has called the implementation defined _read()

//   console.warn(

//   container: HTMLElement,

//   continuing the flow if the stream consumer has just subscribed to the

//   default:

//   enough for the UTF-16 encoding (JavaScript internal use), to

//   entries in the “source” field.

//   example 1: (acos(0.3) + '').substr(0, 17)

//   example 1: (asin(0.3) + '').substr(0, 17)

//   example 1: Math.ceil(cos(8723321.4) * 10000000)

//   example 1: Math.ceil(sin(8723321.4) * 10000000)

//   example 1: Math.ceil(tan(8723321.4) * 10000000)

//   example 1: abs(4.2)

//   example 1: acosh(8723321.4)

//   example 1: addcslashes('foo[ ]', 'A..z'); // Escape all ASCII within capital A to lower z range, including square brackets

//   example 1: addslashes("kevin's birthday")

//   example 1: array_chunk(['Kevin', 'van', 'Zonneveld'], 2)

//   example 1: array_merge($arr1, $arr2)

//   example 1: asinh(8723321.4)

//   example 1: atan(8723321.4)

//   example 1: atan2(1, 1)

//   example 1: atanh(0.3)

//   example 1: base_convert('A37334', 16, 2)

//   example 1: bin2hex('Kev')

//   example 1: bindec('110011')

//   example 1: ceil(8723321.4)

//   example 1: chr(65536) === '\uD800\uDC00'

//   example 1: chr(75) === 'K'

//   example 1: chunk_split('Hello world!', 1, '*')

//   example 1: convert_cyr_string(String.fromCharCode(214), 'k', 'w').charCodeAt(0) === 230; // Char. 214 of KOI8-R gives equivalent number value 230 in win1251

//   example 1: cosh(-0.18127180117607017)

//   example 1: count_chars("Hello World!", 3)

//   example 1: ctype_alpha('Az')

//   example 1: decbin(12)

//   example 1: dechex(10)

//   example 1: decoct(15)

//   example 1: deg2rad(45)

//   example 1: echo('Hello world')

//   example 1: exp(0.3)

//   example 1: explode(' ', 'Kevin van Zonneveld')

//   example 1: expm1(1e-15)

//   example 1: floor(8723321.4)

//   example 1: fmod(5.7, 1.3)

//   example 1: get_html_translation_table('HTML_SPECIALCHARS')

//   example 1: getenv('LC_ALL')

//   example 1: getrandmax()

//   example 1: hex2bin('44696d61')

//   example 1: hexdec('that')

//   example 1: html_entity_decode('Kevin &amp; van Zonneveld')

//   example 1: htmlentities('Kevin & van Zonneveld')

//   example 1: http_build_query({foo: 'bar', php: 'hypertext processor', baz: 'boom', cow: 'milk'}, '', '&amp;')

//   example 1: hypot(3, 4)

//   example 1: i18n_loc_get_default()

//   example 1: implode(' ', ['Kevin', 'van', 'Zonneveld'])

//   example 1: ini_get('date.timezone')

//   example 1: ini_set('date.timezone', 'America/Chicago')

//   example 1: ini_set('date.timezone', 'Asia/Hong_Kong')

//   example 1: is_bool(false)

//   example 1: is_finite(Infinity)

//   example 1: is_float(186.31)

//   example 1: is_infinite(Infinity)

//   example 1: is_nan(NaN)

//   example 1: is_scalar(186.31)

//   example 1: krsort($data)

//   example 1: lcfirst('Kevin Van Zonneveld')

//   example 1: localeconv()

//   example 1: log(8723321.4, 7)

//   example 1: log10(10)

//   example 1: log1p(1e-15)

//   example 1: ltrim('    Kevin van Zonneveld    ')

//   example 1: max(1, 3, 5, 6, 7)

//   example 1: md5('Kevin van Zonneveld')

//   example 1: md5_file('test/never-change.txt')

//   example 1: metaphone('Gnu')

//   example 1: min(1, 3, 5, 6, 7)

//   example 1: money_format('%i', 1234.56)

//   example 1: mt_getrandmax()

//   example 1: mt_rand(1, 1)

//   example 1: nl2br('Kevin\nvan\nZonneveld')

//   example 1: number_format(1234.56)

//   example 1: octdec('77')

//   example 1: ord('K')

//   example 1: pi(8723321.4)

//   example 1: pow(8723321.4, 7)

//   example 1: printf("%01.2f", 123.1)

//   example 1: quoted_printable_encode('a=b=c')

//   example 1: quotemeta(". + * ? ^ ( $ )")

//   example 1: rad2deg(3.141592653589793)

//   example 1: rand(1, 1)

//   example 1: range ( 0, 12 )

//   example 1: round(1241757, -3)

//   example 1: rtrim('    Kevin van Zonneveld    ')

//   example 1: setlocale('LC_ALL', 'en_US')

//   example 1: sha1('Kevin van Zonneveld')

//   example 1: sha1_file('test/never-change.txt')

//   example 1: similar_text('Hello World!', 'Hello locutus!')

//   example 1: sinh(-0.9834330348825909)

//   example 1: soundex('Kevin')

//   example 1: sprintf("%01.2f", 123.1)

//   example 1: sqrt(8723321.4)

//   example 1: sscanf('SN/2350001', 'SN/%d')

//   example 1: str_getcsv('"abc","def","ghi"')

//   example 1: str_ireplace('M', 'e', 'name')

//   example 1: str_pad('Kevin van Zonneveld', 30, '-=', 'STR_PAD_LEFT')

//   example 1: str_repeat('-=', 10)

//   example 1: str_replace(' ', '.', 'Kevin van Zonneveld')

//   example 1: str_rot13('Kevin van Zonneveld')

//   example 1: str_split('Hello Friend', 3)

//   example 1: str_word_count("Hello fri3nd, you're\r\n       looking          good today!", 1)

//   example 1: strcasecmp('Hello', 'hello')

//   example 1: strcmp( 'waldo', 'owald' )

//   example 1: strcoll('a', 'b')

//   example 1: strcspn('abcdefg123', '1234567890')

//   example 1: strip_tags('<p>Kevin</p> <br /><b>van</b> <i>Zonneveld</i>', '<i><b>')

//   example 1: stripos('ABC', 'a')

//   example 1: stristr('Kevin van Zonneveld', 'Van')

//   example 1: strlen('Kevin van Zonneveld')

//   example 1: strncasecmp('Price 12.9', 'Price 12.15', 2)

//   example 1: strpbrk('This is a Simple text.', 'is')

//   example 1: strpos('Kevin van Zonneveld', 'e', 5)

//   example 1: strrchr("Line 1\nLine 2\nLine 3", 10).substr(1)

//   example 1: strripos('Kevin van Zonneveld', 'E')

//   example 1: strrpos('Kevin van Zonneveld', 'e')

//   example 1: strspn('42 is the answer, what is the question ...', '1234567890')

//   example 1: strstr('Kevin van Zonneveld', 'van')

//   example 1: strtolower('Kevin van Zonneveld')

//   example 1: strtoupper('Kevin van Zonneveld')

//   example 1: strtr('hi all, I said hello', $trans)

//   example 1: substr('abcdef', 0, -1)

//   example 1: substr_compare("abcde", "bc", 1, 2)

//   example 1: substr_count('Kevin van Zonneveld', 'e')

//   example 1: substr_replace('ABCDEFGH:/MNRPQR/', 'bob', 0)

//   example 1: tanh(5.4251848798444815)

//   example 1: trim('    Kevin van Zonneveld    ')

//   example 1: ucfirst('kevin van zonneveld')

//   example 1: ucwords('kevin van  zonneveld')

//   example 1: utf8_encode('Kevin van Zonneveld')

//   example 1: var $arr1 = {"color": "red", 0: 2, 1: 4}

//   example 1: var $arr2 = {0: "a", 1: "b", "color": "green", "shape": "trapezoid", 2: 4}

//   example 1: var $b = ''

//   example 1: var $data = {d: 'lemon', a: 'orange', b: 'banana', c: 'apple'}

//   example 1: var $result = $b

//   example 1: var $result = $data

//   example 1: var $result = $rnd >= 0 && $rnd <= 1

//   example 1: var $result = $shuffled.length

//   example 1: var $rnd = lcg_value()

//   example 1: var $shuffled = str_shuffle("abcdef")

//   example 1: var $string = "\t\t\t\nThis is\tan example\nstring\n"

//   example 1: var $tok = strtok($string, " \n\t")

//   example 1: var $trans = {'hello' : 'hi', 'hi' : 'hello'}

//   example 1: var_export(null)

//   example 1: while ($tok !== false) {$b += "Word="+$tok+"\n"; $tok = strtok(" \n\t");}

//   example 1: wordwrap('Kevin van Zonneveld', 6, '|', true)

//   example 2: abs(-4.2)

//   example 2: addcslashes("zoo['.']", 'z..A'); // Only escape z, period, and A here since not a lower-to-higher range

//   example 2: array_chunk(['Kevin', 'van', 'Zonneveld'], 2, true)

//   example 2: array_merge($arr1, $arr2)

//   example 2: bin2hex(String.fromCharCode(0x00))

//   example 2: bindec('000110011')

//   example 2: chunk_split('Hello world!', 10, '*')

//   example 2: count_chars("Hello World!", 1)

//   example 2: decbin(26)

//   example 2: dechex(47)

//   example 2: decoct(264)

//   example 2: hex2bin('00')

//   example 2: hexdec('a0')

//   example 2: html_entity_decode('&amp;lt;')

//   example 2: htmlentities("foo'bar","ENT_QUOTES")

//   example 2: http_build_query({'php': 'hypertext processor', 0: 'foo', 1: 'bar', 2: 'baz', 3: 'boom', 'cow': 'milk'}, 'myvar_')

//   example 2: hypot([], 'a')

//   example 2: i18n_loc_get_default()

//   example 2: i18n_loc_set_default('pt_PT')

//   example 2: implode(' ', {first:'Kevin', last: 'van Zonneveld'})

//   example 2: ini_set('locutus.sortByReference', true)

//   example 2: ini_set('unicode.semantics', 'on')

//   example 2: is_bool(0)

//   example 2: is_finite(-Infinity)

//   example 2: is_infinite(-Infinity)

//   example 2: is_nan(0)

//   example 2: is_scalar({0: 'Kevin van Zonneveld'})

//   example 2: krsort($data)

//   example 2: log10(1)

//   example 2: max([2, 4, 5])

//   example 2: metaphone('bigger')

//   example 2: min([2, 4, 5])

//   example 2: money_format('%14#8.2n', 1234.5678)

//   example 2: nl2br("\nOne\nTwo\n\nThree\n", false)

//   example 2: number_format(1234.56, 2, ',', ' ')

//   example 2: ord('\uD800\uDC00'); // surrogate pair to create a single Unicode character

//   example 2: quoted_printable_encode('abc   \r\n123   \r\n')

//   example 2: range( 0, 100, 10 )

//   example 2: round(3.6)

//   example 2: similar_text('Hello World!', null)

//   example 2: soundex('Ellery')

//   example 2: sprintf("[%10s]", 'monkey')

//   example 2: sscanf('SN/2350001', 'SN/%d', myVar)

//   example 2: str_getcsv('"row2""cell1","row2cell2","row2cell3"', null, null, '"')

//   example 2: str_ireplace('M', 'e', 'name', $countObj)

//   example 2: str_pad('Kevin van Zonneveld', 30, '-', 'STR_PAD_BOTH')

//   example 2: str_replace(['{name}', 'l'], ['hello', 'm'], '{name}, lars')

//   example 2: str_rot13('Xriva ina Mbaariryq')

//   example 2: str_word_count("Hello fri3nd, you're\r\n       looking          good today!", 2)

//   example 2: strcmp( 'owald', 'waldo' )

//   example 2: strcspn('123abc', '1234567890')

//   example 2: strip_tags('<p>Kevin <img src="someimage.png" onmouseover="someFunction()">van <i>Zonneveld</i></p>', '<p>')

//   example 2: stristr('Kevin van Zonneveld', 'VAN', true)

//   example 2: strlen('A\ud87e\udc04Z')

//   example 2: strncasecmp('Price 12.09', 'Price 12.15', 10)

//   example 2: strrpos('somepage.com', '.', false)

//   example 2: strspn('foo', 'o', 1, 2)

//   example 2: strstr('Kevin van Zonneveld', 'van', true)

//   example 2: strtr('äaabaåccasdeöoo', 'äåö','aao')

//   example 2: substr(2, 0, -6)

//   example 2: substr_count('Kevin van Zonneveld', 'K', 1)

//   example 2: substr_replace($var, 'bob', 0, $var.length)

//   example 2: trim('Hello World', 'Hdle')

//   example 2: ucwords('HELLO WORLD')

//   example 2: var $arr1 = []

//   example 2: var $arr2 = {1: "data"}

//   example 2: var $countObj = {}

//   example 2: var $data = {2: 'van', 3: 'Zonneveld', 1: 'Kevin'}

//   example 2: var $result = $countObj.value

//   example 2: var $result = $data

//   example 2: var $result = myVar.value

//   example 2: var $var = 'ABCDEFGH:/MNRPQR/'

//   example 2: var myVar = {}

//   example 2: var_export({0: 'Kevin', 1: 'van', 2: 'Zonneveld'}, true)

//   example 2: wordwrap('The quick brown fox jumped over the lazy dog.', 20, '<br />\n')

//   example 3: abs(-5)

//   example 3: array_chunk({1:'Kevin', 2:'van', 3:'Zonneveld'}, 2)

//   example 3: bindec('111')

//   example 3: decbin('26')

//   example 3: dechex(-1415723993)

//   example 3: hex2bin('2f1q')

//   example 3: http_build_query({foo: 'bar', php: 'hypertext processor', baz: 'boom', cow: 'milk'}, '', '&amp;', 'PHP_QUERY_RFC3986')

//   example 3: ini_set('unicode.semantics', 'on')

//   example 3: is_finite(0)

//   example 3: is_infinite(0)

//   example 3: max(0, 'hello')

//   example 3: metaphone('accuracy')

//   example 3: min(0, 'hello')

//   example 3: money_format('%14#8.2n', -1234.5678)

//   example 3: nl2br("\nOne\nTwo\n\nThree\n", true)

//   example 3: number_format(1234.5678, 2, '.', '')

//   example 3: quoted_printable_encode('0123456789012345678901234567890123456789012345678901234567890123456789012345')

//   example 3: range( 'a', 'i' )

//   example 3: round(2.835, 2)

//   example 3: soundex('Euler')

//   example 3: sprintf("[%'#10s]", 'monkey')

//   example 3: sscanf("10--20", "%2$d--%1$d") // Must escape '$' in PHP, but not JS

//   example 3: str_replace(Array('S','F'),'x','ASDFASDF')

//   example 3: str_rot13(33)

//   example 3: str_word_count("Hello fri3nd, you're\r\n       looking          good today!", 1, '\u00e0\u00e1\u00e3\u00e73')

//   example 3: strcspn('abcdefg123', '1234567890', 1)

//   example 3: strip_tags("<a href='http://kvz.io'>Kevin van Zonneveld</a>", "<a>")

//   example 3: strncasecmp('Price 12.90', 'Price 12.15', 30)

//   example 3: strrpos('baa', 'a', 3)

//   example 3: strstr('name@example.com', '@')

//   example 3: strtr('ääääääää', 'ä', 'a')

//   example 3: substr('a\uD801\uDC00', 0, -1)

//   example 3: substr_count('Kevin van Zonneveld', 'Z', 0, 10)

//   example 3: substr_replace('ABCDEFGH:/MNRPQR/', 'bob', 0, 0)

//   example 3: trim(16, 1)

//   example 3: ucwords('у мэри был маленький ягненок и она его очень любила')

//   example 3: var data = 'Kevin'

//   example 3: var_export(data, true)

//   example 3: wordwrap('Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.')

//   example 4: abs('_argos')

//   example 4: array_chunk({1:'Kevin', 2:'van', 3:'Zonneveld'}, 2, true)

//   example 4: ini_set('unicode.semantics', 'on')

//   example 4: max('hello', 0)

//   example 4: metaphone('batch batcher')

//   example 4: min('hello', 0)

//   example 4: money_format('%(14#8.2n', 1234.5678)

//   example 4: nl2br(null)

//   example 4: number_format(67, 2, ',', '.')

//   example 4: range( 'c', 'a' )

//   example 4: round(1.1749999999999, 2)

//   example 4: sprintf("%d", 123456789012345)

//   example 4: str_replace(['A','D'], ['x','y'] , 'ASDFASDF' , countObj)

//   example 4: str_word_count('hey', 2)

//   example 4: strcspn('abcdefg123', '1234567890', -6, -5)

//   example 4: strip_tags('1 < 5 5 > 1')

//   example 4: strncasecmp('Version 12.9', 'Version 12.15', 20)

//   example 4: strrpos('baa', 'a', 2)

//   example 4: strstr('name@example.com', '@', true)

//   example 4: strtr('http', 'pthxyz','xyzpth')

//   example 4: substr('a\uD801\uDC00', 0, 2)

//   example 4: substr_replace('ABCDEFGH:/MNRPQR/', 'bob', 10, -1)

//   example 4: ucwords('τάχιστη αλώπηξ βαφής ψημένη γη, δρασκελίζει υπέρ νωθρού κυνός')

//   example 4: var $result = countObj.value

//   example 4: var countObj = {}

//   example 5: ini_set('unicode.semantics', 'on')

//   example 5: max(-1, 'hello')

//   example 5: min(-1, 'hello')

//   example 5: money_format('%(14#8.2n', -1234.5678)

//   example 5: number_format(1000)

//   example 5: round(58551.799999999996, 2)

//   example 5: sprintf('%-03s', 'E')

//   example 5: strip_tags('1 <br/> 1')

//   example 5: strncasecmp('Version 12.15', 'Version 12.9', 20)

//   example 5: strtr('zyyx', 'pthxyz','xyzpth')

//   example 5: substr('a\uD801\uDC00', -1, 1)

//   example 5: substr_replace('ABCDEFGH:/MNRPQR/', 'bob', -7, -1)

//   example 6: ini_set('unicode.semantics', 'on')

//   example 6: max([2, 4, 8], [2, 5, 7])

//   example 6: min([2, 4, 8], [2, 5, 7])

//   example 6: money_format('%=014#8.2n', 1234.5678)

//   example 6: number_format(67.311, 2)

//   example 6: sprintf('%+010d', 9)

//   example 6: strip_tags('1 <br/> 1', '<br>')

//   example 6: strtr('aa', {'a':1,'aa':2})

//   example 6: substr('a\uD801\uDC00z\uD801\uDC00', -3, 2)

//   example 6: substr_replace('ABCDEFGH:/MNRPQR/', '', 10, -1)

//   example 7: ini_set('unicode.semantics', 'on')

//   example 7: money_format('%=014#8.2n', -1234.5678)

//   example 7: number_format(1000.55, 1)

//   example 7: sprintf('%+0\'@10d', 9)

//   example 7: strip_tags('1 <br/> 1', '<br><br/>')

//   example 7: substr('a\uD801\uDC00z\uD801\uDC00', -3, -1)

//   example 8: money_format('%=*14#8.2n', 1234.5678)

//   example 8: number_format(67000, 5, ',', '.')

//   example 8: sprintf('%.f', 3.14)

//   example 8: strip_tags('<i>hello</i> <<foo>script>world<</foo>/script>')

//   example 9: money_format('%=*14#8.2n', -1234.5678)

//   example 9: number_format(0.9, 0)

//   example 9: sprintf('%% %2$d', 1, 2)

//   example 9: strip_tags(4)

//   exports[name] = function () {

//   files on a server or removing repeated values in the

//   firstDomTabbableNode: HTMLElement|undefined,

//   firstTabbableNode: HTMLElement|undefined,

//   focusableNodes: Array<HTMLElement>, // empty if none

//   is available. If highWaterMark is 0 and we are not in the flowing mode

//   is responsible for filling the buffer with enough data if such data

//   lastDomTabbableNode: HTMLElement|undefined,

//   lastTabbableNode: HTMLElement|undefined,

//   loading tiles that will quickly disappear from view.

//   method, but they are processing the call asynchronously and have _not_

//   nextTabbableNode: (node: HTMLElement, forward: boolean) => HTMLElement|undefined

//   posTabIndexesFound: boolean,

//   r1          / `             . .

//   read()s. The execution ends in this method again after the _read() ends

//   require representation with two surrogates (reserved non-characters

//   return -1;

//   returns 1: " !HWdelor"

//   returns 1: "0.304692654015397"

//   returns 1: "1.266103672779499"

//   returns 1: "Word=This\nWord=is\nWord=an\nWord=example\nWord=string\n"

//   returns 1: "\\f\\o\\o\\[ \\]"

//   returns 1: "kevin\\'s birthday"

//   returns 1: '    Kevin van Zonneveld'

//   returns 1: ' USD 1,234.56'

//   returns 1: '-=-=-=-=-=-=-=-=-=-='

//   returns 1: '-=-=-=-=-=-Kevin van Zonneveld'

//   returns 1: '0ea65a1f4b4d69712affc58240932f3eb8a2af66'

//   returns 1: '1,235'

//   returns 1: '101000110111001100110100'

//   returns 1: '1100'

//   returns 1: '123.10'

//   returns 1: '17'

//   returns 1: '4b6576'

//   returns 1: '54916d2e62f65b3afa6e192e6a601cdbe5cb5897'

//   returns 1: '6e658d4bfcb59cc13f96c14450ac40b9'

//   returns 1: 'Asia/Hong_Kong'

//   returns 1: 'Dima'

//   returns 1: 'H*e*l*l*o* *w*o*r*l*d*!*'

//   returns 1: 'K150'

//   returns 1: 'KEVIN VAN ZONNEVELD'

//   returns 1: 'Kevin & van Zonneveld'

//   returns 1: 'Kevin &amp; van Zonneveld'

//   returns 1: 'Kevin <b>van</b> <i>Zonneveld</i>'

//   returns 1: 'Kevin Van  Zonneveld'

//   returns 1: 'Kevin van Zonneveld    '

//   returns 1: 'Kevin van Zonneveld'

//   returns 1: 'Kevin van zonneveld'

//   returns 1: 'Kevin.van.Zonneveld'

//   returns 1: 'Kevin<br />\nvan<br />\nZonneveld'

//   returns 1: 'Kevin|van|Zonnev|eld'

//   returns 1: 'Line 3'

//   returns 1: 'N'

//   returns 1: 'Xriva ina Mbaariryq'

//   returns 1: '\\. \\+ \\* \\? \\^ \\( \\$ \\)'

//   returns 1: 'a'

//   returns 1: 'a=3Db=3Dc'

//   returns 1: 'abcde'

//   returns 1: 'bc3aa724b0ec7dce4c26e7f4d0d9b064'

//   returns 1: 'bob'

//   returns 1: 'en_US'

//   returns 1: 'en_US_POSIX'

//   returns 1: 'foo=bar&amp;php=hypertext+processor&amp;baz=boom&amp;cow=milk'

//   returns 1: 'hello all, I said hi'

//   returns 1: 'is is a Simple text.'

//   returns 1: 'kevin Van Zonneveld'

//   returns 1: 'kevin van zonneveld'

//   returns 1: 'naee'

//   returns 1: 'van Zonneveld'

//   returns 1: -1

//   returns 1: -1.1497971402636502

//   returns 1: -1812718

//   returns 1: -9834330

//   returns 1: 0

//   returns 1: 0.3095196042031118

//   returns 1: 0.5

//   returns 1: 0.7853981633974483

//   returns 1: 0.9999612058841574

//   returns 1: 1

//   returns 1: 1.0000000000000007e-15

//   returns 1: 1.0164747716114113

//   returns 1: 1.3498588075760032

//   returns 1: 1.5707962121596615

//   returns 1: 10

//   returns 1: 1242000

//   returns 1: 14

//   returns 1: 16

//   returns 1: 16.674657798418625

//   returns 1: 16.67465779841863

//   returns 1: 180

//   returns 1: 19

//   returns 1: 2

//   returns 1: 2147483647

//   returns 1: 2953.5269424875746

//   returns 1: 3

//   returns 1: 3.141592653589793

//   returns 1: 3.8439091680779e+48

//   returns 1: 4.2

//   returns 1: 5

//   returns 1: 51

//   returns 1: 54251849

//   returns 1: 6

//   returns 1: 63

//   returns 1: 7

//   returns 1: 75

//   returns 1: 8

//   returns 1: 8.212871815082147

//   returns 1: 8723321

//   returns 1: 8723322

//   returns 1: 9.999999999999995e-16

//   returns 1: [ 'Kevin', 'van', 'Zonneveld' ]

//   returns 1: ['Hel', 'lo ', 'Fri', 'end']

//   returns 1: ['Hello', 'fri', 'nd', "you're", 'looking', 'good', 'today']

//   returns 1: ['abc', 'def', 'ghi']

//   returns 1: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]

//   returns 1: [2350001]

//   returns 1: [['Kevin', 'van'], ['Zonneveld']]

//   returns 1: false

//   returns 1: null

//   returns 1: true

//   returns 1: undefined

//   returns 1: {"color": "green", 0: 2, 1: 4, 2: "a", 3: "b", "shape": "trapezoid", 4: 4}

//   returns 1: {'"': '&quot;', '&': '&amp;', '<': '&lt;', '>': '&gt;'}

//   returns 1: {d: 'lemon', c: 'apple', b: 'banana', a: 'orange'}

//   returns 1: {decimal_point: '.', thousands_sep: '', positive_sign: '', negative_sign: '-', int_frac_digits: 2, frac_digits: 2, p_cs_precedes: 1, p_sep_by_space: 0, n_cs_precedes: 1, n_sep_by_space: 0, p_sign_posn: 1, n_sign_posn: 1, grouping: [], int_curr_symbol: 'USD ', currency_symbol: '$', mon_decimal_point: '.', mon_thousands_sep: ',', mon_grouping: [3, 3]}

//   returns 2: "\\zoo['\\.']"

//   returns 2: "array (\n  0 => 'Kevin',\n  1 => 'van',\n  2 => 'Zonneveld'\n)"

//   returns 2: ' $     1,234.57'

//   returns 2: '&lt;'

//   returns 2: '------Kevin van Zonneveld-----'

//   returns 2: '00'

//   returns 2: '1 234,56'

//   returns 2: '11010'

//   returns 2: '2f'

//   returns 2: '410'

//   returns 2: '<br>\nOne<br>\nTwo<br>\n<br>\nThree<br>\n'

//   returns 2: '<p>Kevin van Zonneveld</p>'

//   returns 2: 'BKR'

//   returns 2: 'E460'

//   returns 2: 'HELLO WORLD'

//   returns 2: 'Hello worl*d!*'

//   returns 2: 'Kevin '

//   returns 2: 'Kevin van Zonneveld'

//   returns 2: 'The quick brown fox<br />\njumped over the lazy<br />\ndog.'

//   returns 2: '[    monkey]'

//   returns 2: '\x00'

//   returns 2: 'aaabaaccasdeooo'

//   returns 2: 'abc  =20\r\n123  =20\r\n'

//   returns 2: 'bob'

//   returns 2: 'foo&#039;bar'

//   returns 2: 'hemmo, mars'

//   returns 2: 'myvar_0=foo&myvar_1=bar&myvar_2=baz&myvar_3=boom&php=hypertext+processor&cow=milk'

//   returns 2: 'o Wor'

//   returns 2: 'pt_PT'

//   returns 2: -1

//   returns 2: 0

//   returns 2: 1

//   returns 2: 160

//   returns 2: 2

//   returns 2: 2350001

//   returns 2: 3

//   returns 2: 4

//   returns 2: 4.2

//   returns 2: 5

//   returns 2: 51

//   returns 2: 65536

//   returns 2: 8

//   returns 2: ['row2"cell1', 'row2cell2', 'row2cell3']

//   returns 2: [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100]

//   returns 2: [{0:'Kevin', 1:'van'}, {2: 'Zonneveld'}]

//   returns 2: false

//   returns 2: null

//   returns 2: true

//   returns 2: {0: "data"}

//   returns 2: {0: 'Hello', 6: 'fri', 10: 'nd', 14: "you're", 29: 'looking', 46: 'good', 51: 'today'}

//   returns 2: {32:1,33:1,72:1,87:1,100:1,101:1,108:3,111:2,114:1}

//   returns 2: {3: 'Zonneveld', 2: 'van', 1: 'Kevin'}

//   returns 3: "'Kevin'"

//   returns 3: "<a href='http://kvz.io'>Kevin van Zonneveld</a>"

//   returns 3: '-$     1,234.57'

//   returns 3: '012345678901234567890123456789012345678901234567890123456789012345678901234=\r\n5'

//   returns 3: '11010'

//   returns 3: '1234.57'

//   returns 3: '33'

//   returns 3: '6'

//   returns 3: '<br />\nOne<br />\nTwo<br />\n<br />\nThree<br />\n'

//   returns 3: '@example.com'

//   returns 3: 'AKKRS'

//   returns 3: 'AxDxAxDx'

//   returns 3: 'E460'

//   returns 3: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\ntempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim\nveniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea\ncommodo consequat.'

//   returns 3: '[####monkey]'

//   returns 3: 'a'

//   returns 3: 'aaaaaaaa'

//   returns 3: 'ab9dc427'

//   returns 3: 'bobABCDEFGH:/MNRPQR/'

//   returns 3: 'foo=bar&amp;php=hypertext%20processor&amp;baz=boom&amp;cow=milk'

//   returns 3: 'У Мэри Был Маленький Ягненок И Она Его Очень Любила'

//   returns 3: 0

//   returns 3: 2.84

//   returns 3: 5

//   returns 3: 6

//   returns 3: 7

//   returns 3: 8

//   returns 3: ['Hello', 'fri3nd', "you're", 'looking', 'good', 'today']

//   returns 3: ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i']

//   returns 3: [20, 10]

//   returns 3: [['Kevin', 'van'], ['Zonneveld']]

//   returns 3: false

//   returns 3: true

//   returns 4: ' $     1,234.57 '

//   returns 4: ''

//   returns 4: '1 < 5 5 > 1'

//   returns 4: '123456789012345'

//   returns 4: '67,00'

//   returns 4: 'ABCDEFGH:/bob/'

//   returns 4: 'BXBXR'

//   returns 4: 'a\uD801\uDC00'

//   returns 4: 'hello'

//   returns 4: 'name'

//   returns 4: 'zyyx'

//   returns 4: 'Τάχιστη Αλώπηξ Βαφής Ψημένη Γη, Δρασκελίζει Υπέρ Νωθρού Κυνός'

//   returns 4: 0

//   returns 4: 1

//   returns 4: 1.17

//   returns 4: 2

//   returns 4: 4

//   returns 4: 8

//   returns 4: ['c', 'b', 'a']

//   returns 4: [{1: 'Kevin', 2: 'van'}, {3: 'Zonneveld'}]

//   returns 4: {0: 'hey'}

//   returns 5: '($     1,234.57)'

//   returns 5: '1  1'

//   returns 5: '1,000'

//   returns 5: 'ABCDEFGH:/bob/'

//   returns 5: 'E00'

//   returns 5: '\uD801\uDC00'

//   returns 5: 'hello'

//   returns 5: 'http'

//   returns 5: -1

//   returns 5: -8

//   returns 5: 58551.8

//   returns 6: ' $000001,234.57'

//   returns 6: '+000000009'

//   returns 6: '1 <br/> 1'

//   returns 6: '2'

//   returns 6: '67.31'

//   returns 6: 'ABCDEFGH://'

//   returns 6: '\uD801\uDC00z'

//   returns 6: [2, 4, 8]

//   returns 6: [2, 5, 7]

//   returns 7: '-$000001,234.57'

//   returns 7: '1 <br/> 1'

//   returns 7: '1,000.6'

//   returns 7: '@@@@@@@@+9'

//   returns 7: '\uD801\uDC00z'

//   returns 8: ' $*****1,234.57'

//   returns 8: '3.140000'

//   returns 8: '67.000,00000'

//   returns 8: 'hello world'

//   returns 9: '% 2'

//   returns 9: '-$*****1,234.57'

//   returns 9: '1'

//   returns 9: '4'

//   tabbableNodes: Array<HTMLElement>, // empty if none

//   the loop below is responsible for ensuring read() is called. Failing to

//   the maximum number of loads per frame and limit the number of parallel

//   tile loads to remain reactive to view changes and to reduce the chance of

//   to complete the frame as quickly as possible.

//   up calling push() with more data.

//   used for building other characters; the first is "high" and the next "low")

//   we should _not_ attempt to buffer any extra data. We'll get more data

//   when the stream consumer calls read() instead.

//   |    Sign

//   |    |

//   }

//   “sourceRoot”, the sources are resolved relative to the

//   “sources” entry.  This value is prepended to the individual

//  "It appears that this is because the "load" is completing once the initial download dialog is displayed, 

//  "close enough most of the time" alternative for positive tabindexes which should generally

//  'non-zero-area' fallback

//  (but NOT _the_ document; see second 'If' comment below for more).

//  (i.e. it does not also presume that all nodes might have undisclosed shadows); or

//  (see notes about this further down), which means we will consider it visible

//  (this is legacy behavior from a very long way back)

//  * "-&" while in base64 is not allowed.

//  * Base64 must not be used to represent direct characters.

//  * Base64 part is started by "&" instead of "+"

//  * Big5-2003 (Taiwan standard) almost superset of cp950.

//  * Big5-HKSCS (-2001, -2004, -2008). Hong Kong standard. 

//  * Direct characters are 0x20-0x7E, except "&" (0x26)

//  * EUC-JP:    Up to 3 bytes per character. Used mostly on *nixes.

//  * ISO2022-JP-1: Adds esc seq for 0212-1990.

//  * ISO2022-JP-2004: Adds 0213-2004 Plane 1.

//  * ISO2022-JP-2: Adds esc seq for GB2313-1980, KSX1001-1992, ISO8859-1, ISO8859-7.

//  * ISO2022-JP-3: Adds esc seq for 0201-1976 Kana set, 0213-2000 Planes 1, 2.

//  * ISO2022-JP: Stateful encoding, with escape sequences to switch between ASCII, 

//  * In Base64, "," is used instead of "/"

//  * JIS X 208: 7-bit, direct encoding of 0208. Byte ranges: 0x21-0x7E (94 values). Uncommon.

//  * No implicit shift back from Base64 (should always end with '-')

//  * Shift_JIS: Compatible with 0201, uses not defined chars in top half as lead bytes for double-byte

//  * String must end in non-shifted position.

//  * Unicode-at-on (UAO) / Mozilla 1.8. Falling out of use on the Web. Not supported by other browsers.

//  * Windows CP 950: Microsoft variant of Big5. Canonical: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT

//  * Windows CP 951: Microsoft variant of Big5-HKSCS-2001. Seems to be never public. http://me.abelcheung.org/articles/research/what-is-cp951/

//  * a name, which is equivalent to a string -- a

//  * a number -- 12

//  * a string -- 'a'

//  * an expression, which must be enclosed in parentheses -- (1 + 2)

//  /### a/+++++++\# o #\

//  API will __always__ return zero rects (this can happen, for example, if React

//  APIs on nodes in detached containers has actually implicitly used tabbable in what

//  DOM Mutation events

//  Form events

//  HTML frame/object events

//  Hiding a Toolbar.Item hides its containing TD

//  JS API property; we have to check the attribute, which can either be empty or 'true';

//  Keyboard events

//  MRU node or initial focus node, if any

//  Mouse events

//  Pulls a named property down from the first ancestor Container it's found in

//  This is never called - Is it worth exposing this?

//  User Interface events

//  Valid if the Component is in a <li> which is part of our target <ul>

//  __without__ giving the element special scope treatment

//  _after_ we return from this recursive call

//  _visibility_ check, not a _display_ check

//  `:not([inert], [inert] *)` (Feb 2023)

//  `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.

//  `ownerDocument` will be `null`, hence the optional chaining on it.

//  `returnFocus: true`, we'll attempt to re-focus the node originally-focused

//  a non-tabbable node that was given focus (i.e. tabindex is negative

//  above related to `firstDomTabbable` and `lastDomTabbable` properties, we fall back to

//  an error the last time updateTabbableNodes() was run): find next node among all known

//  and is not followed by any other tabbable node, in which

//  and the MRU node is focusable but not tabbable (focus-trap requires at least 1 container

//  and user clicked on it or node was programmatically given focus)

//  and we still need to find the element in there

//  appear to be the same as the node's `ownerDocument` for some reason, so it's safer

//  are a superset of tabbable nodes since nodes with negative `tabindex` attributes

//  are focusable but not tabbable

//  attached to the main document.

//  basic DOM order

//  be avoided anyway...

//  because styles are only computed for nodes that are in the document.

//  because that API doesn't work with Shadow DOM as well as it should (@see

//  because we're limited in the type of selectors we can use in JSDom (see related

//  been activated and initial focus hasn't been given yet, in which case we should

//  behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,

//  but the frame is then destroyed before the "save as" dialog is shown."

//  case, we should handle shift+tab as if focus were on the container's

//  case, we should handle tab as if focus were on the container's

//  child candidates found because they're likely slotted elements (elements that are

//  children of the web component element (which has the shadow), in the light dom, but

//  client rect, we don't special-case for whether the node is attached or not. In

//  composedPath()[0] === event.target always).

//  considering __everything__ to be visible because of the innability to determine styles.

//  container with at least one tabbable node in it, otherwise focus-trap would've thrown

//  containers

//  discuss at: http://locutus.io/php/abs/

//  discuss at: http://locutus.io/php/acos/

//  discuss at: http://locutus.io/php/acosh/

//  discuss at: http://locutus.io/php/addcslashes/

//  discuss at: http://locutus.io/php/addslashes/

//  discuss at: http://locutus.io/php/array_chunk/

//  discuss at: http://locutus.io/php/array_merge/

//  discuss at: http://locutus.io/php/asin/

//  discuss at: http://locutus.io/php/asinh/

//  discuss at: http://locutus.io/php/atan/

//  discuss at: http://locutus.io/php/atan2/

//  discuss at: http://locutus.io/php/atanh/

//  discuss at: http://locutus.io/php/base_convert/

//  discuss at: http://locutus.io/php/bin2hex/

//  discuss at: http://locutus.io/php/bindec/

//  discuss at: http://locutus.io/php/ceil/

//  discuss at: http://locutus.io/php/chr/

//  discuss at: http://locutus.io/php/chunk_split/

//  discuss at: http://locutus.io/php/convert_cyr_string/

//  discuss at: http://locutus.io/php/cos/

//  discuss at: http://locutus.io/php/cosh/

//  discuss at: http://locutus.io/php/count_chars/

//  discuss at: http://locutus.io/php/ctype_alpha/

//  discuss at: http://locutus.io/php/decbin/

//  discuss at: http://locutus.io/php/dechex/

//  discuss at: http://locutus.io/php/decoct/

//  discuss at: http://locutus.io/php/deg2rad/

//  discuss at: http://locutus.io/php/echo/

//  discuss at: http://locutus.io/php/exp/

//  discuss at: http://locutus.io/php/explode/

//  discuss at: http://locutus.io/php/expm1/

//  discuss at: http://locutus.io/php/floor/

//  discuss at: http://locutus.io/php/fmod/

//  discuss at: http://locutus.io/php/get_html_translation_table/

//  discuss at: http://locutus.io/php/getenv/

//  discuss at: http://locutus.io/php/getrandmax/

//  discuss at: http://locutus.io/php/hex2bin/

//  discuss at: http://locutus.io/php/hexdec/

//  discuss at: http://locutus.io/php/html_entity_decode/

//  discuss at: http://locutus.io/php/htmlentities/

//  discuss at: http://locutus.io/php/http_build_query/

//  discuss at: http://locutus.io/php/hypot/

//  discuss at: http://locutus.io/php/i18n_loc_get_default/

//  discuss at: http://locutus.io/php/implode/

//  discuss at: http://locutus.io/php/ini_get/

//  discuss at: http://locutus.io/php/ini_set/

//  discuss at: http://locutus.io/php/is_bool/

//  discuss at: http://locutus.io/php/is_finite/

//  discuss at: http://locutus.io/php/is_float/

//  discuss at: http://locutus.io/php/is_infinite/

//  discuss at: http://locutus.io/php/is_nan/

//  discuss at: http://locutus.io/php/is_scalar/

//  discuss at: http://locutus.io/php/krsort/

//  discuss at: http://locutus.io/php/lcfirst/

//  discuss at: http://locutus.io/php/lcg_value/

//  discuss at: http://locutus.io/php/localeconv/

//  discuss at: http://locutus.io/php/log/

//  discuss at: http://locutus.io/php/log10/

//  discuss at: http://locutus.io/php/log1p/

//  discuss at: http://locutus.io/php/ltrim/

//  discuss at: http://locutus.io/php/max/

//  discuss at: http://locutus.io/php/md5/

//  discuss at: http://locutus.io/php/md5_file/

//  discuss at: http://locutus.io/php/metaphone/

//  discuss at: http://locutus.io/php/min/

//  discuss at: http://locutus.io/php/money_format/

//  discuss at: http://locutus.io/php/mt_getrandmax/

//  discuss at: http://locutus.io/php/mt_rand/

//  discuss at: http://locutus.io/php/nl2br/

//  discuss at: http://locutus.io/php/number_format/

//  discuss at: http://locutus.io/php/octdec/

//  discuss at: http://locutus.io/php/ord/

//  discuss at: http://locutus.io/php/pi/

//  discuss at: http://locutus.io/php/pow/

//  discuss at: http://locutus.io/php/printf/

//  discuss at: http://locutus.io/php/quoted_printable_encode/

//  discuss at: http://locutus.io/php/quotemeta/

//  discuss at: http://locutus.io/php/rad2deg/

//  discuss at: http://locutus.io/php/rand/

//  discuss at: http://locutus.io/php/range/

//  discuss at: http://locutus.io/php/round/

//  discuss at: http://locutus.io/php/rtrim/

//  discuss at: http://locutus.io/php/setlocale/

//  discuss at: http://locutus.io/php/sha1/

//  discuss at: http://locutus.io/php/sha1_file/

//  discuss at: http://locutus.io/php/similar_text/

//  discuss at: http://locutus.io/php/sin/

//  discuss at: http://locutus.io/php/sinh/

//  discuss at: http://locutus.io/php/soundex/

//  discuss at: http://locutus.io/php/sprintf/

//  discuss at: http://locutus.io/php/sqrt/

//  discuss at: http://locutus.io/php/sscanf/

//  discuss at: http://locutus.io/php/str_getcsv/

//  discuss at: http://locutus.io/php/str_ireplace/

//  discuss at: http://locutus.io/php/str_pad/

//  discuss at: http://locutus.io/php/str_repeat/

//  discuss at: http://locutus.io/php/str_replace/

//  discuss at: http://locutus.io/php/str_rot13/

//  discuss at: http://locutus.io/php/str_shuffle/

//  discuss at: http://locutus.io/php/str_split/

//  discuss at: http://locutus.io/php/str_word_count/

//  discuss at: http://locutus.io/php/strcasecmp/

//  discuss at: http://locutus.io/php/strcmp/

//  discuss at: http://locutus.io/php/strcoll/

//  discuss at: http://locutus.io/php/strcspn/

//  discuss at: http://locutus.io/php/strip_tags/

//  discuss at: http://locutus.io/php/stripos/

//  discuss at: http://locutus.io/php/stristr/

//  discuss at: http://locutus.io/php/strlen/

//  discuss at: http://locutus.io/php/strncasecmp/

//  discuss at: http://locutus.io/php/strpbrk/

//  discuss at: http://locutus.io/php/strpos/

//  discuss at: http://locutus.io/php/strrchr/

//  discuss at: http://locutus.io/php/strripos/

//  discuss at: http://locutus.io/php/strrpos/

//  discuss at: http://locutus.io/php/strspn/

//  discuss at: http://locutus.io/php/strstr/

//  discuss at: http://locutus.io/php/strtok/

//  discuss at: http://locutus.io/php/strtolower/

//  discuss at: http://locutus.io/php/strtoupper/

//  discuss at: http://locutus.io/php/strtr/

//  discuss at: http://locutus.io/php/substr/

//  discuss at: http://locutus.io/php/substr_compare/

//  discuss at: http://locutus.io/php/substr_count/

//  discuss at: http://locutus.io/php/substr_replace/

//  discuss at: http://locutus.io/php/tan/

//  discuss at: http://locutus.io/php/tanh/

//  discuss at: http://locutus.io/php/trim/

//  discuss at: http://locutus.io/php/ucfirst/

//  discuss at: http://locutus.io/php/ucwords/

//  discuss at: http://locutus.io/php/utf8_encode/

//  discuss at: http://locutus.io/php/var_export/

//  discuss at: http://locutus.io/php/wordwrap/

//  document (per the docs) and while it's a Document-type object, that document does not

//  doing it across multiple containers where tabindexes could be all over the place

//  enabled/disabled state

//  escaped for some other reason and we should just execute the fallback to the

//  example 10: money_format('%=*^14#8.2n', 1234.5678)

//  example 10: number_format('1.20', 2)

//  example 11: money_format('%=*^14#8.2n', -1234.5678)

//  example 11: number_format('1.20', 4)

//  example 12: money_format('%=*!14#8.2n', 1234.5678)

//  example 12: number_format('1.2000', 3)

//  example 13: money_format('%=*!14#8.2n', -1234.5678)

//  example 13: number_format('1 000,50', 2, '.', ' ')

//  example 14: money_format('%i', 3590)

//  example 14: number_format(1e-8, 8, '.', '')

//  fall back to a non-zero-area test

//  fall through to trying to focus the initial focus node, which is what should

//  first tabbable node, and go to the last tabbable node of the LAST group

//  from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then

//  get moved around. Make sure all root level vnodes inherit el.

//  group (and wrap around to the first tabbable node of the FIRST

//  group if it's the last tabbable node of the LAST group)

//  happen below at this point in the logic

//  has been delayed during activation

//  https://github.com/facebook/react/issues/9117#issuecomment-284228870)

//  https://github.com/focus-trap/focus-trap/issues/375 for more details.

//  https://github.com/whatwg/dom/issues/320) and since this first/last is only needed, so far,

//  i) cross/metadata -> pickable foreign records

//  if a tabbable/focusable node was quickly added to the DOM, focused, and then removed

//  if it's `null` (not specified) or 'false', it's a non-editable element

//  if it's `null` (not specified) or 'false', it's an active element

//  if it's inert, all its children are inert

//  ii) otherwise whole record is stored -> non pickable

//  in (i.e. attached to) the document

//  is active, but the trap should never get to a state where there isn't at least one group

//  is attached, and the one we need to check if it's in the document or not (because the

//  is hidden, or is not in the document itself but is detached, it will affect the shadow's

//  is used to render nodes onto a detached tree, as confirmed in this thread:

//  it might be a falsy value, which means shadow DOM support is disabled

//  it will also escape if the MRU node had a 0 tab index and user tried to nav backward

//  it's visible

//  last tabbable node, and go to the first tabbable node of the FIRST group

//  look inside web components even if open)

//  node is actually detached.

//  node itself is hidden in place of its contents; and there's no need to search

//  nodes "clicked" from inner-most (the actual element inside the shadow) to

//  nodes as visible with the 'none' fallback.__

//  nodes, but still contains focusable nodes (e.g. if they all have `tabindex=-1`)

//  note related to `candidateSelectors`)

//  now we can just test to see if it would normally be visible or not, provided it's

//  of things... so we have to rely on JS to identify nodes inside an inert container

//  on activation (or the configured `setReturnFocus` node), whether the

//  on the way down, so all containers to this root node should have already been

//  or a custom element (i.e. web component). Either way, that's the one that is considered

//  order (as they are treated in Focus-trap, for legacy reasons). See discussion on

//  outer-most (the host HTML document). If we have access to composedPath(),

//  outside click was on a focusable node or not

//  outside the trap causing the focus escape we're trying to fix)

//  part of the document, not the shadow root, nor any of its children (i.e. the node being

//  previous group (and wrap around to the last tabbable node of

//  referenced prior to the first show.

//  regardless of positive tabindexes, if any -- and for reasons explained in the NOTE

//  result in an error being thrown)

//  returns 10: '  $****1234.57'

//  returns 10: '1.20'

//  returns 11: ' -$****1234.57'

//  returns 11: '1.2000'

//  returns 12: ' *****1,234.57'

//  returns 12: '1.200'

//  returns 13: '-*****1,234.57'

//  returns 13: '100 050.00'

//  returns 14: ' USD 3,590.00'

//  returns 14: '0.00000001'

//  revised by: Brett Zamir (http://brett-zamir.me)

//  revised by: Christoph

//  revised by: Der Simon (http://innerdom.sourceforge.net/)

//  revised by: Jonas Raoni Soares Silva (http://www.jsfromhell.com)

//  revised by: Kevin van Zonneveld (http://kvz.io)

//  revised by: Luke Smith (http://lucassmith.name)

//  revised by: Onno Marsman (https://twitter.com/onnomarsman)

//  revised by: Rafał Kukawski (http://blog.kukawski.pl)

//  revised by: T.Wild

//  revised by: Theriault

//  revised by: Theriault (https://github.com/Theriault)

//  revised by: gorthaur

//  revised by: stag019

//  select the node if it has been found

//  shadow exists, so look at light dom children as fallback BUT create a scope for any

//  shadow host. However, event.target.composedPath() will be an array of

//  shadow, and all nodes it contains, is never considered in the document since shadows

//  should be safe code to execute if the `document` option isn't specified

//  since `node` should at least have been focusable, we assume that's the case and mimic

//  slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,

//  so bring it back into...

//  somehow displayed; it also covers the CSS 'display: contents' case where the

//  somehow. Though it was never stated officially, anyone who has ever used tabbable

//  specialized Shadow DOM support, and would require Tabbable's multi-container support

//  tabbable nodes in them

//  tested).

//  that is attached (or find none) because the node might be in nested shadows...

//  that was clicked (and if not focusable, to "nothing"); by setting

//  the LAST group if it's the first tabbable node of the FIRST group)

//  the active group: do this based on the order determined by tabbable()

//  the entire query to fail, resulting in no nodes found, which will break a lot

//  the greatest positive tab index like it should)

//  the same length

//  the trap because focus seems to escape when navigating backward from a tabbable node

//  the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't

//  then use its first element; otherwise, fall back to event.target (and

//  this mode, we do want to consider nodes that have a zero area to be hidden at all

//  this only works for an _open_ shadow DOM; otherwise,

//  times, and that includes attached or not.

//  to address an edge case related to positive tabindex support, this seems like a much easier,

//  to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,

//  to look at those containers in document position order rather than user-provided

//  to use the attribute directly to check for this, which can either be empty or 'true';

//  to where it normally would

//  toward a node with a positive tab index

//  triggered the show.

//  up the hierarchy either

//  using `rootNode.contains(node)` will _always_ be true we'll get false-positives when

//  vetted as non-inert

//  visibility, including all the nodes it contains). The host could be any normal node,

//  was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck="none"` mode -- essentially

//  web components if the `tabbableOptions.getShadowRoot` option was used for

//  were on the edge of a container and had to move to the next/previous edge, in

//  what browsers do, which is set focus to the next node in __document position order__,

//  whether it's displayed, and that a detached node will __always__ have a zero-area

//  which case we want to prevent default to keep the browser from moving focus

//  which means we need to get the host's host and check if that parent host is contained

//  which will result in the outside click setting focus to the node

//  with at least one tabbable node in it (that would lead to an error condition that would

//  with at least one tabbable node in order to function, so this could be the other container

//  with nothing tabbable in it)

//  with tabIndex='-1' and was given initial focus

//  with tabindex=0 when this is the case (instead of wrapping to the tabbable node with

//  would require Tabbable to support multiple containers, would require additional

//  would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition

//  })

// "&-" -> "&"

// "+-" -> "+"

// "Software"), to deal in the Software without restriction, including

// "Z" (UTC) or "-0530" (UTC offset without colon delimiter) or "+08:00" (UTC offset with colon delimiter) (optional)

// "block" tags that are not captured (see above) are only used for defining

// "expected" way, so undefined is always cast to null in all

// "lookup" algorithm http://tools.ietf.org/html/rfc4647#section-3.4

// "mapping.generatedColumn" with "lastMapping"

// "name": intentionally not styling

// "onUpdate:modelValue": $event => (foo = $event)

// "the promise rejected with null" or "the promise fulfilled with undefined".

// ### function insertEx(method, path, route, parent)

// #### @method {string} Method to insert the specific `route`.

// #### @parent {Object} **Optional** Parent "routes" to insert into.

// #### @path {Array} Parsed path to insert the `route` at.

// #### @route {Array|function} Route handlers to insert.

// #1153: fast path should not be taken for non-stable (v-for) fragments

// #1465 don't memoize if an error occurred

// #2078 in the case of <component :is="vnode" ref="extra"/>

// #2080 if the stable fragment has a key, it's a <template v-for> that may

// #2134 or if it's a component root, it may also get moved around

// #2715 the previous fragment could've been a BAILed one as a result

// #3666, avoid reference pollution when reusing vnode

// #3766

// #4096 array checkboxes need to be deep traversed

// #72 and bugzil.la/889492.

// #8326: extend call and options.name access are considered side-effects

// #938: elements with dynamic keys should be forced into blocks

// #extractData into DataReader base, since the implementations are almost identical for JsonReader, XmlReader

// ''

// '+' is default

// ','

// '-'

// '.'

// '0' - '9'

// '\000lambda_1'. Since it will probably not be a common use to

// 'a'

// 'abxxcd' will be treated as 'ab')

// 'add' ?

// 'auto' so create a col per item

// 'chunk' is an input chunk.

// 'error'

// 'fix' the JS rolling date conversion if needed

// 'i' vs. 'n' ('USD' vs. '$')

// 'path' module extracted from Node.js v8.11.1 (only the posix part)

// 'readable' etc.

// ( + minor offset adjustments for pixel perfection)

// ( ष ) DEVANAGARI LETTER SSA

// ( ि ) DEVANAGARI VOWEL SIGN I

// ( ந ) TAMIL LETTER NA

// ( ி ) TAMIL VOWEL SIGN I

// ( ำ ) THAI CHARACTER SARA AM

// ( เ ) THAI CHARACTER MAI THO

// ( เ ) THAI CHARACTER SARA E

// ( ᄀ ) HANGUL CHOSEONG KIYEOK

// ( ᅡ ) HANGUL JUNGSEONG A

// ( ◌̈ ) COMBINING DIAERESIS

// ( ◌்) TAMIL SIGN VIRAMA

// ( ◌ั ) THAI CHARACTER MAI HAN-AKAT

// (#4815)

// (-180° to +180°). To support geometries in a coordinate range from -540°

// (0x7ffffff)

// (1) Partitioning.

// (1/60s) to compute sane displacement values

// (2) Recurse on each half.

// (<number>foo)

// (If we'll only let `click` events through,

// (a) jsonRefId -> pickable foreign records

// (angle / 180) * Math.PI;

// (b) JSON / other -> whole record is stored

// (but shouldn't be whitespace in format anyways, so no difference here)

// (c) Steven Levithan <stevenlevithan.com>

// (could change last hex to 0xDB7F to treat high private surrogates

// (could change last hex to 0xDB7F to treat high private surrogates as single characters)

// (e.g., if to be 1,23,456, could be [3, 2])

// (from extjs api doc: (value) The initial color to highlight (should be a valid 6-digit color hex code without the # symbol). Note that the hex codes are case-sensitive.)

// (gregorian data or ordinal) + (weekYear or weekNumber) -> error

// (gregorian month or day) + ordinal -> error

// (http://ejohn.org/blog/javascript-micro-templating/)

// (if the distance is more than `worldWidth / 2` it can be closer.

// (in contrast, the rest of the condition is used heavily)

// (non-`undefined`) value, then we stop

// (note: clearTime() handles Daylight Saving Time automatically)

// (re)activate filterPanel

// (see: https://github.com/pouchdb/pouchdb/issues/5572).

// (set with i18n_loc_set_default() as of PHP6)

// (setItem('foo', undefined) will return `null`), but

// (since `REGEX_NEWLINE` captures its match).

// (the 10ms buffer for Editors fixes a weird FF/Win editor issue when changing OS window focus)

// * When animating or interacting, image loads can cause janks, so we reduce

// * When the view is static we allow a large number of parallel tile loads

// *** (note: this bugfix sacrifices the "keyup" event originating from keyNav elements in Safari 2)

// *** Opera

// *** bugfix - safari 2.x fires 2 keyup events on cursor keys

// *** call e.stopEvent() only for non ESC, PAGE UP/DOWN KEYS

// *** handle tabbing while editorgrid is in edit mode

// *** highlight newly-selected cell and update selection

// *** if activeEditor is a TriggerField, explicitly call its triggerBlur() method

// *** reassign r & c variables to newly-selected cell's row and column

// *** use private walk() function defined above

// *below* the call to _read.  The reason is that in certain

// *onAdded

// - #1942 if hmr is enabled with sfc component

// - In the case of a Fragment, we need to provide the actual parent

// - In the case of a component, it could contain anything.

// - In the case of different nodes, there is going to be a replacement

// - No data in the buffer, and the stream is in flowing mode. In this mode

// - Not enough data buffered (state.length < state.highWaterMark). The loop

// - The stream has ended (state.ended).

// - There is already a pending 'read' operation (state.reading). This is a

// - buffer - a Buffer to search

// - byteOffset - an index into `buffer`; will be clamped to an int32

// - convert error handling

// - convert params

// - dir - true for indexOf, false for lastIndexOf

// - encoding - an optional encoding, relevant is val is a string

// - to remove unnecessary dependency

// - to resolve namespace conflict with M$-Ajax's implementation

// - val - a string, Buffer, or number

// - vite#872 non-sfc component used by sfc component

// -- Decoding

// -- Encoding

// -- Encoding (pass-through)

// -------- helpers

// -------- listeners

// --------------------------------------------------------------------------

// -0 = 0

// -1 - if `this` < `num`

// -121665 * (121666^(-1)) (mod P)

// -4 for float errors in IE

// -> Empty (null)

// -> applies to existing records (on server). we don't have a concept for new (phantom) records yet!

// -> limitation: no two multiedit plugins shown at once (seems acceptable)

// -> only apply bigger states

// -this - num = -(this + num)

// ... except it avoids using URL, which wasn't available in the

// ... is U+007F OR

// ... is `-` (U+002D) OR ...

// ... is `_` (U+005F) OR ...

// ... is a `-` (U+002D) AND ...

// ... is greater than or equal to U+0080 OR ...

// ... is in the range [0-9] (U+0030 to U+0039) OR ...

// ... is in the range [A-Z] (U+0041 to U+005A) OR ...

// ... is in the range [\1-\1F] (U+0001 to U+001F) OR ...

// ... is in the range [a-z] (U+0061 to U+007A) ...

// ... is the first character AND ...

// ... is the first character and is in the range [0-9] (U+0030 to U+0039) OR ...

// ... is the second character and is in the range [0-9] (U+0030 to U+0039)

// ... there is no second character ...

// ...or create a new context.

// ...the last node in the last group

// .col-[1-12]|auto (xs)

// .end() fully uncorks

// .replace(/\r\n/g, "\n").replace(/\r/g, "\n");

// /### p/++ fill +\# k #\

// // on selectionchange handler

// // so odd!

// // start all editors

// 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ

// 0 - if `this` == `num`

// 0 ≤ j ≤ i

// 0. Get next character.

// 0: no space between curr. symbol and value

// 0: no space between curr. symbol and value; 1: space sep. them unless symb.

// 0: parentheses surround quantity and curr. symbol; 1: sign precedes them;

// 0: parentheses surround value and curr. symbol;

// 0x36 ^ 0x5c = 0x6a

// 1 - if `this` > `num`

// 1 = compiled and static = can skip normalization AND diff as optimized

// 1 hour

// 1 minute

// 1, 9, 17, 25, 33, 41, 49, 57

// 1. Figure out what the state of things will be after we do

// 1. Handle surrogates.

// 1. It is not flowing, as the flow mechanism will take

// 1. The format options tell us to show the zone. We can't do that, so the best

// 1.1. Let x = r + jn.

// 1.6.1 Compute Q = r^-1 (sR -  eG)

// 10M + 1S

// 10px of margin for ie

// 12 lines

// 12M + 4S + 7A

// 1: flags, 3: width, 5: left, 7: right, 8: conversion

// 1: sign precedes them;

// 1: space sep. them unless symb. and sign are adjacent then space sep. them from value

// 1M + 2S + 1A + N * (4S + 5M + 8A)

// 1M + 5S + 14A

// 1M + 5S + 15A

// 1kb of data being output.  In this case, you could write a very small

// 2 = compiled but dynamic = can skip normalization, but must run diff

// 2 ^ 255 - 19

// 2 ^ 53 (unsafe)

// 2 leads in a row

// 2 minutes

// 2, 10, 18, 26, 34, 42, 50, 58

// 2-digit year

// 2. Convert uCode character.

// 2. If that resulting state will trigger a _read, then call _read.

// 2. It is not ended.

// 2. The format options don't tell us to show the zone. Then we can adjust them

// 20 MB

// 2017-11-03 cweiss - NOTE: some ext widgets directly work on the paging params.

// 2017-12-21 - cweiss - why where attachments omitted? if you know please document here!

// 2024-10-01 do net set id to 0 any longer, solved by phantom: true

// 2025-01-15 - cweiss - NOTE: we can't commit here as we would loose __meta modified

// 24-bits chunks

// 256 = 9 * 26 + 22

// 26 - 51: abcdefghijklmnopqrstuvwxyz

// 26 Feb 16:19:34

// 2: sign follows them;

// 2: sign follows them; 3: sign immed. precedes curr. symbol; 4: sign immed.

// 2: space sep. sign and value unless symb. and sign are adjacent then space separates

// 2M + 2S + 4A

// 2M + 5S + 13A

// 2P = O

// 2nd enabled check in case disabled before beforeresize handler

// 3, 11, 19, 27, 35, 43, 51, 59

// 3-length-padded UTF-8 octets

// 3. Actually pull the requested chunks out of the buffer and return.

// 3. It is below the highWaterMark, so we can schedule

// 3. Write dbcsCode character.

// 3.74

// 30 minutes

// 32 x 32bit words

// 36, 44, 52, 60

// 3: sign immed. precedes curr. symbol; (but may be space between)

// 3M + 5S

// 4, 12, 20, 28

// 4/5

// 40 is a magic minimum content size?

// 404 bug: https://code.google.com/p/chromium/issues/detail?id=447916

// 4: sign immed. succeeds curr. symbol; (but may be space between)

// 4M + 2S + 6A

// 4M + 4S

// 4M + 6S + 10A

// 5 mins

// 5, 13, 21, 29, 39, 47, 55, 63

// 52 - 61: 0123456789

// 5M + 10S + ...

// 6, 14, 22, 30, 39, 47, 55, 63

// 62: +

// 63: /

// 65536 * Math.log(2) = 45426 pixels from the focus.

// 7, 15, 23, 31, 39, 47, 55, 63

// 8M

// 8M + 3S + 7A

// :<field> indicates a left hand filter

// :is on plain element - only treat as component in compat mode

// ;[

// <-- Mark new records dirty

// <-- That's what it's all about

// <-- There's implementation of ugly bit, setting the raw record-data.

// <-- cache a copy of the actions.

// <-- config-object instead of instance.

// <-- copy phantom-id -> _phid, so we can remap in Store#onCreateRecords

// <-- create(Hash)

// <-- false to prevent intercepted function from running.

// <-- found in cache.  return immediately.

// <-- handled already if @cfg pruneModifiedRecords == true

// <-- lastIndex set in Store#destroyRecord

// <-- listful is actually not used internally here in DataWriter.  @see Ext.data.Store#execute.

// <-- null represents rs.  No rs for load actions.

// <-- prevents write-actions when we just want to clear a store.

// <-- true to return Ext.data.Record[]

// <-- true to return [Ext.data.Record]

// <-- while we're here, splice-off any !isValid real records

// <body> element. If this happens, try to move focus back into the trap.

// <option>s.

// <select multiple> value need to be deep traversed

// <svg> and <foreignObject> must be forced into blocks so that block

// == Big5/Taiwan/Hong Kong ================================================

// == Chinese/GBK ==========================================================

// == Decoder ==================================================================

// == Encoder ==================================================================

// == Japanese/ShiftJIS ====================================================

// == Korean ===============================================================

// == UTF-16 codec =============================================================

// == UTF16-BE codec. ==========================================================

// ================

// => Check whether `dest` is still a piping destination.

// > There is no way to enumerate or delete the databases available for an origin from this API.

// @RETHINK what to do if picker is overwritten?

// @TODO

// @TODO HIDE? -> see ForeignRecordFilter line ~300

// @TODO add sorted!! (see sort code in onUpdateRecord

// @TODO apply "our" searchComboConfig

// @TODO apply defaultData if user didn't change field and field must not be empty?

// @TODO beforeselect with an other vue VM in it crashes this picker

// @TODO blank means ''/null. A int/float/bool/date which is not nullable can't be blank

// @TODO centralize breakpoints / have more breakpoints

// @TODO cope with cross and metadata records

// @TODO evaluate inputFilters. inputFilters run on server when the key ist set in the data whereas validators always run

// @TODO give areaLock or mfaDevice info or lockState into provider?

// @TODO have a interface idea for 'other'

// @TODO implement me

// @TODO move to relationsPanel - also needed by picker

// @TODO recordsPickers & pickerGrids?

// @TODO remove on EBHH #1690 cleanup

// @TODO render container

// @TODO render tags, notes, attachments

// @TODO rethink - with local sort we don't need a remote query at all?

// @TODO retry n times, replaceProxy might be registered late!

// @TODO should be imported/required in twing

// @TODO sort by size!

// @TODO use different widget here (e.g. quickadd gird)

// @TODO use getTreePath() when filemanager is fixed

// @TODO validate parameters according to docs

// @TODO what if text is a htmlProxy? -> we should cache getTitle results

// @TODO wipe some models?

// @TODO: Might want to let developer decide.

// @TODO: denormalizationOf should have an edit plugin

// @TODO: disable grid to spedup things?

// @TODO: don't rerender / reinit all stuff here?!

// @TODO: explain stuff?

// @TODO: iOS safari only?

// @TODO: move directly after login (login should return requested parts of registry)

// @TODO: move to fieldManager?

// @TODO: return invisible html and replace async with visible rendering

// @TODO: use grants model and set all grants to true for new records

// @TODO: we get recordData from all quickAddFields - but the value might be empty because the user didn't enter it

// @TODO: we might need a JSON.parse - implement when needed

// @deprecated fire loadexception

// @deprecated firing loadexception

// @deprecated loadexception

// @deprecated: Fire old loadexception for backwards-compat.

// @deprecated: fire loadexception

// @deprecated: fire loadexception for backwards compat.

// @deprecated: fire old loadexception for backwards-compat.

// @fixme: hard coded value

// @fixme: hard coding not a good idea

// @fixme: we should never work on a direct reference in editDialogs as checkState changes record (which is in our store)

// @fixme: what about other locations? are they supported? how to compute option here?

// @flow

// @private callback-handler for remote CRUD actions

// @private createCallback

// @protected onCreateRecord proxy callback for create action

// @protected onDestroyRecords proxy callback for destroy action

// @protected, onUpdateRecords proxy callback for update action

// @see 0008210: email grid: set flag does not work sometimes

// @see Tine.Tinebase.ApplicationStarter.isInitialised()

// @see http://stackoverflow.com/questions/2959010/how-to-get-the-domain-value-for-a-cookie-in-javascript

// @see http://www.stucox.com/blog/you-cant-detect-a-touchscreen/

// @see https://github.com/tc39/proposal-intl-datetime-style

// @see https://github.com/tine20/tine20/issues/6236

// @see https://github.com/twigphp/Twig/issues/3174 as to why we don't check macro existence in parents

// @see https://stackoverflow.com/questions/17989777/detect-if-ios-is-using-webapp/40932301#40932301

// @todo add buttons ?        

// @todo add context menu ?

// @todo add more renderers ?

// @todo add row expander on select ?

// @todo discuss if actions are only to be touched if requiredGrant is set

// @todo how can we move that to the server?

// @todo support array of scalars

// @todo thats just a hotfix!

// @todo: &amp; problem

// @todo: Does PHP do anything with these? Seems not to matter

// @todo: Don't rely on ini here, use internal krsort instead

// @todo: Double-check i whitespace ignored in string and/or formats

// @todo: How does p_sep_by_space affect the count if there is a space?

// @todo: Make this more readable

// @todo: Should handle locales (as per setlocale)

// @todo: This one taken from strcmp, but need for other locales; we don't use localeCompare

// @todo: ^-- Now that `table` is an array, maybe we can use that directly using slices,

// @todo: add overflows as above?

// @todo: for IE parseFloat(0.55).toFixed(0) = 0;

// @todo: locale if declared locale hasn't been defined

// @todo: unclear on whether and how sepBySpace, signPosn, or csPrecedes have

// @ts-expect-error: TS errors on an inherited property for some reason

// @ts-ignore

// @ts-ignore Features are copied from `features` to `resultFeatures` so the type should be the same

// @type {Array<HTMLElement>}

// @type {Array<{

// A * x + B * y = x

// A = (Y1 - X1) * (Y2 - X2)

// A = X1 + Z1

// A = X1^2

// A = X2 + Z2

// A = Z1 * Z2

// A bit simpler than readable streams.

// A bit ugly this, too bad the Record's raw data couldn't be saved in a common property named "raw" or something.

// A defined and non-empty `src` or `image` must be provided

// A driver name should be defined and not overlap with the

// A hash containing active requests, keyed on action [Ext.data.Api.actions.create|read|update|destroy]

// A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both.

// A linked list is used to store data chunks instead of an array because the

// A reduce context, could be using montgomery or something better, depending

// A single base 64 digit can contain 6 bits of data. For the base 64 variable

// A template can be used as a trait if:

// A temporary value used to identify if the loop should be broken.

// AA = A^2

// ABDAY_

// ABMON_

// AES constants

// AMD. Register as an anonymous module.  Wrap in function so we have access

// AM_STR/PM_STR

// ANY_CALL or ARRAY_CALL

// ANY_CALL or METHOD_CALL

// Abort if the event target is a child of the container that is no longer in the page.

// Abort if the target is a child of the container for elements whose events are not meant

// Abstracts constructing a Blob object, so it also works in older

// According to the FileSystem API spec, readEntries() must be called until

// ActiveX objects in IE.

// Actual mapping tables consist of chunks. Use them to fill up decode tables.

// Adapt this line at the top of any loop, passing in the whole string and

// Add ".UTF-8" or allow ".@latint", etc. to the end?

// Add GB18030 decode tables.

// Add `Array` methods to `lodash.prototype`.

// Add `LazyWrapper` methods for `_.drop` and `_.take` variants.

// Add `LazyWrapper` methods for `_.head` and `_.last`.

// Add `LazyWrapper` methods for `_.initial` and `_.tail`.

// Add `LazyWrapper` methods that accept an `iteratee` value.

// Add `LazyWrapper` methods to `lodash.prototype`.

// Add `num` to `this`

// Add `num` to `this` in-place

// Add a list of promises for each directory entry.  If the entry is itself

// Add a stub for each driver API method that delays the call to the

// Add aliases.

// Add bit and propagate, if needed

// Add chain sequence methods to the `lodash` wrapper.

// Add decoder for versions of Node not supporting CESU-8

// Add lazy aliases.

// Add methods that return unwrapped values in chain sequences.

// Add methods that return wrapped values in chain sequences.

// Add methods to `Hash`.

// Add methods to `LazyWrapper`.

// Add methods to `ListCache`.

// Add methods to `MapCache`.

// Add methods to `SetCache`.

// Add methods to `Stack`.

// Add methods to `lodash.prototype`.

// Add more encoding pairs when needed.

// Add padding

// Add padding to key

// Add plain number `num` to `this`

// Add properties assigned by `RegExp#exec`.

// Add termination characters

// Add the source content to the _sourcesContents map.

// Add to record of another app            

// Add transformations that don't alter coordinates to convert within set of

// Add transformations to convert EPSG:4326 like coordinates to EPSG:3857 like

// Add up all the header heights

// Added when support for blob shims was added

// Adding the second element, need to change to array.

// Adds an event to set the correct height afterExpand.  This accounts for the deferHeight flag in panel

// Adjust comment to avoid issue on locutus.io display

// Adjust left pos for centering

// Adjust strings when encounter non-matching whitespace,

// After JIS X 0213 appeared, Shift_JIS-2004, EUC-JISX0213 and ISO2022-JP-2004 followed, with just changing the planes.

// Ahhh, SQL makes this one soooooo easy.

// Alert: action must be taken immediately

// Alias UNICODE-1-1-UTF-7

// Alias with options. Can be layered.

// Aliases of generated encodings.

// Align the versions to prevent errors.

// Alignment for 'side' target

// Alignment for 'under' target

// All clean. Most often case.

// All codecs and aliases are kept here, keyed by encoding name/alias.

// All even indices of this array are one line of the generated code,

// All japanese encodings are based on JIS X set of standards:

// All on the same segment

// All points are identical, so just test the first point.

// All properties except for `generatedLine` and `generatedColumn` can be

// All proxies should now send config into superclass constructor.

// All records have the same value on this field

// All the actual chunk generation logic needs to be

// All this is handling fill: true, so there must be at least one expanded,

// Allow Arrays of siblings to be inserted

// Allow a string as a child spec.

// Allow different priority orders of languages, esp. if implement gettext as in

// Allow for a single string or an array of string flags

// Allow for deprecating things in the process of starting up.

// Allow for unix-like usage: A.pipe(B).pipe(C)

// Allow the keys array to be GC'ed.

// Allow us to exit

// Alphabet chars.

// Also http://www.mathworks.com/access/helpdesk/help/techdoc/ref/sscanf.html

// Also, if we have no data yet, we can stand some more bytes.

// Although sscanf doesn't support locales,

// Although these are set individually, they are all accumulated

// Always choose a random pivot so that an input array which is reverse

// Ampersand -> '&-'

// An `NaN` primitive is the only value that is not equal to itself.

// And `num` with `this`

// And `num` with `this` in-place

// And first word and num

// And remove leading zeroes

// Any non-magical string (`.ts`) or even nested expression (`.{ts,tsx}`) can follow after the closing parenthesis.

// Any other potential prop/value matching outside topic & context...

// Anything that was given is translated to buffer

// Apache License 2.0

// Append

// Append data to buffer

// Append length

// Append our div, do our calculation and then remove it

// Apply config defaults

// Apply element color and background color to wrapper

// Apply f() x16 times

// Apply heights

// Apply the Observable prototype to the DataProxy class so that proxy instances can relay their

// Apply widths

// Applying the SourceMap can add and remove items from the sources and

// Are we oob?

// Arguments:

// Array of Relation Pickers

// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass

// As long as the user only uses trusted templates, this is safe.

// Assemble symbol/value/sign and possible space as appropriate

// Assign default placeholders.

// Associate first line with "lastMapping"

// Associate the code between "lastGeneratedColumn" and

// Associate the remaining code in the current line with "lastMapping"

// Assume C locale is like English (?) (We need C locale for LC_CTYPE)

// Assume cyclic values are equal.

// Assumes that `num` is less than `P^2`

// Assuming distinction between numeric and monetary is thus:

// At least for now HTML5 history is available for 'modern' browsers only

// At least give some kind of context to the user

// At this point both numbers are positive

// At this point both numbers have the same sign

// At this point the path should be resolved to a full absolute path, but

// At this point, the Toolbars must be layed out for getFrameHeight to find a result.

// Attach data to element

// Attempt to read more data if we should.

// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.

// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer

// Augment

// Auth requires redirect

// AutoLayout is known to require the recursive doLayout call, others need this currently (BorderLayout for example)

// Autodetect if our record has additional metadata for the refId Record or is only a cross table

// Avoid lazy use if the iteratee has a "length" value other than `1`.

// Avoid trying to start too many processing operations. This can occur

// Avoids trying to get a char that does not exist

// B = (X1 + Y1)^2

// B = (Y1 + X1) * (Y2 + X2)

// B = A^2

// B = X2 - Z2

// B = Y1^2

// BE does not set the path / resolve properly

// BMP characters: 1 code unit

// BN

// Backport from Ext 4.0

// Backspace

// Backwards compatibility alias

// Backwards-compat with node 0.10.x

// Backwards-compat with node 0.4.x

// Backwards-compatible blob type serialization strategy.

// Backwards-compatible prefix for the blob type.

// Base reduction engine

// Base64 ended.

// Based on John Resig's `tmpl` implementation

// Based on http://stackoverflow.com/a/22747272/680742, the browser with

// Based on the projection properties, the point resolution at the specified

// Basic char

// Because `null` is a special error value in callbacks which means "no error

// Because each offset is encoded relative to the previous one,

// Because it can be sparse, it is represented as array of buckets by 256 chars each. Bucket can be null.

// Because we are modifying the entries (by converting string sources and

// Between pointerdown and pointerup, pointermove events are triggered.

// Big5 has many variations and is an extension of cp950. We use Encoding Standard's as a consensus.

// Bigint, return as it is (assume big endian)

// Bignum, assume big endian

// Binary min-heap implementation used for priority queue.

// Binary search for GB18030. Returns largest i such that table[i] <= val.

// Blobs are not supported in all versions of IndexedDB, notably

// Both close and finish should trigger unpipe, but only once.

// Both numbers are positive at this point

// Break up encoding here in case it's being included by some kind of page that will parse it (eg. PHP)

// Broadcast to current context via ports

// Broadcast to other contexts via storage events...

// BroadcastChannel API

// Browsers differ as to when they account for scrollbars.  We need to re-measure to see if the scrollbar

// Buffer rest of the input

// Buffer#write(string)

// But allow more writes to happen in this tick.

// But don't agree with "Гг | Hh", nobody talks like that.

// But only overwritten by inherrited constructors

// But the goal of props.transProps is to overwrite base properties

// But to make this work you need to pass a json encoded record to the editdialog as string!

// By convention, when a data property is converted to an accessor

// By default EventEmitters will print a warning if more than 10 listeners are

// By default we try to move the element to the last location of the frame.

// By using Object.keys we support both, arrays and objects

// Byte encodings are:

// C = X1^2

// CAPABILITIES

// CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes

// CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`

// CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have

// CESU-8 decoder is not implemented in Node v4.0+

// CESU-8 encoder is also special.

// CHARACTER FOLLOWING PERCENT IS NOT A PERCENT

// CJK ... Yi

// CJK Compatibility Forms

// CJK Compatibility Ideographs

// COERCION

// COMPARE

// CONCATENATED MODULE: ./AreaLocks.js

// CONCATENATED MODULE: ./LoginPanel.js

// CONCATENATED MODULE: ./LoginPanel.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./MFA/Providers/Abstract.js

// CONCATENATED MODULE: ./MFA/Providers/Generic.js

// CONCATENATED MODULE: ./MFA/Providers/HTOTPAuthenticator.js

// CONCATENATED MODULE: ./MFA/Providers/Pin.js

// CONCATENATED MODULE: ./MFA/Providers/Sms.js

// CONCATENATED MODULE: ./MFA/Providers/Token.js

// CONCATENATED MODULE: ./MFA/Providers/UserPassword.js

// CONCATENATED MODULE: ./MFA/Providers/WebAuthn.js

// CONCATENATED MODULE: ./MFA/Providers/YubicoOTP.js

// CONCATENATED MODULE: ./TineBar/TApplicationMenu.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./TineBar/TAvatar.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./TineBar/TAvatar.vue?vue&type=style&index=0&id=50c6c8ba&scoped=true&lang=scss

// CONCATENATED MODULE: ./TineBar/TMainMenu.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./TineBar/TineBar.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./TineBar/barItems/ColorSchemeSelector.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./TineBar/barItems/ColorSchemeSelector.vue?vue&type=style&index=0&id=663c8996&lang=css

// CONCATENATED MODULE: ./TineBar/barItems/ColorSchemeSelector.vue?vue&type=style&index=1&id=663c8996&scoped=true&lang=scss

// CONCATENATED MODULE: ./TineBar/barItems/ExtAction.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./TineBar/barItems/ExtActionMenu.vue

// CONCATENATED MODULE: ./TineBar/index.js

// CONCATENATED MODULE: ./TineDock/TineDock.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./TineDock/index.js

// CONCATENATED MODULE: ./data/RecordProxy.js

// CONCATENATED MODULE: ./data/ServerError.js

// CONCATENATED MODULE: ./node_modules/@floating-ui/core/dist/floating-ui.core.browser.min.mjs

// CONCATENATED MODULE: ./node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js

// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./LoginPanel.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./TineBar/TAvatar.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./TineBar/TMainMenu.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./TineBar/TineBar.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./TineBar/barItems/ColorSchemeSelector.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./TineBar/barItems/ExtAction.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./TineDock/TineDock.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./vue/components/TMenu.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./widgets/dialog/vue/ModalDialog/GenericDialog.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./widgets/dialog/vue/components/PasswordField.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./widgets/form/VMultiPicker/RecordTag.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./TineBar/barItems/ExtActionMenu.vue?vue&type=template&id=969aac92

// CONCATENATED MODULE: ./node_modules/focus-trap/dist/focus-trap.esm.js

// CONCATENATED MODULE: ./node_modules/html5-file-selector/src/Html5FileSelector.js

// CONCATENATED MODULE: ./node_modules/html5-file-selector/src/index.js

// CONCATENATED MODULE: ./node_modules/ol/Disposable.js

// CONCATENATED MODULE: ./node_modules/ol/Feature.js

// CONCATENATED MODULE: ./node_modules/ol/ImageTile.js

// CONCATENATED MODULE: ./node_modules/ol/Kinetic.js

// CONCATENATED MODULE: ./node_modules/ol/Map.js

// CONCATENATED MODULE: ./node_modules/ol/MapBrowserEvent.js

// CONCATENATED MODULE: ./node_modules/ol/MapBrowserEventHandler.js

// CONCATENATED MODULE: ./node_modules/ol/MapEvent.js

// CONCATENATED MODULE: ./node_modules/ol/Object.js

// CONCATENATED MODULE: ./node_modules/ol/Observable.js

// CONCATENATED MODULE: ./node_modules/ol/Tile.js

// CONCATENATED MODULE: ./node_modules/ol/TileCache.js

// CONCATENATED MODULE: ./node_modules/ol/TileQueue.js

// CONCATENATED MODULE: ./node_modules/ol/TileRange.js

// CONCATENATED MODULE: ./node_modules/ol/ViewHint.js

// CONCATENATED MODULE: ./node_modules/ol/asserts.js

// CONCATENATED MODULE: ./node_modules/ol/centerconstraint.js

// CONCATENATED MODULE: ./node_modules/ol/color.js

// CONCATENATED MODULE: ./node_modules/ol/colorlike.js

// CONCATENATED MODULE: ./node_modules/ol/console.js

// CONCATENATED MODULE: ./node_modules/ol/control/Attribution.js

// CONCATENATED MODULE: ./node_modules/ol/control/Control.js

// CONCATENATED MODULE: ./node_modules/ol/control/Rotate.js

// CONCATENATED MODULE: ./node_modules/ol/control/Zoom.js

// CONCATENATED MODULE: ./node_modules/ol/control/defaults.js

// CONCATENATED MODULE: ./node_modules/ol/coordinate.js

// CONCATENATED MODULE: ./node_modules/ol/dom.js

// CONCATENATED MODULE: ./node_modules/ol/easing.js

// CONCATENATED MODULE: ./node_modules/ol/events.js

// CONCATENATED MODULE: ./node_modules/ol/events/Event.js

// CONCATENATED MODULE: ./node_modules/ol/events/Target.js

// CONCATENATED MODULE: ./node_modules/ol/events/condition.js

// CONCATENATED MODULE: ./node_modules/ol/extent.js

// CONCATENATED MODULE: ./node_modules/ol/extent/Relationship.js

// CONCATENATED MODULE: ./node_modules/ol/featureloader.js

// CONCATENATED MODULE: ./node_modules/ol/functions.js

// CONCATENATED MODULE: ./node_modules/ol/geom/Geometry.js

// CONCATENATED MODULE: ./node_modules/ol/geom/LinearRing.js

// CONCATENATED MODULE: ./node_modules/ol/geom/Point.js

// CONCATENATED MODULE: ./node_modules/ol/geom/Polygon.js

// CONCATENATED MODULE: ./node_modules/ol/geom/SimpleGeometry.js

// CONCATENATED MODULE: ./node_modules/ol/geom/flat/area.js

// CONCATENATED MODULE: ./node_modules/ol/geom/flat/closest.js

// CONCATENATED MODULE: ./node_modules/ol/geom/flat/contains.js

// CONCATENATED MODULE: ./node_modules/ol/geom/flat/deflate.js

// CONCATENATED MODULE: ./node_modules/ol/geom/flat/inflate.js

// CONCATENATED MODULE: ./node_modules/ol/geom/flat/interiorpoint.js

// CONCATENATED MODULE: ./node_modules/ol/geom/flat/intersectsextent.js

// CONCATENATED MODULE: ./node_modules/ol/geom/flat/length.js

// CONCATENATED MODULE: ./node_modules/ol/geom/flat/orient.js

// CONCATENATED MODULE: ./node_modules/ol/geom/flat/reverse.js

// CONCATENATED MODULE: ./node_modules/ol/geom/flat/segments.js

// CONCATENATED MODULE: ./node_modules/ol/geom/flat/straightchunk.js

// CONCATENATED MODULE: ./node_modules/ol/geom/flat/textpath.js

// CONCATENATED MODULE: ./node_modules/ol/geom/flat/transform.js

// CONCATENATED MODULE: ./node_modules/ol/interaction/DoubleClickZoom.js

// CONCATENATED MODULE: ./node_modules/ol/interaction/DragPan.js

// CONCATENATED MODULE: ./node_modules/ol/interaction/DragRotate.js

// CONCATENATED MODULE: ./node_modules/ol/interaction/DragZoom.js

// CONCATENATED MODULE: ./node_modules/ol/interaction/Interaction.js

// CONCATENATED MODULE: ./node_modules/ol/interaction/KeyboardPan.js

// CONCATENATED MODULE: ./node_modules/ol/interaction/KeyboardZoom.js

// CONCATENATED MODULE: ./node_modules/ol/interaction/MouseWheelZoom.js

// CONCATENATED MODULE: ./node_modules/ol/interaction/PinchRotate.js

// CONCATENATED MODULE: ./node_modules/ol/interaction/PinchZoom.js

// CONCATENATED MODULE: ./node_modules/ol/interaction/Pointer.js

// CONCATENATED MODULE: ./node_modules/ol/interaction/Property.js

// CONCATENATED MODULE: ./node_modules/ol/interaction/defaults.js

// CONCATENATED MODULE: ./node_modules/ol/layer/Base.js

// CONCATENATED MODULE: ./node_modules/ol/layer/BaseTile.js

// CONCATENATED MODULE: ./node_modules/ol/layer/BaseVector.js

// CONCATENATED MODULE: ./node_modules/ol/layer/Group.js

// CONCATENATED MODULE: ./node_modules/ol/layer/Layer.js

// CONCATENATED MODULE: ./node_modules/ol/layer/Tile.js

// CONCATENATED MODULE: ./node_modules/ol/layer/Vector.js

// CONCATENATED MODULE: ./node_modules/ol/loadingstrategy.js

// CONCATENATED MODULE: ./node_modules/ol/math.js

// CONCATENATED MODULE: ./node_modules/ol/obj.js

// CONCATENATED MODULE: ./node_modules/ol/proj.js

// CONCATENATED MODULE: ./node_modules/ol/proj/Projection.js

// CONCATENATED MODULE: ./node_modules/ol/proj/epsg4326.js

// CONCATENATED MODULE: ./node_modules/ol/proj/projections.js

// CONCATENATED MODULE: ./node_modules/ol/proj/transforms.js

// CONCATENATED MODULE: ./node_modules/ol/render/Box.js

// CONCATENATED MODULE: ./node_modules/ol/render/Event.js

// CONCATENATED MODULE: ./node_modules/ol/render/VectorContext.js

// CONCATENATED MODULE: ./node_modules/ol/render/canvas.js

// CONCATENATED MODULE: ./node_modules/ol/render/canvas/Builder.js

// CONCATENATED MODULE: ./node_modules/ol/render/canvas/Executor.js

// CONCATENATED MODULE: ./node_modules/ol/render/canvas/ImageBuilder.js

// CONCATENATED MODULE: ./node_modules/ol/render/canvas/Immediate.js

// CONCATENATED MODULE: ./node_modules/ol/render/canvas/LineStringBuilder.js

// CONCATENATED MODULE: ./node_modules/ol/render/canvas/PolygonBuilder.js

// CONCATENATED MODULE: ./node_modules/ol/render/canvas/TextBuilder.js

// CONCATENATED MODULE: ./node_modules/ol/renderer/Composite.js

// CONCATENATED MODULE: ./node_modules/ol/renderer/Layer.js

// CONCATENATED MODULE: ./node_modules/ol/renderer/Map.js

// CONCATENATED MODULE: ./node_modules/ol/renderer/canvas/TileLayer.js

// CONCATENATED MODULE: ./node_modules/ol/renderer/canvas/VectorLayer.js

// CONCATENATED MODULE: ./node_modules/ol/renderer/vector.js

// CONCATENATED MODULE: ./node_modules/ol/reproj.js

// CONCATENATED MODULE: ./node_modules/ol/reproj/Tile.js

// CONCATENATED MODULE: ./node_modules/ol/resolutionconstraint.js

// CONCATENATED MODULE: ./node_modules/ol/rotationconstraint.js

// CONCATENATED MODULE: ./node_modules/ol/source/Source.js

// CONCATENATED MODULE: ./node_modules/ol/source/Tile.js

// CONCATENATED MODULE: ./node_modules/ol/source/TileImage.js

// CONCATENATED MODULE: ./node_modules/ol/source/UrlTile.js

// CONCATENATED MODULE: ./node_modules/ol/source/Vector.js

// CONCATENATED MODULE: ./node_modules/ol/source/XYZ.js

// CONCATENATED MODULE: ./node_modules/ol/sphere.js

// CONCATENATED MODULE: ./node_modules/ol/structs/LRUCache.js

// CONCATENATED MODULE: ./node_modules/ol/structs/RBush.js

// CONCATENATED MODULE: ./node_modules/ol/style/Circle.js

// CONCATENATED MODULE: ./node_modules/ol/style/Fill.js

// CONCATENATED MODULE: ./node_modules/ol/style/Icon.js

// CONCATENATED MODULE: ./node_modules/ol/style/IconImage.js

// CONCATENATED MODULE: ./node_modules/ol/style/IconImageCache.js

// CONCATENATED MODULE: ./node_modules/ol/style/Image.js

// CONCATENATED MODULE: ./node_modules/ol/style/RegularShape.js

// CONCATENATED MODULE: ./node_modules/ol/style/Stroke.js

// CONCATENATED MODULE: ./node_modules/ol/style/Style.js

// CONCATENATED MODULE: ./node_modules/ol/style/flat.js

// CONCATENATED MODULE: ./node_modules/ol/tilecoord.js

// CONCATENATED MODULE: ./node_modules/ol/tilegrid.js

// CONCATENATED MODULE: ./node_modules/ol/tileurlfunction.js

// CONCATENATED MODULE: ./node_modules/ol/transform.js

// CONCATENATED MODULE: ./node_modules/ol/util.js

// CONCATENATED MODULE: ./node_modules/tabbable/dist/index.esm.js

// CONCATENATED MODULE: ./node_modules/twig-lexer/dist/es/lib/SyntaxError.js

// CONCATENATED MODULE: ./node_modules/twig-lexer/dist/es/lib/Token.js

// CONCATENATED MODULE: ./node_modules/twig-lexer/dist/es/lib/TokenStream.js

// CONCATENATED MODULE: ./node_modules/twig-lexer/dist/es/lib/TokenType.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/base.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/browser.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/base-node-visitor.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/cache/null.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/callable-wrapper.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/compiler.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/context.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/environment.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/environment/browser.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/error.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/error/loader.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/error/runtime.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/error/syntax.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension-set.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/abs.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/array-keys.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/batch.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/capitalize.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/column.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/convert-encoding.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/date-modify.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/date.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/default.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/escape.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/filter.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/first.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/format.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/join.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/json-encode.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/last.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/length.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/lower.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/map.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/merge.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/nl2br.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/number-format.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/raw.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/reduce.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/replace.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/reverse.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/round.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/slice.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/sort.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/spaceless.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/split.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/striptags.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/title.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/trim.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/upper.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/filters/url-encode.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/functions/constant.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/functions/cycle.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/functions/date.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/functions/dump.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/functions/include.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/functions/max.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/functions/min.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/functions/random.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/functions/range.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/functions/source.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/functions/template-from-string.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/tests/divisible-by.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/tests/empty.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/tests/even.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/tests/iterable.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/tests/null.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/tests/odd.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/extension/core/tests/same-as.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/filter.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/function.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/asort.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/chunk.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/clone-map.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/compare.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/constant.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/count.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/ctype-digit.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/ctype-space.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/ensure-traversable.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/evaluate.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/examine-object.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/fill.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/first.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/format-date-time.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/format-duration.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/get-attribute.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/get.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/iconv.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/is-countable.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/is-in.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/is-map.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/is-plain-object.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/is-pure-array.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/is-traversable.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/iterate.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/iterator-to-array.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/iterator-to-hash.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/iterator-to-map.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/ksort.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/merge.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/modify-date.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/parse-regex.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/push.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/reverse.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/helpers/slice.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/lexer.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/loader/array.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/loader/chain.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/loader/null.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/markup.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node-traverser.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node-type.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node-visitor/escaper.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node-visitor/macro-auto-import.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node-visitor/safe-analysis.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node-visitor/sandbox.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/auto-escape.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/block-reference.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/block.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/body.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/check-security.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/check-to-string.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/comment.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/deprecated.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/do.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/embed.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/array.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/arrow-function.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/assign-name.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/add.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/and.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/bitwise-and.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/bitwise-or.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/bitwise-xor.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/concat.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/div.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/ends-with.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/equal.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/floor-div.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/greater-equal.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/greater.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/in.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/less-equal.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/less.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/matches.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/mod.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/mul.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/not-equal.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/not-in.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/or.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/power.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/range.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/starts-with.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/binary/sub.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/block-reference.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/call.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/conditional.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/constant.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/filter.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/filter/default.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/function.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/get-attribute.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/hash.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/method-call.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/name.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/null-coalesce.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/parent.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/temp-name.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/test.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/test/constant.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/test/defined.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/unary.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/unary/neg.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/unary/not.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/expression/unary/pos.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/flush.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/for-loop.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/for.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/if.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/import.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/include.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/inline-print.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/line.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/macro.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/module.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/print.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/sandbox.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/sandboxed-print.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/set.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/spaceless.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/text.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/verbatim.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/node/with.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/operator.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/output-buffer.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/parser.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/sandbox/security-error.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/sandbox/security-not-allowed-filter-error.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/sandbox/security-not-allowed-function-error.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/sandbox/security-not-allowed-method-error.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/sandbox/security-not-allowed-property-error.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/sandbox/security-not-allowed-tag-error.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/sandbox/security-policy.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/source-map/node-factory.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/source-map/node-factory/spaceless.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/source-map/node.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/source-map/node/spaceless.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/source.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/template.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/test.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/apply.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/auto-escape.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/block.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/deprecated.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/do.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/embed.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/extends.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/filter.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/flush.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/for.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/from.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/if.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/import.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/include.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/line.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/macro.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/sandbox.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/set.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/spaceless.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/use.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/verbatim.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-parser/with.js

// CONCATENATED MODULE: ./node_modules/twing/dist/es/lib/token-stream.js

// CONCATENATED MODULE: ./util/markdown.js

// CONCATENATED MODULE: ./ux/form/FieldTriggerPlugin.js

// CONCATENATED MODULE: ./ux/vue/PersonaContainer/PersonaContainer.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./ux/vue/PersonaContainer/helpers.js

// CONCATENATED MODULE: ./vue/components/TMenu.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./widgets/TimezoneCombo.js

// CONCATENATED MODULE: ./widgets/dialog/vue/ModalDialog/GenericDialog.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./widgets/dialog/vue/ModalDialog/index.js

// CONCATENATED MODULE: ./widgets/dialog/vue/components/PasswordField.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./widgets/file/SelectionField.js

// CONCATENATED MODULE: ./widgets/file/locationRenderer.js

// CONCATENATED MODULE: ./widgets/form/EmailField.js

// CONCATENATED MODULE: ./widgets/form/FieldManager.js

// CONCATENATED MODULE: ./widgets/form/LocalizedField.js

// CONCATENATED MODULE: ./widgets/form/RecordEditField.js

// CONCATENATED MODULE: ./widgets/form/RecordPickerComboBox.js

// CONCATENATED MODULE: ./widgets/form/UrlField.js

// CONCATENATED MODULE: ./widgets/form/VMultiPicker/RecordTag.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./widgets/form/VMultiPicker/RecordTag.vue?vue&type=style&index=0&id=6438e0c6&scoped=true&lang=scss

// CONCATENATED MODULE: ./widgets/form/VMultiPicker/RecordsDisplayContainer.vue?vue&type=script&setup=true&lang=js

// CONCATENATED MODULE: ./widgets/form/VMultiPicker/index.js

// CONCATENATED MODULE: ./widgets/grid/ACERenderer.js

// CONCATENATED MODULE: ./widgets/grid/GridPanel.js

// CONCATENATED MODULE: ./widgets/grid/OneIsTruePlugin.js

// CONCATENATED MODULE: ./widgets/grid/RendererManager.js

// CONSTRUCT

// CREATE:  Next check for phantoms within rs.  splice-off and execute create.

// Cached version of prime

// Calculate intersections with the horizontal line

// Calculate skipping beyond initial percent too

// Calculate the distnce from center to the stroke corner where

// Call `cb(err)` when you are done with this chunk.  If you pass

// Call `push(newChunk)` to pass along transformed output

// Call setSize on the container to set the correct height.  For Panels, deferedHeight

// Call with the pre-3.0 method signature.

// Call {@link module:ol/util.getUid} to ensure that the order of objects' ids is

// Called as a callback by the Reader during a load operation.

// Can add to the locales

// Can typed array instances can be augmented?

// Can we throw a warning instead? That would be more in line with PHP

// Cannot use `value instanceof ArrayBuffer` or such here, as these

// Canonicalize encoding name: strip all non-alphanumeric chars and appended year.

// Canvas is expected to be rotated to reverse view rotation.

// Canvas is not rotated, images need to be rotated back to be north-up.

// Capture the GridView.

// Capture the Store.

// Carry

// Cast the key to a string, as that's all we can set as a key.

// Cast to undefined so the value passed to

// Chain its promise to the database readiness.

// Chainable

// Change activeItem reference

// Change content dynamically depending on which element

// Changing cards, hide the current one

// Changing them would require additional code to handle correctly and should

// Char is one of surrogates.

// Character begins range

// Character is by itself

// Character sequence (our own encoding used)

// Characters emitted in case of error.

// Check BOM.

// Check Symbol.for because not everywhere where Symbol defined

// Check bit and return

// Check for IE =< 8

// Check for circular references and return its corresponding clone.

// Check for listener leak

// Check for modified records. Use a copy so Store#rejectChanges will work if server returns error.

// Check for overlong encoding, but support Modified UTF-8 (encoding NULL as C0 80)

// Check if data is there

// Check if favorite matches current model

// Check if it can be mapped by the source map, then update the mapping.

// Check if localStorage is usable and allows to save an item

// Check if localStorage throws when saving an item

// Check if module is in cache

// Check if tag is there

// Check if the ripple still exist

// Check if we're actually ready to finish, but don't emit yet

// Check that cyclic values are equal.

// Check that value is an object with an inspect function on it

// Check that we didn't get one last unshift.

// Check the closing segment.

// Check the signature for a match with an unhandled exception

// Check to see if the object(s) we were hovering over is no longer

// Check to see if this is serialized content

// Check to see if this is serialized content we need to

// Check which string ended first

// Checking for a Stream.Duplex instance is faster here instead of inside

// Checks at most 3 bytes at the end of a Buffer in order to detect an

// Checks that a user-supplied chunk is valid, especially for the particular

// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a

// Choose the decoding node where we'll write our chars.

// Choose the lambda that is matching selected beta

// Choose the smallest beta

// Chrome <37 and Android <5. In those versions, storing a blob will throw.

// Chromium doesn't support fixed-offset zones like Etc/GMT+8 in its formatter,

// Clamp

// Clamp excess bits

// Class DBCSCodec reads and initializes mapping tables.

// Clean-up references to points and coefficients

// Cleanup IE Object leaks

// Cleanup code by stripping empty strings.

// Clear the selectSameEditor flag

// Clears records from modified array after an exception event.

// Clip mask for regions in this tile that already filled by a higher z tile

// Closing all open connections in onversionchange handler should prevent this situation, but if

// Closing the connection here prevents those operations from being blocked.

// Code borrowed from PouchDB. See:

// Codec is not chosen yet. Accumulate initial bytes.

// Codec itself.

// Codec.

// Coerce booleans to `1` or `0` and dates to milliseconds.

// Coerce regexes to strings and treat strings, primitives and objects,

// Coerce to Number.

// Collapse all other expanded child items (Won't loop if multi is true)

// Color Animation

// Comb small window NAFs

// Comments include nl_langinfo() constant equivalents and any

// Common case.

// CommonJS

// Compare two numbers and return:

// Compatibility with BaseCurve

// Compose partial arguments.

// Compose partial right arguments.

// Computation

// Compute beta and lambda, that lambda * P = (beta * Px; Py)

// Compute constants

// Compute double table

// Compute inv sub bytes, inv mix columns tables

// Compute multiplication

// Compute sbox

// Concat

// Config the localStorage backend, using options set in the config.

// Configs below are used for all Components when rendered by AnchorLayout.

// Configs below are used for all Components when rendered by BorderLayout.

// Configs below are used for all Components when rendered by BoxLayout.

// Configs below are used for all Components when rendered by FormLayout.

// Construct base tree

// Constructor

// Constructs a new dialog and opens it. Better to construct a new one everyt

// Consumes a specified amount of bytes from the buffered data.

// Consumes a specified amount of bytes or characters from the buffered data.

// Consumes a specified amount of characters from the buffered data.

// Container of the previous layer renderer can be used.

// Continuation byte

// Conver the blob to a binaryArray and then to a string.

// Convert

// Convert array to proper toolbar config

// Convert binary arrays to a string and prefix the string with

// Convert each char in bytes[] to a byte

// Convert key to integer if it is stringified

// Convert message to array, pad it, and join into 32bit blocks

// Convert string to WordArray, else assume WordArray already

// Convert to normal trFrom->trTo chars

// Convert to string

// Convert undefined values to null.

// Converts a buffer to a string to store, serialized, in the backend

// Cooley-Tukey algorithm for FFT

// Copy 0 bytes; we're done

// Copy mapping

// Copy one byte at a time

// Copy one word at a time

// Copy properties from require('buffer')

// Copy rest of the words

// Copy sourcesContent into SourceNode

// Copy sourcesContents of applied map.

// Copy static methods from Buffer

// Copyright 2000 softSurfer, 2012 Dan Sunday

// Copyright Joyent, Inc. and other Node contributors.

// Could use `inherits` module, but don't want to move from single file

// Count number of octets

// Count octets required to store length

// Count zeroes

// Country flags are comprised of two regional indicator symbols,

// Country flags: 4 code units (2 code points)

// Counts of chars in both positions

// Create a <script> element; its readystatechange event will be fired asynchronously once it is inserted

// Create a deferred object representing the current database operation.

// Create a four-byte string (length 2) since this code point is high

// Create a map associating each element to its current count

// Create a new _sourcesContents map if the property is null.

// Create a new module (and put it into the cache)

// Create actions from a response having status 200 must return pk

// Create altered use decoder if implicit is set

// Create an array of initialization states of the related localForages.

// Create bucket on demand.

// Create default initializer

// Create lookup table for `toString('hex')`

// Create new node.

// Create or set arrow

// Create our key/value table if it doesn't exist.

// Create possibly bigger array to ensure that it fits the number

// Create ripple

// Create root node.

// Create the regular expression

// Critical: critical conditions

// Crypto is kind of old and crusty.  Historically, its default string

// Currencies

// Current character is not part of the sequence.

// Current understanding of how to deal with Big5(-HKSCS) is in the Encoding Standard, http://encoding.spec.whatwg.org/#big5-encoder

// Currently in sync with Node.js lib/internal/util/types.js

// Curve configuration, optional

// Curve: A * X^2 + Y^2 = C^2 * (1 + D * X^2 * Y^2)

// Custom rendering Template

// Cyrillic

// D = a * A

// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR

// DATE BASICS

// DAY_

// DBs created with older versions of localForage will simply not have the blob type.

// DELETE /users/1.json

// DESTROY:  First check for removed records.  Records in this.removed are guaranteed non-phantoms.  @see Store#remove

// DOCUMENTED UNDER SPRINTF

// DOCUMENTED UNDER SSCANF

// D_FMT

// D_FMT // switched order of %m and %d; changed %y to %Y (C uses %y)

// D_T_FMT

// D_T_FMT // changed %T to %r per results

// Danger Will Robinson

// Database readiness (promise).

// Days, numeric

// Days, numeric, at least 2 digits with leading 0

// Debug: debug messages

// Debugging ygDragDrop events that can be overridden

// Decide how many code units make up the current character.

// Decode children

// Decode contained/encoded by schema, only in bit or octet strings

// Decode in chunks to avoid "call stack size exceeded".

// Decode root node

// Decode surrogate

// Decode tables: MBCS -> Unicode.

// Decoder chooses automatically from UTF-16LE and UTF-16BE using BOM and space-based heuristic.

// Decoder default can be changed: iconv.decode(buf, 'utf16', {defaultEncoding: 'utf-16be'});

// Decoder helpers

// Decoder state

// Decoding

// Default DB size is _JUST UNDER_ 5MB, as it's the highest size

// Default value

// Defaults to UTF-16LE, as it's prevalent and default in Node.

// Defer the clearInvalid so if BaseForm's collection is being iterated it will be called AFTER it is complete.

// Deferred operations on the database.

// Definite form

// Delay ensures that the focused element doesn't capture the event

// Deletes every item in the table.

// Delta normalisation inspired by

// Denormalize

// Deprecated - will be removed in 3.2.x

// Dequeue a deferred operation.

// Description of supported double byte encodings and aliases.

// Description of the favorite

// Deserialize data we've inserted into a value column/field. We place

// Detect free variable `module`

// Detect free variables `exports`

// Detect this here and don't shift in such cases.

// Detecting them is expensive and confusing to users, and Chrome 37-42

// Determine how much height is available to flex

// Determine how much width is available to flex

// Determine if a Component is usable as a form Field.

// Determine if the form group will be rendered horizontal

// Determine which suffix set to use based on forceUnit or useDecimalValues

// Differences:

// Digits

// Direct Child mode (/ or >)

// Direct actions have already been processed and therefore

// Direct alias to other encoding.

// Direct character or '&'.

// Disable effect if element has "disabled" property on it

// Disable right click

// Disabling the `fastpaths` option due to a problem with parsing strings as `.ts` in the pattern like `**/!(*.d).ts`.

// Distribute the original items into the columns

// Do not allow % in last char. class

// Do not allow % in last char. class:

// Do not cache `Buffer.isEncoding` when checking encoding names as some

// Do not override -- override loadRecords, onCreateRecords, onDestroyRecords and onUpdateRecords instead.

// Do only width calculations and apply those first, as they can affect height

// Does a simple `COUNT(key)` to get the number of items stored in

// Doesn't matter what the args are here.

// DomHelper spec

// Don't do anything if add isn't an object

// Don't download if the cell has an editor, just go on with the event

// Don't emit readable right away in sync mode, because this can trigger

// Don't handle errors here,

// Don't have enough

// Don't raise the hwm > 1GB

// Don't render anything for now, wait for the text.

// Don't run height calculations on flexed items

// Don't run width calculations on flexed items

// Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.

// Don't use 'blue' not visible on cmd.exe

// Don't use the generic action Updater if no records are selected

// Don't wait for itself...

// Done iterating this particular directory

// Double in extended coordinates

// Double lead surrogate found.

// DragDrop is using this as a sanity check for the initial mousedown

// Due to https://github.com/mpizenberg/elm-pep/issues/2, `this.originalPointerMoveEvent_`

// Duplex streams are both readable and writable, but share

// Duration

// E + F all elements with the tag F that are immediately preceded by an element with the tag E

// E = (X1 + Y1)^2 - A - B

// E = 3 * A

// E = C + D

// E = a * C

// E > F or E/F all direct children elements of E that have the tag 	

// E ~ F all elements with the tag F that are preceded by a sibling element with the tag E

// ECDH

// ECDSA

// ES6 symbol

// ESM COMPAT FLAG

// EUC-KR, KS_C_5601 and KS X 1001 are exactly the same.

// EXPORTS

// EXTERNAL MODULE: ./MFA/DeviceSelfServiceDialog.js

// EXTERNAL MODULE: ./TineBar/barItems/ExtAction.vue + 4 modules

// EXTERNAL MODULE: ./broadcastClient.js

// EXTERNAL MODULE: ./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js

// EXTERNAL MODULE: ./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js

// EXTERNAL MODULE: ./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js

// EXTERNAL MODULE: ./node_modules/@vue/shared/dist/shared.esm-bundler.js

// EXTERNAL MODULE: ./node_modules/@vueuse/core/index.mjs

// EXTERNAL MODULE: ./node_modules/async/dist/async.mjs

// EXTERNAL MODULE: ./node_modules/bootstrap-vue-next/dist/bootstrap-vue-next.mjs

// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./TineBar/TApplicationMenu.vue?vue&type=style&index=0&id=37d1590f&scoped=true&lang=scss

// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./TineBar/TMainMenu.vue?vue&type=style&index=0&id=a92e3e48&scoped=true&lang=scss

// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./TineBar/TineBar.vue?vue&type=style&index=0&id=7562ce9a&scoped=true&lang=scss

// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./TineBar/barItems/ColorSchemeSelector.vue?vue&type=style&index=1&id=663c8996&scoped=true&lang=scss

// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./TineBar/barItems/ColorSchemeSelector.vue?vue&type=style&index=2&id=663c8996&scoped=true&lang=scss

// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./TineBar/barItems/ColorSchemeSelector.vue?vue&type=style&index=0&id=663c8996&lang=css

// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/vue-loader/dist/index.js??ruleSet[1].rules[14].use[0]!./widgets/form/VMultiPicker/RecordsDisplayContainer.vue?vue&type=style&index=0&id=704bac89&scoped=true&lang=css

// EXTERNAL MODULE: ./node_modules/events/events.js

// EXTERNAL MODULE: ./node_modules/locutus/php/math/index.js

// EXTERNAL MODULE: ./node_modules/locutus/php/strings/index.js

// EXTERNAL MODULE: ./node_modules/luxon/build/cjs-browser/luxon.js

// EXTERNAL MODULE: ./node_modules/path-browserify/index.js

// EXTERNAL MODULE: ./node_modules/rbush/rbush.min.js

// EXTERNAL MODULE: ./node_modules/source-map/source-map.js

// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js

// EXTERNAL MODULE: ./node_modules/util/util.js

// EXTERNAL MODULE: ./node_modules/vue-loader/dist/exportHelper.js

// EXTERNAL MODULE: ./twingEnv.es6.js

// EXTERNAL MODULE: ./ux/form/FieldClipboardPlugin.js

// EXTERNAL MODULE: ./vue/components/TMenu.vue + 5 modules

// EXTERNAL MODULE: ./widgets/file/SelectionDialog.js

// EXTERNAL MODULE: ./widgets/form/AceField.js

// EXTERNAL MODULE: ./widgets/form/LocalizedLangPicker.js

// EXTERNAL MODULE: ./widgets/form/ModelPicker.js

// EXTERNAL MODULE: ./widgets/form/NumberableField.js

// EXTERNAL MODULE: ./widgets/form/RecordEditFieldTriggerPlugin.js

// Each grid row causes its own seperate show and hide.

// Each line is added as separate string.

// Each object in the arrays is of the form:

// Earlier IE may not support access by string index

// Easing functions

// Effect delay (check for scroll before showing effect)

// Effect duration

// Either `origin` or `origins` must be configured, never both

// Either `tileSize` or `tileSizes` must be configured, never both

// Either fulfill, reject or reject with error

// Either this is the first call, activity has stopped and we're at the

// Else use clientHeight/clientWidth

// Else, the node isn't attached to the document, which means the `getClientRects()`

// Emergency: system is unusable

// Emits a 'removeListener' event if and only if the listener was removed.

// Emoji with skin-tone modifiers: 4 code units (2 code points)

// Empty buffer means no match

// Empty template method

// Emulate crypto API using randy

// Enable the 3 lines below to set the same limits on string length as PHP does

// Encode children first

// Encode data itself

// Encode here now.

// Encode matching character

// Encode space before CRLF sequence to prevent spaces from being stripped

// Encode tables: Unicode -> DBCS.

// Encoder helpers

// Encoder is mostly trivial

// Encoder state

// Encoder uses UTF-16LE and prepends BOM (which can be overridden with addBOM: false).

// Encoding

// Encoding buffer.

// Encodings

// End is not allowed to be smaller

// Enough data, try updating

// Enqueue the deferred operation.

// Ensure `LazyWrapper` is an instance of `baseLodash`.

// Ensure locale data is available

// Ensure readable listeners eventually get something

// Ensure string.

// Ensure that the priv won't be bigger than n, otherwise we may fail

// Ensure the locale data we need is set up

// Ensure the loop is entered when path is empty.

// Ensure the sign of `-0` is preserved.

// Ensure we have our inner table to get cells to render into.

// Ensure wrappers are instances of `baseLodash`.

// Error object thrown in try...catch

// Error: error conditions

// Escape characters that can't be included in string literals.

// Estimate point resolution by transforming the center pixel to EPSG:4326,

// Etc/GMT+8 -> -480

// Even if the user accepts the prompt to use

// EventEmitters, we do not listen for `error` events here.

// EventTarget API

// EventTarget does not have `error` event semantics like Node

// Every written chunk gets output as-is.

// Everything else in the universe uses 'utf8', though.

// Ex overwrite this.preventDefault = () => true is valid. Could be a TS issue

// Exactly zero or one of *Src is not finite

// Except base64 encoder, which must keep its state.

// Execute the module function

// Existing node.

// Exit early for strings to avoid a performance hit in some environments.

// Exit early if metadata can't be merged.

// Expected `controls` to be an array or an `import("./Collection.js").Collection`

// Expected `interactions` to be an array or an `import("./Collection.js").Collection`

// Expected `overlays` to be an array or an `import("./Collection.js").Collection`

// Export Node.js internal encodings.

// Export for testing

// Export lodash.

// Exported mostly for testing purposes, use plain name instead

// Exports

// Expose Lodash on the global object to prevent errors when Lodash is

// Expose `MapCache`.

// Ext only implementation is very slow!

// Ext.Layer.prototype.hideAction = Ext.Layer.prototype.hideAction.createSequence(function() {

// Ext.Layer.prototype.showAction = Ext.Layer.prototype.showAction.createSequence(function() {

// Ext.dd.DDTarget.prototype = new Ext.dd.DragDrop();

// Ext.util.MixedCollection

// Extend the buffer with leading zeroes

// Extended mode, copy masked part

// Extension does not match, so our result is the entire path

// F = E + D

// F = E^2

// F11

// FF     : "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)" -- value in parentheses always gives the correct timezone

// FF 105 on linux always opens new windows in fullscreen

// FF doesn't like Promises (micro-tasks) and IDDB store operations,

// FIXME add offset and end to ol/geom/flat/transform~transform2D?

// FIXME need to handle large thick features (where pixel size matters)

// FIXME only call if view has changed

// FIXME should we really return at least two points anyway?

// FIXME should we use tilesToDrawByZ instead?

// FIXME test, especially polygons with holes and multipolygons

// FIXME this doesn't really protect us against further calls to draw*Geometry

// FIXME: restrictedTo contains the combobox _label_ - maybe a problem of the store definition?

// FIXME: should be the intersection point between the lines:

// FORMAT PRESETS

// FORWARD

// Fade out ripple after delay

// Failure

// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.

// Fallback, but not a true polyfill

// Fast case

// Fast case - exact division

// Fast case, write everything using _writev()

// Fast case: bit is much higher than all existing words

// Fast forward

// Fast length reduction

// Fast path: If `val` fits into a single byte, use that numeric value.

// Faster (in FF) than type checking

// Fatal error conditions

// Fatal error: Allowed memory size of n bytes exhausted (tried to allocate m bytes)

// Favorite Checkbox

// Fedor, you are amazing.

// FileReader bug: https://code.google.com/p/chromium/issues/detail?id=447836

// Fill is a pattern or gradient - align it!

// Fill the string into a ArrayBuffer.

// Filter children

// Filter children and args

// Filter out the util module, it's inspect function is special

// Filter out tiles at higher zoom levels than the current zoom level, or that

// Final avail height calc

// Final avail width calc

// Final message update

// Finally, search either indexOf (if dir is true) or lastIndexOf

// Find Q and S, that Q * 2 ^ S = (P - 1)

// Find Round(`this` / `num`)

// Find `this` % `num`

// Find `this` / `num`

// Find d and s, (n - 1) = (2 ^ s) * d;

// Find exact position of element

// Find length of limb in base

// Find mappings for the "sourceFile"

// Find max in the i-th column (ignoring i - 1 first rows)

// Find roots of for x^2 + x + 1 in F

// Find the closest feature using branch and bound.  We start searching an

// Find the longest segment of the horizontal line that has its center point

// Find the section containing the generated position we're trying to map

// Finde das richtige Tab

// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,

// Fire an onpopstate event manually since pushing does not obviously

// Fire the drag end event for the item that was dragged

// Firefox 3 canonicalizes DDA to undefined when it's not accessed directly

// First check if there is a new line in between.

// First chunk is a perfect match.

// First element of chunk is the hex mbcs code where we start.

// First phase

// First, add the SubscriptionDefinition to the channel list

// First, set the the Panel's body width.

// Fix bug caused by this: https://bugs.webkit.org/show_bug.cgi?id=13343

// Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications

// Flag the module as loaded

// Following are from nl_langinfo() or http://www.cptec.inpe.br/sx4/sx4man2/g1ab02e/strftime.4.html

// For IE11 support

// For UTF-16LE we do not explicitly append special replacement characters if we

// For UTF-8, a replacement character is added when ending on a partial

// For a details element with a summary, the summary element gets the focus

// For cases like 'first argument'

// For clarity, we pass NaN for offsetX, offsetY, width and height, which will be computed at

// For detailed explanations, see http://web.archive.org/web/20031128125047/http://www.uwm.edu/cgi-bin/IMT/wwwman?topic=scanf%283%29&msection=

// For example: from='/'; to='/foo'

// For example: from='/foo'; to='/'

// For example: from='/foo/bar'; to='/foo/bar/baz'

// For example: from='/foo/bar/baz'; to='/foo/bar'

// For example: https://github.com/Polymer/polymer-bundler/pull/519

// For lambda functions, var_export() outputs such as the following:

// For now when you opt-in to autoDestroy we allow

// For old IE

// For some reason typeof null is "object", so special case here.

// For the replay group, we need an extent that intersects the real world

// Force coercion to uint32. This will also coerce falsey/NaN values to 0.

// Force redgomery representation when loading from JSON

// Format indicated a percent literal, but not actually present

// Found. Write it.

// Four or more are not supported for CESU-8.

// Fractional digits only for money defaults?

// Frame code as the function body.

// From http://stackoverflow.com/questions/14967647/ (continues on next line)

// Full-blown Unicode including non-Basic-Multilingual-Plane characters

// Fullwidth Forms

// GB18030 is an algorithmic extension of GBK.

// GBK (~22000 chars) is an extension of CP936 that added user-mapped chars and some other.

// Garbage collection - uncache elements/purge listeners on orphaned elements

// Gecko hack, see: https://bugzilla.mozilla.org/show_bug.cgi?id=232791#c8

// Generage random bytes until a number less than n is found.

// Generalized Greg Maxwell's trick

// Generally 3M + 4S or 2M + 4S

// Generate a random number greater than or equal to start and less than stop.

// Generate the column configs with the correct width setting

// Generate the relative path based on the path difference between `to`

// Generated by CoffeeScript 2.4.0

// Generated column.

// Generated data for sbcs codec. Don't edit manually. Regenerate using generation/gen-sbcs.js script.

// Generated on Tue Dec 16 2014 12:13:47 GMT+0100 (CET) by Charlie Robbins, Paolo Fragomeni & the Contributors (Using Codesurgeon).

// Generic flexbox .col (xs)

// Get DataReader read-back a response-object to pass along to exception event

// Get NAF form

// Get all rendered items to lay out.

// Get basis vectors, used for balanced length-two representation

// Get character; suppresses skipping over whitespace!

// Get click coordinate and element width

// Get folder name to final container

// Get integer portion

// Get non-dir info

// Get the connection or open a new one without upgrade.

// Get the current context of the database;

// Get the current location of the drag element, this is the

// Get the next highest power of 2 to prevent increasing hwm excessively in

// Get the root of character tree according to first character of the sequence.

// Global attributes allowed on any supplied element below.

// Go horizontally

// Go one further, since one of the "characters" is part of a surrogate pair

// Go to next trie node.

// Go vertically

// Greedy match

// H = (c * Z1)^2

// H = Z1^2

// HACK: IE hack to see if button was released outside of window. */

// HELPER FUNCTIONS

// Had to add Check for XmlReader, #isData returns true if root is an Xml-object.  Want to check in order to re-factor

// Handle complete words

// Handle invocations in a tight loop.

// Handle quota exceeded error

// Handle string cases:

// Handle the residue

// Hangul Jamo init. consonants

// Hangul Syllables

// Hash final blocks

// Hash for function for DRBG

// Height calculations

// Helper

// Helpful info at http://ftp.gnu.org/pub/pub/old-gnu/Manuals/glibc-2.2.3/html_chapter/libc_7.html

// Here we go...

// Here we pass in the current function to select to indicate the direction we're moving

// Here's how this works:

// Hide the linked element before the move to get around a Safari

// High surrogate (could change last hex to 0xDB7F to

// High surrogate (could change last hex to 0xDB7F to treat

// High surrogate (could change last hex to 0xDB7F to treat high private surrogates as single

// Historically, SourceMapConsumer did not take the sourceMapURL as

// Hours, numeric

// Hours, numeric, at least 2 digits with leading 0

// However, even in such a pathological case, only a single written chunk

// However, if we're not ended, or reading, and the length < hwm,

// However, some cases require setting options to different

// I know, I KNOW. The alternative was very expensive perf & time-wise

// I really want to avoid writing a BCP 47 parser

// I sought the opinion of several other devs. We all traveled

// I think this is right

// I want this lib to be compatible with nearly any

// I'm just going to ignore that

// ID Selector

// IE

// IE     : "Thu Oct 25 17:06:37 PDT 2007" -- (American system setting) look for 3-4 letter timezone abbrev

// IE     : "Thu Oct 25 22:54:35 UTC+0800 2007" -- (Asian system setting) look for 3-4 letter timezone abbrev

// IE 11 dosn't respect the style :-(

// IE 8 does not throw here

// IE 8 has a broken defineProperty

// IE 8 has a broken gOPD

// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')

// IE < 9?

// IE does not have builtin `{ once: true }` support so we

// IE doesn't make error fields non-enumerable

// IE only adds stack when thrown

// IE returns elements with the 'name' and 'id' attribute.

// IE runs the same speed using setAttribute, however FF slows way down

// IE support, based on a concept by Erik Arvidson ...

// IE support...

// IE won't copy toString using the loop above

// IE7 repaint bug on initial show

// IE8 complains that _load is null or not an object

// INFO

// ISO and SQL parsing

// ISO duration parsing

// ISO-8601 -- GMT format

// If --no-deprecation is set, then it is a no-op.

// If LSB(V_i) is 1, V_i+1 = (V_i >> 1) ^ R

// If Store is RESTful, so too is the DataProxy

// If _read pushed data synchronously, then `reading` will be false,

// If `variable` is not specified wrap a with-statement around the generated

// If a CardLayout, the active item set

// If a Container, its already destroyed by the time it gets here.  Remove any references to destroyed fields.

// If a char was set before - make it a single-char subsequence.

// If a custom element has an explicit negative tabindex,

// If a result was found, parse it from the serialized

// If a single form Field, add it

// If a single form Field, remove it

// If aSourceFile is omitted, we will use the file property of the SourceMap

// If both pairs are regional indicator symbols, take 4

// If bytes.length is odd, the last 8 bits must be ignored (same as node.js)

// If empty string!

// If filling available space, all Panels flex.

// If has modified constructor

// If has modified prototype

// If input already have parent just pass through

// If it's a string we convert it to an Element before proceeding.

// If it's an Element we append the viewport element to it.

// If it's different, we're in a hole time. The offset has changed, but the we don't adjust the time

// If it's not now an Element we remove the viewport from the DOM.

// If localforage is ready and fully initialized, we can't set

// If moving within the current target, and it does not have a new tip, ignore the mouseout

// If no character left in expression

// If no collapsed:false Panels found, make the first one expanded.

// If no label exists, don't use in grid

// If node is hidden, select the next node in whatever direction was being moved in.

// If not a boolean, ensure that value is null

// If not, change the ts by the difference in the offset

// If only one child Panel is allowed to be expanded

// If only one child Panel may be expanded, then intercept expand/show requests.

// If our lower bound is less than our upper bound, we (1) partition the

// If outer miter is over the miter limit the inner miter may reach through the

// If possible, transmit data using jsonData || xmlData on Ext.Ajax.request (An installed DataWriter would have written it there.).

// If rootNode is not a shadow root, it won't have a host, and so rootNode should be the

// If rootNode is shadow root, it'll have a host, which is the element to which the shadow

// If rs is NOT an array but data IS, see if data contains just 1 record.  If so extract it and carry on.

// If set back

// If setEncoding(null), decoder.encoding equals utf8

// If so, offset didn't change and we're done

// If squaredTolerance is negative or if we know that simplification will not

// If success === false here, exception will have been called in DataProxy

// If that gives us the local time we want, we're done

// If the 'end' option is not supplied, dest.end() will be called when

// If the _sourcesContents map is empty, set the property to null.

// If the body, use Ext.lib.Dom

// If the collapsing Panel is the only expanded one, expand the following Component.

// If the currently focused is removed then browsers will move focus to the

// If the cursor is over the object, it wins.  If the

// If the curve is endomorphic, precalculate beta and lambda

// If the database is accessed again later by this instance, the connection

// If the extent crosses the date line, we load data for both edges of the worlds

// If the method has no parameters, ignore the paramOrder/paramsAsHash.

// If the next pair make a Fitzpatrick skin tone

// If the only part of the root that is left is the scheme (i.e. http://,

// If the options argument is an object, we use it to set values.

// If the store is new then increment the version (if needed).

// If the transaction aborts now its due to not being able to

// If the user did the mouse up outside of the window, we could

// If the user unpiped during `dest.write()`, it is possible

// If the user uses them, then switch into old mode.

// If the version is not the default one

// If the writable side ended, then we're ok.

// If there is an expanded item, all others must be rendered collapsed.

// If there is no 'error' event listener then throw.

// If there is only one item, it wins

// If this happens, delete one tracked pointer. If there is more

// If this is our first dot, mark it as the start of our extension

// If tick interval is not defined, it is effectively 1 pixel,

// If toolbar is hidden, there is no component to update!

// If url is already wrapped in quotes, remove them

// If v might be a record, we try to select it and if not in store we create it in relation store

// If we are allowing multi, and the "toCollapse" component is NOT the only expanded Component,

// If we are forcing a layout, do so *before* we hide so elements have height/width

// If we don't have a value that is part of a surrogate pair, or we're at

// If we don't know, then assume that we are waiting for one.

// If we have auto-widthed it, get the resulting full offset width so we can size the Toolbars to match

// If we have hasExpanded set, we've already done this

// If we have no ownerCt, render and size all children

// If we have nothing in the buffer, then we want to know

// If we have valid phantoms, create them...

// If we haven't marked this string as being specially serialized (i.e.

// If we must fill available space, a collapse must be listened for and a sibling must

// If we reached a path separator that was not part of a set of path

// If we return false, then we need a drain event, so set that flag.

// If we tried to read() past the EOF, then emit end on the next tick.

// If we were sized during the time we were hidden, layout.

// If we're asking for more than the current hwm, then raise the hwm.

// If we're destroying, we don't need to recurse since it will be called on each child node

// If we're executing here, the action is probably "load".

// If width and referenceWidth are the same, then the fallback was used

// Ignore non-index properties.

// Ignores initial zeroes, unlike %i and parseFloat()

// Ignores initial zeroes, unlike %i and parseInt()

// Image loads are expensive and a limited resource, so try to use them

// Immediately Preceding mode (+)

// Immediately after `j` is incremented in this loop, the following hold

// Implement an async ._write(chunk, encoding, cb), and it'll handle all

// Implementation is stable, i.e. push time is considered for equal priorities

// Implements the default empty TriggerField.onTriggerClick function

// Implements the default empty TriggerField.onTriggerClick function to display the DatePicker

// Important because reset is being called on both the group and the individual items.

// Important for laying out Components

// In Firefox 4-22, defining length on an array throws an exception.

// In Firefox when you Tab out of an iframe the Document is briefly focused.

// In IE some elements don't have setAttribute

// In a transform stream, the written data is placed in a buffer.  When

// In addition to the above conditions to keep reading data, the following

// In case cell has no editor, just assume a download is intended

// In case of duplex streams we need a way to detect

// In order to make Suspense tree-shakable, we need to avoid importing it

// In other cases, the parent container is not actually used so we

// In some cases, the event is not triggered by the current element

// In the "nopromises" build this will just throw if you don't have

// In theory there could be aribitrary day periods. We're gonna assume there are exactly two

// In this case just return it, since we already have a reference to it

// In this case, we need to parse the string and use it in the output of the original pattern.

// In true node style we process the callback on `nextTick` with all the

// In-place Multiplication

// In-place division by number

// Include content inside buttons

// Include content inside links

// Included in count presumably?

// Incomplete surrogate pair - only lead surrogate found.

// Incomplete surrogate pair - only trail surrogate found.

// Increment at the bit position in-line

// Indefinite form

// Indefinite length or overflow

// Indefinite length... find END tag

// IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we

// Informational: informational messages

// Initial 0x not necessary here

// Initial Permutation

// Initial layout completed

// Initial values

// Initialize IndexedDB; fall back to vendor-prefixed versions

// Initialize as zero

// Initialize quotient

// Initialize stuff.

// Initialize the connection process only when

// Initializer's prototype is the subtype object

// Insert new dimension

// Inspired by stringToUtf8ByteArray() in closure-library by Google

// Instantiate Hmac_DRBG

// Instead, we'll do this:

// Integer with base detection (Equivalent of 'd', but base 0 instead of 10)

// Integer, meaning increasing sequence starting with prev character.

// Intermediate hash value

// Invalid dates are coerced to `NaN`.

// Invalid extent or geometry provided as `geometry`

// Invalid flags

// Invalid ranges are not set to a default, so can range check early.

// InvalidStateError while creating a transaction).

// Invert number in the field F(num)

// Invoke the leading edge.

// Is this a valid, different card?

// It also means that even window.getComputedStyle(node).display will return `undefined`

// It is also done this way as a slight performance increase instead of using a

// It is an ugly unfortunate mess of history.

// It is forgiving, closer to standard UTF-7 (for example, '-' is optional at the end).

// It is known.

// It is possible for the path to be above the root. In this case, simply

// It might be the case that only 1 of the points is infinite. In this case

// It seems a linked list but it is not

// It should not recurse.

// It turns out that some (most?) JavaScript engines don't self-host

// It'll be called only once (for each different options object).

// It's possible for the target to no longer be in the page if it has been removed in an

// Items do not have individual borders

// Items have been hidden an possibly rearranged, we need to get the container size again.

// Iterate over all items in the store.

// Iterate over all items stored in database.

// Iterate over current buffer to convert already stored Buffers:

// Iterate to stop any buffered/delayed events

// Iterate until either we run out of mappings, or we run into

// J +- J

// J +- P

// J = E - 2 * H

// J = F - 2 * H

// JIS X 0201 - Single-byte encoding of ASCII + ¥ + Kana chars at 0xA1-0xDF.

// JIS X 0208 - Main set of 6879 characters, placed in 94x94 plane, to be encoded by 2 bytes. 

// JIS X 0212 - Supplementary plane of 6067 chars in 94x94 plane. 1990. Effectively dead.

// JIS X 0213 - Extension and modern replacement of 0208 and 0212. Total chars: 11233.

// JIT'd JS is rather slow *and* loses JIT type information, resulting in

// JavaScript style would be to return Number.NEGATIVE_INFINITY

// Just add the character unescaped

// Just for compatibility with Short curve

// Just get the locale

// Just like this:

// Just truncate output

// K = 0x1000003d1 = [ 0x40, 0x3d1 ]

// K = 0x13

// Kahn's algorithm

// Keep Unicode combining characters together with the character preceding

// Keep hard line breaks intact; CRLF sequences

// Keep text upright

// KeyPair(ec, { priv: ..., pub: ... })

// LANGUAGE env. var.? (e.g., show German if French is not available)

// LIFO order

// Last coordinate equals first or only one point to append:

// Lastly, append the rest of the destination (`to`) path that comes after

// Latin Extended-A block.

// Latin-1 Supplement block.

// Layer opacity must be a number

// Lazily create decoder

// Lazily create encoder

// Lazy load all encoding definitions.

// Leading byte

// Leading zeroes

// Legacy `process.binding('util')` for Node.js < 10.

// Legacy aliases to convert functions

// Len is always even.

// Length is the combined lengths of all the buffers in the list.

// Levenshtein distance

// Leverage the exponentiation by squaring algorithm for a faster repeat.

// Lines are stored 0-based

// Listeners are required here to catch bubbling events from children.

// Load & create GB18030 tables when needed.

// Load GB18030 ranges.

// Load Node primitive extensions.

// Load entry module and return exports

// Load extensions in Node. All of them are omitted in Browserify build via 'browser' field in package.json.

// Load streaming support in Node v0.10+

// Load tables.

// Locale not found

// Locale.Gettext.PO

// Long form

// Look up the keys of the object.

// Lookup in current trie node.

// Loop through the targeted items

// Low surrogate

// Low surrogate (0xDC00 <= code && code <= 0xDFFF)

// Lower case the entire string.

// M = 3 * XX + a

// M = 3 * XX + a; a = 0

// M$ IE has not online/offline events yet

// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN

// MISC

// MIT License

// MON_

// MRU container index must be >=0 otherwise we wouldn't have it as an MRU node...

// MRU tab index MAY not be found if the MRU node is focusable but not tabbable

// MS Edge pretends to be Chrome 42:

// Main source: https://www.w3.org/TR/encoding/#gbk-encoder

// Maintain offsets if necessary

// Make "sourceFile" relative if an absolute Url is passed.

// Make Array say that they are Array

// Make RegExps say that they are RegExps

// Make a list of key names

// Make copies

// Make dates with properties first say the date

// Make error with message first say the error

// Make functions say that they are functions

// Make it sure the element has either disabled property, disabled attribute or 'disabled' class

// Make prev buf overlap a little to make it easier to slice later.

// Make sure our error handler is attached before userland ones.

// Make sure that all lines are horizontal or vertical

// Make sure that everything is on pixel boundaries

// Make sure that loaded fonts are picked up by Safari

// Make sure the checkboxes get properly set when changing groups

// Make sure the linked list only shows the minimal necessary information.

// Make sure we add a "../" for each component we removed from the root.

// Make sure we only access the accessor once as required by the spec

// Manage the tile queue

// Manually added data to be used by sbcs codec in addition to generated one.

// Manually shove something into the read() buffer.

// Map

// Map minified method names to their real names.

// Mappings do not contain a field for the last generated columnt. We

// Mappings end at eol

// Mark each child node with a nodeIndex skipping and

// Mark imbalanced braces and brackets as invalid

// Mark that a method should not be used.

// Marker for special handling inside the renderer. We are not using a ===

// Math.LN10

// Math.PI

// Math.pow(`this`, `num`)

// Max height for align

// Maybe aSource is an absolute URL as returned by |sources|.  In

// MenuNav is a private utility class used internally by the Menu

// Microseconds, numeric

// Microseconds, numeric, at least 6 digits with leading 0

// Microsoft's CP936 is a subset and approximation of GBK.

// Might be overrided

// Mimic the constructor's `return` behavior.

// Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars.

// Minimum supported duration is 1 second

// Minus is absorbed after base64.

// Minus may be absorbed after base64.

// Minutes, numeric, at least 2 digits with leading 0

// Mode local means, that the record is not supposed to be loaded from server and saved to server.

// Modern browsers

// Module

// Montgomery method engine

// Montgomery points only have an `x` coordinate.

// Months, numeric

// Months, numeric, at least 2 digits with leading 0

// More LC_TIME

// Most of the time, the content has ASCII chars (U+00**), but the opposite (U+**00) is uncommon.

// Move PURE marker to new line to workaround compiler discarding it

// Moving within the row should not hide the tip.

// Mozilla always adds an entry to the history

// Multi-octet tag - load

// Multibyte codec. In this scheme, a character is represented by 1 or more bytes.

// Multiply `this` by `num`

// Multiply employing FFT

// Must define a dummy api with "read" action to satisfy DataProxy#doRequest and Ext.data.Api#prepare *before* calling super

// Must force callback to be called on nextTick, so that we don't

// N * Q + Q = ((N / 2) * Q + Q)) + (N / 2) * Q

// N * Q + Q = 2 * ((N / 2) * Q + Q)

// N * Q = ((N / 2) * Q + Q) + ((N / 2) * Q)

// N * Q = 2 * ((N / 2) * Q + Q))

// N = 1 => 6M + 6S + 9A

// NB: mutates parameters

// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,

// NOTE "+1" to ensure ISO week!

// NOTE (from Ext docs): The default value used when a Record is being created by a Reader when the item referenced by the mapping does not exist in the data object (i.e. undefined). (defaults to "")

// NOTE existingkeyfields might come from an other app!

// NOTE quickAddField might set more data at once

// NOTE reader.readResponse does not currently return Ext.data.Response

// NOTE:  - we have about 80 chars overhead (url, paramnames etc) in each request

// NOTE:  records are left marked dirty.  Do we want to commit them even though they were not updated/realized?

// NOTE: '+1' is to ensure we display the ISO8601 based week where weeks always start on monday!

// NOTE: 'beforeunload' in Chrome does not work and there is no event to detect window moves,

// NOTE: 'this' is moduleTreePanel here (no scope provided)

// NOTE: (qj / bhi) is (0x3ffffff * 0x4000000 + 0x3ffffff) / 0x2000000 max

// NOTE: - reloads/redirects cancel all open xhr requests from the browser side

// NOTE: 1) `mode` can be set to `mod` to request mod only,

// NOTE: Arguments is not always a real Array

// NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out

// NOTE: Date.parseDate is an ext augmentation, should not be necessary for our ISO date format

// NOTE: Even though this tests that the node's client rect is non-zero to determine

// NOTE: FF scales windows itself -> no need for adoption

// NOTE: Greg Maxwell's trick, inspired by:

// NOTE: IE is as always pain in the ass! cross window issues prohibit serialisation of state objects

// NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible

// NOTE: If the trap is _inside_ a shadow DOM, event.target will always be the

// NOTE: Important as we are creating point in Base.call()

// NOTE: JSON fields do not store a JSON strings - they store js strings!

// NOTE: Positive tabindexes are only properly supported in single-container traps because

// NOTE: Server can't handle this properly, see {tine20/vendor/zendframework/zendframework1/library/Zend/Filter/Input.php:998}

// NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable

// NOTE: These type checking functions intentionally don't use `instanceof`

// NOTE: Tine.data.RecordProxy is implicitRPC atm.

// NOTE: We are ignoring errors here, to let parser continue with other

// NOTE: We must consider case where node is inside a shadow DOM and given directly to

// NOTE: `fallbackFocus` option function cannot return `false` (not supported)

// NOTE: `hint` is a lowest bit before trailing zeroes

// NOTE: a lot of models don't have a default favorite defined...

// NOTE: always trigger an OR condition, otherwise we could lose inactive FilterPanels

// NOTE: an Ext.Action can't be extended :-(

// NOTE: app might be from owningApp whereas appName ist the models app

// NOTE: as this.fieldStore is a shared store we need to clear the filter before we use it,

// NOTE: at this stage it is known that the top bit is set

// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,

// NOTE: can't dd if not selectable

// NOTE: decimals might come from bytes

// NOTE: def is equal to mc, but we can fake it in legacy models

// NOTE: denormalized records are depended records, so we need to send all data (or empty string to delete)

// NOTE: don't use filterData.id here, it's a ext-comp-* which comes from a different session

// NOTE: e.g. Sales_Model_Document_Abstract does not know it's origin yet

// NOTE: filename is missing in fm_path

// NOTE: focus() API does not trigger focusIn event so set MRU node manually

// NOTE: getValue get's overwritten e.g. in filterToolbar

// NOTE: gets overwritten with Record.getDefaultData (see below) for autogenerated models in appStarter

// NOTE: gird might have no action toolbar (not initialized, so we can't use this.getActionToolbar())

// NOTE: grid doesn't update selections itself

// NOTE: if `extended` is present - it will be filled with destroyed bits

// NOTE: if hierarchy ends with a "/" name gets appended otherwise last part of hierarchy is the display name

// NOTE: if setValue got called in the valueField internally, value is arguments[1] (createCallback)

// NOTE: if we don't release the max scale here, we get wired layout effects

// NOTE: if we have tabbable nodes, we must have focusable nodes; focusable nodes

// NOTE: in case we are rendered after record was load

// NOTE: in editor grids we need a type based certain min-width

// NOTE: in editorGrids we need the data to show render the title

// NOTE: in single select mode, a node click on a selected node does not trigger 

// NOTE: in some wired cases the state is 0 - and the user has no option to resize it

// NOTE: it should be enough to manage on contentType level?

// NOTE: it's a race with some internal FF process we try to resize as soon as possible

// NOTE: it's hard to compute height here as enableTbar, hideHeaders is calculated on runtime

// NOTE: it's possible that a group has no tabbable nodes if nodes get removed while the trap

// NOTE: keydown & keypress have different keyCodes!

// NOTE: lo is 27bit maximum

// NOTE: local mode saves again (and again...)

// NOTE: minWidth gets not evaluated by ext - it's just a hint for consumers!

// NOTE: mind cross window issues. app might be initialised in mainWindow but popup has not yet loaded all code/models

// NOTE: mixed into QuickaddGridPanel

// NOTE: multipoint gesture events have no xy, so we need to grab it from gesture

// NOTE: need to hide soft-keybord before relayouting to preserve layout

// NOTE: no type match id's might be int or string and should match anyway!

// NOTE: password fields can not be copied

// NOTE: postal.subscriptions are per window, we run in main window only!

// NOTE: potential bug if @param: this.pack is anything other than `start`

// NOTE: publicKeyCredential is a browser object which can't be JSON.serilized

// NOTE: quickaddRecord is used for defaultData handling

// NOTE: rawValue is updated before this event

// NOTE: record might be existing as it was added to a cloneStore

// NOTE: removeMode got introduced on ext3.1 but is not docuemented

// NOTE: removeMode got introduced on ext3.1 but is not documented

// NOTE: requiredGrant is UI only property

// NOTE: resizeTo includes window decoration (in contrast to window.open)

// NOTE: safari (and maybe other slow browsers) need some time till all events from initial preferences

// NOTE: same order as `containers` and `containerGroups`, but __not necessarily__

// NOTE: search `containerGroups` because it's possible a group contains no tabbable

// NOTE: separate `:not()` selectors has broader browser support than the newer

// NOTE: server side translations have problems with quotes. Preferences with quotes

// NOTE: shared with Tine.widgets.grid.QuickaddGridPanel

// NOTE: skipHistory was second param. don't know if this is used somehwere

// NOTE: some browsers require user interaction (like click events)

// NOTE: some prefs have no default and only one option (e.g. std email account)

// NOTE: splitEls absolutely positioned

// NOTE: success callback (iframe load) is not triggered with content-disposition: 'attachment' 

// NOTE: the fallbackFocus option does not support returning false to opt-out

// NOTE: the target may also be the container itself if it's focusable

// NOTE: this adapter can't be build individually as begin/end files have invalid syntax!

// NOTE: this can be removed when all instances of filterplugins are

// NOTE: this could also be solved withe the useGrant method!

// NOTE: this defaults overwrites configs in already instanciated configs -> see docu

// NOTE: this editor depends and the className _data_ and therefore can't be assigned statically

// NOTE: this field default is meant for doctrine on server

// NOTE: this has to be done before applyState!

// NOTE: this is a cruid method to create some kind of singleton...

// NOTE: this is the "History" panel (_not_ the "Notes" panel)

// NOTE: this method is mixed in Tine.Filemanager.NodeGridPanel

// NOTE: this would otherwise delete the record if a record proxy exists!

// NOTE: ui config overwrites db config

// NOTE: update event in local mode should have resolved data (like in remote mode)

// NOTE: value is always an array representing a filterGroup with condition AND (server limitation)!

// NOTE: visibility will be `undefined` if node is detached from the document

// NOTE: we buffer to prevent duplicate events if touch device has a pointer too. 300ms is the default interval of hammerjs

// NOTE: we can't use export / import syntax as es6 modules require strict mode and this code can't cope with it

// NOTE: we check this regardless of `displayCheck="none"` because this is a

// NOTE: we copy shared config into a new object to avoid "static" properties

// NOTE: we don't blur the element in the UI as it looks ugly to loose focus class

// NOTE: we don't expand here any longer - macos and win don't do it either

// NOTE: we don't handle add action for the moment!

// NOTE: we don't have a complete list of states here... we only "know" the state which are saved so far.

// NOTE: we need to defer as legacy apps init filter toolbar after mainscreen

// NOTE: we need to have this in the instance - otherwise we'd overwrite the prototype

// NOTE: we need to preserve original modelName.

// NOTE: we need to wait until quickadd handlers have run :-/

// NOTE: we only load records with id from remote, new records (id === 0/null/undefined) are local

// NOTE: we should somehow keep the state if user expands again -> seams hard

// NOTE: we skip grant update for records without grantsPath

// NOTE: we sometimes lose this.list (how?). prevent error by checking existence.

// NOTE: we use gettext tooling for template selection

// NOTE: we use the original models in client which don't have the original_id property

// NOTE: we want to flag colorful emojis only, therefore we can't use the emoji-regex lib

// NOTE: we're dealing with relations - we don't want to have the relation of the relations!

// NOTE: when a file got downloaded via url (CORS/xhr2) we don't have a input here

// NOTE: when communication is lost, we can't create a nice ext window.

// NOTE: with stringify and parse we get rid of the proxies

// NUMBERS AND STRINGS

// Naive implementation, but it works because CESU-8 is especially easy

// Naive implementation.

// Names are only allowed to be alnum

// Need to add 2 to ensure we leave enough space

// Need to change any of these for English as opposed to C?

// Need to repaint for IE, otherwise positioning is broken

// Needs special escaping

// Negative limit

// Never buffer initial layout

// New line encoded data starts with number of bytes encoded.

// New record of another app

// Next, add the SubscriptionDefinition to any relevant existing cache(s)

// No BOM found. Try to deduce encoding from initial content.

// No `justify` support for line placement.

// No apostrophe at beginning unless allowed in charlist (or locale)

// No decimal or fractional digits

// No efficient endomorphism

// No error code for this since it is a Warning

// No hyphen at beginning or end unless allowed in charlist (or locale)

// No implementation for CRUD in MemoryProxy.  Assumes all actions are 'load'

// No kinetic as soon as more than one pointer on the screen is

// No more remaining code, continue

// No need to hide collapsedEl: sizes of collapsedEl set to @param box, which

// No need to verify that "this.length <= MAX_UINT32" since it's a read-only

// No operation performed.

// No-op

// Node allows for non-padded base64 strings (missing trailing ===), base64-js does not

// Node converts strings with length < 2 to ''

// Node strips out invalid characters like \n and \t from the string, base64-js does not

// Node takes equal signs as end of the Base64 encoding

// Node v0.8 doesn't have this method.

// Node's code seems to be doing this and not & 0x7F..

// Node.js 0.10 has enumerable non-index properties on buffers.

// Node.js >= 4.5.0

// Node.js LazyTransform implementation, which has a non-trivial getter for

// Node.js or Web worker with no crypto support

// Non `Object` object instances with different constructors are not equal.

// Non form fields don't have getItemCt, apply it here

// Non-BMP characters (represented by surrogate pairs): 2 code units

// Non-IE browsers return '' when the address bar shows '#'; Director's logic

// Non-alphabetic chars.

// Non-direct character

// Non-direct chars are encoded as "+<base64>-"; single "+" char is encoded as "+-".

// Non-greedy match

// Normalize byteOffset

// Normalize byteOffset: negative offsets start from the end of the buffer

// Normalize coordinates

// Normalize signs

// Normalize the path

// Normalize val

// Normally IE won't like `.delete()` and will insist on

// Not ``this`` with ``width`` bitwidth

// Not available in nl_langinfo()

// Not supported - couldn't distinguish from other integers

// Not supported by iconv, not sure why.

// Not supported in PHP sscanf; the argument is treated as an integer,

// Not thread-safe; temporarily set to true

// Not to be confused with the flag by the same name used in Layouts.

// Not used @see {Tine.widgets.customfields.FilterModel.prototype.getCustomfieldFilters(this.recordClass)}

// Note PopupWindows are identified by name, whereas Ext.windows

// Note that array_slice() will reorder and reset the ***numeric*** array indices by default. [...]

// Note that this may be asynchronous, or synchronous.  Yes, it is

// Note:  Up until this point we've been dealing with 'action' as a key from Ext.data.Api.actions.

// Note: 0 is a valid value, means "don't call _read preemptively ever"

// Note: 0 is a valid value, means that we always return false if

// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:

// Note: The comments on the `throw` lines are intentional, they show

// Note: UTF16-LE (or UCS2) codec is Node.js native. See encodings/internal.js

// Note: cannot use `length < K_MAX_LENGTH` here because that fails when

// Note: currentGroup - position in regex result array (see notes for Date.parseCodes below)

// Note: if hidden, IE returns no offsetHeight and also can not set it

// Note: requires that all (or the first) record in the

// Note: this creates issues with `window.fetch` polyfills and

// Note: we only reject if the USERABORTMethod is set to 'reject' as most userland code can't cope with the rejection

// Notice: normal but significant condition

// Now either just close the tag or try to add children and close the tag.

// Number of characters processed so far

// Number of trailing zero bits

// O + P = P

// OBJECTS AND ARRAYS

// OK

// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF

// OR condition on root level

// OR the last index of `val` in `buffer` at offset <= `byteOffset`.

// OSX indexing file

// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE

// OUTPUT

// Objects are kept separately from encodeTable to increase performance.

// Obviously not all Emitters should be limited to 10. This function allows

// Octal

// Octal begins range

// Octal integer // @todo: add overflows as above?

// Octal is by itself

// Oftentimes this will just deserialize JSON content, but if we have a

// Ok so we don't have instanceId(s), let's try target(s)

// Ok to replace with j++;?

// Ok, so we have a targets array, we need to iterate over it and get a list of the proxy/client instances

// Old junk

// Oldest GB2312 (1981, ~7600 chars) is a subset of CP936

// Once again, Sass deviates from the spec and supplies the version as a

// Only allow if we should buffer the layout

// Only apply `aria-labelledby` if we are a horizontal fieldset

// Only consider this section if the requested source is in the list of

// Only fire if left-click

// Only flow one buffer at a time

// Only inspect one level.

// Only invoke if we have `lastArgs` which means `func` has been

// Only load the library once.  Rewriting the manager class would orphan

// Only needed for Opera Mini

// Only remove fractional portion if explicitly set to zero digits

// Open the IndexedDB database (automatically creates one if one didn't

// Open the WebSQL database (automatically creates one if one didn't

// Open the database; the openDatabase API will automatically

// Opera  : "Thu, 25 Oct 2007 22:53:45 GMT+0800" -- shortest (weirdest) date string of the lot

// Optimization - zeroify

// Optimize the case of one listener. Don't need the extra array object.

// Optional additional data

// Optional encoding

// Optional entropy enc

// Optionally signed decimal integer

// Or `num` with `this`

// Or `num` with `this` in-place

// Or accept compatible API

// Order matters here since the props.transProps would get overwritten if it came first

// Original column.

// Original line.

// Original name.

// Original source.

// Otherwise people can pipe Writable streams, which is just wrong.

// Otherwise the object with the most overlap wins

// Otherwise the ring is closed already (see appendFlatLineCoordinates above).

// Otherwise we risk emitting data in the flow()

// Otherwise, PHP returns the portion of the string from start to end.

// Otherwise, ask the cursor to skip ahead n

// Otherwise, we return either a specified config value or all

// Our UTC time is just a guess because our offset is just a guess

// Our codec supports UTF-16 surrogates, extensions for GB18030 and unicode sequences.

// Our needle is greater than aHaystack[mid].

// Our needle is less than aHaystack[mid].

// Output a sequence of chars.

// Output only the elements that have been seen as many times as there are arrays

// Overall, it seems that it's a mess :( http://www8.plala.or.jp/tkubota1/unicode-symbols-map2.html

// Override push to accept second parameter representing priority

// Overrided methods

// Overriding Ajax timeout - important!

// Overwrite default render method with a custom one

// P + (-P) = O

// P + O = P

// P + P = 2P

// P + Q = O

// P = 2 ^ N - K

// P1 in the same direction then P2 is on the straight line between P1 and

// P3

// PARSING

// PHP behavior may differ by including whitespace even outside of the enclosure

// PHP behavior, you would need to add ".replace(/~/g, '%7E');" to the following.

// PHP doesn't currently escape if more than one 0, but it should:

// PHP returns an empty string if start and end are the same.

// PHP returns false if start does not fall within the string.

// PHP returns false if the calculated end comes before the calculated start.

// PHP-style

// POST-PROCESSING

// PROCESS

// PROCESS CHARACTER

// PUT /users/1.json

// Pad values

// Pad with zeroes

// Page Up/Down, End, Home, Left, Up, Right, Down

// Parse input

// Parse remaining as usual.

// Part is done as: http://zakon4.rada.gov.ua/laws/show/55-2010-%D0%BF

// Pass `true` below to allow duplicate names and sources. While source maps

// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)

// Password required

// Peel one iteration (compiler can't do it, because of code complexity)

// Per PHP behavior, there seems to be no extra padding

// Percent does not seem to be allowed with intervening content

// Perform concrete-algorithm logic

// Perform concrete-hasher logic

// Perform primitive values validation

// Perform regular backslashed escaping

// Perform the `toStringTag` check first to avoid errors with some

// Performance optimization: only call closePath() when we have a stroke.

// Performance will be enhanced with the next two lines of code commented

// Performs "tweedling" phase, therefore 'emulating'

// Perhaps a Uint8Array

// Permission is hereby granted, free of charge, to any person obtaining a

// PhantomJS 2 has enumerable non-index properties on typed arrays.

// Placeholder for the derived layouts

// Plain Math.round doesn't just truncate

// Pluck off n bytes from an array of buffers.

// Point on curve

// Polyfill comb

// Pop object

// Populate content of the component with html, contentEl or

// Ported from https://github.com/mafintosh/end-of-stream with

// Ported from https://github.com/mafintosh/pump with

// Positive limit

// Possible sign change

// Precompute window

// Precomputed endomorphism

// Preloaded tiles for lower resolutions might have finished loading.

// Prepare char buffer for decoding.

// Prepare the proxy api.  Ensures all API-actions are defined with the Object-form.

// Prevent extra layout when moving the item

// Previous code is invalid

// Previously reused container cannot be used any more.

// Prime numbers with efficient reduction

// Primitive types cannot have properties

// Print Screen, Insert

// Prioritize the highest zoom level tiles closest to the focus.

// Private utility class that manages the internal Shadow cache

// Private utility class used by Button

// Problem: we can't evaluate filters on client side !!!

// Process blocks

// Process pending data in blocks

// Processed fragments are accessed by calling `shiftNextLine`.

// Protocols

// Provide a hook for user-specified inspect functions.

// Provide the compiled function's source by its `toString` method or

// Provided for backwards compat

// Provides logic to override the default TriggerField.validateBlur which just returns true

// Proxy hash functions to the main object

// Pseudo-Mersenne prime

// Public API.

// Public methods

// Push carried bits as a mask

// Push object on stack

// Put all encoding/alias/codec definitions to single object and export it. 

// Put another way, a template can be used as a trait if it

// Put element as child

// Put element class and style to the specified parent

// Put the collapsed flag back after onResize

// Put the deferHeight flag back after setSize

// Put the smallest array in the beginning

// Put this first to avoid double-encoding

// Put this in last place to avoid escape being double-decoded

// Putting a border layout into an overflowed container is NOT correct and will make a second layout pass necessary.

// Putting a box layout into an overflowed container is NOT correct and will make a second layout pass necessary.

// Q

// Queue rest

// REVERSE

// RFC 2822/5322

// RFC3501 Sec. 5.1.3 Modified UTF-7 (http://tools.ietf.org/html/rfc3501#section-5.1.3)

// Range ends with character

// Range ends with octal

// Rarely (if the extent contains both the dateline and prime meridian)

// Re-assign `events` because a newListener handler could have caused the

// Re-assign message, see https://github.com/Rich-Harris/buble/issues/40

// Readable by everyone,

// Readable class this is attached to

// Reason: innerHTML.

// Rebuild array with sorted key names

// Received replace_pairs?

// Reconcile Windows vs. *nix locale names?

// Recurse to run back into the try {}.  DataReader#realize splices-off the rs until empty.

// Recurse to run back into the try {}.  DataReader#update splices-off the rs until empty.

// Recursively compare arrays (susceptible to call stack limits).

// Recursively compare objects (susceptible to call stack limits).

// Recursively convert values (susceptible to call stack limits).

// Recursively flatten arrays (susceptible to call stack limits).

// Recursively merge objects and arrays (susceptible to call stack limits).

// Recursively populate clone (susceptible to call stack limits).

// Reduction context

// Reference supertype

// Register itself as a running localForage in the current context.

// Register the new context in the global container.

// Regular character

// Reject its promise (which is part of the database readiness

// Remaining arguments in DRAW_IMAGE are in alphabetical order

// Remaining arguments to DRAW_IMAGE are in alphabetical order

// Remove all keys from the datastore, effectively destroying all data in

// Remove an item from the store, nice and simple.

// Remove comments and folding whitespace and replace multiple-spaces with a single space

// Remove common factor of two

// Remove excessive symbols

// Remove first "" and last item because they don't belong to the folder names

// Remove leading `0` from `this`

// Remove processed words

// Remove the prefix from the key, if a key is found.

// Remove the source file from the _sourcesContents map.

// Remove unshift functions

// Remove when above check is fixed

// Render Toolbars.

// Render and layout sub-containers without a flex or height, once

// Render and layout sub-containers without a flex or width, once

// Render immediately so that tip.body can be

// Render the image before we render the text.

// Render the toast in place, rather than in a portal-target

// Render this Container, this should be done before setLayout is called which

// Reopen the database for upgrading.

// Repeating last grouping (may only be one) until highest portion of integer reached

// Replace delimiters with snippets.

// Replace globs with equivalent patterns to reduce parsing time.

// Replace parent to maintain backward link

// Replace the default `ready()` function with the specialized one.

// Represent k1, k2 in a Joint Sparse Form

// Represent num in a w-NAF form

// Reset any `maxWait` timer.

// Reset data buffer

// Reset trie node.

// Resolve its promise (which is part of the database readiness

// Resolve string input to bitwise e.g. 'ENT_IGNORE' becomes 4

// Resolve string input to bitwise e.g. 'PATHINFO_EXTENSION' becomes 4

// Resolved when the entire directory is traversed

// Resolves . and .. elements in a path with directory names

// Restart the timer.

// Rethrow the error if it exists to avoid swallowing it

// Retrieve an item from the store. Unlike the original async_storage

// Retrieve the child node from a particular

// Return an augmented `Uint8Array` instance

// Return early if start > this.length. Done here to prevent potential uint32

// Return final computed hash

// Return negative clone of `this`

// Return negative clone of `this` % `red modulo`

// Return null if the input is not what we expect

// Return number of used bits in a BN

// Return only lowers bits of number

// Return only lowers bits of number (in-place)

// Return processed words

// Return skipped data

// Return the exports of the module

// Return the key located at key index X; essentially gets the key from a

// Return the right type based on the code/type set during

// Return undefined (instead of 0) in these cases, where fraction is not set

// Returns a modified function which warns once by default.

// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a

// Returns binary-reversed representation of `x`

// Returns only complete characters in a Buffer

// Reusable object

// Reverse Initial Permutation

// Reverse the bytes

// Reverse the combining marks so they will end up in the same order

// Root = (-1 +- Sqrt(-3)) / 2

// Root node is unfortunately non-hoistable due to potential parent

// Round down

// Round up

// Round up to include partial blocks

// Route *keyboard triggered* click events to the tab strip mouse handler.

// Router has been initialized, but due to the chrome bug it will not

// Rumored to potentially crash IE6 but has not been confirmed.

// Run EGCD, until r(L + 1) < aprxSqrt

// Running localForages sharing a database.

// SSR: a live trap shouldn't be created in this type of environment so this

// Sadly this is not cacheable as some libraries bundle their own

// Sadly, the best way to save binary data in WebSQL/localStorage is serializing

// Safari 10.1 shipped with fetch, we can use that to detect it.

// Safari 9 has enumerable `arguments.length` in strict mode.

// Safari : "Thu Oct 25 2007 22:55:35 GMT+0800 (Malay Peninsula Standard Time)" -- value in parentheses always gives the correct timezone (same as FF)

// Safari <10.1 does not meet our requirements for IDB support

// Safari puts text-align styles on the body element!

// Same as 'x'?

// Same as above, or return something different since this returns an array?

// Same as localStorage's key() method, except takes a callback.

// Sanity checks

// Save it to be reused later.

// Save the original value to pass to the callback.

// Scale the ripple

// Scroll Animation

// Scroll down if we are near the bottom of the visible page and the

// Scroll left if the window has been scrolled to the right and the obj

// Scroll right if the obj is beyond the right border and the cursor is

// Scroll up if the window is scrolled down and the top of the object

// Search for a byte value [0-255]

// Search for a codec in iconv.encodings. Cache codec data in iconv._codecDataCache.

// Second call here for IE

// Second phase

// Seconds, numeric

// Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.

// See #1064, #1293

// See [MDN](https://mdn.io/round#Examples) for more details.

// See also below a UTF-7-IMAP codec, according to http://tools.ietf.org/html/rfc3501#section-5.1.3

// See below for C locale

// See here: http://extjs.com/forum/showthread.php?t=49308&highlight=isSafari

// See http://emojipedia.org/flags/

// See http://emojipedia.org/modifiers/

// See http://requirejs.org/docs/errors.html#mismatch for more details.

// See http://unicode.org/reports/tr44/#Property_Table (Me+Mn)

// See http://www.w3.org/TR/pointerevents/#button-states

// See https://bugs.chromium.org/p/chromium/issues/detail?id=364374.

// See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.

// See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.

// See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol#Browser_compatibility

// See https://drafts.csswg.org/css-values-3/#urls

// See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.

// See https://es5.github.io/#x13.2.2 for more details.

// See https://github.com/mozilla/source-map/issues/16

// See: https://en.wikipedia.org/wiki/Base64#URL_applications

// See: https://github.com/beatgammit/base64-js/issues/42

// See: https://github.com/feross/buffer/issues/154

// See: https://github.com/feross/buffer/issues/166

// See: https://github.com/feross/buffer/issues/219

// See: https://github.com/mozilla/localForage/issues/128

// See: https://github.com/mozilla/localForage/issues/161

// See: https://github.com/mozilla/localForage/issues/272

// Select proper method for tag

// Self is already up-to-date.

// Send request to proxy.

// Sequence continues.

// Sequence finished. Write it.

// Sequence start

// Serialize a value, afterwards executing a callback (which usually

// Serves as infimum

// Service Unavailable!

// Set `bit` of `this`

// Set `isConstant` to false by default and will decide in transformExpression

// Set a key's value and run an optional callback once the value is set.

// Set and get locale

// Set any config values for localForage; can be called anytime before

// Set arrow

// Set button

// Set by other components to stop the picker focus being updated when the value changes.

// Set field

// Set initial values

// Set key

// Set reporter to share it with a child class

// Set ripple position

// Set the connection url.  If this.conn.url is not null here,

// Set the leaf to given dbcsCode.

// Set the selectSameEditor flag if we are reusing the same editor again and

// Set the shared flyweight dom property to the current element

// Set up initial properties for Panels in an accordion.

// Set when currying a bound function.

// Share reporter state

// Share the final connection amongst related localForages.

// Shared database.

// Shift by 9 limbs

// Shift next

// Shift triangles to be as close to `leftBound` as possible

// Shift with exponential notation to avoid floating-point issues.

// Shift, Ctrl, Alt, Pause, Caps Lock

// Shift-left

// Shift-left in-place

// Shift-right

// Shift-right in-place

// Short form

// Short-cut

// Shortcut

// Shortcut `elliptic.ec(curve-name)`

// Shortcut for `elliptic.ec(elliptic.curves.curveName)`

// Shortcuts

// Shorten key, if needed

// Should .destroy() be called after 'end' (and potentially 'finish')

// Should .destroy() be called after 'finish' (and potentially 'end')

// Should close be emitted on destroy. Defaults to true.

// Should create new instance on each method

// Should only compare up to the desired length

// Should this be just null?

// Should url be wrapped?

// Show the drag frame briefly so we can get its position

// Show the new component

// Show tile immediately instead of fading it in after loading, because

// Showing a Component means that you want to see it, so expand it.

// Sibling mode (~)

// Sign "-" when negative, "+" when positive

// Sign "-" when negative, empty when positive

// Simple doubly linked list (https://en.wikipedia.org/wiki/Doubly_linked_list) implementation

// Simple variation: don't support surrogates or subsequences in seq.

// Simplification did not actually remove any coordinates.  We now know

// Since JS doesn't have multiple prototypal inheritance, this class

// Since a mismatched character sets us off track from future

// Since mappings are sorted, this is guaranteed to find all mappings for

// Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)

// Single quotes get escaped when the template is compiled, however we want to undo this when running code.

// Single-byte code

// Single-byte codec. Needs a 'chars' string parameter that contains 256 or 128 chars that

// Skip 1 character in the buffer.

// Skip ahead multiple points, because we know that all the skipped

// Skip dots and range end (already skipped range end backslash if present)

// Skip empty entries

// Skip index properties.

// Skip leading zeroes

// Skip range begin

// Skip range end backslash

// Skipping transition when layer is not fully opaque avoids visual artifacts.

// Slow case, write chunks one-by-one

// So if mode !== local, the record would be always loaded from the server and discard all data passed as record before

// So we have to make do. Two cases:

// So, if this is awaiting a drain, then we just call it now.

// So, the steps are:

// So, we count ASCII as if it was LE or BE, and decide from that.

// SoftSurfer makes no warranty for this code, and cannot be held

// Solution would be installing npm modules "buffer" and "stream" explicitly.

// Solve Ax=b for upper triangular matrix A (mat)

// Some chars can be decoded, but need not be encoded.

// Some code originally from async_storage.js in

// Some environments don't have global Buffer (e.g. React Native).

// Some errors for maximum PHP compatibility

// Some latest browsers when str is null return and unexpected null value

// Some platforms assign a new pointerId when the target changes.

// Some type of object without properties can be shortcutted.

// Some versions of I.E. have different rules for clearTimeout vs setTimeout

// Some warnings for maximum PHP compatibility

// Somehow if we don't do this, we lose changes that happened to node in the meantime

// Sometimes a MBCS char corresponds to a sequence of unicode chars. We store them as arrays of integers here. 

// SourceMapGenerator does have toJSON() method but it's not in the types

// Spawn

// Special case to return head of iframe instead of iframe itself

// Special case: looking for empty string/buffer always fails

// Specialize the default `ready()` function by making it dependent

// SplitEl shown only when the panel is not collapsed

// Square root over p

// Start the timer for the trailing edge.

// Start with a normal queue

// State

// Static content here can only come from compiled templates.

// Static data

// Step 1: deal with combining marks and astral symbols (surrogate pairs)

// Step 2: reverse the code units in the string

// Stop early if an array has no element in common with the smallest

// Store a copy of SharedArrayBuffer in case it's deleted elsewhere

// Store a copy of the down event

// Store the lastActiveEditor to check if it is changing

// Store the value of LSB(V_i)

// String, write as-is.

// StringDecoder provides an interface for efficiently splitting a series of

// Strings are immutable in JS -> we use ucs2 buffer to speed up computations.

// Strip both numbers to approximate shift value

// Strip last softline break

// Strip the last path component, but keep the "/".

// Style Sized (scrollbars not included)

// Subtract `num` from `this`

// Subtract `num` from `this` in-place

// Subtract plain number `num` from `this`

// Subtract the header heights from the container size

// Subtract the i-th row to make all the remaining rows 0 in the i-th column

// Subtraction overflow

// Suitable patterns: `/!(*.d).ts`, `/!(*.d).{ts,tsx}`, `**/!(*-dbg).@(js)`.

// Sum all words with the same `i + j = k` and accumulate `ncarry`,

// Supply the number of keys in the datastore to the callback function.

// Support decoding URL-safe base64 strings, as Node.js does.

// Support for limit

// Support for synthetic events

// Support for touch devices

// Supposed to treat period, begin and end as individual characters only, not a range

// Swap `a` and `b` to make `a` always bigger than `b`

// Swap max row with i-th (current) row

// Switches role to 'status' and aria-live to 'polite'

// Symbols & Accents

// T = M ^ 2 - 2*S

// T = M^2 - 2 * S

// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS

// TODO

// TODO Move listful rendering into DataWriter where the @cfg is defined.  Should be easy now.

// TODO Refactor all Proxies to accept an instance of Ext.data.Request (not yet defined) instead of this looooooong list

// TODO Refactor: tag and tags see ticket 0008944

// TODO Remove this ugly hack!

// TODO add "no access/app not available" class?

// TODO add a bigger spacer here?

// TODO add config for this behaviour?

// TODO add data to messagebus events?

// TODO add helper function for fetching config ... this condition sucks.

// TODO add this to reload registry and update form / button

// TODO app specific (ADB) grant definition is currently needed here - make it work without

// TODO check if we can handle firefox event 'onSaveAsSubmit' (or something like that)

// TODO do some more?

// TODO find a better way to configure quickadd grid

// TODO find a generic way for this, some kind of registry for each app to register sensitive information

// TODO find a way to show record more pretty

// TODO format toUpper

// TODO generalize this

// TODO implement @cfg listful here

// TODO improve this by clearing the cookie and return to the login screen

// TODO invent a picker registry

// TODO is edit grant required?

// TODO it would be nicer if this worked ...

// TODO make css work

// TODO maybe expand this to all Ext.Layers:

// TODO might want to allow implemention of faux REST where batch is possible using RESTful routes only.

// TODO move image renderer to Tinebase

// TODO move the next 5 to Filemanager!

// TODO move to uiConfig

// TODO only reload own config data

// TODO only show keys of actions that are available

// TODO pass degree and other options in config?

// TODO perhaps we should filter all that do not match the model

// TODO re-init this.list if it goes away?

// TODO refactor onRead, onWrite to be more generalized now that we're dealing with Ext.data.Response instance

// TODO remove deprecated loadexception with ext-3.0.1

// TODO remove in 3.1

// TODO remove this method?

// TODO return Ext.data.Response instance instead.  @see #readResponse

// TODO return Ext.data.Response instance.  @see #readResponse

// TODO submit on select?

// TODO support admin mode / currently this is personal_only

// TODO test the password reveal functionality

// TODO test this in IE!

// TODO this component will likely have an issue with inheritAttrs

// TODO try to generalize this

// TODO try to generalize this and move app specific stuff to app

// TODO use originalValue for other xtypes, too?

// TODO vue pwd focus

// TODO we might add some grants handling here to show the user if she can't edit, update or delete the records

// TODO we might want to use $defaultSortInfo of the model here (see Tine.widgets.grid.GridPanel.initStore)

// TODO(BridgeAR): Write a test for these two error cases

// TODO(indutny): implement me

// TODO(indutny): it may be reasonable to omit it for users who don't need

// TODO(indutny): optimize it, this is far from optimal

// TODO(indutny): this should be thrown on DSL level

// TODO(ronag): Throw ERR_VALUE_OUT_OF_RANGE.

// TODO: Callback with seq.

// TODO: Don't change ID on `setItem()`.

// TODO: Find out if this resets the AUTO_INCREMENT number.

// TODO: IBM CCSID 942 = CP932, but F0-F9 custom chars and other char changes.

// TODO: IBM CCSID 943 = Shift_JIS = CP932 with original Shift_JIS lower 128 chars.

// TODO: KDDI extension to Shift_JIS

// TODO: Let exception-handler choose to commit or not rather than blindly rs.commit() here.

// TODO: Make this a specific error/event.

// TODO: See why those tests fail and use a better solution.

// TODO: Should this be set to '' if value is out of range?

// TODO: allow more than 2 records      

// TODO: allow more types, create FieldRegistry

// TODO: create field registry, add fields here

// TODO: defer error events consistently everywhere, not just the cb

// TODO: extend some kind of AppAdminPanel

// TODO: fixme: arrows showing only after user interaction with the dock

// TODO: form validation

// TODO: formitems could not be fetched by formpanel->getform->getvalues

// TODO: getFilterModel should not be used anymore. This should completely done by the registry.

// TODO: grantsProperty not handled here, not needed at the moment but sometimes, perhaps.

// TODO: invent panel hooking approach here

// TODO: is it actually correct that the source even creates the tile ?

// TODO: is this needed (the element is already focused, atm. IE breaks (https://forge.tine20.org/mantisbt/view.php?id=6916))?

// TODO: leave label as it is?

// TODO: move these to be ol constants

// TODO: move to upload method / checks max post size

// TODO: own method for chunked upload

// TODO: perhaps move this interceptor elsewhere?  like into DataProxy, perhaps?  Placed here

// TODO: remove the defer when all subpanels use the deferByTicket mechanism

// TODO: remove this when ProductAggregates can be searched (or move this exception to Sales app)

// TODO: remove this when files can be searched

// TODO: remove this when using memoryproxy

// TODO: support rbnf

// TODO: this doesn't seem to work consistently

// TODO: use options in the future

// TODO: we remove this as the own record filter does not work correctly in most cases - maybe this should

// TRANSFORM

// TRAP DEFINITION

// TYPES

// T_FMT

// T_FMT // changed from %T to %r  (%T is default for C, not English US)

// T_FMT_AMPM (Fixed for all locales)

// Tables are not require()-d until they are needed to speed up library load.

// Take a snapshot of the related localForages.

// Take note if the _read call is sync or async (ie, if the read call

// Taken from here and modified for better browser support

// Technically, only some code points are meant to be

// Teleport is not a real component and has dedicated runtime handling

// Temporarily clear the collapsed flag so we can onResize the panel on the slide

// Temporarily clear the deferHeight flag so we can size the height on the slide

// Temporarily reverse

// Temporary arrays

// Temporary disable, see https://github.com/indutny/bn.js/issues/211

// Test if n bit is set

// Test whether the zone matches the offset for this ts

// That we got here means that the readable side wants more data.

// The (right-most) trimmed path component is exactly '..'

// The JS engine embedded in Adobe products needs `match` returned in

// The SourceNode we want to fill with the generated code

// The Toolbars must not buffer this resize operation because we need to know their heights.

// The Transform stream has all the aspects of the readable and writable

// The above copyright notice and this permission notice shall be included

// The actual localForage object that we expose as a module or via a

// The bbar does not move on resize without this.

// The client height

// The client width

// The codec function must load all tables and return object with .encoder and .decoder methods.

// The conditions for reading more data are (one of):

// The container has field item configs, so we have to generate the column

// The container has standard ColumnLayout configs, so pass them in directly

// The container is about to get a recursive layout, remove any deferLayout reference

// The customized header template

// The decoder is more involved as we must handle chunks in stream.

// The exact needle element was not found in this haystack. Determine if

// The expanded Component receives the only flex value, and so gets all remaining space.

// The first call enables instant resizing and

// The first part is blank if the path is absolute. Trying to go

// The following are based on *nix settings

// The following code deals with deserializing some kind of Blob or

// The following configs are set to provide the basic functionality of a window.

// The image is unknown at this stage so we pass null; it will be computed at render time.

// The last mapping for each line spans the entire line.

// The localStorage API doesn't return undefined values in an

// The mappings coming from the consumer for the section have

// The module cache

// The offset fields are 0-based, but we use 1-based indices when

// The overall target element.

// The partitioning chooses a pivot between `p` and `r` and moves all

// The passed `feature` was already added to the source

// The reason we don't _save_ null is because IE 10 does

// The records does not have the same value on this field

// The request will be also be aborted if we've exceeded our storage

// The require function

// The rest will be decoded in future.

// The root node is the shadow root if the node is in a shadow DOM; some document otherwise

// The source's params changed. If the tile has an interim tile and if we

// The spec says:

// The stream needs another readable event if

// The transaction failed; check

// The triangles must have the diagonal line as the first side

// The url field will require support for asynchronicity.

// The use of `Object#toString` avoids issues with the `typeof` operator

// The value is larger than the last tick, so we return the last

// The value is lower than the first tick, so we return the first

// The view center is not defined

// The view resolution is not defined

// The view rotation is not defined

// There are lots of tables for Big5 and cp950. Please see the following links for history:

// There are still more digits in this value, so we must make sure the

// There can be only one listening focus trap at a time

// There is an old bug in Chrome that causes onpopstate to fire even

// There is no horizontal line that has its center point inside the linear

// There is no new line in between.

// There might be a driver initialization in progress

// There was no sequence object - allocate a new one.

// There's already a sequence with  - use it.

// These are a little braindead. EDT *should* tell us that we're in, say, America/New_York

// These are all private overrides

// These don't discriminate here as both allow exponential float of either case

// These events are only used internally by the grid components

// These options can be provided separately as readableXXX and writableXXX.

// These should technically only be non-null on mounted VNodes. However,

// They are lazy loaded in `iconv.getCodec` from `encodings/index.js`.

// This also ensures a stable sort in V8 and other engines.

// This behaves neither like String nor Uint8Array in that we set start/end

// This block allows for maximum flexibility and performance when using existing markup

// This code may be freely used and modified for any purpose

// This combobox doesn't need a validator.

// This could be "" if the name starts with a /

// This could be > 0xFF because of astral characters.

// This dialog is pretty generic but for some cases it's used in a differend way

// This ensures that 0..n-1 have an equal probability of being selected.

// This event is only fired by the menu in IE, used so we don't couple

// This follows what Chrome does.

// This function is designed to be inlinable, so please take care when making

// This function is used recursively from

// This function should ALWAYS be called from Ext.EventManager

// This function terminates when one of the following is true:

// This function will be called when the browser

// This is *not* part of the readable stream interface.

// This is CommonJS because lie is an external dependency, so Rollup

// This is a hack to make sure that our error handler is attached before any

// This is a manually configured flag set by users in conjunction with renderTo.

// This is a support class used internally by the Grid components

// This is for IE MSXML which does not support expandos.

// This is needed for mobile devices.

// This is reduced incarnation of the binary EEA

// This is relevant for synchronous Transform streams

// This is required so that IE doesn't pop the response up in a new window.

// This is sneaky.  Reduce the extent that it is currently being

// This is so that the default behavior mirrors that of Ext.dd.DD.

// This is technically web-specific, but splitting the logic out of core

// This is the diagonal line. Do it in 4 steps

// This is the part where you do stuff!

// This is to allow easy code in reproj.s to make it straight for broken

// This is to work around cases where hwm=0, such as the repl.

// This is utter bullshit. Different calendars are going to define eras totally differently. What I need is the minimum set of dates

// This is where the true default is made

// This line caused a bug when people use custom Connection object having its own request method.

// This may not be correct, because it doesn't get correct type inferences in children

// This method checks if localStorage is usable in Safari Private Browsing

// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)

// This returns true if the highWaterMark has not been hit yet,

// This should be overriden by any subclass that needs to check whether or not the field can be blurred.

// This test should never fail -- but it does. Need to find a fix the upstream condition

// This way, back-pressure is actually determined by the reading side,

// This will get cleaned up in onRemove

// This will throw an exception if access to iframe is blocked

// This will trigger an "upgradeneeded" event which is required

// This would need to be processed later

// Three-byte code

// Tilde should be allowed unescaped in future versions of PHP (as reflected below),

// Tile is completely outside range -> EMPTY

// Tiles at higher zoom levels are prioritized using Math.log(tileResolution).

// Tine.Tinebase.areaLocks.registerMaskEl(this.app.appName, this.getEl());

// Tine.loginPanel.doLayout();

// Tinebase_Exception_InvalidRelationConstraints

// To avoid a 'false' touchmove event to be dispatched, we test if the pointer

// To avoid recursion in the case that type === "newListener"! Before

// To bypass this you can set recordFromJson === true, then the dialog wouldn't load the record from server!

// To further complicate things, we have to look all the way up until we find a shadow HOST

// To return the position we are searching for, we must first find the

// To save memory and loading time, we read table files only when requested.

// Tonelli-Shanks algorithm (Totally unoptimized and slow)

// Total number of days as a result of a DateTime::diff() or (unknown) otherwise

// Total of all the flex values

// Transform a binary string to an array buffer, because otherwise

// Transformation matrix cannot be inverted

// Translate arguments

// Translate into more windowed form

// Traverse hierarchy to see if any parent container has a pending layout.

// Traverse iconv.encodings to find actual codec.

// Traverse nodes deeper into the trie.

// Traverse the character tree, allocating new nodes as needed.

// Treat as a range

// Treat as non-constant by default. This can be potentially set to

// Treats subsequent as long double (for e,f,g)

// Treats subsequent as long int (for d,i,n), or unsigned long int (for o,u,x);

// Treats subsequent as short int (for d,i,n) or unsigned short int (for o,u,x)

// Tree methods

// Trial and Error

// Trie root is decodeTables[0].

// Tried to enqueue an `element` that was already added to the queue

// Tried to get a value for a key that does not exist in the cache

// Tried to set a value for a key that is used already

// Triggered when the database is modified (e.g. adding an objectStore) or

// Trim any leading backslashes

// Trim off extra bytes after placeholder bytes are found

// True if the error was already emitted and should not be thrown again

// Try calling readEntries() again for the same dir, according to spec

// Try default character for this sequence

// Try start flowing on next tick if stream isn't explicitly paused

// Try the other two triangles

// Try to avoid Projective points, if possible

// Try to establish a new db connection to replace the

// Try to match the explicit extension

// Try to parse again, after skipping first byte of the sequence ('i' will be incremented by 'for' cycle).

// Try to parse all remaining chars.

// Try to re-run the transaction.

// Try to read the message from Ext.Error.lang

// Trying to use the custom `instanceof` for Writable here will also break the

// Two-byte code

// TypedArray. First we separate out the type of data we're dealing

// U = (M + E)^2 - MM - EE - T

// UI style >= 2019

// UPDATE:  And finally, if we're still here after splicing-off phantoms and !isValid real records, update the rest...

// US and by the time we got back, no one had heard of IE 8 or 9. True story.

// USE OR OTHER DEALINGS IN THE SOFTWARE.

// UTC

// UTC milliseconds since Unix epoch (M$-AJAX serialized date format (MRSF))

// UTF-16BE BOM

// UTF-16LE BOM

// UTF-16LE typically needs two bytes per character, but even if we have an even

// UTF-7 codec, according to https://tools.ietf.org/html/rfc2152

// UTF-7-IMAP codec.

// Unexpected continuation byte

// Unhandled 'error' event

// Unhandled stream error in pipe.

// Unicode mapping (http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT) is said to be wrong.

// Units in the supported calendars, sorted by bigness

// Unknown char.

// Unlike Gaia's implementation, the callback function is passed the value,

// Unshift should *always* be something directly out of read()

// Unsigned comparison

// Unwrap explicit values

// Unwrap implicit and normal values

// Update the hash

// Update this array if you add/rename/remove files in this directory.

// Url is always re-defined during doRequest.

// Usage:

// Use GB18030 algorithm to find character(s) to write.

// Use Montgomery, when there is no fast reduction for the prime

// Use Styles if they are set

// Use `_.noConflict` to remove Lodash from the global object.

// Use `util.types` for Node.js 10+.

// Use a `switch` statement to work with class constructors. See

// Use a for loop to avoid recursion

// Use built-in when available, missing from IE11

// Use canonical url

// Use complement of `s`, if it is > `n / 2`

// Use decode trie to recursively fill out encode tables.

// Use extended coordinates

// Use for rare cases of non-BMP characters

// Use getWidth/getHeight if style not set.

// Use hash as route

// Use source `argPos` if available.

// Use source `arity` if one is not provided.

// Use source `ary` if it's smaller.

// Use source `func` and merge bitmasks.

// Use source `thisArg` if available.

// Use std HTTP params otherwise.

// Use this error code for generic problems like misconfig we don't want to see bugreports for

// Use utf8 for decoding.

// Used by sql_regcase

// Used to define a custom driver, shared across all instances of

// Useful for many curves

// Users of this code must verify correctness for their application.

// Utility methods

// Utils

// V-model prop

// V_i+1 = V_i >> 1

// Validate input

// Validate signature

// Validates as many continuation bytes for a multi-byte UTF-8 character as

// Value is multiplied by 2 due to data being stored in `utf-16` format, which requires twice the space.

// Values: >=  0 -> it is a normal char. Write the value (if <=256 then 1 byte, if <=65536 then 2 bytes, etc.).

// Values: >=  0 -> unicode character code. can be > 0xFFFF

// Variations, in roughly number of defined chars:

// Variations: 2 code units

// Various other blob bugs exist in Chrome v37-42 (inclusive).

// Version 1.2.6

// Vertical forms

// Very short reduction

// WARNING: DEPRECATED

// Wait until appmgr is initialized

// Walk through subject and replace chars when needed

// Warning: maxLength not taken into account in base64Write

// Warning: warning conditions

// We DO NOT return the promise as it gives the user a false sense that

// We add the code from "lastMapping" to "mapping":

// We add the generated code until the first mapping

// We also add the low surrogate range at the beginning here so it will be

// We are adding these custom layouts to a namespace that does not

// We are almost at u0r, v0r

// We are in the middle of the sequence

// We can clean all this up when Chrome fixes this.

// We can pass over low surrogates now as the second

// We can pass over low surrogates now as the second component in a pair which we have already

// We can push more data if we are below the highWaterMark.

// We can tell its not auto-increment if the user defined a DataReader field for it *and* that field's value is non-empty.

// We decode base64.

// We don't use an immediately-invoked function

// We don't want negative symbol represented here yet

// We don't want to register this as the handle with the manager

// We emulate click events on left mouse button click, touch contact, and pen

// We get here if `from` is the exact base path for `to`.

// We get here if `from` is the root

// We get here if `to` is the exact base path for `from`.

// We get here if `to` is the root.

// We go 1 magnitude less, for safety

// We handle animations for the expand/collapse of items.

// We have enough bytes -> detect endianness.

// We have found either the exact element, or the next-closest element than

// We have processed all mappings.

// We have tests that rely on errors being emitted

// We have the first key, return it if that's what they

// We loop through options so we don't overwrite existing config

// We maintain a small cache of parsed strings.  To provide cheap LRU-like

// We matched the extension, so mark this as the end of our path

// We mimic PouchDB here;

// We mostly implement W3C recommendation: https://www.w3.org/TR/encoding/#gbk-encoder

// We need 'g' set to get lastIndex

// We need more bytes to use space heuristic (see below)

// We need to check if there is someone still listening to

// We need to defer via nextTick because if .destroy(err) is

// We need to go backwards to simulate negative look-behind (don't split on

// We now have image and text for an image+text combination.

// We now have the image for an image+text combination.

// We only fire click, singleclick, and doubleclick if nobody has called

// We reject the callback outright for now, but

// We saw a non-dot and non-path separator before our dot, so we should

// We saw a non-dot character immediately before the dot

// We saw the first non-path separator

// We saw the first non-path separator, mark this as the end of our

// We saw the first non-path separator, remember this index in case

// We support Browserify by skipping automatic module discovery and requiring modules directly.

// We test for openDatabase because IE Mobile identifies itself

// We use 'output' element to make this accept a `<label for="id">` (Except IE)

// We use a Grunt task to make this safe for IE and some

// We use node.js internal decoder. Its signature is the same as ours.

// We use the bindings resolver to compare the options.topic to subDef.topic

// We want to be able to have it callable to everyone,

// We want to preserve topology when drawing polygons.  Polygons are

// We won't deal with integer overflows due to signs

// We'll flip it now and send the value into DataProxy#request, since it's the value which maps to

// We're in direct mode.

// We're in the sequence.

// We're waiting for it.

// We've got lead surrogate.

// We've got trail surrogate.

// Webkit returns rgb values for transparent.

// Weierstrass/Edwards points on the other hand have both `x` and

// When a Component expands, adjust the heights of the other Components to be just enough to accommodate

// When aOriginal is truthy but has empty values for .line and .column,

// When operating RESTfully, a unique transaction is generated for each record.

// When the writable side finishes, then flush out anything remaining.

// When there is no exact match, BasicSourceMapConsumer.prototype._findMapping

// When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally

// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally

// Where possible: http://cldr.unicode.org/translation/date-time#TOC-Stand-Alone-vs.-Format-Styles

// While the output is causally related to the input, it's not a

// Whitespace doesn't need to be an exact match)

// Window should be opened on mid of tine window https://developer.mozilla.org/en-US/docs/Web/API/Window/screenLeft https://developer.mozilla.org/en-US/docs/Web/API/Window_Management_API/Multi-screen_origin

// Windows indexing file

// With a writer set for the Store, we want to listen to add/remove events to remotely create/destroy records.

// With no view defined, we cannot translate pixels into geographical

// Within a zoom level, tiles are prioritized by the distance in pixels between

// Working variables

// Works as strcasecmp

// Wrap <img> tag so it can perform the effect

// Wrap <input> tag so it can perform the effect

// Wrap in explicit

// Writable ctor is applied to Duplexes, too.

// Writable.

// Write '&', then go to base64 mode.

// Write '-', then go to direct mode.

// Write all other elements of the chunk to the table.

// Write an error, then current char.

// Write beginning of the sequence.

// Write blocks

// Write direct character

// Write direct chars until '&'

// Write direct chars until '+'

// Write direct chars.

// Write the action to options.params

// Write the character to buffer, handling higher planes using surrogate pair.

// Writing a hex string, for example, that contains invalid characters will

// X3 = (B - C - D) * (F - 2)

// X3 = (B-C-D)*J

// X3 = 4 * (X1 * EE - 4 * YY * U)

// X3 = F - 2 * D

// X3 = T

// X3 = alpha^2 - 8 * beta

// X3 = c * (B - E) * J

// XHTML 1.0 only

// XX = X1^2

// XXX Is there any way to tell if the number is odd without converting it

// XXX This code assumes that zero is always zero in red

// XXX: file:// URIs and absolute paths lead to unexpected behavior for

// Xor `num` with `this`

// Xor `num` with `this` in-place

// Y3 = 8 * Y1 * (U * (T - U) - E * EE)

// Y3 = A * G * (D - C)

// Y3 = A * G * (D - a * C)

// Y3 = E * (D - X3) - 8 * C

// Y3 = F * (E - D)

// Y3 = M * (S - T) - 8 * YYYY

// Y3 = alpha * (4 * beta - X3) - 8 * gamma^2

// Y3 = c * E * (C - D)

// YES: then shift+tab should go to the last tabbable node in the

// YES: then tab should go to the first tabbable node in the next

// YY = Y1^2

// Years, numeric

// Z = 1

// Z3 = (Y1 + Z1)^2 - gamma - delta

// Z3 = (Z1 + E)^2 - ZZ - EE

// Z3 = 2 * Y1

// Z3 = 2 * Y1 * Z1

// Z3 = 2*Y1

// Z3 = E * J

// Z3 = F * G

// Z3 = F * J

// Z3 = F^2 - 2 * F

// Z3 = c * F * G

// Z_i+1 = Z_i ^ V_i

// Zero-extend key to provide enough entropy

// Zeroify references

// [3] (every 3 digits in U.S.A. locale)

// [Gaia](https://github.com/mozilla-b2g/gaia).

// \uHHHH

// \xHH

// ].forEach(function (name) {

// _('Dark Mode')

// _('Follow System')

// _('Light Mode')

// _('No Access') - we need this string in other apps if relation is not shown e.g. record_removed_reason

// _('and')

// _('or')

// _.delete(this.props.records, rec => rec.getId() === id)

// _.each(Tine.Tinebase.areaLocks.getLocks(this.app.appName), (areaLock) => {

// __UNSAFE__

// __webpack_public_path__

// _prime_ fields F(p) at a maximal speed

// _read(n) is called, it transforms the queued up data, calling the

// _transform does all the work.

// `!reason` guard inspired by bluebird (Ref: https://goo.gl/t5IS6M).

// `Array.prototype.sort`. This makes sense because C++ will likely remain

// `WHERE id = ?`. This is the most efficient way I can think to implement

// `__generatedMappings` and `__originalMappings` are arrays that hold the

// `_generatedMappings` is ordered by the generated positions.

// `_originalMappings` getters respectively, and we only parse the mappings

// `_originalMappings` is ordered by the original positions.

// `_writableState` that would lead to infinite recursion.

// `encodeTableSeq` is used when a sequence of unicode characters is encoded as a single code. We use a tree of

// `encodeTable` is array mapping from unicode char to encoded char. All its values are integers for performance.

// `format` must be set when `url` is set

// `image` and `src` cannot be provided at the same time

// `imgSize` must be set when `image` is provided

// `isContentEditable` is only available on `HTMLElement`, but it may also be a

// `join('http://', 'www.example.com')`

// `join(foo, '//www.example.org')`

// `null`.

// `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247

// `realHasInstance` is necessary because using plain `instanceof`

// `resolutions` must be sorted in descending order

// `slice` is the same for buffers and strings.

// `this` * `this`

// `this` * `this` in-place

// `width` or `height` cannot be provided together with `scale`

// `y` coordinates.

// a "block" tag in such a node will serve as a block definition AND be displayed in place as well

// a -> Array

// a > b

// a UTC milliseconds-since-Unix-epoch value (negative values are allowed)

// a copy of the entry or else bad things happen. Shared mutable state

// a directory, then that promise won't resolve until it is fully traversed.

// a duplex stream is just a stream that is both readable and writable.

// a few lines down. This is needed to support once('readable').

// a flag to be able to tell if the event 'readable'/'data' is emitted

// a flag to be able to tell if the onwrite cb is called immediately,

// a flag to know if we're processing previously buffered items, which

// a flag to see when we're in the middle of a write.

// a generic version of eachOf which can handle array, object, and iterator cases.

// a global promise object, but it would throw anyway later.

// a hash key can be:

// a mapping for a different line than the one we found. Since

// a mapping for a different line than the one we were searching for.

// a matched percent literal

// a nextTick recursion warning, but that's not so bad.

// a parameter.  This mode is still somewhat supported, which is why

// a passthrough stream.

// a pathological inflate type of transform can cause excessive buffering

// a prefix that fits, or we run out of components to remove.

// a read from the buffer.

// a server-rendered async wrapper is already in resolved state

// a single UTF-8 replacement character ('\ufffd'), to match v8's UTF-8 decoding

// a single registered filter is always displayed in the parent Toolbar with our own filterRow

// a space within an operator can be any amount of whitespaces

// a special marker.

// a this.response property.

// a tpl.

// a transform stream is a readable/writable stream where you do

// a zlib stream might take multiple plain-text writes(), and then

// a ~3500ms mean speed-up in `bench/bench.html`.

// a) if the string has no -u extensions, just leave it alone

// a.length > b.length

// above the root is a no-op. Therefore we can remove all '..' parts

// above, designated to invert members of the

// abstract method.  to be overridden in specific implementation classes.

// accept leading mode switch

// accessing global.localStorage can trigger a DOMException in sandboxed iframes

// account for DST (i.e. day of month changed when setting hour = 0)

// action discard -> close window

// action updater opt-in fn has precedence over generic action updater!

// actions

// actions that shouldn't happen until "later" should generally also

// activate grid header menu for column selection

// activate group?

// activate highlighting after initial load

// activate mainscreens of all contenttypes

// activation via routing only

// adapted from http://extjs.com/forum/showthread.php?p=247172#post247172

// adapted from https://github.com/apatil/pemstrip

// add "My Profile"

// add "multiple_edit_dialog" plugin to dialog, if required

// add 'virtual' field

// add a default query filter if missing

// add a new first row

// add accountId

// add actions to updater

// add all apps

// add all record ids to invalidRecords, if maximum is reached

// add an expando nodeIndex

// add check for model name also

// add current timestamp as id, if this is a dependent record

// add default field

// add detail panel

// add dynamic params

// add edit dialog

// add field to handlefields array

// add filter toolbar

// add first/last-row classes

// add generic relations when no config exists

// add in ownerCt at creation time but then immediately

// add menuitems for email links

// add model to global add splitbutton if set

// add new notes from notes store

// add only those actions having an explicit actionUpdater (to stay backward compatible)

// add other listeners after population

// add our fields after view is rendered

// add our subfilters in this toolbar (right hand)

// add own record filter by default but ignore if set

// add panel to card panel to show prefs for chosen app

// add pre defined type

// add registered / custom operators

// add save favorites button to toolbar if favoritesPanel exists

// add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed

// add shadow dom slot scope (slot itself cannot be focusable)

// add shared or personal

// add some indent caching, this helps performance when rendering a large tree

// add static functions

// add tasks to worker channel

// add the first coordinate to the output

// add the last point (P2)

// add these here because they are used in both branches of the condition.

// add these two to the hash.

// add titleBar

// add to an interaction group

// add to panel registry

// add to scrollmanager

// add to the parent to allow for selectors like ".ext-strict .ext-ie"

// add/delete cloneStores

// added paging number of result read from settings

// added possibility to disable using customfield plugin

// added to it. This is a useful default which helps finding memory leaks.

// adding it to the listeners, first emit "newListener".

// additionally to removing the DOM node, we also need to reset the 

// adds a 'sequence' called after the original method

// adds an 'interceptor' called before the original method

// adjust modal windows when browser gets resized (also orientation change)

// adjust padding for negative scale

// adjust window height

// after all config options are set and

// after error

// after one finger down, tiny drag, second finger down

// after one finger up, tiny drag, second finger up

// after readable has been emitted but before I/O (nextTick) to

// again. This runs in O(n) time.

// ah, regex matching, then

// alert(window.formatMessage('This installation requires user verification for FIDO2 devices. Firefox does not support user verification. You need to use a different browser to use FIDO2.'));

// alias

// aliases

// align immediately

// all browsers should support chunk upload

// all coordinates snap to the same value, the line collapses to a point

// all fall-throughs

// all the elements that are greater than it after it. The effect is that

// all the related localForages aren't pending.

// all this hideous nonsense calculates the various offsets for shadows

// allOf operator for records fields

// allocate the first CorkedRequest, there is always

// allow click to work like normal

// allow either "Z" (i.e. UTC) or "-0530" or "+08:00" (i.e. UTC offset) timezone delimiters. assumes local timezone if no timezone is specified

// allow inline handler

// allow native context menu on second context click

// allow overwriting date pattern in model

// allow status setting if status authkey is present

// allow to configure defaults from outside

// allow to initialize with string

// allowBlank: false,

// allowing us to avoid a second parse if we encounter the same

// allows for easier interceptor and sequences, including cancelling and overwriting the return value of the call

// allways set a default

// alpha depends on locale, so this var might need an update

// already added a slash above:

// already decoded

// already have a bunch of data in the buffer, then just trigger

// already incremented

// also exclude jsdom

// also record changes

// also returned false.

// also try camelCase event handler (#2249)

// also, that means that the chunk and cb are currently

// alternative form

// alternative to using Object.keys for old browsers

// always advance at least one point, to avoid an infinite loop.

// always append for root

// always check one minute before end

// always copy/clone record because it can't exist in 2 different stores

// always delete uploading nodes

// always follow error

// always force full diff in dev

// always set a default

// always start with an empty filter set!

// always table[l] <= val < table[r]

// always the same shit! when form panel is rendered, the form fields are not yet rendered ;-(

// amount of input, and end up with a very large amount of output.  In

// an Absolute Day Number

// an Absolute Week Number

// an `originalValue` property. Here, when we detect this, we

// an array of boolean values

// an error, then that'll put the hurt on the whole operation.  If you

// an escaped enclosure even if followed by the delimiter and another enclosure mark)

// an exception case where the target is either the container itself, or

// an exception case where the target is the container itself, or

// an impact here (as they do below), but assuming for now behaves as signPosn 0 as

// an instanceId value or array was provided, let's get the client proxy instances for the id(s)

// an operator that ends with a character must be followed by a whitespace or an opening parenthesis

// an original was selected -> init denormalisation

// anchor is scaled by renderer but displacement should not be scaled

// anchor may have changed if it's in a fragment

// anchor will not be used if this is hydration, so only need to

// and HTC Android devices <4.4 are missing IDBKeyRange

// and Laura Doktorova's doT.js (https://github.com/olado/doT).

// and Safari completely fails so they need to continue to use expandos.

// and `from`

// and a closure so we don't get an error at script evaluation time in

// and add the remaining lines without any mapping

// and auto heighting the region

// and called read() to consume some data.  that may have triggered

// and children have the same index

// and continue with P1 = P2 and P2 = P3

// and converted to camelCase (#955)

// and create these arrays once queried for a source location. We jump through

// and cut is forced

// and http://publib.boulder.ibm.com/infocenter/zos/v1r10/index.jsp?topic=/com.ibm.zos.r10.bpxbd00/strfmp.htm

// and is causing too many bug reports ;)

// and it will never need to change.

// and might be a totally different element yet.

// and not just that we're in -240 *right now*. But since I don't think these are used that often

// and others

// and presented as a binary number

// and sign are adjacent then space sep. them from value; 2: space sep. sign

// and that the callback throwing will reject the promise.

// and that the dd onDrag looses scope

// and the SourceMap

// and the bad zone doesn't show up.

// and the first character is a `-` (U+002D) ...

// and this commonizes their handling

// and undefined/non-string values are only allowed in object mode.

// and value unless symb. and sign are adjacent then space separates

// and we can't keep it yet

// and we need to re-evaluate how much data we can return to the user.

// android chrome

// angle / Math.PI * 180

// another frame/window

// another read() call => stack overflow.  This way, it might trigger

// any actions that shouldn't happen until "later" should generally also

// any new configuration values. Instead, we return an error.

// anything leftover becomes the decimal for the last unit

// anything other than normal should be considered experimental

// anything we haven't boiled down yet should get boiled to this unit

// app already pinned

// app initialization and mounting

// app is already active, nothing to do

// app/model might not be loaded/processed yet -> postpone label creation

// apparently config might be empty for shared folders

// appear

// append contact?

// append generic ctx-items (Tine.widgets.tree.ContextMenu)

// append id

// append the attributions

// append the mid and bottom frame to the bwrap

// appendChild can blow up IE if invoked prior to the window load event

// applied to each contained panel

// apply baseAttrs, nice idea Corey!

// apply basic layout

// apply custom cfg

// apply dateClss

// apply dateStyles

// apply default if current value is not appropriate

// apply generic tab sorting

// apply grants to fields with requiredGrant prop

// apply initial strategy

// apply modifications from initial Record

// apply removeStrategy

// apply some filterPanel configs

// aprxSqrt >= sqrt(this.n)

// arbitrary "safe" date that can be any date aside from DST boundary dates.

// arbitrary 25% of the entries.

// arbitrary, and perhaps not very meaningful.

// architecture yet.

// are eliminated

// are intended to be compressed and deduplicated, the TypeScript compiler

// are lazily instantiated, accessed via the `_generatedMappings` and

// are outside the visible extent.

// are present, and so on.

// are using the namespaced version, note that create_function() will

// area is locked

// args inline for performance while bubbling events

// arrange static action buttons

// array into two pieces and (2) recurse on each half. If it is not, this is

// array of objects

// array.shift()

// as HTML implementation status is verry poor atm. don't bother the user with this state

// as Safari. Oh the lulz...

// as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring

// as nice as a meta field, but it's the only sane thing we can do whilst

// as single characters)

// as soon as we *do* get something into the buffer.

// as the component is being moved.

// as the hot path ends with doWrite

// as the legend is no longer a direct child of fieldset

// as the other modules are async loaded,

// as-is since the runtime has dedicated fast path for this by directly

// ascii decimals to real symbols

// assemble adds

// assemble update & keep

// assertState executed before Ext.ux.form.ClearableComboBox.setValue , the trigger[0] was not updated in time

// assets

// assume that we have an element reference instead of an id if the

// assume utf8

// assume we have the higher-order units

// assume we should escape the brackets to match literal characters

// assume we should match with a regex character class

// assumes both mean empty.

// assumes normalized language tags, and matches in a case sensitive manner

// assumes there are no non-BMP characters;

// at any depth

// at distance 10, the best we've found so far is 3, and that the maximum

// at least 2 points are required (i.e. there must be at least 6 elements

// at least two points

// at the start of calling end()

// at this point the plugins are initialised

// at this point, the user has presumably seen the 'readable' event,

// attempts to access the passive property

// attributes passed

// auto add foreign record filter on demand

// auto add self id filter

// auto calculate missing column widths

// auto cleanup

// auto clear empty filter

// auto eval grants

// auto height

// auto node expand check

// auto record proxy

// auto search on filter change only if set in user preferences

// auto segment

// auto switch operator for single line filters

// auto template selection with gettext

// auto unlock

// auto xtype per data type

// autoWidth

// autoconfig app

// autoconfig corresponding fields

// autogenerate stateId

// autoinit config

// automatically enable saving

// autoselect token

// autowidth does not work

// average of the width and height.

// avoid a block node from tracking itself

// avoid extra slice()

// avoid rendering at 0

// aww, heck - we don't have instanceId(s) or target(s), so it's ALL THE REMOTES

// b -> Boolean

// b = min-length(num, this)

// b) if it does, use Intl to resolve everything

// b, F,G give errors in PHP, but 'g', though also disallowed, doesn't

// back compat

// back to string...

// backward compatibility

// backward compatibility to store.js

// backward compatibility, the user is explicitly

// backwards compat

// backwards compat, convert idPath or id / success

// backwards compatibility

// backwards compatibility.

// base64 is 4/3 + up to two characters of the original data

// base64-arraybuffer

// based on Windows "english" (English_United States.1252) locale

// based on the aes implimentation in triple sec

// based on the existence of 'content-col' or 'label-col' props

// basically just the most minimal sort of Transform stream.

// be a valid example of a transform, of course.)

// be called.

// be expanded.

// be sure that only one default is checked

// because it is fragile and can be easily faked with `Object.create()`.

// because it will trigger a redundant layout.

// because otherwise some prototype manipulation in

// because we don't have any way to figure out what they are

// become filterPlugin

// becomes the closest feature.  We then compute a smaller extent which any

// before children

// before expression transform.

// before memorisation

// before there was *not* enough.

// beforeCollapse (layout) -> onCollapse | beforeExpand -> onExpand (layout)

// beginn with largest

// behave like it would if they were running a local HTTP server. See

// behavior. The continuation byte check is included three times in the case

// behaviour of the recursive algorithm

// being hovered over so we can fire the onDragOut event

// being processed, so move the buffer counter past them.

// between P3 and P1 or on the opposite half of the line to P2.  add P2,

// bg image

// binary search in table of non-spacing characters

// bits 12-15 of the time_hi_and_version field to 0010

// bits 6-7 of the clock_seq_hi_and_reserved to 01

// blacklist

// blconfig should not be sorted

// block comment

// block handlers

// blocks are safe by definition

// blow up if action not Ext.data.CREATE, READ, UPDATE, DESTROY

// blow up if no successProperty

// bogus response object

// boolean

// border width

// both a non-empty whitespace string and an empty string will be coerced to 0

// both the year and zero-based day of year are defined and >= 0.

// bounded at: 0x40 * 0x3ffffff + 0x3d0 = 0x100000390

// branched to use + in gecko and [].join() in others

// browser environment to avoid the timer handle stalling test runner exit

// browser might draw x-scrollbars when y-scrollbars where shown

// browsers that can't handle diagonal clipping

// browsers that do not support Canvas. (import("./Circle.js").CircleStyle does

// browsers that don't support the native Blob constructor. (i.e.

// browsers will not allow tab targeting said element's children.

// btnfooter + tabpanel + paddings

// buffer.slice automatically checks if the end is past the end of

// buffered _write cb's as it consumes chunks.  If consuming a single

// buffered up.  When you call read(), that calls _read(n) until

// buffers into a series of JS strings without breaking apart multi-byte

// bugfixed by: Alex

// bugfixed by: Allan Jensen (http://www.winternet.no)

// bugfixed by: Anton Ongson

// bugfixed by: Benjamin Lupton

// bugfixed by: Brett Zamir (http://brett-zamir.me)

// bugfixed by: Cetvertacov Alexandr (https://github.com/cetver)

// bugfixed by: Chris McMacken

// bugfixed by: Daniel Esteban

// bugfixed by: Diogo Resende

// bugfixed by: EdorFaus

// bugfixed by: Eric Nagel

// bugfixed by: Eugene Bulkin (http://doubleaw.com/)

// bugfixed by: Feras ALHAEK

// bugfixed by: Fox

// bugfixed by: Glen Arason (http://CanadianDomainRegistry.ca)

// bugfixed by: Howard Yeend

// bugfixed by: Jarkko Rantavuori original by findings in stackoverflow (http://stackoverflow.com/questions/14136349/how-does-similar-text-work)

// bugfixed by: Kevin van Zonneveld (http://kvz.io)

// bugfixed by: Linuxworld

// bugfixed by: MIO_KODUKI (http://mio-koduki.blogspot.com/)

// bugfixed by: Marco

// bugfixed by: Michael Grier

// bugfixed by: Michael White (http://getsprink.com)

// bugfixed by: Nate

// bugfixed by: Oleg Eremeev

// bugfixed by: Onno Marsman (https://twitter.com/onnomarsman)

// bugfixed by: Rafał Kukawski (http://blog.kukawski.pl)

// bugfixed by: Reynier de la Rosa (http://scriptinside.blogspot.com.es/)

// bugfixed by: Rival

// bugfixed by: T.Wild

// bugfixed by: Tim de Koning (https://www.kingsquare.nl)

// bugfixed by: Tomasz Wesolowski

// bugfixed by: Tymon Sturgeon (https://scryptonite.com)

// bugfixed by: Ulrich

// bugfixed by: kirilloid

// bugfixed by: madipta

// bugfixed by: noname

// bugfixed by: pseudaria (https://github.com/pseudaria)

// build a map for all the columns

// build as dom

// build as innerHTML where available

// build the toolbar

// bulk render if the node already exists

// but changing them would not be useful without further mofifications and

// but doesn't do any validation, makes a bunch of assumptions about what units

// but for non compiled we need to strip them

// but if there is no previous whitespace

// but if you want to reflect current

// but shouldn't.  A more extensive review will take place for 3.2 which requires a ContainerMgr with hierarchy lookups.

// but that's not a great name for it, since that implies a thing where

// but we allow download on mobile devices for now

// by Juho Vähä-Herttua

// by Rollup, so we have to wrap it in a pure-annotated IIFE.

// by compiler-ssr to generate vnode fallback branches

// by default columns are sortable

// by default, clicked anchors will not start drag operations.

// by handling the zone options

// by subsequent POINTERUP events from other pointers.

// bye bye layout probs.

// bypass empty nodes starting with a BOM

// bypass nodes that "capture" the output

// byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer

// bytes of output.  Writing the 4 bytes {ff,ff,ff,ff} would result in

// c) if Intl fails, try again without the -u

// cache all anchor values

// cache nextToken

// cache the previous dragOver array

// cache the target for the delayed and or buffered events

// cached from whatever global is present so that test runners that stub it

// cacheing width beforehand for later

// calDAV URL

// calc metrics

// calc net price on sum, percentage or price change

// calc percentage if we are in sum mode and sum or price changed

// calc percentage in sum mode on net or sum change

// calc sum if we are in percentage mode and percentage or price changed

// calc sum in percentage mode on net or percentage change

// calculate center

// calculate optimal maxChunkSize

// calculate resolution

// calculate rotated position

// calculate sum of grants

// calculate the default min and max resolution

// calculate the delta between P1 and P2

// calculate the ideal resolution of the source data

// call Combo#fireKey() for browsers which use keydown event (except IE)

// call cb(er, data) where data is <= n in length.

// call default exception handler

// call drain immediately if there are no tasks

// call internal read method

// call stopKeyUp() on "keyup" event

// call this so we don't fire initial hide events.

// callback.

// callback/promise is the same as what one would get out

// called by FilterPanel for each filterToolbar

// called from legacy code - but all filters should come from registry

// called, the error will be emitted via nextTick, and

// calls: onCreateRecords | onUpdateRecords | onDestroyRecords

// can come up with an optimistic estimate, however, by assuming that

// can do at once see https://developer.mozilla.org/en-US/docs/Web/API/window.crypto.getRandomValues

// can implement the source URL resolution algorithm as outlined in

// can just ignore it.

// can only be simple expression because vFor transform is applied

// can use it then we use it. Otherwise we create a new tile.  In both

// can't outdent by more steps than the current indentation level

// can't right-pad 0s on integers

// can't use Ext direct because the timeout is not configurable

// cancelled files and failed files should be removed

// canvas.getContext('2d') at construction time, which will cause an.error

// cares for resizing

// case column widths

// cases we attempt to assign an interim tile to the new tile.

// cases:

// cause everything after the first invalid character to be ignored. (e.g.

// cause of the window usage the yui crop mask does not work, so we use the mask obove

// cause the system to run out of memory.

// causes very odd FF errors

// cell sm

// center and be longer than the bevel, same calculation as above but swap r1 / r2.

// chain of promises).

// change actionComboListEls

// change button text

// change column headers

// change made from typeof callback check to callback.params

// change strategy from merge to keep if user has no rights to merge

// change text if setRelatedRecordValue had child filters

// change title

// changes from Blues' implementation

// changes to the function body.

// char range

// charCode will always be < 0x10000 in javascript.

// character.

// characters)

// characters.

// check and correct shorthanded configs

// check constrains from other side

// check constrains from own_record side

// check contenttype and get info , update ui based on it

// check defaults if key is missing

// check directly on KeepAlive in the renderer, because importing it directly

// check for Date "rollover"

// check for IE mouseup outside of page boundary

// check for an undisclosed shadow

// check for common names

// check for itemCt, since we may be removing a fieldset or something similar

// check for known datatypes

// check for new version

// check for registered field

// check for registered renderer

// check for special cases we don't want to handle

// check grants if record already exists and grants should be evaluated

// check if `node` is contained in a disabled <fieldset>

// check if a new child needs to be added

// check if addressbook app is available

// check if all conflicts are resolved

// check if all quickadd fields are blured, validate them if required

// check if already in

// check if an old child needs to be removed

// check if animation is a no-op

// check if another relationPicker has the same record selected

// check if children match

// check if filter of type superfilter is present

// check if id exists in grid

// check if loaded data fit to the latest store load request

// check if node exists, as user might have lost permissions for modules

// check if options available -> use combobox or textfield

// check if our work is done

// check if record is already in current recents

// check if single container is selected in filter toolbar 

// check if the tabEl exists, it won't if the tab isn't rendered

// check if there are pending uploads and ask the user 

// check if user is already logged in

// check if value is still valid

// check if we have the version in registry (is not the case in the setup)

// check if we've got a consistent zoom factor and origin

// check instance[type] first which is resolved for options API

// check new value

// check old value if given

// check requiredRight if any

// check right on foreign app

// check stores/panels

// check that the body does not contain non-empty output nodes

// check the potential item

// check to make sure Element.position.js is loaded

// check to see if relevant resolver cache entries can be purged

// check to see if there's at least one tabbable node with a positive tab index inside

// check to see if this is a text node child of the one we want

// check usage of non-defined loop-items

// check which item is not present in all args

// checking for BOS characters like "!" and "." (not "./")

// checking whether the root is a prefix of the path won't work. Instead, we

// checks fail when running the tests using casper.js...

// checks for null and undefined

// checks if the start is equal to or before the end

// checks that the node only contains "constant" elements

// chrome://settings/securityKeys

// circular structure

// class icon_dialog_info needs to be defined in css of app

// clean worthless empty nodes.

// cleaned up by refreshInterimChain)

// cleanup

// cleanup event handlers once the pipe is broken

// clear any references from the node

// clear contents of combobox

// clear gird selection on favorite change, module change, container change?

// clear out temp styles after slide and unwrap

// clear stores which have no longer data

// clear the authenticated mod_ssl session

// clear time

// click

// clicking in list would blur field -> see minicBlur

// client validation failed

// clipped rendering if layer extent is set

// clockwise (inner ring) for higher z tile

// clone really means "create another instance just like this one, but with these changes"

// clone really means, "make a new object with these modifications". all "setters" really use this

// cloning null always returns null

// close fn out

// close the closest point we have found so far is, and the maximum

// close the polygon

// closer feature must intersect.  We continue searching with this smaller

// closes the current block.

// closing interception analog to browser windows

// closing properly or prevent close otherwise

// closure for composites            

// cls - CSS Class

// code size was sacrificed for effeciency (e.g. no getBox/setBox, no XY calls)

// code to add the data object to the top of the scope chain.

// coercion fail below.

// collapse slashes to reduce potential for exploits

// collect all visible columns from existing config

// collect async promises to convert each fileEntry into a File object

// collect client data

// collect folder entries

// collect uniq folder deps task for upload task

// collection housekeeping

// color management

// column.quickaddEditor.startEdit(cell, null);

// column.quickaddField.setValue(this.quickaddRecord.get(column.dataIndex));

// columns.forEach((col) => {

// combine string values if shift is pressed

// combined with the skin tone modifiers. This function

// comp.addBodyCls('x-accordion-body');

// compact is optional argument

// compare items as strings

// compare items as strings, based on the current locale

// compare items normally (don't change types)

// compare items numerically

// compile and place in cache

// compile the XTemplate for rendering XML documents.

// complete folder tasks should be removed

// component

// component doesn't need to update, it needs to persist the instance on to

// component in a pair which we have already processed

// component may have been moved before resolve.

// component nodes also should always be patched, because even if the

// computation

// compute cf's for cf tab and add a cf tab on demand

// compute rotation

// compute the actual time

// concat registered filters

// concurrency conflict

// concurrency is optional, shift the args.

// conditionally promisify a function.

// conditions prevent the data from being read:

// config values.

// configurable properties:

// configuration attributes

// configure ourselves to deal with gregorian dates or week stuff

// conn.url gets nullified after each request.  If it's NOT null here, that means the user must have intervened with a call

// connection url during beforeaction events (ie: beforeload, beforewrite, etc).

// consider the comment placeholder case.

// console.debug('Ignore this!')

// console.error('width=' + width + ',height=' + height + ',screenY=' + this.screenY + ',screenX=' + this.screenX)

// console.error(`[broadcastClient] processing buffer for ${model}: `, buffer);

// console.error(form ? 'form' : 'editorgrid', modified)

// console.info(path.join('/'))

// console.log(allApps);

// console.log(this)

// console.log(this, val)

// console.log(x, localStorage.getItem(x), amount);

// const availableModelsRegExp = this.availableModelsRegExp ? new RegExp(this.availableModelsRegExp.replaceAll('/','')) : null;

// const columns = this.getCols();

// const keyFieldDef = Tine.Tinebase.widgets.keyfield.getDefinitionFromMC(this.constructor, this.titleProperty);

// constants are marked safe for all

// construct, create_function() (though dollar signs must be on the

// consume data

// consume the instruction anyway, to avoid an infinite loop

// contact. isMouseActionButton returns true in these cases (evt.button is set

// containers given to createFocusTrap()

// contains buffers or objects.

// contants

// content-type bug: https://code.google.com/p/chromium/issues/detail?id=408120

// continuation bit is marked.

// continuation bit. The continuation bit tells us whether there are more

// continuation byte. If an invalid byte is detected, -2 is returned.

// contraints, we are also done. Otherwise we need to evaluate the

// convert "echo a ? b : c" to "a ? echo b : echo c" recursively

// convert a calendar object to a epoch timestamp

// convert an epoch timestamp into a calendar object with the given offset

// convert double taps into double clicks

// convert into error response

// convert legacy isValid into promise

// convert long press into contextmenu clicks

// convert non Ext.Direct request to jsonrpc

// convert string cols

// convert the FileList to a simple array of File objects

// convert tine search response into usual treeLoader structure

// convert to array

// convert two finger taps into contextmenu clicks (deprecated)

// coordinates and back.

// coordinates may be slightly different. We need to reverse-compensate this

// coordinates so interactions cannot be used.

// cope with added relations

// cope with operator registry values

// copies of the 'buffer' package in use. This method works even for Buffer

// copy 'real' data to container space

// copy (reference data from metadata record, e.g. config class for dynamic metadata records)

// copy arguments first

// copy of this software and associated documentation files (the

// copy over window* props from prototype to config (e.g. windowHeight)

// copy so we don't disturb original config

// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)

// corrects IE, other browsers will ignore

// correspond to encoded bytes (if 128 - then lower half is ASCII). 

// corresponding driver method until localForage is ready. These stubs

// could be HTMLElement, SVGElement, or non-empty string at this point

// could lead to unexpected or undesirable results.

// could not be found.

// count buffered requests

// counter-clockwise (outer ring) for current tile

// courtesy of @geoffrey.mcgill

// covert a calendar object to a local timestamp (epoch, but with the offset baked in)

// create Button

// create Date object representing January 1st for the given year

// create Date object representing midnight of the current day;

// create Gridpanel

// create a XHR feature loader for "url" and "format"

// create a bogus element object representing the document object

// create a local reference to the drag and drop manager

// create a new DT instance by adding a duration, adjusting for DSTs

// create a path for each virtual node, this path is actually invalid and won't be send to server!

// create action

// create an array containing all items of all args

// create an empty span with class x-tab-strip-text to force the height of the header element when there's no tabs.

// create constants based on platform, for windows or posix

// create container tree panel, if needed

// create dummy domain

// create editDialog openWindow function only if edit dialog exists

// create editor if values are defined in the constraints config

// create filter panel

// create general Response instance.

// create if not cached

// create it for us if it doesn't exist.

// create items from available export formats (depricated -> use definitions)

// create items from available import formats (depricated -> use definitions)

// create label images

// create links

// create main screen

// create method call params

// create new event object impl so new events don't wipe out properties

// create one

// create padding and handle blocks

// create private copy of Ext's String.format() method

// create recordProxy

// create store

// create translation

// cross-records: skip cross-record level completely, have all operators

// css module (injected by vue-loader)

// ctrl + return

// current column

// current data of other panels

// current one which is broken (i.e. experiencing

// current row

// currently selected cell

// cursor is over multiple matches, the first one we come

// custom bootstrap styles

// custom can be "{"

// custom code overrides

// custom comparator function, calling back and forth between the VM's C++ and

// custom elements may use _value internally

// custom events

// custom ext build

// custom ext definition

// custom fields handling

// custom grants model

// custom operators

// custom placeholder type

// customfield handling

// cut at next possible whitespace after the limit

// cut just at the defined limit

// cycles) and prevents the cache of simplified geometries from filling

// d -> Date

// data index

// data: this.data.clone().items,

// date

// date calculations (note: these calculations create a dependency on Ext.num())

// date is PHP timestamp - i.e. in seconds

// dates

// day

// day (optional)

// dc.b4DragEnter(e, oDD.id);

// deal with it

// debounce: {type: [String, Number], default: 0}, TODO: not implemented yet

// debounced at least once.

// decimal fraction of a second (e.g. ",12345" or ".98765") (optional)

// decimal fraction of a second (minimum = 1 digit, maximum = unlimited)

// decode an encoded blob

// decode the last character properly.

// decodeTables is a trie, encoded as an array of arrays of integers. Internal arrays are trie nodes and all have len = 256.

// decreasing order of creation time, there is no need to search the remainder

// dedicated fast path.

// deep merge for vals

// deeply ugly to write APIs this way, but that still doesn't mean

// default = centre of element

// default behaviour

// default connection failure

// default drop rules

// default event for init

// default format by locale and with two decimals

// default function

// default function is not really useful

// default implementation of doRequest for backwards compatibility with 2.0 proxies.

// default in iojs

// default input attributes

// default left pos

// default mainscreen route

// default options

// default trigger event

// default type is auto

// defaultOpt as these are the only ones allowed

// defaults

// defaults for unspecified units in the supported calendars

// defaults to false

// defeat scoping :)

// defer encoding for some other layer, probably in {@link Ext.Ajax#request}.  Place everything into "jsonData" key.

// defer messagebox as it should not be displayed too early

// defer navigation to complete this step before

// defer the callback if we are being called synchronously

// define a record here

// define once

// define these as fixed properties, so people get useful errors when updating

// degree of precision

// delayed drop so the click event doesn't get fired on a drop

// delete

// delete panels

// delete selected record(s)

// deleted (even when initiated by other sessions in different tabs).

// delta = Z1^2

// denormalization -> filter for original model

// denormalizationOf means we get denormalization data, but select/pick fresh records

// deny native context menu if we have an own one

// deprecated

// deprecated, call from EventManager

// designed to be sync/async agnostic.

// destroy(err, cb) is a private API

// detect resoponse errors (e.g. html from xdebug) and convert into error response

// detected. This is to prevent nasty pans after pinch.

// detects whether we should use keydown or keypress based on the browser.

// determine column

// determine if fill is transparent (or pattern or gradient)

// determine the timezone

// determiner: 'must be' or 'must not be'

// didn't get any data, stop spinning.

// different type like `SVGElement`.

// digits in this value following this digit.

// direct init

// direct search

// directly after the root.

// directly in the renderer. The renderer checks for the __isSuspense flag

// directly remove records from the store (only for non-filter-selection)

// disable clearer of relation picker combos, otherwise the clearer will be shown before initializing

// disable combo, btn, context

// disable default mailto link

// disable fields which cannot be handled atm.

// disable generic drops

// disable on filter selection if required

// disable personal only fields (not quite sure why we get a string here in personal_only field)

// disable preview update if config option is set to false

// disable the default indicator

// disable the native 'history back'

// disable the native 'new tab' if in popup window

// disable the native 'select all'

// disable unselect on radio item

// disabled: !Tine.Tinebase.common.hasRight('manage_sso', 'SSO'),

// disabling

// discard P2 and set P2 = P3

// dispatch _after_ init resolvers/awaits

// dispatch to the lexing functions depending on the current state

// display countdown

// display none?

// displayField: 'modelName',

// distance between consecutive points is 2, then we'll need to skip at

// distance between consecutive points.  For example, if we're currently

// distribute by even %

// distribute, sublicense, and/or sell copies of the Software, and to permit

// do it the other way round because add() always adds records at the beginning of the MixedCollection

// do not allow collapse if there is only one item

// do not apply broken state

// do not catch modified keys (CTRL, ALT)

// do nothing

// do nothing    

// do nothing - no grid

// do nothing for now

// do nothing if the line is empty

// do sizing calcs last

// do we need a beforeload event here?

// doWrite is almost always async, defer these to save a bit of time

// doc'd in BaseItem

// docs inherit from Field

// docs see https://bootstrap-vue.org/docs/components/alert

// documented in subclasses

// does not check the current pair to see if it is

// dom element

// dom is optional

// don't allow to relate itself

// don't apply plugins to the menu, apply them only to the datepicker

// don't bother user with two dialogs at one login

// don't break on failure, use given record instead

// don't break things.  But we need to wrap it in a try catch in case it is

// don't close last app panel

// don't display generic fields

// don't do anything, if a state has been applied

// don't encode DOM objects

// don't enumerate as form field

// don't judge them as criterias

// don't leave dangling pipes when there are errors.

// don't look for alt tiles if alpha is 1

// don't polute global namspace if no one else did

// don't push empty TEXT tokens

// don't request to delete non existing tags

// don't rerender if not required

// don't save these records. Add them to the parents' record store

// don't send error reports for that!

// don't show confirmation question for record deletion

// don't show multiple record fields unless explicitly configured (backward compability)

// don't show parent property in dependency of an editDialog

// don't show record field if the user doesn't have the right on the application

// don't skip over falsy values in objectMode

// don't touch original store!

// don't touch other configs than records & default

// don't use a then, so that we can define

// don't use this -> register from server only

// don't want to throw if we can't find the source - we just want to

// don't || this because we want to preserve -0

// done loading

// done with it.

// double is always 1 '

// double quoted string

// double-click

// down

// downloads in a cloud :-(

// dragged element.

// drain event flag.

// draw in non-declutter group:

// drivers that have simple _support methods

// drivers. See: https://github.com/mozilla/localForage/pull/42

// drop all database tables

// due to cross-origin restrictions

// due to dependencies isues we need to wait after render

// due to type annotation

// dumbed-down version of the ISO one

// during an interaction, allow some overscroll

// during interacting or animating, allow intermediary values

// dynamic component may resolve to plain elements

// e  | |\ \              .

// e.g. btngroup 

// e.g. history panel

// e.g. no access to owningApp

// e.g. options.readableObjectMode vs. options.writableObjectMode, etc.

// e.g. readGrant || Document_Invoice_readGrant

// e.g. server process killed or network down

// e.g. {name = 'someApp'}

// e.g., 3

// e.g., English

// e.g., French

// e.g., ordinal

// e.g.: /users.json, /users.xml, etc.

// each item is an array with the config of one row

// each represented by a surrogate pair.

// each row consists of n column objects

// each safe for removal

// each transaction upon a singe record will generate a distinct Direct transaction since Direct queues them into one Ajax request.

// eachOf implementation optimized for array-likes

// easy cope with directories

// edit dialog without recordClass cannot have custom fields

// editDialog exists, so get the records from there.

// editing is just possible if strategy "keep" is chosen, or the finalValue when choosing strategy "mergeTheirs" or "mergeMine"

// effect.

// effect.  This allows us to short circuit simplification (saving CPU

// efficiently:

// eg ".json"

// either P1, P2, and P3 are not colinear, or they are colinear but P3 is

// either not tabbable nor focusable, or was focused but not tabbable (negative tabindex):

// either null, or an array of matched strings

// element

// element id

// element object

// element. Make sure we always return the smallest of these.

// element. Wrap it.

// elements that are less than or equal to the pivot to the before it, and

// else

// else direct field wrap

// else, `getShadowRoot` might be true, but all that does is enable shadow DOM support

// else, empty string (invalid), null (invalid), 0 (invalid)

// else, fallback to 'none' mode and consider the node visible

// else, let the browser take care of [shift+]tab and move the focus

// else, no tabbable nodes in that container (which means we must have at least one other

// else, node's tabbable/focusable state should not be affected by a fieldset's

// embedded templates are set as attributes so that they are only visited once by the visitors

// emit

// emit 'drain' before the write() consumer gets the 'false' return

// emit 'readable' now to make sure it gets picked up.

// emit a single compressed chunk some time in the future.

// emit an error with process.nextTick

// emit prefinish if the only thing we're waiting for is _write cbs

// emit removeListener for all listeners on all events

// empty response

// empty string to avoid regexp issues

// enable or disable according to admin rights / admin mode

// enable or disable save button dependent to containers account grants

// enableColumnResize

// encapsulate as jsonrpc response

// encode a blob for indexeddb engines that don't support blobs

// encode to utf16 (surrogate pair dance)

// encode utf8

// encode-decode-image-with-base64-breaks-image (2013-04-21)

// encoding is 'binary' so we have to make this configurable.

// encoding/decoding from VLQ.

// end of Ext.ux.Wizard constructor

// end of instructions

// end of quoted

// end on a partial character, we simply let v8 handle that.

// end placeholder

// end up in an overlapped onwrite situation.

// end up inverted (min > max); this has to be accounted for

// endverbatim itself

// ensure it stays within bounds

// ensure rendering in single-line as all calculations below don't handle multi-lines

// ensure returns boolean

// ensure setup of localization variables takes place

// ensure setup of localization variables takes place, if not already

// ensure that object properties are always added in the same order, which

// ensure the node left point is visible

// ensureSelected: function(node) {

// enter

// entity created but no response returned

// era

// eras

// error, so assume unsupported

// escape all non-alphanumeric characters

// escaped! pull it back in to where it just left

// eslint-disable-line camelcase

// eslint-disable-line consistent-return

// eslint-disable-line eqeqeq

// eslint-disable-line new-cap

// eslint-disable-line no-eval

// eslint-disable-line no-proto

// eslint-disable-line no-restricted-syntax, no-unreachable-loop

// eslint-disable-line no-self-compare

// eslint-disable-line no-unmodified-loop-condition,max-len

// eslint-disable-line no-unused-expressions

// eslint-disable-next-line @typescript-eslint/ban-ts-comment

// eslint-disable-next-line @typescript-eslint/no-explicit-any

// eslint-disable-next-line @typescript-eslint/no-unused-vars

// eslint-disable-next-line no-console

// eslint-disable-next-line no-restricted-syntax

// eslint-disable-next-line no-throw-literal

// eval fn and return it

// evaluate group here?

// even if `includeContainer=false`, we still have to check it for inertness because

// event emitter implementation with them.

// event listener, this might happen in a Control that recreates it's content based on

// event propagation management

// event without subscribing

// event.code is usually 1006 in this case

// event.preventDefault().

// events initialization

// events to the class.  Allows for centralized listening of all proxy instances upon the DataProxy class.

// except for type specifiers

// exclude `base` from the options

// exist

// exist by default in Ext, so we have to add the namespace first:

// existing drag and drop instances.

// existing markup

// existing patch flag to be reliable and need to add the FULL_PROPS flag.

// expand aquidistantly (all with potential at the same rate)

// expand this panel if more than 2 childnodes (initial + add)

// expect category is str

// expect this (unhelpful) form, we'll use another PHP-exportable

// expected as the definition is not part of the default template code flow.

// explained above.

// explicit UTC offset

// explicit chose right operator /equals / in /definedBy: left sided values create (multiple) subfilters in filterToolbar

// exports from export definitions

// expose the module cache

// expose the modules object (__webpack_modules__)

// exposed for testing purposes only.

// exposed only to allow manual firing

// expressions

// extend

// extend object

// extends past the left border

// extension

// extent, trying to find a closer feature.  Every time we find a closer

// extent. If the viewport is wider than the world, we need to add half of

// f(r, k)

// f.setValue(this.quickaddRecord.get(f.fieldName));

// fact by caching the parsed variable length fields of each segment,

// fact, when sorting with a comparator, these costs outweigh the benefits of

// failures

// fake an access stack

// fake background nodeGrid to support file actions of related files

// fall back to default behaviour when pasting image

// fall back to explicit tabbable search which will take into consideration any

// fall through

// fallback

// fallback tree will not have suspense context

// falls through

// fallthrough

// fallthrough attributes.

// fallthrough to Ext Window

// false explicitly indicates we want no initialFocus at all

// far as localized sepBySpace and signPosn behavior

// far.  We know this because we know how close the current point is, how

// fast path needed to support multiple this.push()

// fast paths only.

// faster than JS when doing raw CPU-intensive sorting. However, when using a

// favorites panel

// favour UTC offset over GMT offset

// feature must intersect it.  We continue until we run out of features.

// feature, we update the extent being searched so that any even closer

// fence onRecordUpdate

// fetch default relation config is none is given

// fetch details panel depends on new region width, otherwise the details panel still have the old layout after switch region.

// fetch records from server on filterselection to get the exact difference

// field

// field has no container el

// field width: w (minimum field width)

// fieldDefinition.fieldName, Tine.widgets.grid.RendererManager.CATEGORY_DISPLAYPANEL)

// fieldLabel: 'Amtlicher Regionalschlüssel',

// figure out how much this thing has moved

// figure out if we should consider the node to be in an undisclosed shadow and use the

// file:///, etc.), one or more slashes (/), or simply nothing at all, we

// fill data with filter record data in case form field not exist (not rendered)

// fill new collection

// fill this.apps with registry data 

// fill/buffer all cf's with values

// filter expression is safe when the filter is safe

// filter for userType if records contain is_user_type (NOTE: keyFieldRecord Models are not announce yet)

// filter group got expanded by server (e.g. by implicit filter)

// filter operators

// filter out duplicates if specified

// filter out empty strings if specified

// filter personal_only (disabled) items

// filter plugin has to 'pick' its records

// filters

// finally apply callback

// finally apply generic wrap for dynamic metadata provider

// finally construct the content panel

// finally load the record into the form

// finally select the selected node, as filtertrigger clears all selections

// find container by selection or use defaultContainer by registry

// find insert position

// find record from dataset

// find record from deeplink

// find the 'nearest' other token

// find the best mapping.

// find the body element

// find the container anchoring size

// find the first loaded tile and return it. Since the chain is sorted in

// find the first tabPanel and add it there

// find the right offset a given local time. The o input is our guess, which determines which

// find treenode to select

// finder methods, used with delegation

// finding a closer point.  We use Math.max(..., 1) to ensure that we

// finlay apply callback

// fire change event

// fire drag drop?

// fire dragout events

// fire drop events

// fire end drag?

// fire enter events

// fire load event so loading indicator stops

// fire over events

// fire selectionchange event of all items as westPanel events

// fire westpanel event on favorite change

// firefox fix: blur each item before tab changes, so no field  will be focused afterwards

// firefox specific problem -> see http://www.extjs.com/forum/archive/index.php/t-44862.html

// first

// first do standard event for this node

// first mapping ends where the second one starts).

// first try reverting to default

// first try to find the drop node

// first validate right/bottom

// first, determine if we are parsing an arrow function by finding => (long form)

// fit the shim behind the shadow, so it is shimmed too

// fix IE 1px bogus margin

// fix display to visibility

// fix for IE6

// fix for floating editors interacting with DND

// fix layout issue

// fix nasty paging tb

// fix negative zero

// fix opacity, which might be broken by the inherited window properties

// fix selection of one record if shift/ctrl key is not pressed any longer

// fix stopped mousedowns on the document

// fix z-index problem when used in editorGrids

// fix: behaviour with modifier (e.g. file copy of mulitiselection) should not change?

// fix: make DD & checkbox selection working together

// fixed size for slide

// fixed size for slide   

// fixes scope with flyweight

// fixes this for us now.

// fixing layers in LayerCombo

// fixme: better way to initialize the focusTrapStack

// flag: ! (suppress currency symbol)

// flag: =f (numeric fill)

// flag: ^ (disable grouping characters (of locale))

// flag: parenth. for negative

// flat design

// flip 'em

// flipped image

// flowing again.

// flowing needs to be set to true now, otherwise

// fluent add

// fluent adding

// fn to return wait ticket

// focus will escape if the MRU node had a positive tab index and user tried to nav forward;

// focus+select new record

// following conditions:

// foo as number

// foo!

// foo<string>

// for AM and PM. This is probably wrong, but it's makes parsing way easier.

// for Object prototype breakers

// for Twig, a string is not traversable

// for async generators

// for backwards compat, this should be removed at some point

// for browsers that support it, ensure that give the el the same id

// for camelCase

// for character classification and conversion, for example strtoupper()

// for compatibility

// for component root it's always normalized anyway.

// for creating a store.

// for date and time formatting with strftime()

// for date filters we need to rerender the value section

// for decimal separator (See also localeconv())

// for each line of text

// for items with fixed width, cache the width for later

// for kebab-case

// for legacy reasons, years between 0 and 99 are interpreted as 19XX; revert that

// for localeconv()

// for more details.

// for msgid_plural == ""

// for non-element and vnode lifecycle event listeners, auto convert

// for now assuming pure a-z

// for people extending the object prototype

// for positioning calcs when getting xy next

// for prototype!

// for queue support.

// for readability and clarity

// for readable, but we still have to call

// for sign when there is a positive number, though my

// for some reason IE looses split height when outer layout is layouted

// for string comparison, see strcoll()

// for system responses (available if PHP was compiled with libintl):

// for tests

// for the fast :-)

// for tools, we need to wrap any existing header markup

// for virtual (non-string, non-buffer) streams, "length" is somewhat

// for(let i = 0; i < confs.length; i++) {

// force duplicate 0 atm.

// force recalc

// force rendering as we can't set values on non rendered toolbar atm.

// force set last selected field

// force width overwrite if width is set

// form scope

// form ux.datetimefield

// framing requires special markup

// free browse plugin

// freeOTP only?;

// from MDN, handle object having an `hasOwnProperty` prop

// from http://bitwiseshiftleft.github.io/sjcl/doc/symbols/src/core_gcm.js.html

// from https://github.com/Rantanen/node-dtls/blob/25a7dc861bda38cfeac93a723500eea4f0ac2e86/Certificate.js

// from https://github.com/indutny/self-signed/blob/gh-pages/lib/asn1.js

// ftb might have a record with this id

// function because try/catches deoptimize in certain engines.

// function expression is safe when the function is safe

// functions

// gamma = Y1^2

// gecko looses its document after document.close(). but fortunally waits with printing till css is loaded itself

// general preferences are tree root

// generalized keybord map for edit dlgs

// generated file.

// generated positions relative to the start of the section, so we

// generic context menu

// generic empty text

// generic error with message generated on the server

// generic failure -> notify developers

// generic focus element

// generic overflow tip from Field.js

// generic: choose right operator : appname -> generic filters have no subfilters an if one day, no left hand once!

// get + / - sign

// get active tasks with current instanceId

// get all cf values

// get application if string is given

// get calling application if string is given

// get current date before clearing time

// get customfields to handle

// get default data from fields config

// get fields to handle

// get file after we got granted entry permission

// get filterToolbar

// get granted entry permission

// get grid

// get group by current contentType

// get here even though we have ended the drag.

// get hours (performs minutes-to-hour conversion also, just in case)

// get identified by id this should be solved some time ;-)

// get items for this dialog

// get keyField config

// get localised month number

// get localised short day name

// get localised short day names

// get localised short month name

// get localised short month names

// get minutes

// get mousedowns early

// get operator

// get operators from registry

// get recordClass if string is given

// get relationpickerfields to handle

// get row again

// get selection filter from grid

// get selection model

// get slice of length one char above limit

// get store

// get the first point which still falls into the delay time

// get the location of the block on parent.nodes (block's siblings)

// get the object in which the value was wrapped when adding to the

// get translations

// get value for idField if our own operator is not definedBy

// get value must not return a string representation, so we convert this always here

// get values from card panels

// get values of filters of our toolbar we are superfilter for (left hand stuff)

// getKey implementation for MixedCollection

// getRandomValues fails on IE if size == 0

// getValues only returns RAW HTML content... and we don't want to 

// getter methods for fetching elements dynamically in the grid

// gettext('GENDER_Model')

// give DOM the time to show loadMask

// give browser some time to clear registry

// give browser time to breathe

// give some extra time for logo

// give static item pos to existing items

// give top priority to UNIX time

// given discrete zoom levels, minResolution may be different than provided

// global by include :-(

// global properties

// global registration

// global sort so groups are sorted to

// global. It's extended by pulling in one of our other libraries.

// go back to original angle

// go through the array every three bytes, we'll deal with trailing stuff later

// goes above the top border

// got a match.

// got an "options" object

// gregorian data + weekday serves only to validate

// group share the same group value. Returns false if the group

// group value is at the end of the string

// grr. ext validates value not key

// hack for the save/delete all btns which are now in the first row

// hack to get _user specific_ provider_configs from exception

// hack to have all form items rendered

// handle TimeFields to set original value (not possible before)

// handle android IME keyboard

// handle camel casing for english month names (since the keys for the Date.monthNumbers hash are case sensitive)

// handle case scroll where scrollbars appear during drag

// handle closeables

// handle columns fractional resizing

// handle generic confirm

// handle late devtools injection - only do this if we are in an actual

// handle neighbours resizing first

// handle quota exceeded exception

// handle relative paths to be safe (might happen when process.cwd() fails)

// handle row action click

// handle some browsers sometimes missing mime types for dropped files

// handle sorting too

// handle whitespace control modifiers

// handler in flow(), but adding and removing repeatedly is

// handles the reset/restore button

// handling at a lower level.

// happens for direct extensions of button class, like the notes button

// has a sign

// has current parent block

// has it been destroyed

// has not been initialized yet

// has returned yet), so that we know whether or not it's safe to emit

// hash to map config positions to true positions

// have a good chance at having a non-empty extension

// have any effect then just return this.

// have exhausted all components, so the path is not relative to the root.

// have received a mix of quantized and non-quantized geometries, so ensure

// have save button for single rows

// have self contained fieldDefinition

// have to do it manually.

// have to separate before-events since load has a different signature than create,destroy and save events since load does not

// header class variable, as IE evals "if (this.header)" to true otherwise 

// helper useful in turning the results of parsing into real dates

// helper variables

// helps handle the details

// helps many JavaScript engines generate faster code.

// hence no need to implement now

// here to prevent dependency on Date.js

// here we loose record.json data from old record! -> update existing record? vs. have preserveJSON props? // not a problem?

// here, nested means "being at the root level of a child template"

// here.  For example, imagine a stream where every byte of input is

// hex

// hidden

// hide current records from store.loadRecords()

// hide fist separator

// hideous table template

// high byte

// high private surrogates as single characters)

// historic reasons, try to get rid of it!

// home

// hour

// hour AND minute, delimited by a single colon (optional). MUST be preceded by either a "T" or a single blank space

// hours

// however, don't suppress the throwing behavior for this.

// however, if we've ended, then there's no point, and if we're already

// html editor plugin translations

// http date

// http://code.google.com/p/chromium/issues/detail?id=63040

// http://connalle.blogspot.com/2013/10/topological-sortingkahn-algorithm.html

// http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist

// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics

// http://en.wikipedia.org/wiki/GBK

// http://en.wikipedia.org/wiki/UTF-16 and http://encoding.spec.whatwg.org/#utf-16le

// http://extjs.com/forum/showthread.php?t=67194.  Have to set DataProxy config

// http://hyperelliptic.org/EFD/g1p/auto-montgom-xz.html#diffadd-dadd-1987-m-3

// http://hyperelliptic.org/EFD/g1p/auto-montgom-xz.html#doubling-dbl-1987-m-3

// http://icu-project.org/docs/papers/gb18030.html

// http://locutus.io/php/get_html_translation_table:416#comment_97660

// http://moztw.org/docs/big5/  http://www.haible.de/bruno/charsets/conversion-tables/Big5.html

// http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx

// http://php.net/manual/en/function.strtr.php

// http://reference.sitepoint.com/javascript/Node/normalize

// http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml

// http://www.khngai.com/chinese/charmap/tblgbk.php?page=0

// https://bugzilla.mozilla.org/show_bug.cgi?id=885597.

// https://code.google.com/p/crypto-js/

// https://developer.mozilla.org/En/DOM/Node.normalize	    

// https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues

// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith

// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes

// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith

// https://en.wikipedia.org/wiki/Topological_sorting#Kahn.27s_algorithm

// https://geomalgorithms.com/a03-_inclusion.html

// https://git.io/vad3K

// https://github.com/OSGeo/gdal/blob/master/gdal/ogr/ogrlinearring.cpp

// https://github.com/feross/buffer/pull/148

// https://github.com/google/closure-library/blob/8598d87242af59aac233270742c8984e2b2bdbe0/closure/goog/crypt/crypt.js#L117-L143

// https://github.com/google/closure-library/blob/master/LICENSE

// https://github.com/keybase/triplesec

// https://github.com/localForage/localForage/issues/856

// https://github.com/mapbox/mapbox-gl-js/blob/001c7b9/js/ui/handler/scroll_zoom.js

// https://github.com/mozilla/localForage/pull/42

// https://github.com/nodejs/node/blob/v10.8.0/lib/internal/errors.js

// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9

// https://github.com/pouchdb/pouchdb/blob/master/packages/node_modules/pouchdb-adapter-idb/src/blobSupport.js

// https://github.com/sindresorhus/p-is-promise/blob/cda35a513bda03f977ad5cde3a079d237e82d7ef/index.js

// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229

// https://html.spec.whatwg.org/multipage/parsing.html#parsing-html-fragments

// https://html.spec.whatwg.org/multipage/parsing.html#tree-construction-dispatcher

// https://msdn.microsoft.com/en-us/library/hh869301%28v=vs.85%29.aspx

// https://reactjs.org/docs/react-component.html#componentdidmount

// https://reactjs.org/docs/react-component.html#componentwillunmount

// https://stackoverflow.com/q/1165647/clockwise-method#1165943

// https://stackoverflow.com/questions/588004/is-floating-point-math-broken

// https://www.w3.org/TR/webdatabase/#databases

// hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html

// hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#tripling-tpl-2007-bl

// hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html

// hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#doubling-dbl-2001-b

// hyperelliptic.org/EFD/g1p/auto-twisted-extended-1.html

// hyperelliptic.org/EFD/g1p/auto-twisted-projective.html

// i  | |\                  .

// i - 2

// i.e. unix time is defined

// i18n._('Add')

// i18n._('Admin')

// i18n._('Delete')

// i18n._('Edit definition')

// i18n._('Edit')

// i18n._('Export')

// i18n._('Modules')

// i18n._('Read')

// i18n._('Start definition')

// i18n._('Sync')

// i18n._('The grant to add records to this container')

// i18n._('The grant to administrate this container')

// i18n._('The grant to delete records in this container')

// i18n._('The grant to edit records in this container')

// i18n._('The grant to export records from this container')

// i18n._('The grant to read records of this container')

// i18n._('The grant to synchronize records with this container')

// id: 'tw-ftb-frow-fieldcombo-' + filter.id,

// ie

// ie will not expand full height automatically

// if (! column.quickaddEditor) column.quickaddEditor = new Ext.Editor({

// if (! column.quickaddField.rendered)

// if (!(symObj instanceof Symbol)) { return false; }

// if (!contentType) return;

// if (!this.field.selectedRecord && mode === 'remote') {

// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }

// if (e.target.getAttribute('disabled') !== null) {

// if (i<80) {

// if (l1 > LEVENSHTEIN_MAX_LENGTH || l2 > LEVENSHTEIN_MAX_LENGTH) {

// if (not empty value through operator chage)

// if (record === this.quickaddRecord) return false;

// if (sym instanceof Symbol) { return false; }

// if (this.isTypeOfDD(oDD) && oDD.isTarget) {

// if (this.listMode === listMode ) return

// if (this.ownRecordFilter !== false) {

// if (this.props.records && _.find(this.props.records,

// if (typeof Symbol.prototype.toString !== 'function') { return false; }

// if P1, P2, and P3 are colinear and P3 is further from P1 than P2 is from

// if Writer is configured as listful, force single-record rs to be [{}] instead of {}

// if _final has been called

// if a MessageBox.show() came right after the first MessageBox calls

// if a group was found, try to expand the node

// if a transparent fill style is set, create an extra hit-detection image

// if action has to initialConfig it's no Ext.Action!

// if already initialized, dont't repeat setting start values and inserting button

// if an async load is already running, waiting til it's done

// if any field has changed of a shipped record, use translation

// if calculated admin right is true, overwrite all grants with true

// if clearTimeout wasn't available but was latter defined

// if content doesn't fit, first truncate the title

// if cut wasn't forced

// if default data is empty, it will be resolved to an array

// if edit action is disabled or not available, we also don't open a new window

// if edited or cleared

// if event name is dynamic, always wrap with keys guard

// if hasn't been loaded, wait for load to remove it to prevent script error

// if he wants to cancel and delete pending uploads or not

// if height available pop

// if image not flipped translate and scale can be avoided

// if initShow property is present and it is set to false don't show window, just return reference

// if is edit

// if it already fired

// if it doesn't have one, look for one

// if it doesn't parse, return as is

// if it is a move, we need to update everyone

// if it still doesn't fit, take one record into popover

// if it's been rendered remove dom node

// if it's blank

// if it's blank and textfield didn't flag it then it's valid

// if its an array, use the first node.

// if its not disabled then check it.

// if its parent <fieldset> is not nested in another disabled <fieldset>,

// if js filter is defined in filterconfig.options, take this and return

// if my side is not valid, it's ok to skip related constraints validation, the relation is marked invalid already

// if needed.

// if nested in a editDialog (dependent record), the service won't exist

// if no compatible items found

// if no id, call the auto id method

// if no id, create one using column's ordinal position

// if no link defined, prevent the default anchor event

// if no link defined, stop the event automatically

// if no record is given, do nothing

// if no treenode was found, try to find the module node

// if parent responsiveEnabled, make this container also responsiveEnabled

// if passed an array or multiple args do them one by one

// if path was override in frontend for any reason, restore it

// if path/domain/secure didn't match, force delete. more actions might be nessesary

// if primitive value, replace with object

// if provider has not already been instantiated

// if record has relations, validate each relation

// if recordType defined make sure extraction functions are defined

// if registered

// if registry could not be loaded, this is mostly due to misconfiguration

// if relations hasn't been fetched already, fetch them now

// if result is Promise object

// if scrolling top, we need to grab scrollLeft, if left, scrollTop

// if setTimeout wasn't available but was latter defined

// if state is defined use it, however state is in terms of expanded

// if that fails, default to block

// if the app is not in the namespace, we don't initialise it

// if the beginning of the glob is "./", advance the start

// if the current mode of pickerCombo is same as arg(listMode), there is no need to reinit the combo

// if the dest has an error, then stop piping into it.

// if the element exists

// if the element isn't positioned, make it relative

// if the field is a dynamicRecord, get classname and adopt this.recordClass

// if the grid is nested in an editdialog, disable refresh

// if the length is currently zero, then we *need* a readable event.

// if the load is cancelled, make sure we notify

// if the parent name is not dynamic, then we can cache the parent as it will never change

// if the readable side is ready for autoDestroy as well

// if the reader is waiting for a drain event from this

// if the slice ends with whitespace

// if the symbol does not exist in the current scope (0), try in the main/global scope (last index)

// if the table is missing (was deleted)

// if the time isn't unique enough, the addition 

// if the vnode is cloned with extra props, we can no longer assume its

// if the vnode itself already has a ref, cloneVNode will need to merge

// if the writable side is ready for autoDestroy as well

// if there aren't any relations, no validation is needed

// if there is a connection and readyState is not 0 or 4

// if there is default value check it

// if there may be such characters, then it is best to turn it on (critical in true XHTML/XML)

// if there were multiple selectors, make sure dups

// if there where no remaining childfilters, hide this filterrow

// if there's nothing in the write buffer, then that means

// if there's something in the buffer waiting, then process it

// if they turned off grouping and the last grouped field is hidden

// if this is a duplex stream mark the writable part as destroyed as well

// if this is a plain element with a single text child, leave it

// if this is not a hydration, instance.subTree will be the comment

// if touch hasn't moved, and effect not yet started: start effect now

// if true, a maybeReadMore has been scheduled

// if used as gridEditor

// if user wants to select he clicks instead of drages!

// if value is empty, set it to ID

// if var app is a record class, the getMeta method is called

// if view properties are not yet set, shortcut to the final state

// if we are a childfilter of a recordclass of the subfilter, just place the subfilter

// if we are currently firing this event, don't disturb the listener loop

// if we are sync, wait until next tick to emit the data.

// if we currently have less than the highWaterMark, then also read some

// if we didn't call the onwrite immediately, then

// if we didn't set the day but we ended up on an overflow date,

// if we have detected an error in the meanwhile

// if we have multiple next() calls

// if we need a readable event, then we need to do some reading.

// if we're already writing something, then just put this

// if we're doing read(0) to trigger a readable event, but we

// if we're not piping anywhere, then do nothing.

// if we've ended, and we're now clear, then finish it up.

// if you want to output a technical format (e.g. RFC 2822), this helper

// if(!Object.keys(this.props.records).length) {

// if(!this.hasOwnProperty('enableResponsive') && ct.ownerCt.enableResponsive) {

// ignore <script> and <tag>

// ignore broken value

// ignore server name for node 'My containers'

// ignore the second part

// ignore unnecessary end() calls.

// immediately deactivate the trap

// immediately, or on a later tick.  We set this to true at first, because

// implementation from standard node.js 'util' module

// implications (stack, `uncaughtException`, `async_hooks`)

// implicitDefaultChildren. Ignore if all implicit children are whitespaces.

// import a list of modules into the list

// import emojiRegex from 'emoji-regex';

// important when wrapping filters and duplexes.

// imprived by: Robert Eisele (http://www.xarg.org/)

// improved by: Alexander Ermolaev (http://snippets.dzone.com/user/AlexanderErmolaev)

// improved by: Allidylls

// improved by: Ates Goral (http://magnetiq.com)

// improved by: Atli Þór

// improved by: Brett Zamir (http://brett-zamir.me)

// improved by: CoursesWeb (http://www.coursesweb.net/)

// improved by: Dj

// improved by: Dj (http://locutus.io/php/htmlentities:425#comment_134018)

// improved by: Gabriel Paderni

// improved by: Ian Carter (http://euona.com/)

// improved by: Itsacon (http://www.itsacon.net/)

// improved by: Jack

// improved by: Jonas Raoni Soares Silva (http://www.jsfromhell.com)

// improved by: KELAN

// improved by: Karol Kowalski

// improved by: Kevin van Zonneveld (http://kvz.io)

// improved by: Legaev Andrey

// improved by: Luke Godfrey

// improved by: Markus Padourek (taken from http://www.kevinhq.com/2012/06/php-similartext-function-in-javascript_16.html)

// improved by: Maximusya

// improved by: Michael White (http://getsprink.com)

// improved by: Nate

// improved by: Nick Callen

// improved by: Onno Marsman (https://twitter.com/onnomarsman)

// improved by: Oskar Larsson Högfeldt (http://oskar-lh.name/)

// improved by: Philip Peterson

// improved by: Rafał Kukawski (http://blog.kukawski.pl)

// improved by: Rafał Kukawski (http://kukawski.net)

// improved by: Rafał Kukawski (http://kukawski.pl)

// improved by: Robert Eisele (http://www.xarg.org/)

// improved by: Robin

// improved by: Sakimori

// improved by: Simon Willison (http://simonwillison.net)

// improved by: Steven Levithan (http://blog.stevenlevithan.com)

// improved by: Theriault (https://github.com/Theriault)

// improved by: Thomas

// improved by: Thomas Grainger (http://graingert.co.uk)

// improved by: Tod Gentille

// improved by: Waldo Malqui Silva (http://waldo.malqui.info)

// improved by: Waldo Malqui Silva (https://fayr.us/waldo/)

// improved by: WebDevHobo (http://webdevhobo.blogspot.com/)

// improved by: Will Rowe

// improved by: Yves Sucaet

// improved by: davook

// improved by: dude

// improved by: echo is bad

// improved by: http://stackoverflow.com/questions/57803/how-to-convert-decimal-to-hex-in-javascript

// improved by: johnrembo

// improved by: kirilloid

// improved by: marc andreu

// improved by: marrtins

// improved by: mdsjack (http://www.mdsjack.bo.it)

// improved by: nobbler

// improved by: ntoniazzi (http://locutus.io/php/bin2hex:361#comment_177616)

// improved by: sowberry

// in IE 6-8, typeof document.all is "object" and it's truthy

// in IE8 typeof localStorage.setItem === 'object'

// in Safari 9 which returns 'object' for typed arrays and other constructors.

// in a blocking manner

// in a sandbox tag, only include tags are allowed

// in a tree-shakable way

// in all copies or substantial portions of the Software.

// in case a rendered value contains newlines, we convert them into <br />

// in case of filterPanel

// in case of metadataFor / simple cross tables we might edit the metadataFor / referenced record

// in case of object from getSize()

// in case of responsive layout has height: 'auto' which renders collapsedEl with height 0

// in case the db was upgraded

// in case the props or vueHandle is not initialized

// in case you want to operate on that value only after you're sure it

// in fixed multiplication method

// in getKey these will be normalized for the mac

// in one shot using a DocumentFragment

// in order to achieve optimal results.

// in single field mode we show percentage here

// in some cases our actionUpdater config is not in the initial config

// in some rare cases render might be too slow. But luckily we can ignore this because this is also rendered on click

// in such browsers.)

// in the array)

// in the queue, and wait our turn.  Otherwise, call _write

// in the same tick, so changing this is semver major.

// in this case we are done.  In POINT mode, if the drag obj has no

// in this context, string operators are variable names

// in turn another _read(n) call, in which case reading = true if

// inL => outL

// inR => outR

// include the rs (record resultset) parameter.  Capture return values from the beforeaction into doRequest flag.

// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)

// inconsistent, because we do `INSERT OR REPLACE INTO` on `setItem()`, so

// increase the db version, to create the new ObjectStore

// increase timeout as this can take a long time (2 mins)

// increase timeout as this can take a long time (5 mins)

// increase timeout as this can take a longer (1 minute)

// increase timeout as this can take a longer (5 minutes)

// increment hour until cloned date == current date

// indexOf is a must

// indicate successive group lengths after first group

// individual options

// infinite extent, and find the distance from the first feature found.  This

// infinity and NaN values are treated as strings

// inherit

// inherit docs

// inherit docs from Field

// inherit docs, overridden so we can add removeAnchor

// inheritAttrs

// inherited

// inherited docs

// inherited docs, same default

// init actionToolbar (needed for correct fitertoolbar init atm -> fixme)

// init actions

// init app

// init attachments panel

// init autoRefresh

// init availableTagsStore

// init buttons and tbar

// init container selector

// init data / translate values

// init definitions

// init drop zone

// init exception store

// init filter models

// init filter selection

// init filters

// init foreignRecordDefinition

// init generic columnModel

// init generic stuff

// init grants

// init handlers

// init locationType plugins

// init notes panel

// init operator value

// init plugins

// init record

// init recordTagsStore

// init records

// init regular expressions

// init relations panel before onRecordLoad

// init relations panel if relations are defined

// init sel model

// init some translations

// init state

// init triggers (needs to be done before standard initTrigger template fn)

// init various grid / sm listeners

// init view

// init window error handler

// initial call to recursive entry reader function

// initial drag over: dragEnter fires

// initialise i18n

// initialise window types

// initialised component

// initialize after render

// initialize container elements

// initialize fields

// initialize the global tool template on first use

// initialize the groups array

// initialize the loader

// initializing vue stuff

// inject a fake parent to make the parent() function work

// inline before-update hooks need to force block so that it is invoked

// inline comment

// inline editing - dialog edits are remove/add

// inpired by a similar function in mootools library

// insert a callback that will only occur once per the matched route.

// insert item 

// insert subfilters

// inside the linear ring.

// instances that were created from another copy of the `buffer` package.

// instantiate response object

// instead of converting it to a string and substringing

// instead of the font we wanted, so the font is not available.

// instruction index

// instructs the `setItem()` callback/promise to be executed). This is how

// insufficient rights

// intercept save handler

// interface method

// internal

// internal cache of body and column coords

// internal event, used so we don't couple the layout to the menu

// internal rbush. then use that object to do the removal.

// internally, and returns false if there's a lot of pending writes

// internals.

// interpreted as an integer from 0-255, and then results in that many

// interrupt process flow till dialog is rendered

// interrupt process flow until dialog is rendered

// intersect safeness of both operands

// into the document. Do so, thus queuing up the task. Remember to clean up once it's been called.

// into their \x or \uHHHH representations

// invalid date, so return null

// invalid record exception

// invalid root

// invalid sourceResolution -> EMPTY

// invalidate the buffered max extent cache

// ironic, given the bug below!

// is "defined" already.

// is 0 and there wasn't any saved items yet.

// is `undefined`, we pass that value to the callback function.

// is at very low usage worldwide, so we do a hacky userAgent check instead.

// is group active?

// is likely undefined and we'll pass it straight to the

// is still in progress.  This is safe because the new extent is

// is surrogate component

// is the target the first tabbable node in a group?

// is the target the last tabbable node in a group?

// is this one of our fancy encoded blobs?

// is unsupported, so let's not set it

// isMetadataModelFor: this.isMetadataModelFor,

// istanbul ignore if

// istanbul ignore next

// it as the trailing edge, or we've hit the `maxWait` limit.

// it calls the callback with an empty array.

// it does not catch all problems (for instance when a for is included into another or when the variable is used in an include)

// it is async

// it is most likely a programmer error. In this case we throw a very

// it means that we need to wait until it does.

// it should be a method even when optional

// it to Base64, so this is how we store it to prevent very strange errors with less

// it to camelCase. See issue #2249

// it was cut short because of the miter limit.

// it would fail so +8

// it's a move, make sure we move it cleanly

// it's in progress.

// it's not clear how to detect devices w.o. local storage or clients which place

// it's not my fault localStorage is our baseline and that

// it's possible the original props was passed in as kebab-case

// it's weird.

// it's worth trying to re-run the transaction.

// iterable protocol

// iterate models of this app

// iterate over shadow content if possible

// iterate up slot

// iterator protocol

// itself.

// jQuery workaround that should be removed from Ext Core

// jscs:ignore disallowQuotedKeysInObjects

// json response wrapped in textarea

// jump to finish panel if no conflicts where detected

// just a weekday -> this week's instance of that weekday, no worries

// just in case it didn't succeed

// just in case it's a config only

// just makes sure related localForages aren't pending.

// just one destination.  most common case.

// just pass the block element here to avoid a DOM parentNode call.

// just setting the value, so grab the direction

// keep 10 containers and the nodes in betwwen

// keep pending and uploading files

// keep sign (+ or -) in front

// keep the divs in paragraphs

// keep the values set in the inner context for variables defined in the outer context

// keeping localStorage support intact.

// key attached in the `createSlots` helper, respect that

// key hat / -> find item defined by first part and register item,regItem,possuffix -> return

// key is likely undefined and we'll pass it straight

// kill repeat to save bytes

// kill x-scrollers

// label

// last

// last char was a lead

// last presence set by other windows

// last prsence from this window

// lastUnit must be defined since units is not empty

// later on (after another round of reversing)

// layout change

// layout if we haven't before so the items are active

// layout: 'fit',

// lazy init

// lazy init tempalte

// leads to too much unnecessary complexity.

// least (10 - 3) / 2 == 3 (rounded down) points to have any chance of

// leave

// left

// left, center, stretch, strechmax

// left, right

// left-justified (pad to right)

// leftHand id property and registered operators are handled below

// legacy

// legacy handling for requiredGrant

// legacy handling! subclasses should register all actions when initializing actions

// legacy should be removed some day

// legacy streams

// legacy.

// legacy...

// legitimate finds, we just scan

// length is NaN (which is otherwise coerced to zero.)

// length quantities we use in the source map spec, the first bit is the sign,

// let iconSrc;

// let me = this;

// letters, as these may be custom elements' custom events

// liable for any real or imagined damage resulting from its use.

// library in Gaia, we don't modify return values at all. If a key's value

// library-defined, default drivers.

// lifecycle

// lifecycle hooks

// like 'T'

// like 'Tues'

// like 'Tuesday'

// like +0600

// like +06:00

// like +6

// like 000012

// like 0012

// like 01

// like 01, doesn't seem to work

// like 1

// like 14

// like 2014

// like AD

// like America/New_York

// like Anno Domini

// like EST

// like Eastern Standard Time

// like J

// like Jan

// like January

// like standard Dom, refNode can be null for append

// limit of Crypto.getRandomValues()

// limit to max pile height

// limit width of this.criteriaText

// line itself

// lines are stored 0-based in SourceMap spec version 3

// linkType relations automatic list

// linked list can remove elements from the beginning faster than

// list of objects identifying tabbable nodes in `containers` in the trap

// load cf for mainTab in editDialog

// load dynamic list of possible mfa devices for user

// load exception store

// load grants

// load initial js of user enabled apps

// load next conflict

// load store on activate

// load time branching for fastest keydown performance

// load: this.mainStore.load.createDelegate(this.mainStore),

// loaded by a script tag in the presence of an AMD loader.

// loaded, so there is no performance impact.

// local registration

// local resolved assets

// local style camelizing for speed

// localForage.

// localStorage capacity exceeded.

// location of the mouse event less the delta that represents

// location of the target as related to the actual location of the

// log is just a thin wrapper to console.log that prepends a timestamp

// login from post - user is authenticated but mfa is required

// lone ' is just a '

// look for another quickfilterrow

// look for drop interactions

// look for filters

// look for functions

// look for tags

// look for the first <legend> among the children of the disabled <fieldset>

// look for the next statement

// look for urls having "provides" suffix used in some MVC frameworks like Rails/Merb and others.  The provides suffice informs

// look up the id

// lookup additional items

// lookup other side

// loop over each selector

// loop.

// lost/Insufficient permissions for api call or bad api call

// m  | ^

// mac metaKey behaves like ctrlKey

// macro handlers

// maintain two arrays for circular references, where corresponding parents

// maintained with its preceding high surrogate

// make all the buffer merging and length checks go away

// make args available, in function below

// make dots optional and also make them literal

// make field available via recordForm.formfield_NAME

// make listener a no-op, and remove later in #dispatchEvent()

// make sure collapseCount works

// make sure default filter exists

// make sure details panel doesn't hide grid

// make sure it is registered

// make sure one instance is running only

// make sure options has a fresh, new params hash

// make sure other is _last_ entry in list

// make sure proxy width is fluid

// make sure the target is actually contained in a group

// make sure the values we have are in range

// make sure to pass in asBlock: true so that the comment node call

// make sure we have a config object here to support ux proxies.

// make sure we have the old value record datas

// make sure we update the indent

// making it explicit this property is not enumerable

// making sure precision is integer

// making sure the allowed arg is a string containing only tags in lowercase (<a><b><c>)

// manage pluginSelection

// manage runtime depended grants

// manage scrolling

// manage z-index by windowMgr

// managing destroyed

// manipulating elements

// many 2 many relation

// many segments often have the same encoding. We can exploit this

// many users. We can help them out when they expect file:// URIs to

// map connection errors to errorcode 510 and timeouts to 520

// map of common (mostly media types) mime types to use when the browser does not supply the mime type

// map to editable to allow read-only layers

// mapBrowserEvent must originate from a pointer event

// mapping for the given position and then return the opposite position it

// mappings are contiguous (i.e. given two consecutive mappings, the

// mappings are sorted, this is guaranteed to find all mappings for

// margins config is used when a BoxComponent is rendered by BorderLayout or BoxLayout.

// mark card as changed in tree

// mark exception record resolved

// mark filterPanel active

// mark for selection

// mark mainWindow

// mark next grid refresh as paging-refresh

// mark that we need a transform, so that any data that comes in

// mark this expansion as done and check if all are done

// matrix is singular

// maximum possible console functions based on firebug

// may be a completely synchronous operation which may change

// may call the _write() callback in the same tick, so that we don't

// may have unexpected or undesirable results.

// may not be initialized yet when we get here on a platform without native pointer events.

// means end of sequence (needed when one sequence is a strict subsequence of another).

// means that the prioritization should behave as desired for tiles up to

// measuring its width and height on the normal sphere, and taking the

// memory exhausted

// menu id

// menu is hidden -> editing is canceled!

// menu title tweak

// merge changes from form into record

// merge changes from form into settings

// meridiem

// meridiems

// message bus

// metadata-records: equals should work on metadata-field-record, definedBy should work on metadata-record (as is)

// method implementation that returns a promise

// methods

// mhh not working :-(

// might have an trailing /, we can safely remove it!

// milliseconds in a day

// minimatch options support

// minute

// minutes

// missing if safari and chrome

// mixin checkState workflow (here because code is included later)

// modal container config

// mode - false, /, >, +, ~

// mode the stream is in. Currently this means that `null` is never accepted

// mode, or in any other case where the available quota for localStorage

// modelName = modelName.replace(/_/, '');

// modelValue: foo

// modifier, take 4

// modules monkey-patch it to support additional encodings

// month

// month (optional)

// months

// months - format

// months - standalone

// more storage on Safari, this error will

// most likely never fetch from backend in any grid view!

// move FROM the MRU node, not event-related node (which will be the node that is

// move add filter button

// move delete all filters

// move filter to leftHand/parent filterToolbar

// move messages to folder

// move paging to own object

// move passed #

// move passed ,

// move passed <

// move passed >

// move passed offset:

// move passed {

// move passed }

// move records to folder

// move save filter button

// move start search button

// move tasks to activeChannel if the dependencies task are completed

// move this existing trap to the front of the queue

// moved a significant distance.

// ms

// msg: String.format(i18n._('You have to supply a {0} name!'), this.nodeName),

// much of this based on https://github.com/indutny/self-signed/blob/gh-pages/lib/rsa.js

// multiEditPlugin need to load before record is initialised

// multiplication (like elliptic secp256k1).

// must be button config?

// must be config object

// must be element?

// must be multiple of 3

// must defer to wait for browser to be ready

// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable

// must keep track of the last known index this record existed.  If a server error occurs, the record can be

// my grants

// n -> Number

// named sortTypes are supported, here we look them up

// names to indices into the sources and names ArraySets), we have to make

// near the border.

// necessarily symmetric or synchronous transformation.  For example,

// need to consider constraints and ticks as well.

// need to offset them to be relative to the start of the concatenated

// need to prevent the editor from firing onBlur on itself.

// need to remove components from the root one by one, until either we find

// need to revisit examples

// needed for legacy handling

// needed for readonly

// needed or are available. If we see a non-continuation byte where we expect

// needed to complete the UTF-8 character (if applicable) are returned.

// needs for filterToolBar in EditDialog

// negative + positive

// nested rules

// never call cb(), then you'll never get another chunk.

// new Array(64)

// next node to focus, if we find one

// ngettext('Alarm', 'Alarms', n); gettext('Alarm');

// ngettext('Config', 'Configs', n); gettext('Configs');

// ngettext('Country', 'Countries', n); gettext('Country');

// ngettext('Credentials', 'Credentials', n); gettext('Credentials');

// ngettext('Currency', 'Currencies', n); gettext('Currency');

// ngettext('Department', 'Departments', n); gettext('Department');

// ngettext('Export', 'Export', n); gettext('Export');

// ngettext('Grant', 'Grants', n); gettext('Grant');

// ngettext('Import', 'Imports', n); gettext('Import');

// ngettext('Relation', 'Relations', n); gettext('Relation');

// ngettext('Tag', 'Tags', n); gettext('Tag');

// no "this" reference for friendly out of scope calls

// no MRU node means we're likely in some initial condition when the trap has just

// no containers with tabbable nodes with positive tab indexes which means the focus

// no default, invalid units throw in normalizeUnit()

// no dependencies

// no dependencies, use the function as-is

// no duplicates

// no global exception concept yet...

// no groups available

// no handles passed, must be legacy style

// no inert look up because we're already drilling down and checking for inertness

// no initial load triggering here

// no input on split area

// no keys for quickadds etc.

// no lead yet

// no match, fix last index

// no matter what, make sure it fires on load

// no mode specified, grab all elements by tagName

// no more data can be written.

// no scope here -> this means containerTree

// no scope, last arg is cb

// no state from tab!

// no state saving for startPath != /

// no such thing as a sparse string.

// no support for multiple edit

// no suspense so unmount hooks fire now

// no transform is available

// no valid triangles -> EMPTY

// no-content.  Create a fake response.

// noPrefetch: {type: [Boolean, String] as PropType<Booleanish>, default: false},

// noWheel: {type: [Boolean, String] as PropType<Booleanish>, default: false}, TODO: not implemented yet

// node got duplicated by expand load

// node has an undisclosed shadow which means we can only treat it as a black box, so we

// node sometimes defaults to "und". Override that because that is dumb

// node v0.6 has a bug where array lengths can be Set but not Defined

// node visitors

// node.expand();

// node::ParseEncoding() requires lower case.

// nodeSet - array of nodes

// non async event listener returned false

// non objects are treated as ids and -> No Information

// non state cookie

// non-existing one-word test

// non-existing two-words test

// non-negative solution to the equation (length + 1 + (rem + 1)) === finalSize mod blockSize

// none found

// none to activate

// noop

// noop if undefined

// normalize

// normalize button clicks

// normalize buttons

// normalize columnWidth to fit in row

// not a function

// not a regex

// not an actual buffer we keep track of, but a measurement

// not authorised

// not be available as a global

// not found

// not happen before the first read call.

// not happen before the first write call.

// not initialized, so don't screw up the default widths

// not listening for removeListener, no need to emit

// not over valid drop target

// not registered, create default

// not rendered

// not rendered in declutter group

// not setting this directly to LocalZone.instance bc loading order issues

// not support saving the `null` type in IndexedDB. How

// not supported yet

// not used by this implementation

// not using enums here because it results in computed properties

// not working any longer ->

// not yet rendered

// note incoming options are implicitly json-rpc converted

// note that ncarry could be >= 0x3ffffff

// note, locationPlugins are added async!

// note: DST adjustments are assumed to occur in multiples of 1 hour (this is almost always the case)

// note: if node is clicked, it is not selected!

// note: preserve flag for fragments since they use the flag for children

// note: the timezone offset is ignored since the M$ Ajax server sends

// note: unknown characters are treated as literals

// note: unprecise plural form here, but this is hard to change

// note: we are moving the render call into an async callback,

// note: when zooming out of bounds, min and max values for x and y may

// nothing buffered

// nothing to do

// notify about a drop that did not find a target

// nowhere to render tools!

// ns - nodes

// null

// nullify the connection url.  The url param has been copied to 'this' above.  The connection

// num = HI * (2 ^ N - K) + HI * K + LO = HI * K + LO (mod P)

// number

// number of bytes are available.

// number of bytes available, we need to check if we end on a leading/high

// number of digits per channel

// number of hex digits

// number of pending user-supplied write callbacks

// number range

// o -> Object

// o.record.setValue(o.field, recordData);

// obj extends below the crease

// object hash

// object is another kind of object

// object method

// object property

// object stream flag to indicate whether or not this stream

// object stream flag. Used to make read(n) ignore n and to

// objects

// objects where keys correspond to characters in sequence and leafs are the encoded dbcs values. A special DEF_CHAR key

// occurred", we error-wrap so the callback consumer can distinguish between

// of `getItem()` later. This leads to some weirdness

// of `undefined`.

// of how much we're waiting to get pushed to some underlying

// of params.  This method is an artifact from Ext2.

// of random chars should be

// of renderSlot() with no valid children

// of the Fragment itself so it can move its children.

// of the list (all those tiles correspond to older requests and will be

// offset

// offset is optional

// offset we'll pick in ambiguous cases (e.g. there are two 3 AMs b/c Fallback DST)

// offset/zone

// ok, so this is wild, but see the matrix in the tests

// old QtWebKit versions, at least).

// old school shim for old browsers

// old-style streams.  Note that the pipe method (the only relevant

// oldVNode may be an errored async setup() component inside Suspense

// older releases of node still supported by this library.

// omit the flag for click handlers because hydration gives click

// omit v-model handlers

// on a vnode's type and calls the `process` method, passing in renderer

// on edit: check editGrant, on add: check addGrant

// on rowcontextmenu handler

// on server side you need one of the grants! 2025-05-16 if you need all grants you modified function parameter

// on the `m` itself.

// on the current database operations. Thus, the driver will be actually

// on the left side

// on the source.  This would be more elegant with a .once()

// onTrigger: (e) => {

// once partition is done, the pivot is in the exact place it will be when

// one allocated and free to use, and we maintain at most two

// one of them.

// one, we "replace" the validated continuation bytes we've seen so far with

// only allow all strategies for new (client) records

// only cache other properties when instance has declared (thus stable)

// only console writer atm.

// only contains blocks and use statements.

// only create if specified.

// only fire a new record if no quickaddField is focused

// only get app and enable saving if this.store is available (that is not the case in the activities panel)

// only initialize the template if resizable is used

// only keep mine if its not undefined or empty

// only push if _both_ are negative...

// only return a promise if a callback is omitted

// only return values if gridFilter mode

// only run do this in local mode as we reload the store in remote mode

// only those values are taken whose keys are present in the

// only use old operator/value for textfields

// only when necessary

// open internal links in same window (use router)

// open popup window first to save time

// open window with all langs?

// opera does not respect the auto grow header center column

// operations on the database (initiated by some other instances).

// operator

// operators

// operators are =, !=, ^=, $=, *=, %=, |= and ~=

// optimize array, hash and Map calls

// option not specified nor focusable: use fallback options

// optional

// options

// options could be action (default handler signature)

// or _both_ are positive

// or maxValue.  Using the current date causes DST issues on DST boundary dates, so this is an 

// or on a later tick.  We set this to true at first, because any

// or should be turned into a regex

// or use localforage.WEBSQL or localforage.LOCALSTORAGE

// order to produce the correct `offset` value.

// ordinals

// origin forgery protection

// original by: Alfonso Jimenez (http://www.alfonsojimenez.com)

// original by: Arnout Kazemier (http://www.3rd-Eden.com)

// original by: Ash Searle (http://hexmen.com/blog/)

// original by: Ates Goral (http://magnetiq.com)

// original by: Blues (http://hacks.bluesmoon.info/strftime/strftime.js)

// original by: Brett Zamir (http://brett-zamir.me)

// original by: Carlos R. L. Rodrigues (http://www.jsfromhell.com)

// original by: Dumitru Uzun (http://duzun.me)

// original by: Enrique Gonzalez

// original by: GeekFG (http://geekfg.blogspot.com)

// original by: Glen Arason (http://CanadianDomainRegistry.ca)

// original by: Greg Frazier

// original by: Jonas Raoni Soares Silva (http://www.jsfromhell.com)

// original by: Kevin van Zonneveld (http://kvz.io)

// original by: Leslie Hoare

// original by: Martijn Wieringa

// original by: Ole Vrijenhoek

// original by: Onno Marsman (https://twitter.com/onnomarsman)

// original by: Paulo Freitas

// original by: Philip Peterson

// original by: Philippe Baumann

// original by: Rafał Kukawski (http://blog.kukawski.pl)

// original by: Saulo Vallory

// original by: Theriault (https://github.com/Theriault)

// original by: Valentina De Rosa

// original by: Waldo Malqui Silva (http://waldo.malqui.info)

// original by: Webtoolkit.info (http://www.webtoolkit.info/)

// original by: YUI Library (http://developer.yahoo.com/yui/docs/YAHOO.util.DateLocale.html)

// original by: john (http://www.jd-tech.net)

// original by: strcasecmp, strcmp

// other libs

// other values by `transformExpression` to make it eligible for hoisting.

// otherwise cut at previous whitespace

// otherwise just use weeks or ordinals or gregorian, depending on what's specified

// otherwise we would get modifications in a normal roundtrip record->form->record

// otherwise, build the url from the api or this.url.

// otherwise, keep it in the wings to boil it later

// otherwise, make sure the active tab is still visible

// otherwise, prevent the click

// out he didn"t know JavaScript, and our passports were stolen on the

// out if you don't care about combining characters

// outdated client

// outputted bit calls the readcb, and subsequent chunks just go into

// overcome a limitation of maximum textnode size

// overridden Element method

// override any provided value since it isn't valid

// override compiler-core

// override default priority

// override of Submit

// override record with returned data

// override the parent with the correct one

// override this function in implementation classes.

// overrides Ext.dd.DragDrop

// overrides; see:

// overwrite impl. with static instance

// overwritten as prop might be a template or a multiLang field...

// own create with new id matching event id

// own delete, update or create with fixed id

// p, S, C arguments in C function not available

// package the file in an object that includes the fullPath from the file entry

// pad the end with zeros, but make sure to not forget the extra bytes

// pad with spaces by default

// page down

// page up

// paging toolbar only works with this properties in the options!

// panels first then move the items into the columns as needed.

// panning before releasing the map

// parameter is not a string

// parent at the specified index.

// parent block is safe by definition

// parent is a string

// parent may have changed if it's in a teleport

// parse modifiers

// parseUri 1.2.2

// parsed mapping coordinates from the source map's "mappings" attribute. They

// part of this class) is overridden in the Readable class.

// partial character, the character's bytes are buffered until the required

// parts of encoded data

// pass silent so the event doesn't fire the first time.

// pass to original combobox trigger handler

// pass undefined as the old value when it's changed for the first time

// passed in one, but it's not the right one.

// passive not supported

// path component

// path.resolve([from ...], to)

// pause() and resume() are remnants of the legacy readable stream API

// percentage

// permission from the author, Mathias Buus (@mafintosh).

// persistent clear

// persistent save

// persons to whom the Software is furnished to do so, subject to the

// phantomjs needs to throw

// php for [className, functionName]

// pickerCombos doesn´t show

// ping server each secondFactorLifetime / 3 minutes

// pipe

// place a reference to current window object (instance of Ext.Window ||  Ext.ux.PopupWindow) in the itemConstructor.

// place in viewport

// placeholder.

// plain old Date object

// plain string matching?

// plugins to add to edit dialog

// plus anything further down the chain that should be rolled up in to this

// plus anything that's already in this unit

// points cannot be any closer than the closest point we have found so

// points to. Because the mappings are sorted, we can use binary search to

// populate the template name of all node children

// positive + negative

// positive currency symbol follows value = 0; precedes value = 1

// possible handlers

// post-create lifecycle registrations are noops during SSR (except for serverPrefetch)

// postpone this as we don't get the whole container record here

// potentially intersects bottom

// potentially intersects left

// potentially intersects right

// potentially intersects top

// pre-process children

// pre-show it off screen so that the el will have dimensions

// prebuilt conversion function for this field, instead of

// precedence: getXxx() > isXxx() > hasXxx()

// prefetch: {type: [Boolean, String] as PropType<Booleanish>, default: null},

// preg_quote()

// preloaded json children

// preloaded?

// prepare filter

// preparing keyfield and constrains configs

// presence of a patch flag indicates this node needs patching on updates.

// preserv changes

// preserve case for plain element listeners that have uppercase

// preserve center

// preserve original datetime information

// preserve resolution (or zoom)

// preserve rotation

// preserve space for triggers

// preserve values beyond second dimension

// preset a usefull value

// preset quickFilter with filterrow value

// presets

// prettyUrls is deprectated in favor of restful-config

// prevent 0,00 € in money fields

// prevent dup id

// prevent duplicate ids

// prevent errors while unload occurring

// prevent further state calls during state is saved

// prevent hanging in FF

// prevent hung highlight

// prevent infinite loop on bad selector

// prevent layer scrollbars

// prevent loop

// prevent loop as bluring might select again

// prevent need to double activate editor

// prevent page scrolling during dragging

// prevent recalcs when not needed

// prevent recursive recordsPicker

// prevent repair actions

// prevent silly gecko errors

// prevent switch

// prevent value override from empty ed.getValue()

// previous listener anchor, remove it

// previously exist), using any options set in the config.

// prime mod 10 needs to equal 3 or 7

// private

// private 

// private   ==> used by Fx

// private  ==> used by Fx

// private  ==> used by ext full

// private - DD implementation for Panels

// private - This is the date to use when generating time values in the absence of either minValue

// private - called when first menu is created

// private - calls the function taking arguments from the argHash based on the key.  Returns the return value of the function.

// private - custom Tip DD implementation

// private - custom Window DD implementation

// private - override to prevent hiding

// private - override to prevent moving

// private - pin to cursor

// private - strings used for locale support

// private - use getRowClass to apply custom row classes

// private - used as the key lookup function for the items collection

// private - used for dragging

// private - wraps up an animation param with internal callbacks

// private ==>  used outside of core

// private class to support vertical sliders

// private config overrides

// private for compatibility, overridden by editor grid

// private function a store will createSequence upon

// private function used to call members

// private legacy anim prep

// private method for getting and setting element data

// private override

// private overrides

// private panel overrides

// private properties

// private shorthand for Date.formatCodeToRegex since we'll be using it fairly often

// private used internally

// private utility class used by TabPanel

// private utility functions

// private, auto set by exception

// private, does not work for all fields

// private, notify box this class will handle heights

// private, overwrites Ext.form.NumberField.parseValue

// private, set in afterRender to signify that the component has been rendered

// private, used to defer height settings to subclasses

// private.

// private.  Simply wraps call to Store#execute in try/catch.  Defers to Store#handleException on error.  Loops if batch: false

// private. Do nothing

// private: only blur if dialog is closed

// probably edges of the projections when no extent is defined

// procedure for the `setItem()` SQL would solve this problem?

// processed

// processed nodes / structures

// produce result

// programm flow with html message

// projections with equal meaning.

// promises-A-spec-compliant promise lib. For that

// property of a typed array.

// property to emulate a data property that does not suffer from

// property, i.e., returning the value rather than the getter

// props

// props default value

// props.responsive === undefined ? 'offcanvas' : `offcanvas-${props.responsive}`,

// protected

// protected - should only be called by the grid.  Use grid.getSource instead.

// protected - should only be called by the grid.  Use grid.setSource instead.

// protected - these could be used to customize the behavior of the window,

// protected for use inside the framework

// protected handleException.  Possibly temporary until Ext framework has an exception-handler.

// protected.  Extensions place their error-strings here.

// prototypally inherits from Readable, and then parasitically from

// prototype class for hash functions

// provide / inject

// provide access to the raw File object (required for uploading)

// providing that this copyright notice is included with it.

// proxy all the other methods.

// proxy certain important events.

// proxy-less = local if not defined otherwise

// proxy: this.proxy,

// proxy: this.store.proxy,

// prune completed series

// prune post-render after `current` has been updated

// public API

// public functions

// pull in all the crap needed to render rows

// punctuation

// purpose is to treat the first part of a surrogate pair as the whole character and then

// push if height unavailable

// push the last snapped value anyway to ensure that the output contains

// push the text

// push this filtertoolbar in config

// put back into the store.  @see Store#createCallback where the record is returned when response status === false

// put data into groups

// put each action into a template

// put in try/catch since some older FF releases had problems with this

// put records back into store if remote destroy fails.

// put something so the menu isn't empty

// query for all openWindow methods

// quick lookup hash

// quickAddField[quickAddField.clearValue ? 'clearValue' : 'setValue'](this.quickaddRecord.get(this.quickaddMandatory));

// quickaddMode !== 'header'

// quit copy mode

// quit copy mode before populating form with resolved data

// quoted reversed for jsmin

// quoted values are required for strings in compiled templates,

// r      \s\

// r is a BN v4 instance

// r is a BN v5 instance

// race condition to set _dbInfo

// rate limit

// raw events

// re-create it table and retry

// read every node

// read it all, truncate the list

// read part of list

// readable and reset the state. However this needs to happen

// reader passed

// reading, then it's unnecessary.

// ready when it's been initialized (default) *and* there are no pending

// rebuild the output if we had to backtrack at any point

// recalculate height, as autoHeight fails for Ext.Window ;-(

// recheck that current ftb is saveable

// record has been removed by acl/area lock/...

// record.commit();

// recordChange from editDialog

// recordPickers

// records to render

// records.

// recurse

// recurse this function so we don't reset allParents and allChildren

// recursive

// recursively remove tags to ensure that the returned string doesn't contain forbidden tags after previous passes (e.g. '<<bait/>switch/>')

// recursivly unselect parent nodes

// redirect only after logout (redirectAlways == false) - we can't wait for the browser here...

// refer to http://www.timeanddate.com/time/aboutdst.html for the (rare) exceptions to this rule

// references to objects in `containerGroups`, but only those that actually have

// refetch record as it might be outdated in the meantime

// refresh existing filter panel

// refresh existing filters

// refresh regions on drag start

// regex?

// register action once only!

// register additional context menu actions

// register filters

// register ptype

// register store

// registry load problem: reload

// regular expressions

// reimplemented by: Alexander M Beedie

// reimplemented by: Brett Zamir (http://brett-zamir.me)

// reimplemented by: Kristof Coomans (SCK-CEN (Belgian Nucleair Research Centre))

// reimplemented by: Ole Vrijenhoek

// reimplemented by: Pierre-Luc Paour

// reimplemented by: Rafał Kukawski

// reimplemented by: Rafał Kukawski (http://blog.kukawski.pl)

// reimplemented by: stag019

// reject container

// reject if we are waiting for data in the Promise

// reject straight away

// relay each proxy's events onto Ext.data.DataProxy class for centralized Proxy-listening

// reliably in a browserify context because there could be multiple different

// reload mainscreen to make sure registry gets updated

// reload on ctrl-l

// reload registry/mainscreen - registry problem?

// reload this filter?

// remap record ids in MixedCollection after records have been realized.  @see Store#onCreateRecords, @see DataReader#realize

// remove "keyup" event handler

// remove SubscriptionDefinition from channel list

// remove SubscriptionDefinition from postal cache

// remove all ftb container and /toberemoved/ filters

// remove all the event listeners that were added.

// remove all.

// remove already applied cfs / fill the mixed collection

// remove callback param

// remove css image flicker

// remove duplicates (TODO should be simplified)

// remove empty text

// remove favorite toolbar for legacy modules

// remove invalid after fix decimalPrecision

// remove it from childNodes collection

// remove itself at first

// remove leading whitespace from rest of line to parse

// remove non-plugin config columns

// remove parent filters

// remove plain style

// remove plugins from menu itself

// remove record from old combo

// remove single star from output

// remove so that onBeforeAdd can handle it

// remove some "private" loop variables (needed for nested loops)

// remove the component if it wasn't buffered

// remove trailing '-hd'

// remove unnecessary operator spaces

// remove unused filters

// remove unused panels

// remove x-window reference

// removed

// removed in tine20.com

// removes css classes that were added to hide

// removes temporarily added items

// removes tha '<' char at the end of the string to replicate PHP's behaviour

// removing empty text nodes.

// renaming the variable to something shorter

// render each filter row into table

// render ext langChooser

// render inner content

// render static action buttons

// render static table

// render the Ext.Button

// render the textfield

// render time.

// rendering across line segments

// rendering bug.

// reorder

// reordering according to a render oder allows easier responsive layouting by unsetting absolute positioning

// replace personal with otherUsers if personal && ! personal/myaccountid

// replace some registry data

// replace template fields

// replace the (invalid) block with it's nodes

// replacement char (U+FFFD) and advance only 1 byte

// report presence to server

// request is sent, nullify the connection url in preparation for the next request

// request.destroy just do .end - .abort is what we want

// require('./core/ext-base-ajax');

// require('./core/ext-base-anim');

// require('./core/ext-base-anim-extra');

// require('./core/ext-base-dom');

// require('./core/ext-base-event');

// require('./core/ext-base-point');

// require('./core/ext-base-region');

// require('./ext-base-dom-more');

// require('getprototypeof');

// require()-s are direct to support Browserify.

// required grant to change container

// required grants for the container to choose

// requiredGrant: this.requiredGrant,

// requred when page reload happend while (un)locking

// reset "prev" to the first token

// reset 'buf' if the nodeParameter was included in paramOrder

// reset autoRefresh

// reset avail tag store

// reset criterias

// reset grid state if stateId changed, make sure column config is based on current stateId

// reset other default of same parentId

// reset output with globstar

// reset preview update

// reset previous token to globstar

// reset so we don't overestimate the kinetic energy after

// reset state

// reset the last

// reset to GMT, then add offset

// reset to UTC, then add offset

// resize

// resize and clear

// resize to full height as browser might print only the visible area

// resized columns might not fit the total width , we should make sure they are equal

// resolve auto expand column index, it should not be on the left hand side

// resolve corresponding records from groupField

// resolve the greatest numeric key

// resolveDynamicModel expects an uppercase tag name, but vnode.type is lowercase

// resolved props and emits options

// resort columns

// restart token mode defered to don't consume time before closeing

// restore editors

// restore scroller

// restore selection

// restore selection after await

// restore session cookie

// restore values after effect

// result is cached?

// resume within the same tick will have no

// resume()

// retain value(s) on operator change (single -> multi, multi -> multi)

// retrieve the next element node

// retrieve the previous element node 

// return -1 if a, 1 if b, 0 otherwise

// return _.assign(overrides || {}, _.pick(opts, _.keys(overrides)));

// return a closure for efficiency

// return a closure so constants get calculated only once

// return app from main window for non-IE browsers

// return arr.some(v => this.includes(v));

// return fftm.mulp(self, num, out);

// return null, so we provide a flag to exit gracefully.

// return once no more tags are removed

// return the difference of chars

// return the list of modules as css string

// return the smaller one so that we can append the calendar and numbering overrides to it

// return trip. We stowed away aboard a freighter headed back to the

// return whether `node` is a descendant of its first <legend>

// returned by next() and store the error

// returns the index of the closest mapping less than the needle. By

// reuse create folder task and add tasks from main queue channel to main channel

// reuse the free corkReq.

// reuse the object

// reverse calculations

// reverse-compat since 1.2; we always round down now, never up, and we do it by default

// rewind for better error message

// rewind, since should have been submessages

// rgb()

// rgba()

// rich content needs to be prepared by the server!

// right

// right-justified (pad to left)

// ring.  Use the center of the the linear ring's extent.

// role record selected

// rotate

// rotate anchor point.

// rouds .5 towards the next even integer

// rounds .5 away from zero

// rounds .5 toward zero

// rounds .5 towards the next odd integer

// rsa keys can be interpreted as ecdsa ones in openssl

// run if all tickets are back

// runtime helper for setting properties on components

// s -> String

// sa = Object.prototype.toString.call(s) === '[object Array]'

// safari < 15.4

// safari and chrome use the non std. fileX props

// safari counts window decoration to window height oo

// safari keypress events for special keys return bad keycodes

// safari, chrome, ...?

// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error

// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.

// same for XY

// same order/length as `containers` list

// sanitize containerProperty label

// sanitize model name, we need APP_Model_MODELNAME here

// sanitize name for display

// save active Element, so we can restore focus after selecting nodes

// save buttons somewhere

// save last filter ?

// save normal size

// save original style

// save original/programatical position

// save our editors - they get overwritten on hd-refresh

// save scroller -> will be applied onLoad

// save selection

// save selection -> will be applied onLoad

// save state if difference > 5% (to suppress annoying window manager effects)

// save west panel scrolling position so we can restore it after selecting nodes

// saved, or something like that.

// scale anchor point.

// scale, bypass the resolution constraint

// scope on formField

// scope: formField

// scroll position is lost on drop, fix it

// scrolling stuff

// search Contact first

// searched while the R-Tree traversal using this same extent object

// second

// seconds

// seconds (optional)

// see http://php.net/manual/en/function.array-slice.php

// see https://github.com/Microsoft/TypeScript/issues/29204

// see https://github.com/openlayers/openlayers/issues/2076

// see https://www.w3.org/TR/pointerevents/#widl-PointerEvent-pointerType

// see p_cs_precedes

// see p_sep_by_space

// see, e.g. https://github.com/wooorm/bcp-47

// segment again.

// select all if nothing is selected

// select all records

// select default favorite

// select first row of current grid panel if available

// select only current page

// selectSameEditor flag allows the same editor to be started without onBlur firing on itself

// selected mfa device needs to set config_class as well

// semantics, whenever the cache grows too large we simply delete an

// semver major update we should change the default to this.

// separators at the end of the string, stop now

// serialization.

// server communication loss

// server might not accept outdated clients

// server only

// set all content on childToolbar

// set all grants and mask other checkboxes

// set custom field

// set default options

// set default required Grants

// set default sortType for strings and dates

// set default values for missing stuff

// set defaults -- uiconfig are empty strings :-(

// set document / browser title

// set empty value

// set fields readOnly if set

// set filter to get only default/forced values if in admin mode

// set forward and inverse pixel transforms

// set ftb filters according to tree selection

// set grants

// set hidden state

// set initial checked on mount to wait for true-value/false-value

// set lock (value forced => hiddenFieldData = '0')

// set new date value

// set new selection

// set of name/value pairs

// set origin to canvas center

// set root to doc if not specified.

// set scale transform for calculating tile positions on the canvas

// set selection

// set states last active app to the sessions default app

// set the id

// set the initial element position

// set the insert point style on the target node

// set the position so we can figure out the constrain value.

// set to false, so not try again

// set up data events if they are asked for

// set value in mounted & updated because <select> relies on its children

// set value on mounted so it's after min/max for type="range"

// set value only if field is unmodified

// setProperties will trigger the rendering of the map if the map

// setZone is a valid option in the calling methods, but not in fromObject

// setting needle.originalColumn to 0, we thus find the last mapping for

// setting textContent of the element.

// setting the prop values to the ones passed in config option

// setting them to null

// setup clipping so that the parts of over-simplified geometries are not

// setup decoding function on first access

// setup defaults

// setup encoding function on first access

// setup fn preamble

// setup timer and call original function

// shared code among all Actions to validate that there was a response

// shared options

// shim for using process in browser

// shims are shared among layer to keep from having 100 iframes

// short array syntax (one argument, no parentheses)?

// shortcuts

// shortcuts to aid compression

// shorter alias, save a few bytes

// should be the first area

// should check for parent.loop.XXX usage

// should delete all uploads

// should we decode strings into buffers before passing to _write?

// shouldn't this be done by the gird itself?

// show button

// show clear trigger when item got selected

// show errors and fence finish/back btn

// show menu and constrain to viewport if necessary

// show positioning symbol left or right to nearest token

// show the drag frame

// show toolbar on demand

// show txt on bar

// shuffle the array of keys

// sign of the number

// signedOffset('-5', '30') -> -330

// similar to how Writable.write() returns true if you should

// simple cache for applying multiple behaviors to same selector does query multiple times

// simple offset adjustment

// simple segment e.g. when used in a dialog

// simplified using quantization and point elimination. However, we might

// simulate PHP's behaviour: '-9a' doesn't give a warning, but 'a9' does.

// since _read has to be called to start processing a new chunk.  However,

// since it doesn't overflow neither write partial UTF-8 characters.

// since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,

// since its locale is not settable

// since tab natively moves focus, we wouldn't have a destination node unless we

// since the default drivers can be defined

// since the record has already been removed from the store but the server request has not yet been executed,

// single equals check for both `null` and `undefined`

// skintone modifier

// skip P3 if it is equal to P2

// skip beyond duplicated percent

// skip consecutive whitespace

// skip get() and is() methods (in which case, name is empty)

// skip non-element nodes.

// skip path if no token matched

// skip registered form items

// skip transform calls

// skip unnecessary server updates

// slice?

// slightly revisited to rely on looping instead of recursion

// slot args must be processed as function params

// slot content array of a dynamic conditional slot may have a branch

// slow case. multiple pipe destinations.

// sm.clearSelections();

// sm.select(this.dragData.node);

// snap the first coordinate (P1)

// snap the next coordinate (P3)

// so Buffer.isBuffer(Buffer.prototype) will be false

// so I saved you a perf hit by checking the stinking UA. Sigh.

// so clean up first to avoid breaking the next drag

// so divide by scale here

// so hide splitEl when region is to be responsively layouted

// so just lets reload

// so lets remove self via arguments.callee

// so negate it, otherwise use the default.

// so they align in future checks above

// so use `hasStyleBinding` to ensure that it is a dynamic style binding

// so wait for it to finish in order to avoid a possible

// so we don't hold a reference and cause the browser to retain them

// so we have to do it with callbacks

// so we just set the id rather than calling the setter.

// so we need to make 2 passes

// so we return the value passed to us.

// so we use adding flag to deal with race condition

// socket or file.

// solve layout problems (#6332)

// some apps (Felamimail atm) can add application specific title postfixes

// some bits pass through, and others are simply ignored.  (That would

// some columns can be percentages while others are fixed

// some envs mock window but not fully

// some eyecandy

// some field sanitizing

// some kind of arraybuffer/binary data/typed array out of the string.

// some kind of form field, some kind of Toolbar.Item

// some old browsers...

// some outdated implementations of IDB that appear on Samsung

// some rows can be percentages while others are fixed

// something like this should work -> 

// something other than serialized JSON), we can just return it and be

// something with the data.  Sometimes it's called a "filter",

// sometimes generates source maps with duplicates in them. See Github issue

// sometimes there are no record data given

// sometimes we need the instances from registry (e.g. printing)

// sort by creation time

// sort filters by translated name

// sort new/edited record

// sort nodes by translated title (text property)

// sort out ignored models

// sort parms according to def

// sorted does not cause O(n^2) running time.

// sorting in C++. By using our own JS-implemented Quick Sort (below), we get

// source gets the 'end' or 'close' events.  Only dest.end() once.

// source-map node constructors

// source-map@6 types are faulty, we have to force-type chunks as any

// sources of the consumer.

// space.

// spaces were accounted for properly.  If not, re-layout.

// special events for special field types

// special handling/hack for filemanager

// special marker (SERIALIZED_MARKER, defined above), we will extract

// special markers into our strings to mark them as encoded; this isn't

// special markup used throughout Ext when box wrapping elements

// special merge for tags

// specific error message to try to guide them the right way.

// specific writer, then it would cause it to never start

// speedy lookup for elements never to box adjust

// splice each rec out of this.removed

// split horizontally (top & bottom)

// split the proxies so they don't interfere with mouse events

// split vertically (left & right)

// sscanf documented decimal number; equivalent of 'd';

// sscanf seems to disallow all conversion specification components (of sprintf)

// standard anchor

// standardise buffer across all browsers + OS-es for consistent event order.

// standardize case and plurality in units

// start editor for new node (if initialted by user)

// start out asking for a readable event once data is transformed.

// start position in str

// start the flow if it hasn't been started already.

// state

// state might have tiny window (e.g. because of small beamer attached)

// status will be 0 for file:// urls

// step 1 - reverse array

// step 1: (?:\((.*)\) -- find timezone in parentheses

// step 2 - reverse instructions within geometry blocks

// step 2: ([A-Z]{1,4})(?:[\-+][0-9]{4})?(?: -?\d+)?) -- if nothing was found in step 1, find timezone from timezone offset portion of date string

// step 3: remove all non uppercase characters found in step 1 and 2

// stop any current animation

// stop form submits

// stop if pathPart starts with a separator -> counts as root

// storage library.

// storage:

// store already has a record of this container

// store already has a record of this container -> refresh

// store click position, make sure menuItem diaplay around the link

// store the latest db reference

// str1 is longer than str2

// strategy can't be set to 'keep' here

// stream classes.  When you write(chunk), that calls _write(chunk,cb)

// streamline line separators

// strictly contained by the old extent.

// strikes again! See github issue #191.

// string

// string into a JS object. If result isn't truthy, the

// string into a JS object. If result isn't truthy, the key

// string rather than a number, so we use loose equality checking here.

// strip C slashes

// strip consecutive `/**/`

// strip jsonrpc fragments for non Ext.Direct requests

// strip leading slashes

// strip safari nonsense

// strrpos' offset indicates starting point of range till end,

// succeeds curr. symbol

// such a pathological inflating mechanism, there'd be no way to tell

// support array as roots

// support container records

// support for standard size objects

// support for third mouse button paste (moreover, select might be copy in that case...)

// support grid renderers

// support named/hashed parameters e.g. from DirectProxy

// support once('readable', fn) cycles. This means that calling

// support records

// surrogate pairs

// surrogate. In that case, we need to wait for the next two bytes in order to

// suspense related

// swap

// switch back negations of notDefinedby operator

// switch to run as app has no view right

// switch(button.name){

// switching every time we're reading a value

// sync guard flag.

// sync value

// synthetic stream cases, such as passthrough streams, _read

// t >|  #\

// t2 = sigma0 + maj

// tabTip config is used when a BoxComponent is a child of a TabPanel

// tag handlers

// tag on any additional params to be posted in the

// tagName - defaults to "*"

// take field label if no filterlabel is defined

// take parent selectors into account (e.g. Sales.Boilerplates is also matched by Sales)

// take the first one

// target += _pad(cca.toString(8), 3);break; // Sufficient for UTF-16

// target may be undefined, null, a string or an Element.

// target not found in any group: quite possible focus has escaped the trap,

// technical time formats (e.g. the time part of ISO 8601), take some options

// tell the dest that it's being piped to

// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4

// temp disabled per https://github.com/ljharb/object.assign/issues/17

// template alias

// template functions for subclasses and plugins

// template method

// template singleton

// temporarily disabled

// temporary removed-records cache

// test for 8-bit control characters

// test operator

// tests

// than one tracked pointer for the old target, it will be cleared

// than or equal to the current squaredTolerance will also not have any

// thanks to @Rantanen

// that Readable wants before the first _read call, so unset the

// that all are quantized by quantizing all coordinates in the batch.

// that any calls to getSimplifiedGeometry with a squaredTolerance less

// that caused the focus trap activation.

// that causes it, under certain circumstances, to provide the same value for

// that could have changed the offset by going over a DST, but we want to keep the ts the same

// that nothing more will ever be provided

// that the Readable class should behave improperly, as streams are

// that to be increased. Set to zero for unlimited.

// that we're awaiting a 'readable' event emission.

// that would cause this to happen as well.

// that would otherwise be lost

// the 'readable' event and move on.

// the .. operator is equivalent to the range() function

// the EVENTS flag is only for hydration and if it is the only flag, the

// the ID of each key will change every time it's updated. Perhaps a stored

// the ReadableState constructor, at least with V8 6.5

// the WritableState constructor, at least with V8 6.5

// the `instanceof` check but they should be treated as of that type.

// the `source` property as a convenience for inlining compiled templates.

// the amount that is being written when _write is called.

// the app's key/value store!

// the array is put in sorted order, and it will not need to be moved

// the async module are being loaded, so

// the bad news is that the resizeable dosn't fire events while resizeing 

// the buffer so we don't have to here

// the callback that the user supplies to write(chunk,encoding,cb)

// the callback that's passed to _write(chunk,cb)

// the caller expect this to happen before if

// the calls to request.callback(...) in each will have to be made identical.

// the calls to request.callback(...) in each will have to be made similar.

// the center of the tile and the center of the viewport.  The factor of 65536

// the columnmodel

// the combined left/right border for each cell

// the common path parts

// the container is resizing

// the content elements come from the initial html so they are displayed fastly

// the content of the block. In such a case, nesting it does not work as

// the current iteration and returning a variable to represent the individual character;

// the disabled <fieldset> containing `node` has no <legend>

// the drain event emission and buffering.

// the driver option is used, try setting it

// the element has css positioning

// the else clause below will detect !this.isData and throw exception.

// the empty array and our base case.

// the end, only take the value at i

// the entire buffer is not flushed immediately on write()

// the error to be emitted nextTick. In a future

// the extent crosses the anti meridian, so it needs to be sliced

// the extent wraps around on itself

// the filter toolbar

// the first API call (e.g. `getItem`, `setItem`).

// the first record of the selected is the reference

// the first time we do this, we are going to check to make sure

// the following checks if the visibility state was changed while

// the following list shows the differences between date strings from different browsers on a WinXP SP2 machine from an Asian locale:

// the given line, provided such a mapping exists.

// the innerCt prevents wrapping and shuffling while

// the interim tile is in place already

// the iteration immediately

// the last tracked point is too old, which means that the user stopped

// the leading comma is intentional so empty string "" is also included

// the least I can do is make error messages for the rest of the node.js/crypto api.

// the line we are searching for.

// the line we found.

// the linked element is the element that gets dragged by default

// the loop variable cannot be used in the condition

// the lowest limit is Chrome, with 0x10000 args.

// the map does not have a view, so we can't act

// the menu with the layout.

// the modules were being loaded.

// the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any

// the names array.

// the next four bits are the actual value, and the 6th bit is the

// the next vnode so that it can be properly unmounted later.

// the no-half-open enforcer

// the node that we are done

// the number of writers that are awaiting a drain event in .pipe()s

// the one we are searching for. However, there may be more than one such

// the original browser mouseup wasn't handled (e.g. outside FF browser window)

// the override mistake, that accessor's getter is marked with

// the paging toolbar

// the plugins won't work there

// the point at which it stops calling _read() to fill the buffer

// the point at which write() starts returning false

// the prependListener() method. The goal is to eventually remove this hack.

// the promise is actually somehow related to the callback's execution

// the read buffer, and will cause it to emit 'readable' if necessary.

// the readable code triggers during a read() call

// the refs so the single vnode can be set on multiple refs

// the results of the previous transformed chunk were consumed.

// the rowselection model

// the same as the order in which they were created.  This also helps to

// the same options object.

// the second call corrects scroll bars if they

// the server what data-format the client is dealing with and returns data in the same format (eg: application/json, application/xml, etc)

// the shift can in turn break some triangles.

// the source map URL to SourceMapConsumer, so that this function

// the spec.  This block is basically the equivalent of:

// the state of the read buffer, providing enough data when

// the static style is compiled into an object,

// the system to stop doing the transform.  A single 4MB write could

// the time and tell the formatter to show it to us in UTC, so that the time is right

// the upcoming resume will not flow.

// the user must have overridden the url during a beforewrite/beforeload event-handler.

// the user's configured DataProxy#api

// the values ought to be close to the rgba(210, 0, 0, 0.75)

// the viewport width to make sure we cover the whole viewport.

// their headers.

// them and which they are modifying (as in PHP 6)

// them is expensive, so we only want to do it if we must.

// them since them being non-null during a mount doesn't affect the logic as

// then add day of year, checking for Date "rollover" if necessary

// then ask the box layout to collapse it to its header.

// then bubble it up to the tree if the event wasn't cancelled

// then collapse all except the first one found with collapsed:false

// then go ahead and try to read some more preemptively.

// then make sure top/left isn't negative

// then on mobile they will be blocked anyways if `touchstart` is blocked.)

// then perfect moment to cut the line

// then warn for impossible downgrade.

// then, after it gets a width opera refuses to recalculate

// there MAY not be any tabbable nodes in the container if there are at least 2 containers

// there might be multiple defaults in case of dependend keyFields

// there will be only 2 of these for each stream

// there's enough pending readable data buffered up.

// there's not shadow so just dig into the element's (light dom) children

// these 2 values alone provide sufficient info to create a full date object

// these all have the offsets removed because we don't have access to them

// these are considered experimental

// these aren't really private, but nor are they really useful to document

// these functions include precalculated values

// these hoops because there can be many thousands of mappings, and parsing

// these methods are overridden to provide lazy rendering support

// they *should* be copied for kept-alive vnodes. So we just always copy

// they will simply be overwritten.

// this - (-num) = this + num

// this MUST be called before ComboBox#fireKey()

// this can emit finish, and it will always happen

// this can emit finish, but finish must

// this case we can't simply undo the transform.

// this code block is conditional.  However, it's preferable to pass

// this code can execute repeatedly in milliseconds (i.e. during a drag) so

// this code is nasty but performs better with floaters

// this crazy regex attempts to guess the correct timezone abbreviation despite these differences.

// this element allows the Window to be focused for keyboard events

// this eval is stop the compressor from

// this forcesimple option is never used (the only caller short-circuits on it, but it seems safer to leave)

// this happens for direct extensions of button class, like the notes button

// this is IE 8, which has a broken gOPD

// this is a dumbed down version of fromObject() that runs about 60% faster

// this is a workaround for jQuery and should somehow be removed from Ext Core in the future

// this is considered experimental (along with beforeMethod, afterMethod, removeMethodListener?)

// this is here so that some node-core streams can optimize string

// this is important for paging and sort header!

// this is mainly useful for booleans that are not rendered the same way in PHP and JavaScript

// this is not put inside DOMNodeTransforms because that list is used

// this is odd, why doesn't Ext.form.TimeField a Date datatype?

// this is the case e.g. inside editDialogs - we don't load remote data then

// this is the max bytes crypto.getRandomValues

// this is ugly but we have to ensure that each element of the array is rendered as PHP would render it

// this is used instead of '%F'; seems to be same as %e

// this is westPanel

// this is what openssl does

// this logic is optimized to support for await loops,

// this means there weren't enough keys

// this must be 0 before 'finish' can be emitted

// this probably doesn't work for all locales

// this rarely-used (in my experience) part of the API, but it can seem

// this resets scroller ;-( -> need a better solution

// this scrolls the original position back into view

// this will be called a lot internally, shorthand to keep the bytes down

// this will enable a color scheme for each percentage on the progress bar

// this will enable a color scheme for soft quota or reached limit

// this will handle "floating point madness" by removing extra decimal places

// this will provide us with our date defaults

// this works wherever the node is: if there's at least one client rect, it's

// this would cause Chrome to run it twise. Currently the only

// this._events to be assigned to a new object

// this.cells.removeClass('x-date-multiselect');

// this.conn.url is nullified after each request.

// this.decimalPrecision = this.suffix === ' %' ? 0 : 2;

// this.ensureSelected(node);

// this.explainText = new Ext.form.Label({

// this.explainText,

// this.explainText.setText(i18n._("Existing secret keys can't be viewed. You need to generate a new one if the old one is lost."));

// this.fireEvent('afterEditQuickAdd', {

// this.getGridEl().on('mousewheel', this.stopEditing.createDelegate(this, [false]), this);

// this.initQuickFilterField();

// this.invalidHandleTypes[type] = null;

// this.list.setZIndex = Ext.emptyFn;

// this.on('rowdblclick', this.onEditInNewWindow.createDelegate(this), this);

// this.padding = [iLeft, iRight, iTop, iBot];

// this.props.records

// this.qrField.el.child('img').dom.src = imgURL;

// this.record is a exportJob not an definition! :-(

// this.resetConstraints();

// this.selModel.on('selectionchange', function(sm) {

// this.textCt.applyStyles({

// this.tree.getSelectionModel().select(data.node);

// this.view.dragZone.onBeforeDrag = this.view.dragZone.onBeforeDrag.createInterceptor(() => {

// though we already have a response object here in STP, run through readResponse to catch any meta-data exceptions.

// throw if no groups have tabbable nodes and we don't have a fallback focus node either

// throw new Error('unknown key type ' + type)

// tick.

// time

// time calculations (note: these calculations create a dependency on Ext.num())

// time delimiter -- either a "T" or a single blank space

// time to calculate the positions        

// timeStamp property of object sucks, see https://developers.google.com/web/updates/2016/01/high-res-timestamps

// timer ID for when delayInitialFocus is true and initial focus in this trap

// timestamp are UTC by definition

// timezone offset with colon separator

// timezone offset without colon separator

// timezone specified

// tinebase version

// tiny amounts

// title: String.format(i18n._('No {0} added'), this.nodeName),

// tm.setFixedWidth(this.width);

// to +540°, we add at least 1 world width on each side of the projection

// to 0).

// to DataProxy#setUrl or DataProxy#setApi and changed it before the request was executed.  If that's the case, use conn.url,

// to adjust the next and last properties. We implement only the minimal functionality

// to an original position.

// to avoid piling up things on the stack

// to be handled by map interactions.

// to be immediately set

// to be removed completely in Twig 3.0

// to be set immediately

// to continue to work with older versions of Node.js that do not include

// to convert from UTF-16 (which all JS strings are encoded in).

// to create a new object while only changing some of the properties

// to definitely enumerate them.

// to detect a Buffer instance. It's not possible to use `instanceof Buffer`

// to get stuck in a permanently paused state if that write

// to happen, though, you have to provide a factory

// to make it re-entrance safe in case destroy() is called within callbacks

// to non-red form?

// to remove the `change` listener on this tile in `ol/TileQueue#handleTileChange`

// to root via `this`.

// to satisfy initial 3.0 final release of REST features.

// to see if it's a quota error.

// to support addl param passing in DirectSubmit EAC 6/2

// to the SourceNode without any mapping.

// to the current index, and don't add the "./" characters

// to the end for any other conversion specifications (besides a percent literal),

// to the far east to consult with the wisdom of a monk - turns

// to the iterator.

// to the readable side.  You may call 'push' zero or more times.

// to the state. This greatly simplifies lookbehinds when

// to their upper/lower bounds if the value passed is out of range.

// to wins.

// to work with 256-bit numbers, otherwise it gives 20% improvement for 256-bit

// toFixed will give an out of bound error so we fix it like this:

// todo : hide the layout action if disableResponsiveLayout ?

// todo: what other type of data can parameter be?

// toggle sort dir

// token parsers

// too slow.

// top, middle, stretch, strechmax

// touch UI support

// track start position

// track visibility to prevent getStyle calls

// trailing edge, the system time has gone backwards and we're treating

// transaction aborted / timeout

// transform datetime values

// transform server defaults

// transition form 0

// translate / update title

// translate label

// transplited with Babel

// treat high private surrogates as single characters)

// tree node doesnt support multi selection

// trigger event

// trigger the pop event.

// true:

// try 2-words tests

// try catch for cross domain access issue

// try catch so if something goes wrong the user doesn't get hung

// try to apply grid compatible renderer

// try to convert some values when initialising

// try to find node a bit later after expanding the parent, so we can be sure the node is rendered already

// try to find the right one.

// try {

// type search isn't implemented yet

// ugh a bit ugly

// uhh, quick hack to circumvent large refactoring

// uint32

// uint64

// uncompressed, hybrid-odd, hybrid-even

// undefined

// undefined = never times out

// undefined is handled specially as per ECMA-262 6th Edition,

// undefined or empty theirs value -> keep mine

// underlying stream.

// understanding of the description is that there should be padding;

// undesirable, but required

// undocumented cb() API, needed for core, not for public API

// unexpected trail

// unhandled from jsonrpcprovider

// unicode split

// unique to Safari 2

// unit conversion constants

// unknown specifier, consume that char and return empty

// unlexable

// unpack.

// unpaired lead

// unregister the dropzone from ScrollManager

// unset container if user is not allowed to add record in original container

// unsigned decimal integer

// unsuidable generator

// up

// up in Node's output if this results in an unhandled exception.

// up with useless identical copies of this geometry (saving memory).

// update `newest_`

// update again;

// update buttons when data or selection changes

// update child refs

// update count of tab

// update currentTabs

// update from relationsPanel if any

// update grid

// update length

// update main queue channel

// update paging toolbar

// update readableListening so that resume() may be a no-op

// update record in store to prevent concurrency problems

// update registry

// update siblings

// update source and target fields

// update state

// update the buffer info.

// update the latest filter here, make sure each gridPanel have their own latest filter

// update window factory window type (required after login)

// updates inside get proper isSVG flag at runtime. (#639, #643)

// uphold the illusion by pretending to see that original data

// upon initial page load. Since the handler is run manually in init(),

// upon it

// upps, how to get a var i only know the name of???

// uri += "&algorithm=" + this.editDialog.record.get('algorithm');

// uri += "&digits=" + this.editDialog.record.get('digits');

// uri += "&lock=" + ???; // freeOTP only?

// uri += "&period=" + this.editDialog.record.get('period');

// url will be set during each execution of doRequest when buildUrl is called.  This makes it easier for users to override the

// use 'interna' Ext we create and export here

// use account_id here because that simplifies the adding of new records with the search comboboxes

// use an extent that can fit the whole world if need be

// use cache if available

// use default json api style

// use equals for node 'My containers'

// use first OR panel in case of filterPanel

// use form element wrap if available

// use grouping characters

// use https://github.com/Richienb/node-polyfill-webpack-plugin ?

// use mon_thousands_sep; "" for no grouping; additional array members

// use the db reference of the current instance

// use the last day of the right month

// use the radius of the Normal sphere

// used for queues. This implementation assumes that the node provided by the user can be modified

// used internally to uniquely identify a batch

// used withing config system

// user account record

// user in no role

// user interaction either manually or via a render in something like https://reactjs.org/

// user must have customized the nav keys so we have to move focus manually _within_

// user provided maxResolution takes precedence

// user provided minResolution takes precedence

// user record

// user search is note working yet -> see NoteFilter.php

// userland ones.  NEVER DO THIS. This is here only because this code needs

// userland will fail

// using `['delete']()`, but we have a build step that

// usually only be done in subclasses that can provide custom behavior.  Changing them

// utf8_encode

// utility functions used internally

// v-bind:style and style both exist,

// v-bind:style with static literal object

// v-bind="obj"

// v6.0.0: As of this major release, the default 'full' option __no longer treats detached

// v8 likes predictible objects

// valid drop?

// valid lead

// valid surrogate pair

// validFeedbackContent

// validate constrains config from other side if a config exists

// validate constrains config from own side

// validate recents

// value

// value is a raw string, no record exists

// value is a record

// value is an id

// value is record data

// value, and has a chance to attach a 'drain' listener.

// value: this.range,

// valueField: 'className',

// values for the readable and the writable sides of the duplex stream,

// values for the readable and the writable sides of the duplex stream.

// values.

// var LEVENSHTEIN_MAX_LENGTH = 255 // PHP limits the function to max 255 character-long strings

// var browserDetection = require('browser-detection');

// var button = e.which || e.button;

// var fftm = new FFTM();

// var groupBase = Math.pow(base, groupSize);

// var groupSize = Math.floor(BN.wordSize * Math.LN2 / Math.log(base));

// var matches = format.match(/%[+-]?([ 0]|'.)?-?\d*(\.\d+)?[bcdeufFosxX]/g);

// var n = (node.nodeName == "#text") ? node.parentNode : node;

// var recordClass = Tine.Tinebase.data.RecordMgr.get(appName, modelName),

// var sa = ''

// var selections = this.getSelectionModel().getSelectedNodes();

// var sm = this.tree.getSelectionModel();

// var tm = Ext.util.TextMetrics.createInstance(this.textCt);

// variable name

// variables in JavaScript); if using instead in JavaScript and you

// verbatim itself

// verbose ways of binary <-> string data storage.

// versions of Android (including those used by Cordova).

// view has a zoom constraint, zoom by 1

// virtual

// visible outside the current extent when panning

// visible, as far as we can tell, or per current `displayCheck=none` mode, we assume

// vnode should not be considered dynamic due to handler caching.

// void(0) prevents problems with redefinition

// w3c

// wait and see if we get a dblclick / dragstart

// wait for rendering

// wait for user to return

// wait if we don't know already if the state could be applied

// waiting to be emitted.

// wanted.

// watch

// we also make sure the user panned for a duration of at least one frame

// we always focus the first row so that keynav starts in the grid

// we are in a worker

// we are in termination case (3) or (2) and return the appropriate thing.

// we auto switch definedBy to notDefinedBy for not filters

// we auto switch definedBy to notDefinedBy for notin filters

// we cache week data on the DT object and this intermediates the cache

// we can be expecting either 'end' or

// we can directly set the result; Direct Actions do not have

// we can do is format the date in UTC.

// we can draw a single triangle with the other three points

// we can guarantee we have that here, because we control the

// we can not find a better tile

// we can not select file and folder at the same time

// we can use without a prompt.

// we can't determine kStringMaxLength in environments where process.binding

// we can't evaluate the filters on client side to check compute if this affects us

// we can't use Ext.data.connection here as we can't control xhr obj. directly :-(

// we cannot guarantee that there is no error lingering around

// we come here without on clear without namespace only

// we could also do a RegExp here for the Ext.data.Record AUTO_ID prefix.

// we could use the formatter, but this is an easier way to get the minimum string

// we defer if data is null

// we did not generate a valid codePoint so insert a

// we do a strict check to return the element with only the id attribute

// we do get here, it just means the request remains pending - eventually it will succeed or error

// we don't care about the error, let the global error handler

// we don't need to wait for the promise,

// we don't support ZZZZ (PST) or ZZZZZ (Pacific Standard Time) in parsing

// we don't wanna know fancy FF3.5 crome bugs

// we don't want a duration of 0 (divide by zero)

// we don't want iOS/Android to place stuff to some other cloud

// we don't want to write Ext auto-generated id to hash.  Careful not to remove it on Models not having auto-increment pk though.

// we flow only if there is no one listening

// we get some perf out of doing this here, annoyingly

// we have implemented the _read method, and done the other things

// we have no api's to pick foreign records - and it makes no sense

// we have to empty the relation id, otherwise backend failed to generate relations

// we ignore the value if the stream

// we might have no access no opener

// we might need to add a real config for this

// we must do an inert look up to filter out any elements inside an inert ancestor

// we must ensure that previous needDrain will not be reset to false.

// we must run before auto-escaping

// we need it if the extension ends up not matching

// we need some help as js intl is not yet ready

// we need this to detect operator changes

// we need to decode the exception first

// we need to discard the wrapping "TwingNode" for the "body" node

// we need to initialze alarms because stringcompare would detect no change of the arrays

// we need to set a id != 0 to make identity handling in stores possible

// we need to sync record before validating to let (sub) panels have

// we need to unpack.

// we need to use the first id and seq in update record

// we need to use the second id + seq (from clientRecord) in update record

// we only change value once user update the password

// we only need to change the property names if we're dealing with html nodes, not XML

// we replace records that are the same, because otherwise this would not work for local changes

// we set destroyed to true before firing error callbacks in order

// we should push state to prevent back action before popstate event

// we store binary data with localStorage.

// we support all actions

// we wait for the next tick, because it might

// we want to see the red dirty triangles

// we will wait for the previous Promise to finish

// we'd be able to check the generator

// we'd like to absorb these fractions in another unit

// we'll use buffer.write to truncate,

// webkit notifications

// webpackBootstrap

// weekNumber (W)

// weekYear (k)

// weekday filter only

// weekdays

// weekdays - format

// weekdays - standalone

// weights of color values see: https://stackoverflow.com/questions/596216/formula-to-determine-brightness-of-rgb-color

// weird stuff happens when you try to work with the binary string directly.

// weird table-layout: fixed issue in webkit

// weird!

// weird...rs is an array but data isn't??  recurse but just send in the whole data object.

// weird...rs is an array but data isn't??  recurse but just send in the whole invalid data object.

// westPanelToolbar.show();

// what does that do??

// when 'finish' is emitted

// when callbacks resolve synchronously (#1267).

// when called inside other components the outer generateHTML (outer page renderer) didn't prepare data

// when end() has been called, and returned

// when literal brackets are explicitly disabled

// when literal brackets are explicitly enabled

// when moving internally, indexes will change after remove

// when padding with zeros

// when the dest drains, it reduces the awaitDrain counter

// when the first <legend> (in document order) is found

// when the iterator callback returns any

// when the property is there,

// when the user specifies nothing, try to match both

// when true all writes will be buffered until .uncork() call

// when we try to consume some more bytes, simply unpause the

// when when somebody has screwed with setTimeout but no I.E. maddness

// whenever we return null, then we set a flag to say

// where all of the continuation bytes for a character exist in the same buffer.

// where next() is only called once at a time

// where the original mousedown happened on the element.  We

// which also requires the correct parent container

// which grid to use?

// which is in turn based on the one from crypto-js

// which means it won't track dependencies - but it's ok because

// which phpjs wants to support

// which will not have a mounted element

// while all odd indices are the newlines between two adjacent lines

// while lastIndexOf's optional 2nd argument indicates ending point of range from the beginning

// while rendering a table.  It is possible there are other scenarios

// whole quad outside source projection extent -> ignore

// will always be drawn, thus no collision detection, but insert as obstacle

// will be ignored if width is heigher

// will be reopened or the database recreated as needed.

// will be replaced by the driver methods as soon as the driver is

// will be set synchronously right after creation

// will get processed, now that we've asked for it.

// will hook onResize

// will simply store this size for when the expansion is done.

// win is shown in a menu! ok btn is outside the menu and thus

// window.Buffer = require('buffer').Buffer;

// window.process = require('process/browser');

// winner = null;

// wipe out the name in case somewhere else they have a reference

// with a default fill style

// with either responseText or responseXml

// with from the data itself.

// with restful routes, we need urls like:

// with the logic below. By stripping whitespace we can guarantee a correct result.

// with whitespace: 'preserve', whitespaces between slots will end up in

// without a second pass

// without all the intl stuff this is backfilling

// without arguments the php class name of the this is returned

// without breaking ExtJS.

// without limitation the rights to use, copy, modify, merge, publish,

// without triggering the next() queue

// work around chrome bug which dosn't take type from blob

// work around firefox bug, https://bugzilla.mozilla.org/show_bug.cgi?id=101197

// work around store compare bug

// work around stupid FF 2.0/Mac scroll bar bug

// workaround IE strict repainting issue

// workaround display none

// workaround for jQuery

// workaround seems to be to set the handler after the initial page load

// worker

// worker channels would call this method parallel , but we want to execute this method in serialize way ,

// works on IE10/11 and Surface

// worse generated code for the comparator function than would be optimal. In

// would be consumed, and then the rest would wait (un-transformed) until

// would prevent it from being tree-shaken.

// would return false, as no `_writableState` property is attached.

// wrap an old-style stream as the async data source.

// wrap if needed

// wrap it up

// wrap outer nodes that can implicitly call toString()

// wrap print to check toString() calls

// wrap search button an set it always mouse-overed

// wrapped in strict mode code which doesn't define any globals.  It's inside a

// write to the database, likely due to the disk being full

// write() some more.

// writer passed

// written chunk would result in multiple output chunks, then the first

// x % n but takes the sign of n instead of x

// x, y, anchorX, rotation, chunk

// x1 * z2^2 == x2 * z1^2

// x^2 = (y^2 - c^2) / (c^2 d y^2 - a)

// y1 * z2^3 == y2 * z1^3

// year

// year (required)

// years

// yee haw

// yepp we also mean -> Ext.isOpera

// yes, let's parse it properly

// yet actually route HTML5 history state changes. Thus, decide if should route.

// you can override either this method, or the async _read(n) below.

// yui cropper is very fast. 

// z-index is managed by the WindowManager and may be overwritten at any time

// zero (rem + 1) trailing bits, where (rem + 1) is the smallest

// zone

// }

// } catch (e) {

// })

// });

// },

// }, this);

// }>}

// ~~ acts much like Math.trunc

//# sourceMappingURL=_phpCastString.js.map

//# sourceMappingURL=abs.js.map

//# sourceMappingURL=acos.js.map

//# sourceMappingURL=acosh.js.map

//# sourceMappingURL=addcslashes.js.map

//# sourceMappingURL=addslashes.js.map

//# sourceMappingURL=array_chunk.js.map

//# sourceMappingURL=array_merge.js.map

//# sourceMappingURL=array_rand.js.map

//# sourceMappingURL=asin.js.map

//# sourceMappingURL=asinh.js.map

//# sourceMappingURL=atan.js.map

//# sourceMappingURL=atan2.js.map

//# sourceMappingURL=atanh.js.map

//# sourceMappingURL=base_convert.js.map

//# sourceMappingURL=bin2hex.js.map

//# sourceMappingURL=bindec.js.map

//# sourceMappingURL=bootstrap-vue-next.mjs.map

//# sourceMappingURL=ceil.js.map

//# sourceMappingURL=chop.js.map

//# sourceMappingURL=chr.js.map

//# sourceMappingURL=chunk_split.js.map

//# sourceMappingURL=convert_cyr_string.js.map

//# sourceMappingURL=convert_uuencode.js.map

//# sourceMappingURL=cos.js.map

//# sourceMappingURL=cosh.js.map

//# sourceMappingURL=count_chars.js.map

//# sourceMappingURL=crc32.js.map

//# sourceMappingURL=ctype_alpha.js.map

//# sourceMappingURL=decbin.js.map

//# sourceMappingURL=dechex.js.map

//# sourceMappingURL=decoct.js.map

//# sourceMappingURL=deg2rad.js.map

//# sourceMappingURL=echo.js.map

//# sourceMappingURL=exp.js.map

//# sourceMappingURL=explode.js.map

//# sourceMappingURL=expm1.js.map

//# sourceMappingURL=file_get_contents.js.map

//# sourceMappingURL=floor.js.map

//# sourceMappingURL=fmod.js.map

//# sourceMappingURL=focus-trap.esm.js.map

//# sourceMappingURL=get_html_translation_table.js.map

//# sourceMappingURL=getenv.js.map

//# sourceMappingURL=getrandmax.js.map

//# sourceMappingURL=hex2bin.js.map

//# sourceMappingURL=hexdec.js.map

//# sourceMappingURL=html_entity_decode.js.map

//# sourceMappingURL=htmlentities.js.map

//# sourceMappingURL=htmlspecialchars.js.map

//# sourceMappingURL=htmlspecialchars_decode.js.map

//# sourceMappingURL=http_build_query.js.map

//# sourceMappingURL=hypot.js.map

//# sourceMappingURL=i18n_loc_get_default.js.map

//# sourceMappingURL=implode.js.map

//# sourceMappingURL=index.js.map

//# sourceMappingURL=ini_get.js.map

//# sourceMappingURL=ini_set.js.map

//# sourceMappingURL=is_bool.js.map

//# sourceMappingURL=is_finite.js.map

//# sourceMappingURL=is_float.js.map

//# sourceMappingURL=is_infinite.js.map

//# sourceMappingURL=is_nan.js.map

//# sourceMappingURL=is_scalar.js.map

//# sourceMappingURL=join.js.map

//# sourceMappingURL=krsort.js.map

//# sourceMappingURL=lcfirst.js.map

//# sourceMappingURL=lcg_value.js.map

//# sourceMappingURL=levenshtein.js.map

//# sourceMappingURL=localeconv.js.map

//# sourceMappingURL=log.js.map

//# sourceMappingURL=log10.js.map

//# sourceMappingURL=log1p.js.map

//# sourceMappingURL=ltrim.js.map

//# sourceMappingURL=luxon.js.map

//# sourceMappingURL=max.js.map

//# sourceMappingURL=md5.js.map

//# sourceMappingURL=md5_file.js.map

//# sourceMappingURL=metaphone.js.map

//# sourceMappingURL=min.js.map

//# sourceMappingURL=mitt.js.map

//# sourceMappingURL=money_format.js.map

//# sourceMappingURL=mt_getrandmax.js.map

//# sourceMappingURL=mt_rand.js.map

//# sourceMappingURL=nl2br.js.map

//# sourceMappingURL=nl_langinfo.js.map

//# sourceMappingURL=number_format.js.map

//# sourceMappingURL=octdec.js.map

//# sourceMappingURL=ord.js.map

//# sourceMappingURL=parse_str.js.map

//# sourceMappingURL=pi.js.map

//# sourceMappingURL=pow.js.map

//# sourceMappingURL=printf.js.map

//# sourceMappingURL=quoted_printable_decode.js.map

//# sourceMappingURL=quoted_printable_encode.js.map

//# sourceMappingURL=quotemeta.js.map

//# sourceMappingURL=rad2deg.js.map

//# sourceMappingURL=rand.js.map

//# sourceMappingURL=range.js.map

//# sourceMappingURL=rawurlencode.js.map

//# sourceMappingURL=round.js.map

//# sourceMappingURL=rtrim.js.map

//# sourceMappingURL=setlocale.js.map

//# sourceMappingURL=sha1.js.map

//# sourceMappingURL=sha1_file.js.map

//# sourceMappingURL=similar_text.js.map

//# sourceMappingURL=sin.js.map

//# sourceMappingURL=sinh.js.map

//# sourceMappingURL=soundex.js.map

//# sourceMappingURL=split.js.map

//# sourceMappingURL=sprintf.js.map

//# sourceMappingURL=sqrt.js.map

//# sourceMappingURL=sscanf.js.map

//# sourceMappingURL=str_getcsv.js.map

//# sourceMappingURL=str_ireplace.js.map

//# sourceMappingURL=str_pad.js.map

//# sourceMappingURL=str_repeat.js.map

//# sourceMappingURL=str_replace.js.map

//# sourceMappingURL=str_rot13.js.map

//# sourceMappingURL=str_shuffle.js.map

//# sourceMappingURL=str_split.js.map

//# sourceMappingURL=str_word_count.js.map

//# sourceMappingURL=strcasecmp.js.map

//# sourceMappingURL=strchr.js.map

//# sourceMappingURL=strcmp.js.map

//# sourceMappingURL=strcoll.js.map

//# sourceMappingURL=strcspn.js.map

//# sourceMappingURL=strip_tags.js.map

//# sourceMappingURL=stripos.js.map

//# sourceMappingURL=stripslashes.js.map

//# sourceMappingURL=stristr.js.map

//# sourceMappingURL=strlen.js.map

//# sourceMappingURL=strnatcasecmp.js.map

//# sourceMappingURL=strnatcmp.js.map

//# sourceMappingURL=strncasecmp.js.map

//# sourceMappingURL=strncmp.js.map

//# sourceMappingURL=strpbrk.js.map

//# sourceMappingURL=strpos.js.map

//# sourceMappingURL=strrchr.js.map

//# sourceMappingURL=strrev.js.map

//# sourceMappingURL=strripos.js.map

//# sourceMappingURL=strrpos.js.map

//# sourceMappingURL=strspn.js.map

//# sourceMappingURL=strstr.js.map

//# sourceMappingURL=strtok.js.map

//# sourceMappingURL=strtolower.js.map

//# sourceMappingURL=strtoupper.js.map

//# sourceMappingURL=strtr.js.map

//# sourceMappingURL=substr.js.map

//# sourceMappingURL=substr_compare.js.map

//# sourceMappingURL=substr_count.js.map

//# sourceMappingURL=substr_replace.js.map

//# sourceMappingURL=tan.js.map

//# sourceMappingURL=tanh.js.map

//# sourceMappingURL=trim.js.map

//# sourceMappingURL=ucfirst.js.map

//# sourceMappingURL=ucwords.js.map

//# sourceMappingURL=urlencode.js.map

//# sourceMappingURL=utf8_encode.js.map

//# sourceMappingURL=var_export.js.map

//# sourceMappingURL=vprintf.js.map

//# sourceMappingURL=vsprintf.js.map

//# sourceMappingURL=wordwrap.js.map

//#####/+++++/+\+++++\#####\

//'<td class="tw-ftb-frow-deleteallfilters"></td>',

//'<td class="tw-ftb-frow-savefilterbutton"></td>',

//'border-color': 'transparent'

//------------------------------------------------------------------------------

//. register window ( in fact register complete PopupWindow )

/// There is some jquery work around stuff here that isn't needed in Ext Core.

///#### /+++++^+++++\# e #\

//////////////////////////////////////////////////////////////////////////

//7 days

//@TODO clipboard plugin!

//@TODO find it

//@TODO: separation line

//@compat addButton and buttons could possibly be removed

//@see https://stackoverflow.com/questions/46155/how-to-validate-an-email-address-in-javascript

//@target 4.0

//@todo make tine edit notes if client sents modified data

//@ts-ignore

//@ts-ignore How can we narrow this type down

//Apply binary arithmetic for IE number, firefox returns message string in element array element 0

//Create a place holder for the thumb and display it.

//Destroying the component during/before initEditor can cause issues.

//Ext.applyIf(this, conn);

//Ext.dd.ScrollManager.register(this.view.scroller.dom);

//Ext.fly(otherCellEl).addClass('x-grid3-cell-selected');

//Ext.fly(target).addClass('x-grid3-row-selected');

//Ext.fly(target).removeClass('x-grid3-row-selected');

//Ext.reg('tbbtnlockedtoggle', Ext.ux.tbButtonLockedToggle);

//Ext.ux.form.DateTimeField.superclass.onRender.call(this, ct, position);

//Ext.ux.tbButtonLockedToggle = Ext.extend(Ext.Toolbar.Button, Ext.ux.ButtonLockedToggle);

//FIXME Allow OffscreenCanvasRenderingContext2D as return type

//FIXME Are we really calling this with a TouchEvent anywhere?

//FIXME Move this function to the canvas module

//Fields cannot deactivate, but Combos must collapse

//IE breaks when using overflow visible and opacity other than 1.

//If we are at a viewport boundary and the aligned el is anchored on a target border that is

//Initialize doc classes

//It should not be possible to edit COmmunity Ident Nrs via Edit Dialog

//Math.log(1 + (step / steps) * (Math.E - 1));

//Normalize y by the scroll position for the parent element.  Need to move it into the coordinate space

//Notifies Element that fx methods are available

//Passing a different size is useful for pre-calculating anchors,

//Reset the Frame to neutral domain

//Set returnY equal to (0,0) in view space by reducing y by the value of normalY

//String.format('<div class="{0}">'+Ext.Element.boxMarkup+'</div>', cls)));

//Subtract the aligned el's internal xy from the target's offset xy

//TODO Use Promises instead of Tickets if async is needed

//TODO: use this for msg bus

//Tine.Tinebase.appMgr.setDefault(this.id2appName(this.activeTab));

//Tine.Tinebase.attachTagToMultipleRecords(filter, filterModel, tag, this.onSuccess.createDelegate(this));

//When included, Ext.Fx is automatically applied to Element so that all basic

//assume a string by default

//auto-configure store from local array data

//autoEl : 'div',//already defined by Ext.Component

//autoExpandColumn: 'note',

//autoHeight: true,

//availableTagsStore: false,

//backwards compat

//bottom

//bubble state events

//check for status code 650 (generic confirm)

//check if it's wrapped in an editor

//check if we're scrolling top or left

//checks if control is allowed to spin

//clear

//clearCache: function() {},

//confirmation exception should not reload the record

//console.error(e);

//console.log('done nextCb')

//console.log('got value', value)

//console.log('iterateeCallback')

//console.log('replenish awaiting')

//console.log('replenish')

//constrain the aligned el to viewport if necessary

//constrain the value, keep the y coordinate the same

//constrain to the viewport.

//constrain to viewport

//containerItemName: 'record',

//ct.onLayout();

//disable scrolling when not focused

//disabled: true,

//docs inherit from Field

//docs inherit from superclass

//don't use isNumber here, since finite checks happen inside isNumber

//down

//each check required for check/radio groups.

//effects are available directly via the Element API

//empty chain

//enableColLock:false,

//ensure first/last row is kept after an update.

//especially for anchored animations that change the el size.

//event.eventName = "storage";

//extend

//filterRecord.set('value', filterData.filters);

//fixme: default dropEl(textarea) does not work , we have to use body as element

//fixme: main ch should not be cleared before all deprecated instances

//fixme: this.wrap.getWidth() might be 0 , but the width in style is set

//force boolean

//ftb.onFilterRowsChange = ftb.onFilterRowsChange.createInterceptor(this.onFilterRowsChange, this);

//get relation types

//handle auto mode and strict mode

//handle the case when other column data got pushed after responsive column

//handler: this.onSaveAndClose,

//i18n._('Description'),

//id: 'west',

//idx = stateStored?.columns ? _.findIndex(stateStored.columns, {id: col.id}) : idx;

//if (!dds || !dds.length || dds.length == 0) {

//if (Ext.isGecko3) {

//if the response contains data, treat it like a 200

//if we have a valid id we just return the id

//in IE the document may still have a body even if returns XML.

//inherit docs

//initialize references for child items

//it's a new tag and will be saved on the fly

//itemName: this.containerItemName,

//iterate backwards over the xtypes of this component, dispatching to the most specific renderer

//just in case

//keep this LOADING tile any loaded tiles later in the chain are

//labelWidth: 30,

//layout: 'fit',

//limit the window size

//make the new tile the head of the list,

//named nextTick for less confusing stack traces

//ngettext('container', 'containers', n);

//normal enviroments in sane situations

//not a prime so +1

//not a safe prime

//not an instance, create it

//note IE8 is being counted as 'modern' because it has the hashchange event

//of the view.

//older than this tile (i.e. any LOADING tile following this entry in the chain)

//older than this tile, so we're still interested in the request

//otherwise swap the aligned el to the opposite border of the target.

//overridden here so we can cascade down, not worth creating a template method.

//override the behaviour to check sub items.

//overwrite

//p[this.queryParam] = q;

//paramsAsHash: true,

//perpendicular to the vp border, allow the aligned el to slide on that border,

//plus custom offset to get the aligned el's new offset xy

//prevent recursion

//private

//refetch data without paging

//renderer: Tine.widgets.grid.RendererManager.get(this.appName, this.modelName,

//retain backwards compat, allow params on the toolbar itself, if they exist.

//right

//rs.commit();

//safety check to prevent memory leaks

//selectAction: false,

//selectAnyone: true,

//setup our internal layered text els

//showTopToolbar: null,

//split: true,

//strip extra empty cells

//target not rendered

//tdEl.setWidth(column.width);

//template method

//textTopEl should be the same width as the bar so overflow will clip as the bar moves

//the head of the list is the most current tile, we don't need

//the old tile hasn't begun loading yet, and is now outdated, so we can simply discard it

//the property used in the first column is renamed to 'text' in node.attributes, so reassign it here

//this.actionLearnMore,

//this.action_edit,

//this.availableTagsStore.lastOptions = null;

//this.blur();

//this.editDialog.getEl().on('dblclick', this.endTokenMode, this);

//this.el.removeClass('x-btn-over');

//this.fireEvent('exception', this, 'remote', 'read', options, response, arg);

//this.hide();

//this.layout();

//this.maskEl = Ext.DomHelper.insertFirst(this.wrapEl, {tag: 'div', style: 'background-color: #000000'}, true);

//this.mon(this.innerLayer, 'mousemove', this.onViewMove, this);

//this.mon(this.innerLayer, 'mouseover', this.onViewOver, this);

//this.onOk();

//this.startValue = v;

//throw Ext.Error('no apps enabled', 620);

//to start any other requests for this chain

//todo

//todo: implement onclick with pop up dialog, extend ext:qtip

//tooltip: 'Reject changes and close this window',

//tooltip: 'Save changes and close this window',

//tooltip: 'Save changes',

//top

//ugly method required to layout hidden items

//up

//update script , it should be removed after we make sure customer has the updateed state

//use an external text el

//use the headerTpl and bodyTpl XTemplates to create the main XTemplate below

//value: selectedTag ? Ext.util.Format.lowercase(selectedTag.get('color').substr(1)) : 'ffffff',

//value: selectedTag ? selectedTag.get('color') : '#FFFFFF',

//var curSeq = (seqStart >= 0) ? buf.slice(seqStart, i+1) : prevBuf.slice(seqStart + prevBufOffset, i+1 + prevBufOffset);

//var curXY = this.startPoint;

//var idProperty = this.store.fields.getMeta('idProperty');

//var isLast = this.filterStore.getAt(this.filterStore.getCount()-1).id == filter.id;

//was: while(sc && sc.constructor.xtype) {

//we have a loaded tile, we can discard the rest of the list

//we need the state configs before initial Grid

//we would could abort any LOADING tile request

//whacky problem in IE where the resize event will fire even though the w/h are the same.

//win.un('hide', activateLast);

//{label: this.translation._('Time'), field: 'creation_time', operators: ['contains']}

//{label: this.translation._('User'), field: 'created_by', defaultOperator: 'contains'},

//} else if (dds.length == 1) {
