# Changelog ## [Unreleased] ## [1.0.4] - 2024-05-02 ### Fixed - Fix implicit nullable deprecation warning for PHP 8.4 ## [1.0.3] - 2022-01-10 ### Changed - Update PHPstan to 1.0 - Switched to GitHub Actions ## [1.0.2] - 2020-07-15 ### Added - Minor performance improvements ## [1.0.1] - 2020-06-16 ### Fixed - When calling `Punycode::decode()`, the case flags array would fail to populate when given an empty array. ## [1.0.0] - 2020-06-09 - Initial release ### WordPress - Web publishing software Copyright 2011-2019 by the contributors This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) 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 GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA This program incorporates work covered by the following copyright and permission notices: b2 is (c) 2001, 2002 Michel Valdrighi - m@tidakada.com - http://tidakada.com Wherever third party code has been used, credit has been given in the code's comments. b2 is released under the GPL and WordPress - Web publishing software Copyright 2003-2010 by the contributors WordPress is released under the GPL --- ### GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. ### Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. ### TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION **0.** This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. **1.** You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. **2.** You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: **a)** You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. **b)** You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. **c)** If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. **3.** You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: **a)** Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, **b)** Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, **c)** Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. **4.** You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. **5.** You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. **6.** Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. **7.** If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. **8.** If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. **9.** The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. **10.** If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. **NO WARRANTY** **11.** BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. **12.** IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. ### END OF TERMS AND CONDITIONS ### How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. one line to give the program's name and an idea of what it does. Copyright (C) yyyy name of author This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) 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 GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands \`show w' and \`show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than \`show w' and \`show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. signature of Ty Coon, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the [GNU Lesser General Public License](http://www.gnu.org/licenses/lgpl.html) instead of this License. ./src ./tests ; (function ($) { 'use strict'; function noop() { } function throttle(func, wait, options) { var context, args, result; var timeout = null; // 上次执行时间点 var previous = 0; if (!options) options = {}; // 延迟执行函数 var later = function () { // 若设定了开始边界不执行选项,上次执行时间始终为0 previous = options.leading === false ? 0 : new Date().getTime(); timeout = null; result = func.apply(context, args); if (!timeout) context = args = null; }; return function () { var now = new Date().getTime(); // 首次执行时,如果设定了开始边界不执行选项,将上次执行时间设定为当前时间。 if (!previous && options.leading === false) previous = now; // 延迟执行时间间隔 var remaining = wait - (now - previous); context = this; args = arguments; // 延迟时间间隔remaining小于等于0,表示上次执行至此所间隔时间已经超过一个时间窗口 // remaining大于时间窗口wait,表示客户端系统时间被调整过 if (remaining <= 0 || remaining > wait) { clearTimeout(timeout); timeout = null; previous = now; result = func.apply(context, args); if (!timeout) context = args = null; //如果延迟执行不存在,且没有设定结尾边界不执行选项 } else if (!timeout && options.trailing !== false) { timeout = setTimeout(later, remaining); } return result; }; } var isSafari = function () { var ua = navigator.userAgent.toLowerCase(); if (ua.indexOf('safari') !== -1) { return ua.indexOf('chrome') > -1 ? false : true; } }(); var settings = { readonly: false, minCount: 0, minCountErrorMessage: '', limitCount: Infinity, limitCountErrorMessage: '', input: '', data: [], searchable: true, searchNoData: '
  • No Results.
  • ', init: noop, choice: noop, extendProps: [] }; var KEY_CODE = { up: 38, down: 40, enter: 13 }; var EVENT_SPACE = { click: 'click.iui-dropdown', focus: 'focus.iui-dropdown', keydown: 'keydown.iui-dropdown', keyup: 'keyup.iui-dropdown' }; var ALERT_TIMEOUT_PERIOD = 1000; // 创建模板 function createTemplate() { var isLabelMode = this.isLabelMode; var searchable = this.config.searchable; var templateSearch = searchable ? '' + this.config.input + '' : ''; return isLabelMode ? '' : '\xD7'; } // 小于minCount提示的元素 function minItemsAlert() { var _dropdown = this; var _config = _dropdown.config; var $el = _dropdown.$el; var $alert = $el.find('.dropdown-minItem-alert'); var alertMessage = _config.minCountErrorMessage; clearTimeout(_dropdown.itemCountAlertTimer); if ($alert.length === 0) { if (!alertMessage) { alertMessage = '\u6700\u4f4e\u9009\u62e9' + _config.minCount + '\u4E2A'; } $alert = $(''); } $el.append($alert); _dropdown.itemCountAlertTimer = setTimeout(function () { $el.find('.dropdown-minItem-alert').remove(); }, ALERT_TIMEOUT_PERIOD); } // 超出限制提示 function maxItemAlert() { var _dropdown = this; var _config = _dropdown.config; var $el = _dropdown.$el; var $alert = $el.find('.dropdown-maxItem-alert'); var alertMessage = _config.limitCountErrorMessage; clearTimeout(_dropdown.itemLimitAlertTimer); if ($alert.length === 0) { if (!alertMessage) { alertMessage = '\u6700\u591A\u53EF\u9009\u62E9' + _config.limitCount + '\u4E2A'; } $alert = $(''); } $el.append($alert); _dropdown.itemLimitAlertTimer = setTimeout(function () { $el.find('.dropdown-maxItem-alert').remove(); }, ALERT_TIMEOUT_PERIOD); } // select-option 转 ul-li function selectToDiv(str) { var result = str || ''; // 移除select标签 result = result.replace(/]*>/gi, '').replace('', ''); // 移除 optgroup 结束标签 result = result.replace(/<\/optgroup>/gi, ''); result = result.replace(/]*>/gi, function (matcher) { var groupName = /label="(.[^"]*)"(\s|>)/.exec(matcher); var groupId = /data\-group\-id="(.[^"]*)"(\s|>)/.exec(matcher); return ''; }); result = result.replace(//gi, function (matcher) { // var value = /value="?([\w\u4E00-\u9FA5\uF900-\uFA2D]+)"?/.exec(matcher); var value = $(matcher).val(); var name = />(.*)<\//.exec(matcher); // 强制要求html中使用selected/disabled,而不是selected="selected","disabled="disabled" var isSelected = matcher.indexOf('selected') > -1 ? true : false; var isDisabled = matcher.indexOf('disabled') > -1 ? true : false; var extendAttr = '' var extendProps = matcher.replace(/data-(\w+)="?(.[^"]+)"?/g, function ($1) { extendAttr += $1 + ' ' }); return ''; }); return result; } // object-data 转 select-option function objectToSelect(data) { var dropdown = this; var map = {}; var result = ''; var name = []; var selectAmount = 0; var extendProps = dropdown.config.extendProps; if (!data || !data.length) { return false; } $.each(data, function (index, val) { // disable 权重高于 selected var hasGroup = val.groupId; var isDisabled = val.disabled ? ' disabled' : ''; var isSelected = val.selected && !isDisabled ? ' selected' : ''; var extendAttr = '' $.each(extendProps, function (index, value) { if (val[value]) { extendAttr += 'data-' + value + '="' + val[value] + '" ' } }) var temp = '' + val.name + ''; if (isSelected) { name.push('' + val.name + ''); selectAmount++; } // 判断是否有分组 if (hasGroup) { if (map[val.groupId]) { map[val.groupId] += temp; } else { // &janking& just a separator map[val.groupId] = val.groupName + '&janking&' + temp; } } else { map[index] = temp; } }); $.each(map, function (index, val) { var option = val.split('&janking&'); // 判断是否有分组 if (option.length === 2) { var groupName = option[0]; var items = option[1]; result += '' + items + ''; } else { result += val; } }); return [result, name, selectAmount]; } // select-option 转 object-data // function selectToObject(el) { var $select = el; var result = []; function readOption(key, el) { var $option = $(el); this.id = $option.prop('value'); this.name = $option.text(); this.disabled = $option.prop('disabled'); this.selected = $option.prop('selected'); } $.each($select.children(), function (key, el) { var tmp = {}; var tmpGroup = {}; var $el = $(el); if (el.nodeName === 'OPTGROUP') { tmpGroup.groupId = $el.data('groupId'); tmpGroup.groupName = $el.attr('label'); $.each($el.children(), $.proxy(readOption, tmp)); $.extend(tmp, tmpGroup); } else { $.each($el, $.proxy(readOption, tmp)); } result.push(tmp); }); return result; } var action = { show: function (event) { event.stopPropagation(); var _dropdown = this; $(document).trigger('click.dropdown'); _dropdown.$el.addClass('active'); }, search: throttle(function (event) { var _dropdown = this; var _config = _dropdown.config; var $el = _dropdown.$el; var $input = $(event.target); var intputValue = $input.val(); var data = _dropdown.config.data; var result = []; if (event.keyCode > 36 && event.keyCode < 41) { return; } $.each(data, function (key, value) { if ((value.groupName && value.groupName.toLowerCase().indexOf(intputValue.toLowerCase()) > -1) || value.name.toLowerCase().indexOf(intputValue.toLowerCase()) > -1 || '' + value.id === '' + intputValue) { result.push(value); } }); $el.find('ul').html(selectToDiv(objectToSelect.call(_dropdown, result)[0]) || _config.searchNoData); }, 300), control: function (event) { var keyCode = event.keyCode; var KC = KEY_CODE; var index = 0; var direct; var itemIndex; var $items; if (keyCode === KC.down || keyCode === KC.up) { // 方向 direct = keyCode === KC.up ? -1 : 1; $items = this.$el.find('[tabindex]'); itemIndex = $items.index($(document.activeElement)); // 初始 if (itemIndex === -1) { index = direct + 1 ? -1 : 0; } else { index = itemIndex; } // 确认位序 index = index + direct; // 最后位循环 if (index === $items.length) { index = 0; } $items.eq(index).focus(); event.preventDefault(); } }, multiChoose: function (event, status) { var _dropdown = this; var _config = _dropdown.config; var $select = _dropdown.$select; var $target = $(event.target); var value = $target.attr('data-value'); var hasSelected = $target.hasClass('dropdown-chose'); var selectedName = []; var selectedProp; if ($target.hasClass('dropdown-display')) { return false; } if (hasSelected) { $target.removeClass('dropdown-chose'); _dropdown.selectAmount--; } else { if (_dropdown.selectAmount < _config.limitCount) { $target.addClass('dropdown-chose'); _dropdown.selectAmount++; } else { maxItemAlert.call(_dropdown); return false; } } _dropdown.name = []; $.each(_config.data, function (key, item) { if ('' + item.id === '' + value) { selectedProp = item; item.selected = hasSelected ? false : true; } if (item.selected) { selectedName.push(item.name); _dropdown.name.push('' + item.name + ''); } }); $select.find('option[value="' + value + '"]').prop('selected', hasSelected ? false : true); if (hasSelected && _dropdown.selectAmount < _config.minCount) { minItemsAlert.call(_dropdown); } _dropdown.$choseList.find('.dropdown-selected').remove(); _dropdown.$choseList.prepend(_dropdown.name.join('')); _dropdown.$el.find('.dropdown-display').attr('title', selectedName.join(',')); _config.choice.call(_dropdown, event, selectedProp); }, singleChoose: function (event) { var _dropdown = this; var _config = _dropdown.config; var $el = _dropdown.$el; var $select = _dropdown.$select; var $target = $(event.target); var value = $target.attr('data-value'); var hasSelected = $target.hasClass('dropdown-chose'); if ($target.hasClass('dropdown-chose') || $target.hasClass('dropdown-display')) { return false; } _dropdown.name = []; $el.removeClass('active').find('li').not($target).removeClass('dropdown-chose'); $target.toggleClass('dropdown-chose'); $.each(_config.data, function (key, item) { // id 有可能是数字也有可能是字符串,强制全等有弊端 2017-03-20 22:19:21 item.selected = false; if ('' + item.id === '' + value) { item.selected = hasSelected ? 0 : 1; if (item.selected) { _dropdown.name.push('' + item.name + ''); } } }); $select.find('option[value="' + value + '"]').prop('selected', true); _dropdown.name.push('' + _dropdown.placeholder + ''); _dropdown.$choseList.html(_dropdown.name.join('')); _config.choice.call(_dropdown, event); }, del: function (event) { var _dropdown = this; var _config = _dropdown.config; var $target = $(event.target); var id = $target.data('id'); // 2017-03-23 15:58:50 测试 // 10000条数据测试删除,耗时 ~3ms $.each(_dropdown.name, function (key, value) { if (value.indexOf('data-id="' + id + '"') !== -1) { _dropdown.name.splice(key, 1); return false; } }); $.each(_dropdown.config.data, function (key, item) { if ('' + item.id == '' + id) { item.selected = false; return false; } }); _dropdown.selectAmount--; _dropdown.$el.find('[data-value="' + id + '"]').removeClass('dropdown-chose'); _dropdown.$el.find('[value="' + id + '"]').prop('selected', false).removeAttr('selected'); $target.closest('.dropdown-selected').remove(); _config.choice.call(_dropdown, event); return false; }, clearAll: function (event) { var _dropdown = this; var _config = _dropdown.config; event && event.preventDefault(); console.log(this) this.$choseList.find('.del').each(function (index, el) { $(el).trigger('click'); }); if (_config.minCount > 0) { minItemsAlert.call(_dropdown); } this.$el.find('.dropdown-display').removeAttr('title'); return false; } }; function Dropdown(options, el) { this.$el = $(el); this.$select = this.$el.find('select'); this.placeholder = this.$select.attr('placeholder'); this.config = options; this.name = []; this.isSingleSelect = !this.$select.prop('multiple'); this.selectAmount = 0; this.itemLimitAlertTimer = null; this.isLabelMode = this.config.multipleMode === 'label'; this.init(); } Dropdown.prototype = { init: function () { var _this = this; var _config = _this.config; var $el = _this.$el; _this.$select.hide(); // 判断dropdown是否单选,是否token模式 $el.addClass(_this.isSingleSelect ? 'dropdown-single' : _this.isLabelMode ? 'dropdown-multiple-label' : 'dropdown-multiple'); if (_config.data.length === 0) { _config.data = selectToObject(_this.$select); } var processResult = objectToSelect.call(_this, _config.data); _this.name = processResult[1]; _this.selectAmount = processResult[2]; _this.$select.html(processResult[0]); _this.renderSelect(); // disabled权重高于readonly _this.changeStatus(_config.disabled ? 'disabled' : _config.readonly ? 'readonly' : false); _this.config.init(); }, // 渲染 select 为 dropdown renderSelect: function (isUpdate, isCover) { var _this = this; var $el = _this.$el; var $select = _this.$select; var elemLi = selectToDiv($select.prop('outerHTML')); var template; if (isUpdate) { $el.find('ul')[isCover ? 'html' : 'append'](elemLi); } else { template = createTemplate.call(_this).replace('{{ul}}', '
      ' + elemLi + '
    '); $el.append(template).find('ul').removeAttr('style class'); } if (isCover) { _this.name = []; _this.$el.find('.dropdown-selected').remove(); _this.$select.val(''); } _this.$choseList = $el.find('.dropdown-chose-list'); if (!_this.isLabelMode) { _this.$choseList.html($('').text(_this.placeholder)); } _this.$choseList.prepend(_this.name ? _this.name.join('') : []); }, bindEvent: function () { var _this = this; var $el = _this.$el; var openHandle = isSafari ? EVENT_SPACE.click : EVENT_SPACE.focus; $el.on(EVENT_SPACE.click, function (event) { event.stopPropagation(); }); $el.on(EVENT_SPACE.click, '.del', $.proxy(action.del, _this)); // show if (_this.isLabelMode) { $el.on(EVENT_SPACE.click, '.dropdown-display-label', function () { $el.find('input').focus(); }); if (_this.config.searchable) { $el.on(EVENT_SPACE.focus, 'input', $.proxy(action.show, _this)); } else { $el.on(EVENT_SPACE.click, $.proxy(action.show, _this)); } $el.on(EVENT_SPACE.keydown, 'input', function (event) { if (event.keyCode === 8 && this.value === '' && _this.name.length) { $el.find('.del').eq(-1).trigger('click'); } }); } else { $el.on(openHandle, '.dropdown-display', $.proxy(action.show, _this)); $el.on(openHandle, '.dropdown-clear-all', $.proxy(action.clearAll, _this)); } // 搜索 $el.on(EVENT_SPACE.keyup, 'input', $.proxy(action.search, _this)); // 按下enter键设置token $el.on(EVENT_SPACE.keyup, function (event) { var keyCode = event.keyCode; var KC = KEY_CODE; if (keyCode === KC.enter) { $.proxy(_this.isSingleSelect ? action.singleChoose : action.multiChoose, _this, event)(); } }); // 按下上下键切换token $el.on(EVENT_SPACE.keydown, $.proxy(action.control, _this)); $el.on(EVENT_SPACE.click, 'li[tabindex]', $.proxy(_this.isSingleSelect ? action.singleChoose : action.multiChoose, _this)); }, unbindEvent: function () { var _this = this; var $el = _this.$el; var openHandle = isSafari ? EVENT_SPACE.click : EVENT_SPACE.focus; $el.off(EVENT_SPACE.click); $el.off(EVENT_SPACE.click, '.del'); // show if (_this.isLabelMode) { $el.off(EVENT_SPACE.click, '.dropdown-display-label'); $el.off(EVENT_SPACE.focus, 'input'); $el.off(EVENT_SPACE.keydown, 'input'); } else { $el.off(openHandle, '.dropdown-display'); $el.off(openHandle, '.dropdown-clear-all'); } // 搜索 $el.off(EVENT_SPACE.keyup, 'input'); // 按下enter键设置token $el.off(EVENT_SPACE.keyup); // 按下上下键切换token $el.off(EVENT_SPACE.keydown); $el.off(EVENT_SPACE.click, '[tabindex]'); }, changeStatus: function (status) { var _this = this; if (status === 'readonly') { _this.unbindEvent(); } else if (status === 'disabled') { _this.$select.prop('disabled', true); _this.unbindEvent(); } else { _this.$select.prop('disabled', false); _this.bindEvent(); } }, update: function (data, isCover) { var _this = this; var _config = _this.config; var $el = _this.$el; var _isCover = isCover || false; if (Object.prototype.toString.call(data) !== '[object Array]') { return; } _config.data = _isCover ? data.slice(0) : _config.data.concat(data); var processResult = objectToSelect.call(_this, _config.data); _this.name = processResult[1]; _this.selectAmount = processResult[2]; _this.$select.html(processResult[0]); _this.renderSelect(true, _isCover); }, destroy: function () { this.unbindEvent(); this.$el.children().not('select').remove(); this.$el.removeClass('dropdown-single dropdown-multiple-label dropdown-multiple'); this.$select.show(); }, choose: function (values, status) { var valArr = Object.prototype.toString.call(values) === '[object Array]' ? values : [values]; var _this = this; var _status = status !== void 0 ? !!status : true $.each(valArr, function (index, value) { var $target = _this.$el.find('[data-value="' + value + '"]'); var targetStatus = $target.hasClass('dropdown-chose'); if (targetStatus !== _status) { $target.trigger(EVENT_SPACE.click, status || true) } }); }, reset: function () { action.clearAll.call(this) } }; $(document).on('click.dropdown', function () { $('.dropdown-single,.dropdown-multiple,.dropdown-multiple-label').removeClass('active'); }); $.fn.dropdown = function (options) { this.each(function (index, el) { $(el).data('dropdown', new Dropdown($.extend(true, {}, settings, options), el)); }); return this; } })(jQuery); {"id":81334,"date":"2025-11-18T08:00:41","date_gmt":"2025-11-18T08:00:41","guid":{"rendered":"https:\/\/crazyfood.stejdzing.pl\/?p=81334"},"modified":"2025-11-18T08:00:44","modified_gmt":"2025-11-18T08:00:44","slug":"slot-bier-haus-prihlaseni-abu-king-cesko-online-sazka-zdarma","status":"publish","type":"post","link":"https:\/\/crazyfood.stejdzing.pl\/index.php\/2025\/11\/18\/slot-bier-haus-prihlaseni-abu-king-cesko-online-sazka-zdarma\/","title":{"rendered":"Slot Bier Haus P\u0159ihl\u00e1\u0161en\u00ed Abu King \u010cesko Online S\u00e1zka zdarma"},"content":{"rendered":"

    P\u0159esto ne, toto je daleko od P\u0159ihl\u00e1\u0161en\u00ed Abu King \u010cesko<\/a> slibu a mo\u017en\u00e1 byste tak nem\u011bli b\u00fdt br\u00e1ni. Stabiln\u00ed p\u0159\u00edstavy vyobrazuj\u00ed experimentovan\u00e9 a prov\u011b\u0159en\u00e9 klasiky, p\u0159i\u010dem\u017e up\u0159ednost\u0148ovaly se nevyzpytateln\u00e9, av\u0161ak kr\u00e1tkodob\u00e9. M\u016f\u017eete tak\u00e9 nastavit pouze jedno omezen\u00ed v\u00edt\u011bzstv\u00ed, abyste p\u0159estali s velk\u00fdm v\u00edt\u011bzstv\u00edm. WMS se rozhodl vygenerovat v\u0161echny s\u00e1zky nejnov\u011bj\u0161\u00edm n\u00e1sobitelem s\u00e1zek, kter\u00fd jste si rozd\u011blil.<\/p>\n

    P\u0159ihl\u00e1\u0161en\u00ed Abu King \u010cesko – Slot Bier Haus<\/h2>\n

    Kdy\u017e byly dod\u00e1ny skute\u010dn\u011b preferovan\u00fdm hern\u00edm design\u00e9rem Wms v mnoha minul\u00fdch letech, zbrusu nov\u00e9 hry Bier Haus Position dos\u00e1hly zcela jist\u00e9 identifikace. Slot Bier Haus od WMs v\u00e1m pom\u016f\u017ee v klasick\u00e9m n\u011bmeck\u00e9m baru, ve kter\u00e9m je konzumace alkoholu ka\u017edodenn\u00ed transakc\u00ed. Nejnov\u011bj\u0161\u00ed slot se odehr\u00e1v\u00e1 v r\u00e1mci Oktoberfestu, dobr\u00e9 akce t\u00fdkaj\u00edc\u00ed se konzumace alkoholu pro 16 lid\u00ed, kter\u00e1 se stala zn\u00e1mou spole\u010dnost\u00ed po cel\u00e9m sv\u011bt\u011b. \u017de s OGCA pad\u00e1 odpov\u011bdnost na konkr\u00e9tn\u00edho jednotlivce, aby si rozumn\u011b u\u017e\u00edval.<\/p>\n

    Str\u00e1nky opera\u010dn\u00edho syst\u00e9mu Android mohou tak\u00e9 mluvit o z\u00e1bavn\u00fdch mo\u017enostech, zat\u00edmco v\u0161echny na\u0161e uk\u00e1zkov\u00e9 hry nejsou 100% bezplatn\u00e9 bal\u00ed\u010dky hrac\u00edch automat\u016f pro Android. V\u00edme, \u017ee jeden k lidem m\u016f\u017ee m\u00edt druh\u00e9 my\u0161lenky na va\u0161i platnost online her na automatech. Nicm\u00e9n\u011b, zbrusu nov\u00e9 pozice v\u00fdvoj\u00e1\u0159\u016f a schopnosti na na\u0161ich webov\u00fdch str\u00e1nk\u00e1ch jsou autorizov\u00e1ny kv\u016fli hazardn\u00edm regul\u00e1tor\u016fm. Sou\u010dasn\u011b je bezplatn\u00e1 hra od d\u016fv\u011bryhodn\u00fdch design\u00e9r\u016f ofici\u00e1ln\u00ed pro dom\u00e1cnosti zab\u00fdvaj\u00edc\u00ed se v\u00fdzkumem slot\u016f.<\/p>\n

    S\u00e1zen\u00ed na konkurenty<\/h2>\n

    \"P\u0159ihl\u00e1\u0161en\u00ed<\/p>\n

    Pomoc\u00ed funkce 100% ot\u00e1\u010den\u00ed zdarma a n\u011bkter\u00fdch speci\u00e1ln\u00edch symbol\u016f byste mohli potenci\u00e1ln\u011b dos\u00e1hnout toho, kter\u00fd nemodern\u00ed jackpot. Bier Haus jsou hrav\u00e1, hlu\u010dn\u00e1 a brilantn\u00ed videohra, kter\u00e1 m\u00e1 rychlou hratelnost. To, \u017ee slot poskytuje variaci metod, pe\u010dliv\u011b kontroluje kdekoli mezi konstantn\u00edmi zisky a m\u016f\u017eete odm\u011b\u0148ovat vyznamen\u00e1n\u00ed. Zdaleka nejhodnotn\u011bj\u0161\u00ed jackpot, kter\u00fd m\u016f\u017eete vyhr\u00e1t, je 1 111,11n\u00e1sobek va\u0161eho celkov\u00e9ho vkladu, z \u00fasp\u011b\u0161n\u00e9ho pevn\u00e9ho jackpotu \u010derstv\u00e9 blond\u00fdnky. D\u00edky sv\u00fdm funkc\u00edm finan\u010dn\u011b odm\u011b\u0148uj\u00edc\u00edm m\u016f\u017ee hra p\u0159in\u00e9st zvl\u00e1\u0161tn\u00ed fascinuj\u00edc\u00ed v\u00fdhody i mimo jackpoty. Nejnov\u011bj\u0161\u00ed RTP kv\u016fli tomu \u0161t\u00edtku zkuste 96,15%, co\u017e je nad nejnov\u011bj\u0161\u00ed slot pr\u016fm\u011brn\u00fd.<\/p>\n

    Trik Icons & Paytable Pozice Heidi’s Bier Haus Kanada<\/h2>\n

    P\u0159ipome\u0148me si, zda v p\u0159\u00edpad\u011b, \u017ee zas\u00e1hnete pob\u00eddkov\u00fd z\u00e1\u017eitek Free Revolves, nebo ne, budete t\u00e9m\u011b\u0159 jist\u011b cht\u00edt, aby se spustilo v\u0161ech 40 kontur, abyste si byli jisti, \u017ee dostanete vzd\u011blan\u00e9 odm\u011bny. Ve VegasSlotsOnline r\u00e1di hrajeme hry na automatech navz\u00e1jem. I kdy\u017e jste mo\u017en\u00e1 ost\u0159\u00edlen\u00fd hr\u00e1\u010d, kter\u00fd se sna\u017e\u00ed z\u00edskat n\u011bjak\u00e9 pen\u00edze, pravideln\u011b mus\u00edte v\u011bd\u011bt, abyste mohli hr\u00e1t online p\u0159\u00edstavy. Z\u00edskejte p\u0159\u00edstup k nejnov\u011bj\u0161\u00edm v\u00fdhern\u00edm automat\u016fm zdarma a m\u016f\u017eete neust\u00e1le sledovat st\u00e1vky na VegasSlotsOnline. Mimochodem, v\u0161echny bezplatn\u00e9 v\u00fdhern\u00ed automaty v tomto \u010dl\u00e1nku jsou demo verzemi skute\u010dn\u00fdch podnikov\u00fdch automat\u016f s hazardn\u00edmi hrami v Las Vegas \u2013 takov\u00e9 jsou \u010derstv\u00e9 uk\u00e1zky v\u00fdhern\u00edch automat\u016f zdarma, ne\u017e je mo\u017en\u00e9 vyzkou\u0161et se skute\u010dn\u00fdmi pen\u011bzi.<\/p>\n

    \u010cerven\u00e1 Heidi jinak znamen\u00ed Hannah vedou k jednomu oto\u010den\u00ed va\u0161ich ovl\u00e1dac\u00edch prvk\u016f, kdy\u017e jste jejich kombinovan\u00fd fialov\u00fd Scatter m\u00e1 n\u011bkolik ovl\u00e1dac\u00edch prvk\u016f. Hans hraje na zbrusu novou trubku a rozt\u00e1\u010d\u00ed kolo, ale nahrazuje jeden z mnoha zvonk\u016f a p\u00ed\u0161\u0165alek, kter\u00e9 lze z\u00edskat. Bier Haus je jednoduch\u00fd a m\u016f\u017eete snadno vyu\u017e\u00edt video slot, abyste svou pozornost zam\u011b\u0159ili na nejlep\u0161\u00ed 100% bezplatn\u00e1 oto\u010den\u00ed nav\u00edc, kter\u00e1 maj\u00ed a\u017e 1000n\u00e1sobek va\u0161eho pod\u00edlu, kter\u00fd z\u00edsk\u00e1te p\u0159i ka\u017ed\u00e9m oto\u010den\u00ed. Nicm\u00e9n\u011b, toto je v podstat\u011b maxim\u00e1ln\u00ed \u010d\u00e1stka v\u00edt\u011bzstv\u00ed v cel\u00e9 h\u0159e, kter\u00e1 je v\u00fdrazn\u011b ni\u017e\u0161\u00ed ne\u017e u velmi online hry. \u010cerstv\u00e9 speci\u00e1ln\u00ed symboly doufaj\u00ed, \u017ee u\u0161et\u0159\u00ed v\u011bci z\u00e1bavn\u00e9, a tak\u00e9 volatilita poskytuje dal\u0161\u00ed po\u017eitek. On-line hra p\u0159esto l\u00e1k\u00e1 profesion\u00e1ly kolem sv\u00e1te\u010dn\u00edch m\u011bs\u00edc\u016f, ale s jednou schopnost\u00ed se v\u0161echno nakonec stane nez\u00e1\u017eivn\u00fdm a m\u016f\u017eete to opakovat.<\/p>\n

    Nejv\u011bt\u0161\u00ed hazardn\u00ed podniky, kter\u00e9 m\u016f\u017eete vyzkou\u0161et<\/h2>\n

    \"P\u0159ihl\u00e1\u0161en\u00ed<\/p>\n

    Uvid\u00edte jejich, kter\u00e9 maj\u00ed enormn\u00ed vzhled, status o pivn\u00edch v\u00fd\u010depn\u00edch v jej\u00edch vlastn\u00edch konven\u010dn\u00edch bavorsk\u00fdch \u0161atech, r\u00e1d by p\u0159ijal transakci z chutn\u00e9ho, \u200b\u200bchladn\u011bj\u0161\u00edho alkoholu, kter\u00fd m\u00e1 stranu z v\u011bt\u0161\u00edch v\u00fdher! Nejnov\u011bj\u0161\u00ed slot obsahuje 6 \u010dl\u00e1nk\u016f a m\u016f\u017eete si vybrat ze \u0161esti \u0159ad, kter\u00e9 maj\u00ed symboly, plus ziskov\u00e9 kombinace budou formov\u00e1ny p\u0159es dvacet p\u011bt opraven\u00fdch pomoc\u00ed \u010dar. Uvnit\u0159 z\u00e1kladn\u00edch her m\u00e1 zbrusu nov\u00e1 maxim\u00e1ln\u00ed v\u00fdhra hodnotu a\u017e p\u011bt set p\u016fj\u010dek a vyd\u011bl\u00e1te pouze t\u00edm, \u017ee z\u00edsk\u00e1te fantastickou integraci, kter\u00e1 se m\u016f\u017ee pochlubit p\u011bti n\u011bmeck\u00fdmi znaky, kter\u00e9 maj\u00ed skv\u011bl\u00fd kn\u00edr. Tyto typy symbol\u016f se mus\u00ed nach\u00e1zet na stejn\u00e9 v\u00fdhern\u00ed linii, zarovnan\u00e9 ve zb\u00fdvaj\u00edc\u00ed p\u0159edn\u00ed \u010d\u00e1sti. Zd\u00e1 se to b\u00fdt naprost\u00e1 v\u00fdte\u010dnost \u2013 \u010d\u00edm vy\u0161\u0161\u00ed je \u010derstv\u00fd profil, t\u00edm v\u011bt\u0161\u00ed mno\u017estv\u00ed se zd\u00e1 \u00fa\u010dastn\u00edk\u016fm, kte\u0159\u00ed hledaj\u00ed informace o t\u00e9to videoh\u0159e.<\/p>\n

    Jeho hodnocen\u00ed odr\u00e1\u017eej\u00ed znalosti, kter\u00e9 z\u00edskal za 15 let v r\u00e1mci spole\u010dnosti, poskytuj\u00edc\u00ed odborn\u00e9 znalosti pouze jako profesion\u00e1l, m\u016f\u017eete. \u010cerstv\u00e9 \u010dty\u0159i designy s ni\u017e\u0161\u00ed investic\u00ed nab\u00edzej\u00ed hrac\u00ed karty, z nich\u017e v\u0161echny plat\u00ed 5x, 15x a m\u016f\u017eete s\u00e1zet 75 na vlastn\u00ed linii za t\u0159i, p\u011bt a m\u016f\u017eete \u010dty\u0159ikr\u00e1t. Takov\u00fd, kter\u00fd si jen tak zahrajete, nalad\u00edte se na nov\u00fd bub\u00e1k od aktivn\u00edho bierkellera, dopln\u011bn\u00fd cinkaj\u00edc\u00edmi kel\u00edmky a budete obecn\u011b \u0161t\u011bbetat.<\/p>\n","protected":false},"excerpt":{"rendered":"

    P\u0159esto ne, toto je daleko od P\u0159ihl\u00e1\u0161en\u00ed Abu King \u010cesko slibu a mo\u017en\u00e1 byste tak nem\u011bli b\u00fdt br\u00e1ni. Stabiln\u00ed p\u0159\u00edstavy vyobrazuj\u00ed experimentovan\u00e9 a prov\u011b\u0159en\u00e9 klasiky, p\u0159i\u010dem\u017e up\u0159ednost\u0148ovaly se nevyzpytateln\u00e9, av\u0161ak kr\u00e1tkodob\u00e9. M\u016f\u017eete tak\u00e9 nastavit pouze jedno omezen\u00ed v\u00edt\u011bzstv\u00ed, abyste p\u0159estali s velk\u00fdm v\u00edt\u011bzstv\u00edm.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-81334","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/crazyfood.stejdzing.pl\/index.php\/wp-json\/wp\/v2\/posts\/81334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crazyfood.stejdzing.pl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crazyfood.stejdzing.pl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crazyfood.stejdzing.pl\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/crazyfood.stejdzing.pl\/index.php\/wp-json\/wp\/v2\/comments?post=81334"}],"version-history":[{"count":1,"href":"https:\/\/crazyfood.stejdzing.pl\/index.php\/wp-json\/wp\/v2\/posts\/81334\/revisions"}],"predecessor-version":[{"id":81335,"href":"https:\/\/crazyfood.stejdzing.pl\/index.php\/wp-json\/wp\/v2\/posts\/81334\/revisions\/81335"}],"wp:attachment":[{"href":"https:\/\/crazyfood.stejdzing.pl\/index.php\/wp-json\/wp\/v2\/media?parent=81334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crazyfood.stejdzing.pl\/index.php\/wp-json\/wp\/v2\/categories?post=81334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crazyfood.stejdzing.pl\/index.php\/wp-json\/wp\/v2\/tags?post=81334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}