[
  {
    "path": ".github/FUNDING.yml",
    "content": "# These are supported funding model platforms\nko_fi: kangvcar\ncustom: ['https://afdian.net/a/kangvcar']\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/bug_report.md",
    "content": "---\nname:  \"\\U0001F41B Bug Report\"\nabout: \"If something isn't working as expected \\U0001F914.\"\ntitle: ''\nlabels: 'bug'\nassignees: ''\n\n---\n\n## Bug Report\n\n**Description**: [Description of the issue]\n\n**Expected behavior**: [What should happen]\n\n**Current behavior**: [What happpens instead of the expected behavior]\n\n**Steps to Reproduce**:\n\n1. [First Step]\n2. [Second Step]\n3. [and so on ]\n\n**Reproduce how often**: [What percentage of the time does it reproduce?]\n\n**Possible solution**: [Not obligatory, but suggest a fix/reason for the bug]\n\n\n**Context (Environment)**:[The code version, python version, operating system or other software/libs you use]\n\n## Additional Information\n\n[Any other useful information about the problem]."
  },
  {
    "path": ".github/ISSUE_TEMPLATE/feature_request.md",
    "content": ""
  },
  {
    "path": ".gitignore",
    "content": "*.pyc\n*.json\n*.xlsx\n*.swp\ndata\n.idea\n*.log\n__pycache__"
  },
  {
    "path": "LICENSE",
    "content": "GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Use with the GNU Affero General Public License.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    {one line to give the program's name and a brief idea of what it does.}\n    Copyright (C) {year}  {name of author}\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n    {project}  Copyright (C) {year}  {fullname}\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n<http://www.gnu.org/licenses/>.\n\n  The GNU General Public License does not permit incorporating your program\ninto proprietary programs.  If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.  But first, please read\n<http://www.gnu.org/philosophy/why-not-lgpl.html>."
  },
  {
    "path": "README.md",
    "content": "<p align=\"center\">\n    <img src=\"https://i.loli.net/2020/10/20/SKOdFZpVYo4LvgT.png\" alt=\"InfoSpider logo\"/>\n</p>\n\n***\n\n<p align=\"center\">\n    <a>\n        <img alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/kangvcar/infospider?style=social\">\n    </a>\n    <a>\n        <img src=\"https://img.shields.io/badge/python-v3-blue?style=flat-square\" alt=\"UW2eVx.png\" />\n    </a>\n    <a>\n        <img src=\"https://img.shields.io/badge/platform-Windows-blue?style=flat-square\" alt=\"UW2eVx.png\" />\n    </a>\n    <a>\n        <img src=\"https://img.shields.io/website?up_message=%E4%BD%BF%E7%94%A8%E6%96%87%E6%A1%A3&url=https%3A%2F%2Finfospider.vercel.app%2F\" alt=\"UW2eVx.png\" />\n    </a>\n    <a>\n    <img alt=\"GitHub repo size\" src=\"https://img.shields.io/github/repo-size/kangvcar/infospider?style=flat-square\">\n    </a>\n    <a>\n    <img alt=\"GitHub repo size\" src=\"https://img.shields.io/badge/license-GPL-blue?style=flat-square\">\n    </a>\n</p>\n<p align=\"center\">一个神奇的工具箱，拿回你的个人信息。</p>\n<p align=\"center\">👉⚡<a href=\"https://infospider.vercel.app/\">使用说明</a> ⚡| <a href=\"https://www.bilibili.com/video/BV14f4y1R7oF/\">视频演示</a> | <a href=\"https://github.com/kangvcar/InfoSpider/blob/master/README_EN.md\">English</a> | <a href=\"https://mbd.pub/o/bread/aZiTlJo=\">获取最新维护版本</a> | <a href=\"https://t.me/+b-Rdy7_9QuwyMGI1\">TG交流群</a></p>\n\n### 🗣️ TG交流群：[加入群组](https://t.me/+b-Rdy7_9QuwyMGI1)\n\n👍 推荐 RapidProxy 代理IP：\n\n<a href=\"https://www.rapidproxy.io/?ref=Spider\" target=\"_blank\">\n  <img src=\"https://pic1.imgdb.cn/item/69846f90013471eb7b528c3f.jpg\" style=\"width:40%;\" alt=\"RapidProxy\">\n</a>\n\n👍 推荐 BestProxy 代理IP：\n\n<a href=\"https://bestproxy.com/?keyword=soocgr8r\" target=\"_blank\">\n  <img src=\"https://pic1.imgdb.cn/item/688c621858cb8da5c8f7c873.png\" style=\"width:40%;\" alt=\"BestProxy\">\n</a>\n\n👍 推荐 ThorData 代理IP：\n\n<a href=\"https://www.thordata.com/?ls=github&lk=infospider\" target=\"_blank\">\n  <img src=\"https://pic1.imgdb.cn/item/6941236e0dd29e7e2247ce21.jpg\" style=\"width:40%;\" alt=\"Thordata\">\n</a>\n\n### 开发者回忆录\n<details>\n<summary>点击展开👉 开发者回忆录</summary>\n\n#### 场景一\n小明一如往常打开 Chrome 浏览器逛着论坛，贴吧，一不小心点开了网页上的广告，跳转到了京东商城，下意识去关闭窗口时发现 （**OS：咦？京东怎么知道我最近心心念念的宝贝呢？刚好我正需要呢！**），既然打开了那就看看商品详情吧 （**OS：哎哟不错哦**），那就下单试试吧！\n\n#### 场景二\n小白听着网易云音乐的每日推荐歌单无法自拔 （**OS：哇！怎么播放列表里都是我喜欢的音乐风格？网易云音乐太棒了吧!深得我心啊！黑胶会员必须来一个！**），逛着知乎里的“如何优雅的XXX?”，“XXX是怎样一种体验？”，“如何评价XXX?” （**OS：咦？这个问题就是我刚好想问的，原来早已有人提问！什么？？？还有几千条回答！！进去逛逛看！**）\n\n#### 场景三\n小达上班时不忘充实自己，逛着各大技术论坛博客园、CSDN、开源中国、简书、掘金等等，发现首页的内容推荐太棒了（**OS：这些技术博文太棒了，不用找就出来了**），再打开自己的博客主页发现不知不觉地自己也坚持写博文也有三年了，自己的技术栈也越来越丰富（**OS：怎么博客后台都不提供一个数据分析系统呢？我想看看我这几年来的发文数量，发文时间，想知道哪些博文比较热门，想看看我在哪些技术上花费的时间更多，想看看我过去的创作高峰期时在晚上呢？还是凌晨？我希望系统能给我更多指引数据让我更好的创作！**）\n\n看到以上几个场景你可能会感叹科技在进步，技术在发展，极大地改善了我们的生活方式。\n\n但当你深入思考，你浏览的每个网站，注册的每个网站，他们都记录着你的信息你的足迹。\n\n细思恐极的背后是自己的个人数据被赤裸裸的暴露在互联网上并且被众多的公司利用用户数据获得巨额利益，如对用户的数据收集分析后进行定制的广告推送，收取高额广告费。但作为数据的生产者却没能分享属于自己的数据收益。\n\n#### 想法\n\n如果有一个这样的工具，它能帮你拿回你的个人信息，它能帮你把分散在各种站点的个人信息聚合起来，它能帮你分析你的个人数据并给你提供建议，它能帮你把个人数据可视化让你更清楚地了解自己。\n\n> 你是否会需要这样的工具呢? 你是否会喜欢这样的工具呢？\n\n基于以上，我着手开发了 **[INFO-SPIDER](https://github.com/kangvcar/InfoSpider)** 👇👇👇\n\n</details>\n\n### What is INFO-SPIDER\n\nINFO-SPIDER 是一个集众多数据源于一身的爬虫工具箱，旨在安全快捷的帮助用户拿回自己的数据，工具代码开源，流程透明。并提供数据分析功能，基于用户数据生成图表文件，使得用户更直观、深入了解自己的信息。\n目前支持数据源包括GitHub、QQ邮箱、网易邮箱、阿里邮箱、新浪邮箱、Hotmail邮箱、Outlook邮箱、京东、淘宝、支付宝、中国移动、中国联通、中国电信、知乎、哔哩哔哩、网易云音乐、QQ好友、QQ群、生成朋友圈相册、浏览器浏览历史、12306、博客园、CSDN博客、开源中国博客、简书。\n\n详细使用说明参照[使用说明文档](https://infospider.vercel.app)或[视频教程](https://www.bilibili.com/video/BV14f4y1R7oF/)\n\n你可以在 [![Gitter](https://badges.gitter.im/Info-Spider/community.svg)](https://gitter.im/Info-Spider/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) 与我们一起交流学习\n\n### Features\n\n- 安全可靠：本项目为开源项目，代码简洁，所有源码可见，本地运行，安全可靠。\n- 使用简单：提供 GUI 界面，只需点击所需获取的数据源并根据提示操作即可。\n- 结构清晰：本项目的所有数据源相互独立，可移植性高，**所有爬虫脚本在项目的 [Spiders](https://github.com/kangvcar/InfoSpider/tree/master/Spiders) 文件下**。\n- 数据源丰富：本项目目前支持多达24+个数据源，持续更新。\n- 数据格式统一：爬取的所有数据都将存储为json格式，方便后期数据分析。\n- 个人数据丰富：本项目将尽可能多地为你爬取个人数据，后期数据处理可根据需要删减。\n- 数据分析：本项目提供个人数据的可视化分析，目前仅部分支持。\n- 文档丰富：本项目包含完整全面的[使用说明文档](https://infospider.vercel.app)和[视频教程](https://www.bilibili.com/video/BV14f4y1R7oF/)\n\n### Screenshot\n\n![screenshot.png](https://i.loli.net/2020/10/26/4NJyMhrsGPwvxgd.png)\n\n### QuickStart\n\n#### 依赖安装\n\n1. 安装[python3](https://www.python.org/downloads/)和Chrome浏览器\n\n2. 安装与Chrome浏览器相同版本的[驱动](http://chromedriver.storage.googleapis.com/index.html)\n\n3. 安装依赖库 `pip install -r requirements.txt`\n\n> 如果您在这一步操作遇到问题，可以获取[免安装版InfoSpider](https://mbd.pub/o/bread/aZiTlJo=)\n\n#### 工具运行\n\n1. 进入 tools 目录\n\n2. 运行 `python3 main.py`\n\n3. 在打开的窗口**点击数据源按钮**, 根据提示**选择数据保存路径**\n\n4. 弹出的浏览器**输入用户密码**后会自动开始爬取数据, 爬取完成浏览器会自动关闭.\n   \n5. 在对应的目录下可以**查看下载下来的数据**(xxx.json), **数据分析图表**(xxx.html)\n\n### 购买服务\n\n> ***限量发售中...***，[去看看](https://mbd.pub/o/bread/aZiTlJo=)\n\n1. InfoSpider 最新维护版本\n2. 更全面的个人数据分析\n3. 免去安装程序的所有依赖环境，便捷，适合小白\n4. 已打包好的程序，双击即可运行程序\n5. 手把手教你如何打包 InfoSpider\n6. 开发者一对一技术支持\n7. ***购买后即可免费获得即将发布的全新2.0版本***\n\n\n<p align=\"center\">\n<img src=\"https://i.loli.net/2020/10/20/IRbLzEmBv9Ktwp4.jpg\" alt=\"wechat\" height=20% width=20%/></br>\n<a href=\"https://mbd.pub/o/bread/aZiTlJo=\"><b>购买链接</b></a>\n</p>\n\n### 数据源\n- [x] GitHub\n- [x] QQ邮箱\n- [x] 网易邮箱\n- [x] 阿里邮箱\n- [x] 新浪邮箱\n- [x] Hotmail邮箱\n- [x] Outlook邮箱\n- [x] 京东\n- [x] 淘宝\n- [x] 支付宝\n- [x] 中国移动\n- [x] 中国联通\n- [x] 中国电信\n- [x] 知乎\n- [x] 哔哩哔哩\n- [x] 网易云音乐\n- [x] QQ好友([cjh0613](https://github.com/cjh0613/python-pub/blob/1c308fe90386f6d6e69e2202bb0c4acd4857576f/%E8%8E%B7%E5%8F%96QQ%E5%A5%BD%E5%8F%8B%E5%88%97%E8%A1%A8.py))\n- [x] QQ群([cjh0613](https://github.com/cjh0613/python-pub/blob/1c308fe90386f6d6e69e2202bb0c4acd4857576f/%E8%8E%B7%E5%8F%96QQ%E5%A5%BD%E5%8F%8B%E5%88%97%E8%A1%A8.py))\n- [x] 生成朋友圈相册\n- [x] 浏览器浏览历史\n- [x] 12306\n- [x] 博客园\n- [x] CSDN博客\n- [x] 开源中国博客\n- [x] 简书\n\n### 数据分析\n\n- [x] 博客园\n- [x] CSDN博客\n- [x] 开源中国博客\n- [x] 简书\n\n### 计划\n\n- 提供web界面操作，适应多平台\n- 对爬取的个人数据进行统计分析\n- 融合机器学习技术、自然语言处理技术等对数据深入分析\n- 把分析结果绘制图表直观展示\n- 添加更多数据源...\n\n### Visitors\n\n![](http://profile-counter.glitch.me/kangvcar/count.svg)\n\n### Developers want to say\n\n1. 该项目解决了个人数据分散在各种各样的公司之间，经常形成数据孤岛，多维数据无法融合的痛点。\n2. 作者认为该项目的最大潜力在于能把多维数据进行融合并对个人数据进行分析，是个人数据效益最大化。\n3. 该项目使用爬虫手段获取数据，所以程序存在时效问题（需要持续维护，根据网站的更新做出修改）。\n4. 该项目的结构清晰，所有数据源相互独立，可移植性高，所有爬虫脚本在项目的[Spiders](https://github.com/kangvcar/InfoSpider/tree/master/Spiders)文件下，可移植到你的程序中。\n5. 目前该项目v1.0版本仅在Windows平台上测试，Python 3.7，未适配多平台。\n6. 计划在v2.0版本对项目进行重构，提供web端操作与数据可视化，以适配多平台。\n7. 本项目[INFO-SPIDER](https://github.com/kangvcar/InfoSpider)代码已开源，欢迎star支持。\n\n### Contributors\n\n<a href=\"https://github.com/kangvcar/infospider/graphs/contributors\">\n  <img src=\"https://contributors-img.web.app/image?repo=kangvcar/infospider\" />\n</a>\n\n### License\nGPL-3.0\n\n### Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=kangvcar/InfoSpider&type=Date)](https://star-history.com/#kangvcar/InfoSpider&Date)\n\n"
  },
  {
    "path": "README_EN.md",
    "content": "<p align=\"center\">\n    <img src=\"https://i.loli.net/2020/10/20/SKOdFZpVYo4LvgT.png\" alt=\"logo\"/>\n</p>\n\n***\n\n<p align=\"center\">\n    <a>\n        <img alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/kangvcar/infospider?style=social\">\n    </a>\n    <a>\n        <img src=\"https://img.shields.io/badge/python-v3-blue?style=flat-square\" alt=\"UW2eVx.png\" />\n    </a>\n    <a>\n        <img src=\"https://img.shields.io/badge/platform-Windows-blue?style=flat-square\" alt=\"UW2eVx.png\" />\n    </a>\n    <a>\n        <img src=\"https://img.shields.io/website?up_message=%E4%BD%BF%E7%94%A8%E6%96%87%E6%A1%A3&url=https%3A%2F%2Finfospider.vercel.app%2F\" alt=\"UW2eVx.png\" />\n    </a>\n    <a>\n    <img alt=\"GitHub repo size\" src=\"https://img.shields.io/github/repo-size/kangvcar/infospider?style=flat-square\">\n    </a>\n    <a>\n    <img alt=\"GitHub repo size\" src=\"https://img.shields.io/badge/license-GPL-blue?style=flat-square\">\n    </a>\n</p>\n<p align=\"center\">A magic toolbox to get back your personal information.</p>\n<p align=\"center\"><a href=\"https://infospider.vercel.app/\">Documentation</a> | <a href=\"https://www.bilibili.com/video/BV14f4y1R7oF/\">Video Demo</a></p>\n\n### Donate\n\n<p align=\"center\">Support Me!</p>\n\n[Paypal](https://paypal.me/kangvcar?locale.x=zh_XC)\n\n### Developer Memoir🌈\n<details>\n<summary>Click to expand👉 Developer Memoir🌈</summary>\n\n#### Scenes 1\n\nAs usual, Xiao Ming opened the Chrome browser to browse the BBS, Tieba. Accidentally, Xiaoming opened the advertisement on the web page and jumped to JingDong Mall. When he went to close the window subconsciously, he found that (OS: it was just the product I needed!) How would JD know?Now that I've opened it, let's see the details of the product! Not bad. （OS: Give it a try!)\n\n#### Scenes 2\n\nBai listens to the netease cloud music daily recommended song list can not get out of it (OS: wow! Why the playlist full of my favorite music styles? How great the netease cloud music! Love it so much! I have to buy a mumbership), strolling through ZhiHu's \"How elegant XXX?, \"What kind of experience is XXX?, \"How do you evaluate XXX? (OS: Huh? This question is just what I want to ask, it has already been asked! What?? Thousands of answers!! Go inside and have a look!)\n\n#### Scenes 3\n\nXiao Da never forget to enrich himself at work. As the major technical cnblog, CSDN, OSChina, JianShu, JueJin, etc.,  he find the homepage content recommendation is great (OS: these technical net posts are so great. I don't have to look for it as it came out). When he open the blog home page unconsciously,he found  himself stick to write blog for three years, its technology stack is becoming more and more rich (OS: how to blog background does not provide a data analysis system? I want to see how many posts I've done over the years, when I've done it, which posts are hot, which technologies I've spent more time on, and which times I've been at my peak in the evenings? In the wee hours? I hope the system can give me more guidance data so that I can create better! Looking at the above scenes, you may sigh over the progress of technology, which has greatly improved our way of life. )\n\n#### Idea\n\nIf you have a tool like this, it can help you get your personal information back, it can help you aggregate your personal information from various sites, it can help you analyze your personal data and give you Suggestions, it can help you visualize your personal data so that you can know yourself better.\n\n> Would you need such a tool? Would you like such a tool?\n\nBased on the above, I started to develop **[INFO-SPIDER](https://github.com/kangvcar/InfoSpider)** 👇👇👇\n\n</details>\n\n### What is INFO-SPIDER\n\nINFO-SPIDER  is a crawler toolbox with numerous data sources. It aims to help users get their data back safely and quickly. The tool code is open source and the process is transparent.\nIt also provides data analysis function and generates chart files based on user data, so that users can have a more intuitive and in-depth understanding of their own information.\nCurrently supported data sources including GitHub, QQ mailbox, NetEase mailbox, Ali mailbox, Sina mailbox, Hotmail mailbox, Outlook mailbox, JingDong, TaoBao, Alipay, China Mobile, China Unicom, China Telecom, ZhiHu, Bilibili, NetEase Cloud Music, QQ Friends, QQ Groups, WeChat Moments Album, Browser History, 12306, Cnblog, CSDN, OSCHINA, JianShu.\n\nRefer to the [document](https://infospider.vercel.app) or [Video Demo](https://www.bilibili.com/video/BV14f4y1R7oF/) for details\n\nYou can communicate with us on [![Gitter](https://badges.gitter.im/Info-Spider/community.svg)](https://gitter.im/Info-Spider/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)\n\n### Features\n- Safe and Reliable: this project is open source, all source code visible, local operation, safe and reliable.\n- Easy to Use: to provide a GUI interface, just click the data source you want to get and follow the prompts.\n- Clear Structure: All the data sources of the project are independent from each other, and their portability is high. All crawler scripts are under the [Spiders](https://github.com/kangvcar/InfoSpider/tree/master/Spiders) catalogue.\n- Rich Data Sources: This project currently supports up to 24+ data sources, which are constantly updated.\n- Uniform Data Format: All crawled data will be stored in JSON format.\n- Rich Personal Data: This project will crawl as much personal data as possible for you, and later data processing can be reduced as needed.\n- Data Analysis: This project provides visual analysis of personal data, which is currently only partially supported.\n- Documentation: This project contains complete  [document](https://infospider.vercel.app) or [Video Demo](https://www.bilibili.com/video/BV14f4y1R7oF/) .\n\n### Screenshot\n\n![screenshot.png](https://i.loli.net/2020/10/26/4NJyMhrsGPwvxgd.png)\n\n### QuickStart\n\n#### Requirements\n- Step1: Install python3 and Chrome\n- Step2: Install the same driver as the Chrome browser\n- Step3: Run `pip install -r requirements.txt`\n\n#### Run the project\n- Step1: `cd tools`\n- Step2: `python3 main.py`\n- Step3: Click the Data Source button in the open window and select the data save path as prompted\n- Step4: The popup browser will automatically start crawling data after entering the user password, and the browser will automatically close after crawling.\n- Step5: In the corresponding directory, you can view the downloaded data (xxx. JSON), data analysis chart (XXx. HTML)\n\n### Plan\n- Provide web interface operation, adapt to multi-platform\n- Conduct statistical analysis of personal data\n- It integrates machine learning technology and natural language processing technology to analyze the data in depth\n- Chart the analysis results visually\n- Add more data sources...\n\n### Visitors\n\n![](http://profile-counter.glitch.me/kangvcar/count.svg)\n\n### Contributors\n\n<a href=\"https://github.com/kangvcar/infospider/graphs/contributors\">\n  <img src=\"https://contributors-img.web.app/image?repo=kangvcar/infospider\" />\n</a>\n\n### Sponsors\n\n![](https://github.com/kangvcar/InfoSpider/blob/master/docs/_media/JetBrains.png?raw=true)\n\nThank you to JetBrains, who provide Open Source License for PyCharm!\n\n### License\n\nGPL-3.0"
  },
  {
    "path": "Spiders/A12306/main12306.py",
    "content": "import json\nimport datetime\nimport os\nimport sys\nimport requests\nfrom tkinter.filedialog import askdirectory\n\n# session = requests.session()\n# cookie_dict = {\n#     'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',\n#     'Cookie': 'JSESSIONID=4C46731EE8AC434BD50749C80CFCF67F; tk=dwjpjiuCb4bW06qo4oJMr5MKOw-4IRX_s1zBI-KyKSUq7-Ialm1110; RAIL_EXPIRATION=1554990611687; RAIL_DEVICEID=DNgKpgqbWzSopAqvFXfNXT3opSKTcwfTxGEIB_s60TyBtq6xHTqC1XAjQUm57eeWNoksjoHBbHDLx5HTeC_5lomXnDhs5MQ0Sv8XOOrSe2TBpQo4nlBQTR9GXc286CHhhprU0rQccB5BQ9kL5O4bfEcJADAKZq52; BIGipServerpassport=786956554.50215.0000; route=6f50b51faa11b987e576cdb301e545c4; BIGipServerotn=3973513482.24610.0000'\n#\n# }\n# requests.utils.add_dict_to_cookiejar(session.cookies, cookie_dict)\n# resp = session.post('https://kyfw.12306.cn/otn/index/initMy12306Api')\n\n\nclass Info(object):\n    def __init__(self, cookie):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        self.session = requests.session()\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',\n        }\n        cookie_dict = {}\n        list = cookie.split(';')\n        for i in list:\n            try:\n                cookie_dict[i.split('=')[0]] = i.split('=')[1]\n            except Exception:\n                pass\n        requests.utils.add_dict_to_cookiejar(self.session.cookies, cookie_dict)\n\n    # 个人信息，json格式\n    def get_user_info(self):\n        url = 'https://kyfw.12306.cn/otn/modifyUser/initQueryUserInfoApi'\n        resp = self.session.get(url)\n        json_data = json.loads(resp.content.decode())\n        self.save_json('user_info.json', resp.content.decode())\n        return 0\n\n    # 未完成订单 https://kyfw.12306.cn/otn/queryOrder/queryMyOrderNoComplete\n    def get_OrderNoComplete(self):\n        url = 'https://kyfw.12306.cn/otn/queryOrder/queryMyOrderNoComplete'\n        data = '_json_att='\n        resp = self.session.post(url, data=data, verify=False)\n        json_data = json.loads(resp.content.decode())\n        self.save_json('user_order_no_complete.json', resp.content.decode())\n        return 0\n\n    # 未出行订单 https://kyfw.12306.cn/otn/queryOrder/queryMyOrder\n    def get_Order(self):\n        url = 'https://kyfw.12306.cn/otn/queryOrder/queryMyOrder'\n        from dateutil.relativedelta import relativedelta\n\n        # 时间可变\n        queryStartDate = (datetime.date.today() - relativedelta(months=+1)).strftime(\"%Y-%m-%d\")\n        queryEndDate = datetime.datetime.now().strftime(\"%Y-%m-%d\")\n        data = {'come_from_flag': 'my_order',\n                'pageIndex': 0,\n                'pageSize': 8,\n                'query_where': 'G',\n                'queryStartDate': queryStartDate,\n                'queryEndDate': queryEndDate,\n                'queryType': 1,\n                'sequeue_train_name': ''}\n        resp = self.session.post(url, data=data)\n        json_data = json.loads(resp.content.decode())\n        self.save_json('user_order.json', resp.content.decode())\n        return 0\n\n    # 联系人  https://kyfw.12306.cn/otn/passengers/query\n    def get_passengers(self):\n        url = 'https://kyfw.12306.cn/otn/passengers/query'\n        data = {'pageIndex': 1,\n                'pageSize': 10}\n        resp = self.session.post(url, data=data)\n        json_data = json.loads(resp.content.decode())\n        self.save_json('user_passengers.json', resp.content.decode())\n        return 0\n\n    # 车票快递地址  https://kyfw.12306.cn/otn/address/initApi\n    def get_address(self):\n        url = 'https://kyfw.12306.cn/otn/address/initApi'\n        data = None\n        resp = self.session.post(url, data=data)\n        json_data = json.loads(resp.content.decode())\n        self.save_json('user_address.json', resp.content.decode())\n        return 0\n\n    # 保险订单  https://kyfw.12306.cn/otn/insurance/queryMyIns\n    def get_insurance(self):\n        url = 'https://kyfw.12306.cn/otn/insurance/queryMyIns'\n        # 时间可变\n        from dateutil.relativedelta import relativedelta\n        queryStartDate = (datetime.date.today() - relativedelta(months=+1)).strftime(\"%Y-%m-%d\")\n        queryEndDate = datetime.datetime.now().strftime(\"%Y-%m-%d\")\n        data = {'come_from_flag': 'my_ins',\n                'pageIndex': 0,\n                'pageSize': 8,\n                'query_where': 'H',\n                'queryStartDate': queryStartDate,\n                'queryEndDate': queryEndDate,\n                'queryType': 1,\n                'sequeue_train_name': ''}\n        data = 'queryStartDate=2019-04-09&queryEndDate=2019-04-09&pageSize=8&pageIndex=1&query_where=H&sequeue_train_name=&come_from_flag=my_ins'\n        resp = self.session.post(url, data=data)\n        self.save_json('user_insurance.json', resp.content.decode())\n        return 0\n\n    # 历史订单 https://kyfw.12306.cn/otn/queryOrder/queryMyOrder\n    def get_History_Order(self):\n        url = 'https://kyfw.12306.cn/otn/queryOrder/queryMyOrder'\n        from dateutil.relativedelta import relativedelta\n\n        cookie_dict = {'Referer': 'https://kyfw.12306.cn/otn/view/train_order.html'}\n\n        self.headers.update(cookie_dict)\n        # 时间可变\n        queryStartDate = (datetime.date.today() - relativedelta(months=+1)).strftime(\"%Y-%m-%d\")\n        queryEndDate = datetime.datetime.now().strftime(\"%Y-%m-%d\")\n\n        # data = {'come_from_flag': 'my_order',\n        #         'pageIndex': 0,\n        #         'pageSize': 8,\n        #         'query_where': 'H',\n        #         'queryStartDate': queryStartDate,\n        #         'queryEndDate': queryEndDate,\n        #         'queryType': 1,\n        #         'sequeue_train_name': ''}\n\n        data = 'come_from_flag=my_order&pageIndex=0&pageSize=8&query_where=H&queryStartDate=2019-06-01&queryEndDate=2019-06-21&queryType=1&sequeue_train_name=15659358815'\n        resp = self.session.post(url, headers=self.headers, data=data, verify=False)\n        self.save_json('user_history_order.json', resp.content.decode())\n        return 0\n\n    # 会员信息\n    def get_level(self):\n        url = 'https://cx.12306.cn/tlcx/memberInfo/memberPointQuery'\n        data = 'queryType=0'\n        resp = self.session.post(url, data=data)\n        self.save_json('user_level.json', resp.content.decode())\n        return 0\n\n    def save_json(self, name, ret):\n        # file_path = os.path.join(os.path.dirname(__file__) + '/' + name)\n        with open(self.path + os.sep + name, 'w', encoding='utf-8') as f:\n            f.write(ret)\n\n\nif __name__ == '__main__':\n    pass\n    # a = Info()\n    # user = a.get_user_info()\n    # a.save_json('user.json', user)\n    # OrderNoComplete = a.get_OrderNoComplete()\n    # a.save_json('OrderNoComplete.json',OrderNoComplete)\n    # Order = a.get_Order()\n    # a.save_json('Order.json',Order)\n    # passengers = a.get_passengers()\n    # a.save_json('passengers.json',passengers)\n    # address = a.get_address()\n    # a.save_json('address.json',address)\n    # insurance = a.get_insurance()\n    # a.save_json('insurance.json',insurance)\n    # History_Order = a.get_History_Order()\n    # a.save_json('History_Order.json',History_Order)\n    #\n    # # 换json\n    # level = a.get_level()\n    # a.save_json('level.json',level)\n"
  },
  {
    "path": "Spiders/JdSpider/jd_more_info.py",
    "content": "# coding: utf8\nimport json\nimport os\nimport re\nimport sys\nimport requests\nfrom lxml import etree\nimport datetime\nimport bs4\nfrom pprint import pprint\nfrom tkinter.filedialog import askdirectory\nfrom tqdm import tqdm\nfrom tqdm import trange\n\nclass JSpider(object):\n    def __init__(self, cookie, data_dir=\"./\"):\n        # self.data_dir = data_dir\n        self.data_dir = askdirectory(title='选择信息保存文件夹')\n        if str(self.data_dir) == \"\":\n            sys.exit(1)\n        self.session = requests.session()\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',\n        }\n        cookie_dict = {}\n        list = cookie.split(';')\n        for i in list:\n            try:\n                cookie_dict[i.split('=')[0]] = i.split('=')[1]\n            except IndexError:\n                cookie_dict[''] = i\n        requests.utils.add_dict_to_cookiejar(self.session.cookies, cookie_dict)\n\n    # 个人信息\n    def get_user_info(self):\n        url = 'https://wq.jd.com/user/info/QueryXBCreditScore?_=1556338705353&sceneval=2&g_login_type=1&callback=getCreditInfoCb&g_tk=2127038752&g_ty=ls'\n        self.headers['Referer'] = 'https://wqs.jd.com/my/asset.html'\n        resp = self.session.get(url, headers=self.headers).content.decode().replace('try{getCreditInfoCb(', '').replace(\n            ');}catch(e){}', '')\n\n        json_data = json.loads(resp)['data']\n        url = 'https://api.m.jd.com/api?appid=pc_home_page&functionId=getBaseUserInfo&loginType=3'\n        resp = json.loads(self.session.get(url, headers=self.headers).content.decode())['returnObj']\n        json_data.append(resp)\n        str = json.dumps(json_data)\n        self.write_json('user_info.json', str)\n\n    def write_json(self, name, str):\n        #file_path = os.path.join(os.path.dirname(__file__) + '/' + name)\n        try:\n            # os.mkdir(os.path.join(self.data_dir, \"./jd\"))\n            os.mkdir(os.path.join(self.data_dir))\n        except OSError:\n            pass\n        # file_path = os.path.join(self.data_dir, './jd/' + name)\n        file_path = os.path.join(self.data_dir, name)\n        with open(file_path, 'w') as f:\n            f.write(str)\n\n    # 信用账单\n    def get_creditData(self):\n        url = 'https://trade.jr.jd.com/async/creditData.action'\n        resp = self.session.get(url, headers=self.headers)\n        self.write_json('creditData.json', resp.content.decode())\n\n    # 钱包概括\n    def get_browseDataNew(self):\n        url = 'https://trade.jr.jd.com/async/browseDataNew.action'\n        resp = self.session.get(url)\n        self.write_json('wallet.json', resp.content.decode())\n\n    # 收益账单\n    def get_income(self):\n        url = 'https://trade.jr.jd.com/centre/getOverviewInData.action'\n        resp = self.session.get(url)\n        self.write_json('income.json', resp.content.decode())\n\n    # 地址\n    def get_addr(self):\n        url = 'https://easybuy.jd.com/address/getEasyBuyList.action'\n        headers = {\n            'Host': 'easybuy.jd.com',\n            'Connection': 'keep-alive',\n            'Cache-Control': 'max-age=0',\n            'Upgrade-Insecure-Requests': '1',\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36',\n            'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3',\n            'Referer': 'https://home.jd.com/',\n            'Accept-Encoding': 'gzip, deflate, br',\n            'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8'\n        }\n        resp = self.session.get(url, headers=headers)\n        obj_list = etree.HTML(resp.content.decode()).xpath('//div[@class=\"item-lcol\"]')\n        json_list = []\n        for obj in obj_list:\n            item = {}\n            item['name'] = obj.xpath('./div[1]/div[1]/text()')[0].strip()\n            item['addr'] = obj.xpath('./div[2]/div[1]/text()')[0].strip()\n            item['detail_addr'] = obj.xpath('./div[3]/div[1]/text()')[0].strip()\n            item['mobile'] = obj.xpath('./div[4]/div[1]/text()')[0].strip()\n            item['tel'] = obj.xpath('./div[5]/div[1]/text()')[0].strip()\n            item['email'] = obj.xpath('./div[6]/div[1]/text()')[0].strip()\n            json_list.append(item)\n        self.write_json('addr.json', json.dumps(json_list))\n\n    # 银行卡\n    def get_YHK(self):\n        url = 'https://authpay.jd.com/card/queryBindCard.action'\n        resp = self.session.get(url, headers=self.headers)\n        item = {}\n        # print(resp.content.decode())\n        item['name'] = etree.HTML(resp.content.decode()).xpath('//span[contains(text(),\"持卡人姓名\")]/text()')[0].replace(\n            '持卡人姓名：', '')\n        item['mobile'] = etree.HTML(resp.content.decode()).xpath('//span[contains(text(),\"手机号：\")]/text()')[0].replace(\n            '手机号：', '')\n        item['last_num'] = etree.HTML(resp.content.decode()).xpath('//span[contains(text(),\"尾号\")]/text()')[0].replace(\n            '尾号', '')\n        str = json.dumps(item)\n        self.write_json('YHK_info.json', str)\n\n    # 小金库账单\n    def get_xjk_info(self):\n        url = 'https://xjk.jr.jd.com/gold/account'\n        resp = self.session.get(url)\n        self.write_json('xjk.json', resp.content.decode())\n\n    # 理财收益\n    def get_finance_income(self):\n        url = 'https://trade.jr.jd.com/ajaxFinance/queryFundInfo.action'\n        resp = self.session.get(url)\n        self.write_json('finance_income.json', resp.content.decode())\n\n    # 钢镚数\n    def get_GB_num(self):\n        url = 'https://gb.jd.com/asset/myassets.html?from=myzc-left-gb'\n        resp = self.session.get(url)\n        num = etree.HTML(resp.content.decode()).xpath('//em[@class=\"h-i-num\"]/text()')[0]\n        str = json.dumps({'gb_num': num})\n        self.write_json('GB_num.json', str)\n\n    # 京东金融交易单\n    def get_JY_bill(self):\n        # 可获取多页，定义pageNo\n        url = 'https://trade.jr.jd.com/trade/tradebuynew.action?pageNo=0&pageSize=10&timeFlag=0&projectType=0&orderStatus=-1&date1=&date2='\n        resp = self.session.get(url, headers=self.headers)\n        self.write_json('jiaoyi_bill.json', resp.content.decode())\n\n    # 收藏店铺\n    def get_follow_shops(self):\n        url = 'https://t.jd.com/follow/vender'\n        resp = self.session.get(url)\n        ele = etree.HTML(resp.content.decode())\n        obj_list = ele.xpath('//div[@class=\"mf-shop-list \"]/div')\n        json_list = []\n        for obj in obj_list:\n            item = {}\n            item['name'] = ''.join(obj.xpath('.//div[@class=\"shop-name\"]//text()')).strip()\n            item['url'] = obj.xpath('.//div[@class=\"shop-name\"]/a/@href')[0]\n            json_list.append(item)\n        str = json.dumps(json_list)\n        self.write_json('follow_shops.json', str)\n\n    # 收藏s商品\n    def get_follow_products(self):\n        url = 'https://t.jd.com/follow/product'\n        resp = self.session.get(url)\n        ele = etree.HTML(resp.content.decode())\n        obj_list = ele.xpath('//div[@class=\"mf-goods-list clearfix \"]/div')\n        json_list = []\n        for obj in obj_list:\n            item = {}\n            item['name'] = ''.join(obj.xpath('.//div[@class=\"p-name\"]//text()')).strip()\n            item['url'] = obj.xpath('.//div[@class=\"p-name\"]/a/@href')[0]\n            item['price'] = ''.join(obj.xpath('.//div[@class=\"p-price\"]/strong/@price')).strip()\n            item['status'] = ''.join(obj.xpath('.//div[@class=\"p-stats\"]//text()')).strip()\n            json_list.append(item)\n        str = json.dumps(json_list)\n        self.write_json('follow_products.json', str)\n\n    # 收藏s商品\n    def get_cart(self):\n        url = 'https://cart.jd.com/cart.action'\n        resp = self.session.get(url)\n        ele = etree.HTML(resp.content.decode())\n        obj_list = ele.xpath('//div[@class=\"item-form\"]')\n        json_list = []\n        for obj in obj_list:\n            item = {}\n            item['name'] = ''.join(obj.xpath('.//div[@class=\"p-name\"]//text()')).strip()\n            item['skus'] = ''.join(obj.xpath('.//div[@class=\"cell p-props p-props-new\"]//text()')).strip()\n            item['url'] = obj.xpath('.//div[@class=\"p-name\"]/a/@href')[0]\n            item['price'] = ''.join(obj.xpath('.//div[@class=\"cell p-sum\"]//text()')).strip()\n            item['num'] = ''.join(obj.xpath('.//div[@class=\"cell p-quantity\"]//input/@value')).strip()\n            json_list.append(item)\n        str = json.dumps(json_list)\n        self.write_json('carts.json', str)\n\n    # 已购商品\n    def get_orders(self):\n        for i in [2020, 2019, 2018]:\n            url = 'https://order.jd.com/center/list.action?search=0&d={}&s=4096'.format(i)\n            # print(url)\n            resp = self.session.get(url)\n            # print(resp.content.decode('gbk'))\n            ele = etree.HTML(resp.content.decode('gbk'))\n            obj_list = ele.xpath('//table[@class=\"td-void order-tb\"]/tbody')[1:]\n            json_list = []\n            url = 'https://order.jd.com/lazy/getOrderProductInfo.action'\n            try:\n                data = {\n                    'orderWareIds': '{}'.format(\n                        re.findall(r\"ORDER_CONFIG\\['orderWareIds'\\]='([\\d,]+)'\", resp.content.decode('gbk'))[0]),\n                    'orderWareTypes': '{}'.format(\n                        re.findall(r\"ORDER_CONFIG\\['orderWareTypes'\\]='([\\d,]+)'\", resp.content.decode('gbk'))[0]),\n                    'orderIds': '{}'.format(\n                        re.findall(r\"ORDER_CONFIG\\['orderIds'\\]='([\\d,]+)'\", resp.content.decode('gbk'))[0]),\n                    'orderTypes': '{}'.format(\n                        re.findall(r\"ORDER_CONFIG\\['orderTypes'\\]='([\\d,]+)'\", resp.content.decode('gbk'))[0]),\n                    'orderSiteIds': '{}'.format(\n                        re.findall(r\"ORDER_CONFIG\\['orderSiteIds'\\]='([\\d,]+)'\", resp.content.decode('gbk'))[0]),\n                    'sendPays': '{}'.format(\n                        re.findall(r\"ORDER_CONFIG\\['sendPays'\\]='([\\d,]+)'\", resp.content.decode('gbk'))[0]),\n                }\n            except Exception:\n                return\n            json_list = json.loads(self.session.post(url, data=data).content.decode('gbk'))\n            ret_list = []\n            for obj in obj_list:\n                try:\n                    item = json_list[obj_list.index(obj)]\n                    item['goods-number'] = ''.join(obj.xpath('.//div[@class=\"goods-number\"]//text()')).strip()\n                    item['consignee tooltip'] = ''.join(obj.xpath('.//div[@class=\"consignee tooltip\"]/text()')).strip()\n                    item['amount'] = ''.join(obj.xpath('.//div[@class=\"amount\"]//text()')).strip()\n                    item['order-shop'] = ''.join(obj.xpath('.//span[@class=\"order-shop\"]//text()')).strip()\n                    ret_list.append(item)\n                except Exception:\n                    continue\n\n            self.write_json('jd_orders_{}.json'.format(i), json.dumps(ret_list))\n\n        # dict = {\n        #     \"orderType\": 37,\n        #     \"erpOrderId\": \"%s\"\n        # }\n        #\n        # obj_list = [{\"orderType\": 37, \"erpOrderId\": \"%s\" % (i.replace('tb-', ''))} for i in\n        #             ele.xpath('//table[@class=\"td-void order-tb\"]/tbody/@id')]\n        #\n        # url = 'https://ordergw.jd.com/orderCenter/app/1.0/?queryList={}'.format(json.dumps(obj_list))\n        # result_resp = self.session.get(url, headers=self.headers).content.decode().replace('null(', '')[:-1]\n\n\n    #############################################################################\n\n    def getAndStoreBoughtItems(self):\n        orderParseResults = []\n        currentYear = datetime.datetime.now().year\n        # print(currentYear)\n        for year in trange(currentYear, 2013-1, -1):\n            paramYear = year\n            if year == currentYear:\n                paramYear = 2\n            elif year < 2014:\n                paramYear = 3\n            # print(\"paramYear: \", paramYear)\n            r = self.getOnePageOrder(paramYear)\n            orderParseResults.extend(r)\n\n        datatable = self.changeOrderParseResultListToTable(orderParseResults)\n        self.writeDatatableIntoFile(\"allOrders.csv\", datatable)\n\n    def getOnePageOrder(self, year):\n        orderParseResults = []\n        curPage = 1\n        while True:\n            # print(\"curPage: \", curPage)\n            params = {\"search\":\"0\", \"d\":str(year), \"s\":\"4096\", \"page\":str(curPage)}\n            resp = self.session.get(url=\"https://order.jd.com/center/list.action\", params=params, headers=self.headers)\n            #print(resp.request.url)\n            #print(resp.text)\n            resultHtml = resp.text\n            \n            r = self.parseOnePageOrder(resultHtml)\n            orderParseResults.extend(r)\n\n            if '<span class=\"next-disabled\">下一页<b></b></span>' in resultHtml or '最近没有下过订单哦~' in resultHtml:\n                # print(\"breakout\")\n                break\n\n            curPage += 1\n        return orderParseResults\n\n    def parseOnePageOrder(self, resultHtml):\n        soup = bs4.BeautifulSoup(resultHtml, 'html.parser')\n        linkItems = soup.find_all(attrs={\"name\":\"orderIdLinks\"})\n        #print(linkItems)\n        \n        urls = []\n        for e in linkItems:\n            url = e['href']\n            # print(url)\n            if url.startswith(\"http://\"):\n                url = \"https\" + url[4:]\n            elif url.startswith(\"//\"):\n                url = \"https:\" + url\n            elif url == \"javascript:void(0);\":\n                continue\n            elif not url.startswith(\"https://\"):\n                raise Exception(\"Unsupported url: \" + url)\n            urls.append(url)\n        #print(urls)\n\n        orderParseResults = []\n        for url in urls:\n            # print(url)\n            if url.startswith(\"https://details.jd.com/normal/item.action\"):\n                orderParseResult = self.getOrderOfNormal(url)\n            elif url.startswith(\"https://chongzhi.jd.com/order/order_autoDetail.action\"):\n                orderParseResult = self.getOrderOfChongzhi(url)\n            #elif url.startswith(\"https://home.jd.hk/\"):\n            #    # TODO\n            #    pass\n            #elif url.startswith(\"https://huishou.jd.com/orderdetail\"):\n            #    pass\n            else:\n                continue\n                # raise Exception(\"TODO: unknown jd order detail url: \" + url)\n            orderParseResults.append(orderParseResult)\n\n        return orderParseResults\n\n    def getOrderOfNormal(self, orderDetailUrl, resultHtml=None):\n        if resultHtml is None:\n            resp = self.session.get(url=orderDetailUrl, headers=self.headers)\n            resultHtml = resp.text\n        #print(resultHtml)\n        soup = bs4.BeautifulSoup(resultHtml, 'html.parser')\n\n        orderId = soup.find(id=\"orderid\")[\"value\"]\n        # print(orderId)\n        \n        goodsTotal = soup.find(class_=\"goods-total\")\n        #print(goodsTotal)\n        #print(goodsTotal.ul)\n        goodsTotalAmount = 0\n        orderTotalAmount = 0\n        for li in goodsTotal.ul.children:\n            if not isinstance(li, bs4.element.Tag):\n                continue\n            #TODO:check the result of find_all\n            label, txt = li.find_all(\"span\")[:2]\n            #print(label.string, txt.string)\n            if \"商品总额\" in str(label.string):\n                goodsTotalAmount = float(txt.string.strip().replace(\"¥\", \"\"))\n            elif \"应付总额\" in str(label.string):\n                orderTotalAmount = float(txt.string.strip().replace(\"¥\", \"\"))\n        # print(goodsTotalAmount, orderTotalAmount)\n\n        statusString = \"\"\n        paymentTime = 0\n        eleStatus = soup.find(class_=\"state-txt\")\n        statusString = eleStatus.string\n        # print(statusString)\n        payInfo = soup.find(id=\"pay-info-nozero\")\n        #print(payInfo)\n        if payInfo:\n            divs = payInfo.find_all(class_=\"item\")\n            # print(divs)\n            for div in divs:\n                label = div.find(class_=\"label\").string.strip()\n                if \"付款时间\" in label:\n                    paymentTime = div.find(class_=\"info-rcol\").string.strip()\n                    break\n        # print(paymentTime)\n\n        orderItemParseResults = []\n\n        goodsList = soup.find(class_=\"goods-list\")\n        goodsListTableBody = goodsList.table.tbody\n        #print(goodsListTableBody)\n        trs = goodsListTableBody.find_all(\"tr\")\n        #print(trs)\n        for tr in trs:\n            if tr.has_attr(\"style\") and tr[\"style\"] == \"display: none\":\n                break\n            tds = tr.find_all(\"td\")\n            #print(tds)\n            productId = tds[2].string.strip()\n            productName = tds[1].find(class_=\"p-name\").a.string.strip()\n            # print(productId, productName)\n\n            orderItemParseResult = {}\n            orderItemParseResult[\"productId\"] = productId\n            orderItemParseResult[\"productName\"] = productName\n            # TODO: more info\n            orderItemParseResults.append(orderItemParseResult)\n\n        orderParseResult = {}\n        orderParseResult[\"orderId\"] = orderId\n        orderParseResult[\"paymentTime\"] = paymentTime\n        orderParseResult[\"status\"] = statusString\n        #orderParseResult[\"goodsTotalAmount\"] = goodsTotalAmount\n        orderParseResult[\"orderTotalAmount\"] = orderTotalAmount\n        orderParseResult[\"orderItems\"] = orderItemParseResults\n        # TODO: more info\n\n        # pprint(orderParseResult)\n        return orderParseResult\n\n    def getOrderOfChongzhi(self, orderDetailUrl, resultHtml=None):\n        if resultHtml is None:\n            resp = self.session.get(url=orderDetailUrl, headers=self.headers)\n            resultHtml = resp.text\n        #print(resultHtml)\n        soup = bs4.BeautifulSoup(resultHtml, 'html.parser')\n\n        orderStateDiv = soup.find(id=\"orderstate\")\n        #print(orderStateDiv)\n        orderId = orderStateDiv.find(class_=\"fl\").string.replace(\"：\",\" \").split()[1]\n        # print(orderId)\n        statusString = orderStateDiv.find(class_=\"ftx-02\").string\n        # print(statusString)\n\n        totalAmountDiv = soup.find(class_=\"total\")\n        #print(totalAmountDiv)\n        orderTotalAmount = float(totalAmountDiv.find(class_=\"ftx-01\").b.string.strip())\n        # print(orderTotalAmount)\n\n        orderInfoDiv = soup.find(id=\"orderinfo\")\n        orderInfoUl = orderInfoDiv.find(class_=\"fore\").dd.ul\n        #print(orderInfoUl)\n        paymentTime = 0\n        for li in orderInfoUl.find_all(\"li\"):\n            if not li.string:\n                break\n            text = li.string.strip()\n            if \"下单时间\" in text:\n                paymentTime = text.replace(\"下单时间：\", \"\")\n                break\n        # print(paymentTime)\n\n        orderItemParseResults = []\n        trs = orderInfoDiv.find(class_=\"p-list\").table.tbody.find_all(\"tr\")\n        #print(trs)\n        for i in range(1, len(trs)):\n            tr = trs[i]\n            tds = tr.find_all(\"td\")\n            #print(tds)\n            \n            productId = tds[0].string.strip()\n            productName = tds[1].div.a.string.strip()\n            \n            orderItemParseResult = {}\n            orderItemParseResult[\"productId\"] = productId\n            orderItemParseResult[\"productName\"] = productName\n            # TODO: more info\n            orderItemParseResults.append(orderItemParseResult)\n\n        orderParseResult = {}\n        orderParseResult[\"orderId\"] = orderId\n        orderParseResult[\"paymentTime\"] = paymentTime\n        orderParseResult[\"status\"] = statusString\n        orderParseResult[\"orderTotalAmount\"] = orderTotalAmount\n        orderParseResult[\"orderItems\"] = orderItemParseResults\n        # TODO: more info\n\n        # pprint(orderParseResult)\n        return orderParseResult\n\n    def changeOrderParseResultListToTable(self, orderParseResultList):\n        datatable = []\n        datatable.append([\"订单id\", \"付款时间\", \"状态\", \"金额\", \"商品id\", \"商品名称\"])\n        for orderParseResult in orderParseResultList:\n            orderItemList = orderParseResult[\"orderItems\"]\n            for i, orderItem in enumerate(orderItemList):\n                if i == 0:\n                    datatable.append([\n                        orderParseResult[\"orderId\"],\n                        orderParseResult[\"paymentTime\"],\n                        orderParseResult[\"status\"],\n                        orderParseResult[\"orderTotalAmount\"],\n                        orderItem[\"productId\"],\n                        orderItem[\"productName\"]\n                    ])\n                else:\n                    datatable.append([\n                        \"\",\n                        \"\",\n                        \"\",\n                        \"\",\n                        orderItem[\"productId\"],\n                        orderItem[\"productName\"]\n                    ])\n        return datatable\n    \n    def writeDatatableIntoFile(self, filename, datatable):\n\n        # file_dic = os.path.join(self.data_dir, \"./jd/\")\n        file_dic = os.path.join(self.data_dir)\n        if not os.path.exists(file_dic):\n            os.mkdir(file_dic)\n        with open(os.path.join(file_dic+filename), \"w+\") as f:\n            for row in datatable:\n                rowdata = \",\".join([str(tmp).replace(\",\",\"\") for tmp in row])\n                f.write(rowdata+\"\\n\")\n\n    #############################################################################\n        \n\nif __name__ == '__main__':\n    cookie = 'shshshfpa=7da97119-ca02-a4b5-f883-70bffbb95d2d-1551953689; shshshfpb=oMWkS2uhzSRpZkjikQcMliQ%3D%3D; PCSYCityID=904; areaId=12; ipLoc-djd=12-965-967-38496; user-key=c2b0ef35-0281-4be2-bcf4-4148cb7f518c; sid=509cf3bcff856462fbf0d27defc956e5; __jdu=1551953690075275239163; cn=2; mt_xid=V2_52007VwMWVl1QVlgYQRhdA2MAFFZeWlpaGEspCAFjA0ZUXVBODx4cG0AAMlRFTlVQAA0DHB8MUDJQEAdcXgdTL0oYXA17AhdOXlBDWRxCHV0OZQUiUm1YYlgYTRFeAGYDGmJfXFNf; TrackID=15Z7AWYzc3eAvMsE9Og3XV9Vqvs8o3ajKGACHAWtDTYe7ivuULPCSkMo9tWJS9lHXwCZ8LdfUDyXQ3mWG_bQVpmsyOSMbH2Pp27E7FkLg140GREw3XL6HXu6C6fcCcMXL; __jda=122270672.1551953690075275239163.1551953690.1556614926.1557023684.18; __jdc=122270672; __jdv=122270672|baidu|-|organic|not set|1557023684472; shshshfp=4e62136f3f0d1f33c8191339402dd3a2; thor=BF23B370DD491EEE15CB4D3DBB29B61D6F15B23D58582409C58B0131D8A52E7B2A06114EC2F615519BB1B4EF9CC199A07E6CE4B2E82A125954D7C292D5F544DE013BB9CC77B3B4756CB9125C1021395832FFA1913E13F06D3D1F9ACF727A228E96D03B8E2FFAED7952795D7D31A24E79D58C916331895A6F660C9D84B083319A88C75EED9A114DC7D913A8DD9F83A466; pinId=PFNaS1XmeXF9TBCvJEIlnw; pin=18621759441_p; unick=jd_Miss+Vivi; ceshi3.com=000; _tp=s3iKj%2BxpTSF0rzuw4y6G4g%3D%3D; _pst=18621759441_p; shshshsID=a2fc2b444f7cc5ec786568326575de27_2_1557023849318; 3AB9D23F7A4B3C9B=Z2QEKJIHVKXOC2JNFZIJKKVZ5XVWWIJWQ5TRJ7BOO4K45QVTUZKRK4WXVBSIP5WQ7ZQYP22ZTJWGQILVDNH7G7QGDA; __jdb=122270672.6.1551953690075275239163|18.1557023684'\n    spider = JSpider(cookie)\n    # test\n    '''\n    with open(\"jd.txt\", \"r\", encoding=\"utf8\") as f:\n        htmlcontent = f.read()\n    spider.parseOnePageOrder(htmlcontent)\n    '''\n    '''\n    #with open(\"normal_item_action_ori.html\", \"r\", encoding=\"utf8\") as f:\n    with open(\"chongzhi_order_autoDetail_action_ori.html\", \"r\", encoding=\"utf8\") as f:\n        htmlcontent = f.read()\n    orderParseResult = spider.getOrderOfChongzhi(None, htmlcontent)\n    datatable = spider.changeOrderParseResultListToTable([orderParseResult])\n    spider.writeDatatableIntoFile(os.path.join(spider.data_dir, \"allOrders.csv\"), datatable)\n    '''\n    # spider.get_orders()\n    # spider.get_creditData()\n    # spider.get_browseDataNew()\n    # spider.get_income()\n    # spider.get_user_info()\n    # spider.get_addr()\n    # spider.get_YHK()\n    # spider.get_xjk_info()\n    # spider.get_finance_income()\n    # spider.get_GB_num()\n    # spider.get_JY_bill()\n    # spider.get_follow_shops()\n    # spider.get_follow_products()\n    # spider.get_cart()\n"
  },
  {
    "path": "Spiders/__init__.py",
    "content": ""
  },
  {
    "path": "Spiders/alipay/main.py",
    "content": "import json\nimport os\nimport re\nimport os\nimport requests\nfrom lxml import etree\nfrom selenium import webdriver\nfrom selenium.webdriver import ChromeOptions\nfrom tkinter.filedialog import askdirectory\nfrom tqdm import tqdm\n\nclass ASpider(object):\n    def __init__(self, cookie):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        self.session = requests.session()\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',\n            'referer': ''\n        }\n        cookie_dict = {}\n        list = cookie.split(';')\n        for i in list:\n            try:\n                cookie_dict[i.split('=')[0]] = i.split('=')[1]\n            except Exception:\n                pass\n        requests.utils.add_dict_to_cookiejar(self.session.cookies, cookie_dict)\n\n    def get_user_info(self):\n        url = 'https://custweb.alipay.com/account/index.htm'\n        resp = self.session.get(url)\n        obj = etree.HTML(resp.content.decode()).xpath('//tbody')[0]\n        item = {}\n        item['name'] = ''.join(obj.xpath('./tr[1]/td[1]//text()')).strip()\n        item['email'] = ''.join(obj.xpath('./tr[2]/td[1]//text()')).strip()\n        item['mobile'] = ''.join(obj.xpath('./tr[3]/td[1]//text()')).strip()\n        item['tb_name'] = ''.join(obj.xpath('./tr[4]/td[1]//text()')).strip()\n        item['register_time'] = ''.join(obj.xpath('./tr[7]/td[1]//text()')).strip()\n        self.write_json(self.path + os.sep + 'user_info.json', json.dumps(item))\n\n    def write_json(self, name, str):\n        # file_path = os.path.join(os.path.dirname(__file__) + '/' + name)\n        with open(name, 'w') as f:\n            f.write(str)\n\n    def get_YEB(self):\n        url = 'https://yebprod.alipay.com/yeb/asset.htm'\n        resp = self.session.get(url)\n        ele = etree.HTML(resp.content.decode('gbk'))\n        item = {}\n        # print(etree.tostring(ele))\n        item['eye-val'] = re.sub('\\s', '', ele.xpath('.//span[@class=\"eye-val\"]/text()')[0])\n        item['total_val'] = re.sub('\\s', '', ele.xpath('.//div[@class=\"box-bill-foot-account eye-val\"]/text()')[0])\n        item['Unavailable_val'] = re.sub('\\s', '', ele.xpath('.//div[@class=\"box-bill-foot-account eye-val\"]/text()')[1])\n        self.write_json(self.path + os.sep + 'yu_e_bao.json', json.dumps(item))\n\n    def get_bills(self):\n        url = 'https://lab.alipay.com/consume/record/items.htm'\n        self.headers['referer'] = 'https://my.alipay.com/portal/i.htm'\n        resp = self.session.get(url, headers=self.headers, verify=False)\n        obj_list = etree.HTML(resp.content.decode('gbk')).xpath('//tbody/tr')\n        json_list = []\n        for obj in tqdm(obj_list):\n            item = {}\n            item['number'] = ''.join(obj.xpath('./td[1]//text()')).strip()\n            item['time'] = ''.join(obj.xpath('./td[2]//text()')).strip()\n            item['info'] = ''.join(obj.xpath('./td[3]//text()')).strip()\n            item['income'] = ''.join(obj.xpath('./td[4]//text()')).strip()\n            item['outcome'] = ''.join(obj.xpath('./td[5]//text()')).strip()\n            item['balance'] = ''.join(obj.xpath('./td[6]//text()')).strip()\n            item['from'] = ''.join(obj.xpath('./td[7]//text()')).strip()\n            item['detail'] = ''.join(obj.xpath('./td[8]//text()')).strip()\n            json_list.append(item)\n        ye = ''.join(obj_list[0].xpath('./td[6]//text()')).strip()\n        ye_dict = {'YuE': ye}\n        self.write_json(self.path + os.sep + 'bill_list.json', json.dumps(json_list))\n        self.write_json(self.path + os.sep + 'balance.json', json.dumps(ye_dict))\n\n\nif __name__ == '__main__':\n    cookie = 'cna=FMHmFL1zqnUCASQH4bAneyUf; mobileSendTime=-1; credibleMobileSendTime=-1; ctuMobileSendTime=-1; riskMobileBankSendTime=-1; riskMobileAccoutSendTime=-1; riskMobileCreditSendTime=-1; riskCredibleMobileSendTime=-1; riskOriginalAccountMobileSendTime=-1; isg=BMTEs6f5RNVXdvCZiIUsYWqLlUR2dekgISd1n95lQQ9SCWTTBu-t19yoSeF0FCCf; l=bBgcZ5c7vJ2Of-mJBOCwCuI8L179_IRYSuPRwCmXi_5pZ6T68E7Olorn_F96Vj5Rs4TB4UJxb0v9-etXw; UM_distinctid=169b3c04ea8509-063bdd824c9e64-12306d51-fa000-169b3c04ea95a8; unicard1.vm=\"K1iSL1mnW5fEFTtXnTWZPQ==\"; NEW_ALIPAY_TIP=1; csrfToken=M_AdqLObk41r9VvTDoRdyy2Q; CLUB_ALIPAY_COM=2088022680005311; iw.userid=\"K1iSL1mnW5fEFTtXnTWZPQ==\"; ali_apache_tracktmp=\"uid=2088022680005311\"; session.cookieNameId=ALIPAYJSESSIONID; LoginForm=alipay_login_auth; alipay=\"K1iSL1mnW5fEFTtXnTWZPca48DVsXJKl1U07jLnVskUcfw==\"; spanner=hWXgcY78eHIkRX5btAjBSJV5G91m2+NMXt2T4qEYgj0=; locale=zh-cn; CHAIR_SESS=JWYmdXvINYrjfJhNfnAOApEy7drxxpERpaBXObg17RYQr9jGJZDWNQuk7GTZ-NeYuRSIYTsU7tiaFoLpKJpwTQ2FZqKmOSphZ98CHxZicmK3XOz8tgVdDWKxbBKLiiY4Tk4zkLNOIkCMlfoY4vOsGvxtikpzFXx61uyLzy-_-PGsZT1UzN0CDKSYTq1xRxaYhfp7vURB4eAzWjJpQXXmxXDq8A8cqmAyErsLtLBG8MfxigkVOwR88J5o95xQFcJ0; ctoken=QwetGqWKOjvvPRGx; zone=GZ00D; ALIPAYJSESSIONID=RZ257CXtTz7r7Ra0sc4QHeC4nrz1eyauthRZ25GZ00; rtk=umvDaVnzeH3Uz7V5rmCCnDE+MOkI1ZKNRTuJzmidxn8p1ZcI5EA'\n    spider = ASpider(cookie)\n    spider.get_bills()\n    spider.get_user_info()\n    spider.get_YEB()\n"
  },
  {
    "path": "Spiders/bilibili/main.py",
    "content": "import os\nimport json\nimport time\nimport requests\nfrom tkinter.filedialog import askdirectory\n\nclass BilibiliHistory(object):\n    def __init__(self, cookie_str):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        self.MAX_PAGE = 10\n        self.PAGE_PER_NUM = 200\n\n        self.cookie = cookie_str\n        self.history = self.get_all_bili_history()\n        self.save(self.history, 'bilibili_history.json')\n        self.userinfo = self.get_user_info()\n        self.save(self.userinfo, 'user_info.json')\n\n    def get_all_bili_history(self):\n        headers = self.get_header()\n        # history = {'all': []}\n        history = []\n        for page_num in range(self.MAX_PAGE):\n            \n            url = 'https://api.bilibili.com/x/v2/history?pn={pn}&ps={ps}&jsonp=jsonp'.format(pn=page_num, ps=self.PAGE_PER_NUM)\n            result = self.req_get(headers, url)\n            # print('page = {} code = {} datalen = {}'.format(page_num, result['code'], len(result['data'])))\n            print('爬取中...')\n            time.sleep(1)\n            # if len(result['data']) == 0:\n            if not result['data']:\n                print('爬取完成...')\n                break\n            # if page_num == 2:\n            #     break\n            history.append(result)\n        return history\n\n    def get_user_info(self):\n        headers = self.get_header()\n        url = 'https://api.bilibili.com/x/member/web/account'\n        result = self.req_get(headers, url)\n        return result\n\n    def req_get(self, headers, url):\n        resp = requests.get(url, headers=headers)\n        return json.loads(resp.text)\n\n    def save(self, data, filename):\n        with open(self.path + os.sep + filename, 'w', encoding='utf-8') as fp:\n            json.dump(data, fp, ensure_ascii=False)\n        return True\n\n    def get_header(self):\n        headers = {\n            'Accept': '*/*',\n            'Accept-Encoding': 'gzip, deflate, br',\n            'Accept-Language': 'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7',\n            'Connection': 'keep-alive',\n            'Cookie': self.cookie,\n            'Host': 'api.bilibili.com',\n            'Referer': 'https://www.bilibili.com/account/history',\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 '\n                        '(KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36'\n        }\n        return headers\n\n\n"
  },
  {
    "path": "Spiders/browser/main.py",
    "content": "#!/usr/bin/env python\n# -*- coding: UTF-8 -*-\nimport os\nimport sys\nimport json\nimport time\nimport sqlite3  \nimport operator  \nfrom collections import OrderedDict  \nimport matplotlib.pyplot as plt  \nfrom tkinter.filedialog import askdirectory\nfrom tqdm import tqdm\n\nclass Browserhistory(object):\n    def __init__(self):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        #path to user's history database (Chrome)  \n        self.data_path=os.path.expanduser('~') + r\"\\AppData\\Local\\Google\\Chrome\\User Data\\Default\"\n        self.history_db=os.path.join(self.data_path,'history')\n        #querying the db  \n        c = sqlite3.connect(self.history_db)  \n        cursor = c.cursor()  \n        select_statement = \"SELECT urls.id, urls.url, urls.title, urls.visit_count, urls.last_visit_time, visits.visit_time, visits.visit_duration FROM urls, visits WHERE urls.id = visits.url;\"  \n        cursor.execute(select_statement)\n        self.results = cursor.fetchall() #tuple  \n\n        self.data_save_as_json(self.results)\n\n    # transfer timestamp format\n    def timestamp_format(self, timestamp):\n        if timestamp > 13000000000000000:\n            time_c = timestamp/1000000-11644473600\n            return time.strftime(\"%Y-%m-%d %X\", time.localtime(time_c))\n        else:\n            return timestamp\n\n    # transfer to json and save to file.\n    def data_save_as_json(self, data):\n        history_list = []\n        for i in tqdm(data):\n            item = {}\n            item['urls.id'] = i[0]\n            item['urls.url'] = i[1]\n            item['urls.title'] = i[2]\n            item['urls.visit_count'] = i[3]\n            item['urls.last_visit_time'] = self.timestamp_format(i[4])\n            item['visits.visit_time'] = self.timestamp_format(i[5])\n            item['visits.visit_duration'] = self.timestamp_format(i[6])\n            history_list.append(item)\n        history_json = json.dumps(history_list, ensure_ascii=False)\n        with open(self.path + '/browser_data.json', 'w', encoding='utf-8') as f:\n            f.write(history_json)"
  },
  {
    "path": "Spiders/chsi/main.py",
    "content": "import json\nimport os\nimport re\n\nimport requests\nfrom lxml import etree\n\n\nclass Chis(object):\n    def __init__(self, cookie):\n        self.session = requests.session()\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',\n        }\n        cookie_dict = {}\n        list = cookie.split(';')\n        for i in list:\n            try:\n                cookie_dict[i.split('=')[0]] = i.split('=')[1]\n            except IndexError:\n                cookie_dict[''] = i\n        requests.utils.add_dict_to_cookiejar(self.session.cookies, cookie_dict)\n\n    # 学籍信息\n    def get_xueji_info(self):\n        url = 'https://my.chsi.com.cn/archive/gdjy/xj/show.action'\n        resp = self.session.get(url, headers=self.headers, verify=False)\n        ele = etree.HTML(resp.content.decode())\n        try:\n            pic_path = ele.xpath('//img[@alt=\"录取照片\"]/@src')[0]\n            if (\"no-photo\" in pic_path):\n                pic_1_url = pic_path\n            else:\n                pic_1_url = 'https://my.chsi.com.cn' + ele.xpath('//img[@alt=\"录取照片\"]/@src')[0]\n        except Exception:\n            pic_1_url = None\n            pass\n        try:\n            pic_path = ele.xpath('//img[@alt=\"学历照片\"]/@src')[0]\n            if (\"no-photo\" in pic_path):\n                pic_2_url = pic_path\n            else:\n                pic_2_url = 'https://my.chsi.com.cn' + ele.xpath('//img[@alt=\"学历照片\"]/@src')[0]\n        except Exception:\n            pic_2_url = None\n            pass\n        try:\n            xueji_pic_url = ele.xpath('//img[@class=\"xjxx-img\"]/@src')[0]\n        except Exception:\n            xueji_pic_url = None\n\n        return pic_1_url, pic_2_url, xueji_pic_url\n\n    # 报告\n    def get_report(self):\n        url = 'https://my.chsi.com.cn/archive/bab/index.action'\n        resp = self.session.get(url, verify=False)\n        report_detail_url = etree.HTML(resp.content.decode()).xpath('//a[@class=\"green-btn mid-btn marginr20\"]/@href')[\n            0]\n        detail_resp = self.session.get(report_detail_url, headers=self.headers, verify=False)\n        report_detail_url = etree.HTML(detail_resp.content.decode()).xpath('//a[text()=\"查看\"]/@href')[0]\n        resp = self.session.get(report_detail_url, headers=self.headers, verify=False)\n        ele = etree.HTML(resp.content.decode())\n        if '请输入验证码以继续当前操作：' in resp.content.decode():\n            ret = ele.xpath('//td[@class=\"tdRight\"]')[1]\n            capt_url = 'https://www.chsi.com.cn' + ret.xpath('./following-sibling::td[1]/img/@src')[0]\n            value = ret.xpath('./following-sibling::td[1]/input/@value')[0]\n            num = re.findall(r'cap=(\\d{4})', capt_url)\n            data = {'cap': num,\n                    'capachatok': value,\n                    'Submit': ' 继续'}\n            self.session.post('https://www.chsi.com.cn/xlcx/yzm.do', data=data)\n            resp = self.session.get(report_detail_url, verify=False)\n            ele = resp.content.decode()\n\n        pdf_url = 'https://www.chsi.com.cn' + ele.xpath('//a[@title=\"下载\"]/@href')[0]\n        item = {}\n        item['name_url'] = 'https://www.chsi.com.cn' + \\\n                           ele.xpath('//td[@class=\"title1\"]/following-sibling::td[1]/img/@src')[0]\n        print(ele.xpath('//div[@class=\"cnt1\"]/text()'))\n        try:\n            item['genre'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[0]\n        except Exception:\n            pass\n        try:\n            item['sfz_id'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[1]\n        except Exception:\n            pass\n        try:\n            item['nation'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[2]\n        except Exception:\n            pass\n        try:\n            item['birth'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[3]\n        except Exception:\n            pass\n        try:\n            item['school'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[4]\n        except Exception:\n            pass\n        try:\n            item['education'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[5]\n        except Exception:\n            pass\n        try:\n            item['faculty'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[6]\n        except Exception:\n            pass\n        try:\n            item['class'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[7]\n        except Exception:\n            pass\n        try:\n            item['major'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[8]\n        except Exception:\n            pass\n        try:\n            item['student_id'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[9]\n        except Exception:\n            pass\n        try:\n            item['style'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[10]\n        except Exception:\n            pass\n        try:\n            item['entrance_time'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[11]\n        except Exception:\n            pass\n        try:\n            item['duration'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[12]\n        except Exception:\n            pass\n        try:\n            item['education_style'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[13]\n        except Exception:\n            pass\n        try:\n            item['status'] = ele.xpath('//div[@class=\"cnt1\"]/text()')[14]\n        except Exception:\n            pass\n        ret = json.dumps(item)\n        file_path = os.path.join(os.path.dirname(__file__) + '/info.json')\n        with open(file_path, 'w') as f:\n            f.write(ret)\n        return pdf_url\n\n    def save_ret(self, url, name):\n        if url == None:\n            return\n        resp = self.session.get(url, verify=False)\n        file_path = os.path.join(os.path.dirname(__file__) + '/' + name)\n        with open(file_path, 'wb') as f:\n            f.write(resp.content)\n\n\nif __name__ == '__main__':\n    # chis = Chis()\n    # p1, p2, x = chis.get_xueji_info()\n    # chis.save_ret(p1, '录取前照片.jpg')\n    # chis.save_ret(p2, '学籍照片.jpg')\n    # chis.save_ret(x, '学信网信息.jpg')\n    # p3 = chis.get_report()\n    # chis.save_ret(p3, '学信报告.pdf')\n    pass"
  },
  {
    "path": "Spiders/cloudmusic/main.py",
    "content": "import requests\nimport json\nimport re\nimport time\nfrom tkinter.filedialog import askdirectory\n\nclass Cloudmusic(object):\n    def __init__(self, username, password):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        self.username = username\n        self.password = password\n        self.api = 'http://45.129.2.73:3000'\n        self.isphone = re.compile(r'[1][^1269]\\d{9}')\n        self.isemail = re.compile(r'[^\\._][\\w\\._-]+@(?:[A-Za-z0-9]+\\.)+[A-Za-z]+$')\n        self.login_refresh()\n        if self.isphone.match(self.username):\n            self.userid = str(self.user_login_as_cellphone())\n        elif self.isemail.match(self.username):\n            self.userid = str(self.user_login_as_email())\n        else:\n            print('登录失败！用户名需为手机号码或者邮箱。')\n            \n    ## 刷新登录状态\n    def login_refresh(self):\n        url = self.api + '/login/refresh'\n        response = requests.get(url)\n        return 0\n\n    ## 使用‘手机号码’ + ‘密码’ 登录网易云音乐\n    def user_login_as_cellphone(self):\n        url = self.api + '/login/cellphone?phone=' + self.username + '&password=' + self.password\n        response = requests.get(url)\n        code = response.json()['code']\n        if str(200) == \"200\":\n            print('登录成功')\n        else:\n            print('登录失败')\n        userid = response.json()['account']['id']\n        # print('userid = ' + str(userid))\n        return userid\n\n    ## 使用 ‘邮箱’ + ‘密码’ 登录网易云音乐\n    def user_login_as_email(self):\n        url = self.api + '/login?email=' + self.username + '&password=' + self.password\n        response = requests.get(url)\n        code = response.json()['code']\n        if str(200) == \"200\":\n            print('登录成功')\n        else:\n            print('登录失败')\n        userid = response.json()['account']['id']\n        # print('userid = ' + str(userid))\n        return userid\n\n    ## 把获取的个人信息写入json文件\n    def data_wirte_to_json(self, filename, context):\n        filepath = self.path + '/' + filename + '.json'\n        with open(filepath, 'w', encoding='utf-8') as f:\n            f.write(context)\n        return filepath\n\n    ## 获取用户基本信息\n    def get_user_detail(self):\n        url = self.api + '/user/detail?uid=' + self.userid\n        response = requests.get(url)\n        self.data_wirte_to_json('user_detail', response.text)\n        print('获取用户基本信息成功！')\n        return 0\n\n    ## 获取用户歌单\n    def get_playlist(self):\n        url = self.api + '/user/playlist?uid=' + self.userid\n        response = requests.get(url)\n        self.data_wirte_to_json('user_playlist', response.text)\n        print('获取用户歌单成功！')\n        return 0\n\n    ## 获取用户关注列表\n    def get_user_follows(self):\n        url = self.api + '/user/follows?uid=' + self.userid\n        response = requests.post(url)\n        self.data_wirte_to_json('user_follows', response.text)\n        print('获取用户关注列表成功！')\n        return 0\n\n    ## 获取用户粉丝列表\n    def get_user_followeds(self):\n        url = self.api + '/user/followeds?uid=' + self.userid\n        response = requests.post(url)\n        self.data_wirte_to_json('user_followeds', response.text)\n        print('获取用户粉丝列表成功！')\n        return 0\n\n    ## 获取用户动态\n    def get_user_event(self):\n        url = self.api + '/user/event?uid=' + self.userid\n        response = requests.post(url)\n        self.data_wirte_to_json('user_event', response.text)\n        print('获取用户动态成功！')\n        return 0\n\n    ## 获取用户听歌排行（周榜）\n    def get_user_record_week(self):\n        url = self.api + '/user/record?uid=' + self.userid + '&type=1'\n        response = requests.get(url)\n        self.data_wirte_to_json('user_record_week', response.text)\n        print('获取用户听歌排行（周榜）成功！')\n        return 0\n\n    ## 获取用户听歌排行（总榜）\n    def get_user_record_all(self):\n        url = self.api + '/user/record?uid=' + self.userid + '&type=0'\n        response = requests.get(url)\n        self.data_wirte_to_json('user_record_all', response.text)\n        print('获取用户听歌排行（总榜）成功！')\n        return 0\n\nif __name__ == '__main__':\n    music = Cloudmusic('132****', '*****')\n    music.get_user_detail()\n    music.get_playlist()\n    music.get_user_follows()\n    music.get_user_followeds()\n    music.get_user_event()\n    music.get_user_record_week()\n    music.get_user_record_all()\n"
  },
  {
    "path": "Spiders/cnblog/main.py",
    "content": "import re\nimport os\nimport sys\nimport json\nimport requests\nimport pandas as pd\nimport numpy as np\nimport jieba\nimport pyecharts\nfrom pyecharts import options as opts\nfrom collections import Counter\nfrom pyecharts.charts import WordCloud\nfrom pyecharts.charts import Line\nfrom bs4 import BeautifulSoup\nfrom tkinter.filedialog import askdirectory\nclass Cnblog(object):\n    def __init__(self, blogname):\n        self.blogname = blogname\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n            \n    def get_element_of_article(self):\n        '''\n        获取元素（标题，发布时间，阅读量）\n        '''\n        url = 'https://www.cnblogs.com/' + str(self.blogname) + '/default.html'\n        headers = {\n            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36'\n        }\n        pos = 1\n        article_list = []\n        while 1:\n            key_dict = {'page': str(pos)}\n            reps = requests.get(url, headers=headers, params=key_dict, timeout=3)\n            soup = BeautifulSoup(reps.text, \"html.parser\")\n            posts = soup.find_all(\"div\", class_=\"day\")\n            if not len(posts):\n                break\n            date_pattern = re.compile(r\"\\d{4}-\\d{1,2}-\\d{1,2}\")\n            time_pattern = re.compile(r\"\\d{2}:\\d{2}\")\n            views_pattern = re.compile(r\"\\d+\")\n            from tqdm import tqdm\n            pbar = tqdm(posts)       \n            for each_post in pbar:\n                try:\n                    item = {}\n                    item['title'] = each_post.find(\"div\", class_=\"postTitle\").text.strip()\n                    item['sumary'] = each_post.find(\"div\", class_=\"c_b_p_desc\").text.strip()\n                    item['postdate'] = date_pattern.findall(each_post.find(\"div\", class_=\"postDesc\").text)[0]\n                    item['posttime'] = time_pattern.findall(each_post.find(\"div\", class_=\"postDesc\").text)[0]\n                    item['views'] = views_pattern.findall(each_post.find(\"span\", class_=\"post-view-count\").text)[0]\n                    article_list.append(item)\n                    pbar.set_description(\"正在爬取文章：%s\" % item['title'])\n                except:\n                    pass\n                import time\n                time.sleep(0.1)\n            pos += 1\n        article_json = json.dumps(article_list)\n        return article_json\n            \n    def save_as_json(self, content_json):\n        json_file_name = self.path + os.sep + 'cnblog_article.json'\n        with open(json_file_name, 'w', encoding='utf-8') as f:\n            f.write(content_json)\n        return json_file_name\n\n    # 获取所有字段存为一个字符串\n    def get_text(self, json_file, column='title'):\n        df_json = pd.read_json(json_file, encoding='utf-8')\n        text = ''\n        for i in df_json[column]:\n            text += i\n        return text\n\n    # 去停用词，使用jieba分词\n    def split_word(self, text):\n        word_list = list(jieba.cut(text))\n        # 去掉一些无意义的词和符号，我这里自己整理了停用词库\n        with open('stop_word.txt', encoding='utf-8') as f:\n            meaningless_word = f.read().splitlines()\n            # print(meaningless_word)\n        result = []\n        # 筛选词语\n        for i in word_list:\n            if i not in meaningless_word:\n                result.append(i.replace(' ', ''))\n        return result\n\n    # 词频统计\n    def word_counter(self, words):\n        # 使用Count计数方法\n        words_counter = Counter(words)\n        # 将Counter类型转换为列表\n        words_list = words_counter.most_common(100)\n        return words_list\n\n    # 生成词云\n    def create_wordcloud(self, json_file, title='词云', column='title'):\n        text = self.get_text(json_file, column=column)\n        clear_word = self.split_word(text)\n        data = self.word_counter(clear_word)\n        wd = WordCloud()\n        wd.add(series_name=title, data_pair=data, word_size_range=[40, 150])\n        wd.set_global_opts(title_opts=opts.TitleOpts(title=\"你的文章词云\", subtitle=\"基于你的博客数据生成\", title_textstyle_opts=opts.TextStyleOpts(font_size=23)), tooltip_opts=opts.TooltipOpts(is_show=True))\n        # wd.render_notebook()\n        wd.render(self.path + os.sep + 'topic_wordcloud.html')\n\n    # 生成折线图\n    def create_postdate_line(self, json_file, title='折线图', column='postdate'):\n        df_json = pd.read_json(json_file, encoding='utf-8')\n        postdate_month_list = []\n        for i in df_json[column]:\n            postdate_month_list.append('-'.join(i.split('-')[:-1]))\n        date_counter = Counter(postdate_month_list)\n        line = Line()\n        x_data = [i for i in date_counter]\n        y_data = [date_counter[i] for i in date_counter]\n        line.add_xaxis(x_data)\n        line.add_yaxis(series_name=\"发文数量\", y_axis=y_data)\n        line.set_global_opts(title_opts=opts.TitleOpts(title=\"你的发文数量\", subtitle=\"基于你的博客数据生成\"))\n        line.render(self.path + os.sep + 'postdate_line.html')\n\n\nif __name__ == '__main__':\n    article = get_element_of_article('kangvcar')\n    json_file_name = save_as_json(article)\n    create_wordcloud(json_file_name, title='你的创作领域词云', column='title')\n    create_postdate_line(json_file_name, title='发文时间线', column='postdate')"
  },
  {
    "path": "Spiders/csdn/main.py",
    "content": "import re\nimport os\nimport sys\nimport json\nimport requests\nfrom bs4 import BeautifulSoup\nfrom tkinter.filedialog import askdirectory\n\nclass Csdn(object):\n    def __init__(self, blogname):\n        self.blogname = blogname\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36'\n        }\n\n    def get_element_of_article(self):\n        '''\n        获取元素（标题，发布时间，阅读量）\n        '''\n        article_list = []\n        pos = 1\n        while 1:\n            url='https://blog.csdn.net/' + self.blogname + '/article/list/' + str(pos)\n            reps = requests.get(url,headers=self.headers,timeout=30)\n            soup = BeautifulSoup(reps.text, 'lxml')\n            posts = soup.findAll(name=\"div\", attrs={\"class\" :\"article-item-box csdn-tracking-statistics\"})\n            if not len(posts):\n                break\n            date_pattern = re.compile(r\"\\d{4}-\\d{1,2}-\\d{1,2}\")\n            time_pattern = re.compile(r\"\\d{2}:\\d{2}:\\d{2}\")\n            views_pattern = re.compile(r\"\\d+\")\n\n            from tqdm import tqdm\n            pbar = tqdm(posts)\n            for each_post in pbar:\n                item = {}\n                try:\n                    item['title'] = each_post.find(name=\"h4\").text.split(' ', 1)[1].strip()\n                    item['sumary'] = each_post.find(name=\"p\", attrs={\"class\": \"content\"}).text.strip().replace('\\n', \"\")\n                    item['postdate'] = date_pattern.findall(each_post.find(name=\"span\", attrs={\"class\": \"date\"}).text.strip())[0]\n                    item['posttime'] = time_pattern.findall(each_post.find(name=\"span\", attrs={\"class\": \"date\"}).text.strip())[0]\n                    item['views'] = views_pattern.findall(each_post.find(name=\"span\", attrs={\"class\": \"read-num\"}).text)[0]\n                    # print(item)\n                    article_list.append(item)\n                    pbar.set_description(\"正在爬取文章：%s\" % item['title'])\n                except Exception as e:\n                    print('异常信息：' + repr(e))\n                    pass\n                import time\n                time.sleep(0.1)\n            pos += 1\n        article_json = json.dumps(article_list)\n        return article_json\n\n    def save_as_json(self, content_json):\n        with open(self.path + os.sep + 'csdn_article.json', 'w', encoding='utf-8') as f:\n            f.write(content_json)\n\n\nif __name__ == '__main__':\n    article = get_element_of_article('kangvcar')\n    save_as_json(article)"
  },
  {
    "path": "Spiders/ctrip/main.py",
    "content": "import os\nimport time\n\nimport requests\nimport json\nimport xlsxwriter\n\n\nclass Ctrip(object):\n    def __init__(self, cookie):\n        self.session = requests.session()\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',\n        }\n        cookie_dict = {}\n        list = cookie.split(';')\n        for i in list:\n            try:\n                cookie_dict[i.split('=')[0]] = i.split('=')[1]\n            except IndexError:\n                cookie_dict[''] = i\n        requests.utils.add_dict_to_cookiejar(self.session.cookies, cookie_dict)\n\n    \n    def get_json_order(self):\n        headers = self.headers\n        headers['referer'] = 'https://my.ctrip.com/Home/Order/AllOrder.aspx'\n        url = 'https://my.ctrip.com/Home/Ajax/GetAllOrder.ashx'\n        sequence = int(time.time() * 10000000)\n        # 时间等字段可以传入\n        data = {\n            'BizTypes': '',\n            'BookingDateTime': '',\n            'BeginBookingDateTime': '',\n            'EndBookingDateTime': '',\n            'BeginUsageDateTime': '',\n            'EndUsageDateTime': '',\n            'PageSize': 10,\n            'PageIndex': 1,\n            'OrderStatusClassify': 'All',\n            'OrderIDs': '',\n            'OrderStatuses': '',\n            'PassengerName': '',\n            'OrderType': '',\n            'FieldName': '',\n            'IsASC': '',\n            'sequence': sequence\n        }\n        resp = self.session.post(url, headers=self.headers, data=data, verify=False)\n        return resp.content.decode('gbk');\n\n    def transfer_and_save(self, json_str):\n        \n        json_orders = json.loads(json_str)\n\n        for key in json_orders:\n                if key == 'OrderEnities':\n                    json_order_lists = json_orders[key]\n\n        book = xlsxwriter.Workbook('ctrip_order.xlsx')\n        sheet = book.add_worksheet()\n        sheet.write(0, 0, 'Date')\n        sheet.write(0, 1, 'OrderDetails')\n        sheet.write(0, 2, 'Price')\n\n        for i in range(len(json_order_lists)):\n            json_order = json_order_lists[i]\n            sheet.write(i+1, 0, json_order['BookingDate'])\n            sheet.write(i+1, 1, json_order['OrderName'])\n            sheet.write(i+1, 2, json_order['OrderTotalPrice'])\n        \n        book.close()\n\n    # download orders and save them in an excel file\n    def get_order(self):\n        \n        # get the order from the sctrip website\n        json_order = self.get_json_order()\n\n        # transfer the order and store it in an excel \n        self.transfer_and_save(json_order)\n\n\nif __name__ == '__main__':\n    ctrip = Ctrip()\n    ctrip.get_order()"
  },
  {
    "path": "Spiders/github/main.py",
    "content": "import json\nimport os\nimport re\nimport requests\nfrom tkinter.filedialog import askdirectory\n\nclass Github(object):\n    def __init__(self, username):\n        self.username = username\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',\n        }\n        self.path = askdirectory(title='选择信息保存文件夹')\n\n\n\n    # 用户信息\n    def get_user_info(self):\n        url = 'https://api.github.com/users/' + self.username\n        resp = requests.get(url, headers=self.headers)\n        # print(resp.text)\n        file_path = self.path + '/user_infomation.json'\n        with open(file_path, 'w') as f:\n            f.write(resp.text.encode(\"gbk\", 'ignore').decode(\"gbk\", \"ignore\"))\n        return file_path\n\n    # 用户仓库信息\n    def get_user_repos(self):\n        url = 'https://api.github.com/users/' + self.username + '/repos'\n        resp = requests.get(url, headers=self.headers)\n        # print(resp.text)\n        file_path = self.path + '/user_repository.json'\n        with open(file_path, 'w') as f:\n            f.write(resp.text.encode(\"gbk\", 'ignore').decode(\"gbk\", \"ignore\"))\n        return file_path\n\n    # 用户的关注信息\n    def get_user_following(self):\n        url = 'https://api.github.com/users/' + self.username + '/following'\n        resp = requests.get(url, headers=self.headers)\n        # print(resp.text)\n        file_path = self.path + '/user_following.json'\n        with open(file_path, 'w') as f:\n            f.write(resp.text.encode(\"gbk\", 'ignore').decode(\"gbk\", \"ignore\"))\n        return file_path\n\n    # 用户的粉丝信息\n    def get_user_followers(self):\n        url = 'https://api.github.com/users/' + self.username + '/followers'\n        resp = requests.get(url, headers=self.headers)\n        # print(resp.text)\n        file_path = self.path + '/user_followers.json'\n        with open(file_path, 'w') as f:\n            f.write(resp.text.encode(\"gbk\", 'ignore').decode(\"gbk\", \"ignore\"))\n        return file_path\n\n    # 用户activity信息\n    def get_user_activity(self):\n        url = 'https://api.github.com/users/' + self.username + '/received_events'\n        resp = requests.get(url, headers=self.headers)\n        # print(resp.text)\n        file_path = self.path + '/user_activity.json'\n        with open(file_path, 'w') as f:\n            f.write(resp.text.encode(\"gbk\", 'ignore').decode(\"gbk\", \"ignore\"))\n        return file_path\n\n    # 用户所有仓库的详细信息\n    def get_user_repos_detail(self):\n        url = 'https://api.github.com/users/' + self.username + '/repos'\n        resp = requests.get(url, headers=self.headers, verify=False, timeout=2)\n        repo_detail = []\n        for name in resp.json():\n            repo_url = 'https://api.github.com/repos/' + self.username + '/' + name['name']\n            detail = requests.get(repo_url, headers=self.headers, verify=False, timeout=2)\n            repo_detail.append(detail.text.encode(\"gbk\", 'ignore').decode(\"gbk\", \"ignore\"))\n            print('正在下载仓库信息 >>> ', name['name'])\n        print(repo_detail)\n        file_path = self.path + '/user_all_repos_detail.json'\n        with open(file_path, 'w') as f:\n            f.write(str(repo_detail))\n        return file_path\n\nif __name__ == '__main__':\n    github = Github('kangvcar')\n    github.get_user_info()\n    github.get_user_repos()\n    github.get_user_following()\n    github.get_user_followers()\n    github.get_user_activity()\n    github.get_user_repos_detail()"
  },
  {
    "path": "Spiders/jianshu/main.py",
    "content": "import re\nimport os\nimport sys\nimport json\nimport requests\nfrom bs4 import BeautifulSoup\nfrom tkinter.filedialog import askdirectory\n\nclass Jianshu(object):\n    def __init__(self, blogurl):\n        self.blogurl = blogurl\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36'\n        }\n\n    def get_element_of_article(self):\n        '''\n        获取元素（标题，发布时间，阅读量）\n        '''\n        # url = \"https://www.jianshu.com/u/d959ac37cdde?order_by=shared_at&page=1\"\n        url = self.blogurl\n        pos = 1\n        article_list = []\n        while 1:\n            key_dict = {\n                'order_by': 'shared_at',\n                'page': str(pos),\n                }\n            reps = requests.get(url, headers=self.headers, params=key_dict, timeout=10)\n            soup = BeautifulSoup(reps.text, \"html.parser\")\n            posts = soup.find_all(\"div\", class_=\"content\")\n            print('=======================>>>>' + str(len(posts)))\n            # if not len(posts):\n            #     break\n            date_pattern = re.compile(r\"\\d+-\\d{1,2}-\\d{1,2}\")\n            time_pattern = re.compile(r\"\\d{2}:\\d{2}\")\n            from tqdm import tqdm\n            pbar = tqdm(posts)       \n            for each_post in pbar:\n                try:\n                    item = {}\n                    item['title'] = each_post.find(\"a\", class_=\"title\").text.strip()\n                    item['sumary'] = each_post.find(\"p\", class_=\"abstract\").text.strip()\n                    item['postdate'] = date_pattern.findall(each_post.find(\"span\", class_=\"time\")['data-shared-at'])[0]\n                    item['posttime'] = time_pattern.findall(each_post.find(\"span\", class_=\"time\")['data-shared-at'])[0]\n                    item['views'] = each_post.find(\"div\", class_=\"meta\").find(\"a\").text.strip()\n                    article_list.append(item)\n                    pbar.set_description(\"正在爬取文章：%s\" % item['title'])\n                except:\n                    pass\n                import time\n                time.sleep(0.1)\n            pos += 1\n            if len(posts) < 9:\n                break\n        article_json = json.dumps(article_list)\n        return article_json\n\n    def save_as_json(self, content_json):\n        with open(self.path + os.sep + 'jianshu_article.json', 'w', encoding='utf-8') as f:\n            f.write(content_json)\n\n\nif __name__ == '__main__':\n    article = get_element_of_article('https://www.jianshu.com/u/d959ac37cdde')\n    save_as_json(article)"
  },
  {
    "path": "Spiders/mail/main.py",
    "content": "# -*- coding: utf-8 -*-\nimport json\nimport os\nimport re\nimport time\nimport sys\nfrom nltk.sem.drt import DrtParser\nfrom selenium.webdriver.common.by import By\nfrom selenium.webdriver.support import expected_conditions as EC\nfrom selenium import webdriver\nfrom selenium.webdriver import ChromeOptions\nimport requests\nfrom lxml import etree\nfrom selenium.webdriver.support.wait import WebDriverWait\nfrom tkinter.filedialog import askdirectory\n\nclass YSpider(object):\n    def gen_session(self, cookie):\n        self.session = requests.session()\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',\n        }\n        cookie_dict = {}\n        list = cookie.split(';')\n        for i in list:\n            try:\n                cookie_dict[i.split('=')[0]] = i.split('=')[1]\n            except IndexError:\n                cookie_dict[''] = i\n        requests.utils.add_dict_to_cookiejar(self.session.cookies, cookie_dict)\n\n    def write_json(self, name, str):\n        # file_path = os.path.join(os.path.dirname(__file__) + '/' + name)\n        with open(name, 'w') as f:\n            f.write(str)\n\n    ## 爬取QQ邮箱\n    def qq_mail(self, cookie, sid):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        pn = 0\n        self.gen_session(cookie)\n        while 1:\n            url = 'https://mail.qq.com/cgi-bin/mail_list?page={}&folderid=1&fun=&s=inbox&searchmode=&filetype=&listmode=&stype=&ftype=&AddrID=&grpid=&category=&showattachtag=&from=&sorttype=6&sortasc=0&sid={}&nocheckframe=true'.format(\n                pn, sid)\n            pn += 1\n            resp = self.session.get(url, headers=self.headers, verify=False)\n            print(resp, '>>>>>> 正在爬取第', pn, '页')\n            try:\n                etree.HTML(resp.content.decode('gbk')).xpath('//a[text()=\"下一页\"]')[0]\n            except Exception:\n                print('Done. >>>>>> 爬取完成')\n                break\n            obj_list = etree.HTML(resp.content.decode('gbk')).xpath('//div[@id=\"div_showbefore\"]/table')\n            json_list = []\n            # 这里修改邮箱的流量 [:100]\n            for obj in obj_list[:100]:\n                item = {}\n                item['send_user'] = ''.join(obj.xpath('.//td[@class=\"tl tf \"]//text()')).strip()\n                try:\n                    item['mailid'] = obj.xpath('.//td[@class=\"tl tf \"]/nobr/@mailid')[0]\n                except Exception:\n                    continue\n                item['title'] = ''.join(obj.xpath('.//td[@class=\"gt\"]//text()')).strip()\n                item['time'] = ''.join(obj.xpath('.//td[@class=\"dt\"]//text()')).strip()\n                detail_url = 'https://mail.qq.com/cgi-bin/readmail?folderid=1&folderkey=1&t=readmail&mailid={}&mode=pre&maxage=3600&base=12.52&ver=19894&sid={}&newwin=true&nocheckframe=true'.format(\n                    item['mailid'], sid)\n                try:\n                    detail_resp = etree.HTML(self.session.get(detail_url, headers=self.headers).content.decode('gbk'))\n                    item['email_addr'] = detail_resp.xpath('//b[@id=\"tipFromAddr_readmail\"]/@fromaddr')[0]\n                    content = ''.join(detail_resp.xpath('//div[@id=\"contentDiv\"]//text()'))\n                    item['content'] = re.sub(r'[\\t\\n\\s]', '', content)\n                    json_list.append(item)\n                    print('1' + item)\n                except Exception:\n                    continue\n            if json_list == []:\n                time.sleep(2)\n                pn = pn - 1\n            else:\n                self.write_json(self.path + os.sep + 'qqmail_' + str(pn) + '.json', json.dumps(json_list))\n            # break\n\n    ## 爬取新浪邮箱\n    def sinamail(self, cookie):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        self.gen_session(cookie)\n        pn = 1\n        url = 'https://m0.mail.sina.com.cn/wa.php?a=list_mail'\n        while 1:\n            data = {\n                'fid': 'new',\n                'order': 'htime',\n                'sorttype': 'desc',\n                'type': '0',\n                'pageno': str(pn),\n                'tag': '-1',\n                'webmail': '1',\n            }\n            # self.headers['Referer'] = 'https://m0.mail.sina.com.cn/classic/index.php?ssl=1'\n            json_data = json.loads(\n                self.session.post(url, headers=self.headers, data=data, verify=False).content.decode())\n            obj_list = json_data['data']['maillist']\n            if obj_list == []:\n                break\n            json_list = []\n            for obj in obj_list[:100]:\n                item = {}\n                item['mid'] = obj[0]\n                item['title'] = obj[3]\n                item['send_user'] = obj[1]\n                item['email_addr'] = obj[2]\n                detail_url = 'https://m0.mail.sina.com.cn/classic/readmail.php?webmail=1&fid=new&mid={}'.format(\n                    item['mid'])\n                detail_resp = self.session.get(detail_url)\n                content_json = json.loads(detail_resp.content.decode())\n                item['content_json'] = content_json\n                json_list.append(item)\n            self.write_json(self.path + os.sep + 'sina_' + str(pn) + '.json', json.dumps(json_list))\n            pn += 1\n\n    def gen_driver(self, cookies_list):\n        try: \n            option = ChromeOptions()\n            option.add_experimental_option('excludeSwitches', ['enable-automation'])\n            option.add_experimental_option(\"prefs\", {\"profile.managed_default_content_settings.images\": 2})  # 不加载图片,加快访问速度\n            option.add_argument('--headless')\n            self.driver = webdriver.Chrome(options=option)\n            # self.driver.get('https://outlook.live.com/mail/0/inbox')\n            self.driver.get('https://outlook.live.com/mail/inbox')\n            for i in cookies_list:\n                self.driver.add_cookie(cookie_dict=i)\n            self.driver.get('https://outlook.live.com/mail/inbox')\n            # self.driver.get('https://outlook.live.com/mail/0/inbox')\n            \n        except Exception as e:\n            print(e)\n\n    ## 爬取hotmail/outlook邮箱\n    def get_hotmail(self, cookie_list):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        self.gen_driver(cookie_list)\n        time.sleep(2)\n        page_source = self.driver.page_source\n        obj_list = etree.HTML(page_source).xpath('//div[contains(@class,\"customScrollBar\")]')[1].xpath('./div/div')[1:]\n        # obj_list = etree.HTML(page_source).xpath('//div[contains(@role,\"option\")]')[:]\n        json_list = []\n        i = 0\n        for obj in obj_list[:100]:\n            try:\n                i += 1\n                print('进度 >>>>>>>>>>>', i, '/' , len(obj_list))\n                item = {}\n                item['send_user'] = ''.join(obj.xpath('./div/div/div/div[2]/div[1]//text()')).strip()\n                #item['email_addr'] = obj.xpath('./div/div/div/div[2]/div[1]//span/@title')[0]\n                item['title'] = ''.join(obj.xpath('./div/div/div/div[2]/div[2]/div//text()')).strip()\n                item['time'] = ''.join(obj.xpath('./div/div/div/div[2]/div[2]/span//text()')).strip()\n                item['content'] = ''.join(obj.xpath('./div/div/div/div[2]/div[3]//text()')).strip()\n                json_list.append(item)\n                # print(item)\n            except Exception:\n                continue\n        self.write_json(self.path + os.sep + 'hotmail.json', json.dumps(json_list))\n\n    ## 爬取阿里邮箱\n    def get_aliyun_mail(self, cookie):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        self.gen_session(cookie)\n        h = {\n            'Host': 'mail.aliyun.com',\n            'Origin': 'https://mail.aliyun.com',\n            'Referer': 'https://mail.aliyun.com/alimail/',\n            'User-Agent': 'Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Mobile Safari/537.36'\n        }\n        csrf_token = re.findall(r'_csrf_token_=(\\w+);', cookie)[0]\n        data = {\n            'showFrom': '1',\n            'query': '{\"folderIds\": [\"2\"]}',\n            'fragment': '1',\n            'offset': '0',\n            'length': '75',\n            'curIncrementId': '0',\n            'forceReturnData': '1',\n            '_csrf_token_': csrf_token,\n            '_refer_hash_': '',\n            '_tpl_': 'v5'\n        }\n        url = 'https://mail.aliyun.com/alimail/ajax/mail/queryMailList.txt'\n        resp = self.session.post(url, headers=h, data=data)\n        obj_list = json.loads(resp.content.decode())['dataList']\n        self.write_json(self.path + os.sep + 'aliyun_mail.json', json.dumps(obj_list))\n\n    ## 爬取网易邮箱\n    def get_wangyi(self, cookie):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        self.gen_session(cookie)\n        offset = 0\n        while 1:\n            sid = re.findall('sid=(\\w*);?', cookie)[0]\n            data = {\n                'var': '<?xml version=\"1.0\"?><object><string name=\"id\">{}</string><boolean name=\"header\">true</boolean><boolean name=\"returnImageInfo\">true</boolean><boolean name=\"returnAntispamInfo\">true</boolean><boolean name=\"autoName\">true</boolean><object name=\"returnHeaders\"><string name=\"Resent-From\">A</string><string name=\"Sender\">A</string><string name=\"List-Unsubscribe\">A</string><string name=\"Reply-To\">A</string></object><boolean name=\"supportTNEF\">true</boolean></object>'.format(\n                    sid)\n            }\n            list_url = 'https://mail.126.com/js6/s?sid={}&func=mbox:listMessages'.format(sid)\n            self.headers['Referer'] = 'https://mail.126.com/js6/main.jsp?sid={}&df=mail126_letter'.format(sid)\n            self.headers['Host'] = 'mail.126.com'\n            self.headers['Origin'] = 'https://mail.126.com'\n\n            # 可以定义抓多页，由<int name=\"start\">0决定从哪里开始抓 每页20\n            list_data = {\n                'var': '<?xml version=\"1.0\"?><object><int name=\"fid\">1</int><string name=\"order\">date</string><boolean name=\"desc\">true</boolean><int name=\"limit\">20</int><int name=\"start\">{}</int><boolean name=\"skipLockedFolders\">false</boolean><string name=\"topFlag\">top</string><boolean name=\"returnTag\">true</boolean><boolean name=\"returnTotal\">true</boolean></object>'.format(offset)}\n            list_resp = self.session.post(list_url, data=list_data, headers=self.headers)\n            try:\n                xml = list_resp.content.decode()\n                result = Xml2Json(xml).result\n                obj_list = result['result']['array']['object']\n            except:\n                print('Done. >>>>>> 爬取完成')\n                break\n            json_list = []\n            for obj in obj_list[:100]:\n                item = {}\n                item['mid'] = obj['string'][0]\n                item['send_user'] = obj['string'][3]\n                item['time'] = obj['date'][0]\n\n                read_data = {\n                    'var': '<?xml version=\"1.0\"?><object><string name=\"id\">{}</string><boolean name=\"header\">true</boolean><boolean name=\"returnImageInfo\">true</boolean><boolean name=\"returnAntispamInfo\">true</boolean><boolean name=\"autoName\">true</boolean><object name=\"returnHeaders\"><string name=\"Resent-From\">A</string><string name=\"Sender\">A</string><string name=\"List-Unsubscribe\">A</string><string name=\"Reply-To\">A</string></object><boolean name=\"supportTNEF\">true</boolean></object>'.format(\n                        item['mid'])}\n                # url = 'https://mail.126.com/js6/s?sid={}&func=mbox:readMessage&l=read&action=read'.format(sid)\n                h = self.headers\n                h['Referer'] = 'https://mail.126.com/js6/main.jsp?sid={}&df=mail126_letter'.format(sid)\n                url = 'https://mail.126.com/js6/read/readhtml.jsp?mid={}&userType=browser&font=15&color=138144'.format(\n                    item['mid'])\n                read_resp = self.session.get(url, headers=h).content.decode()\n                item['content'] = read_resp\n                json_list.append(item)\n            offset += 20\n            self.write_json(self.path + os.sep + 'wangyiemail_' + str(offset) + '.json', json.dumps(json_list))\n            print('>>>>>> 已爬取', offset , '封邮件')\n\n\nfrom xml.parsers.expat import ParserCreate\nimport json\n\n\nclass Xml2Json:\n    LIST_TAGS = ['COMMANDS']\n\n    def __init__(self, data=None):\n        self._parser = ParserCreate()\n        self._parser.StartElementHandler = self.start\n        self._parser.EndElementHandler = self.end\n        self._parser.CharacterDataHandler = self.data\n        self.result = None\n        if data:\n            self.feed(data)\n            self.close()\n\n    def feed(self, data):\n        self._stack = []\n        self._data = ''\n        self._parser.Parse(data, 0)\n\n    def close(self):\n        self._parser.Parse(\"\", 1)\n        del self._parser\n\n    def start(self, tag, attrs):\n        self._stack.append([tag])\n        self._data = ''\n\n    def end(self, tag):\n        last_tag = self._stack.pop()\n        assert last_tag[0] == tag\n        if len(last_tag) == 1:  # leaf\n            data = self._data\n        else:\n            if tag not in Xml2Json.LIST_TAGS:\n                # build a dict, repeating pairs get pushed into lists\n                data = {}\n                for k, v in last_tag[1:]:\n                    if k not in data:\n                        data[k] = v\n                    else:\n                        el = data[k]\n                        if type(el) is not list:\n                            data[k] = [el, v]\n                        else:\n                            el.append(v)\n            else:  # force into a list\n                data = [{k: v} for k, v in last_tag[1:]]\n        if self._stack:\n            self._stack[-1].append((tag, data))\n        else:\n            self.result = {tag: data}\n        self._data = ''\n\n    def data(self, data):\n        self._data = data\n\n\nif __name__ == '__main__':\n    pass\n    # spider = YSpider()\n    # cookie = 'RK=08INbKKteB; ptcz=34d123f5e73461008137394d19e04d60eab830a92bf41185d4f0182ee61a5521; pgv_pvid=4059846466; pgv_pvi=5613933568; tvfe_boss_uuid=992d9d744425918e; webp=1; sd_userid=98621550112504200; sd_cookie_crttime=1550112504200; o_cookie=1730116525; pac_uid=1_1730116525; ptui_loginuin=1730116525; qm_logintype=qq; edition=mail.qq.com; CCSHOW=000001; 3g_guest_id=-8633798135484776448; g_ut=2; pgv_si=s2145654784; ptisp=ctc; uin=o1730116525; p_uin=o1730116525; pt4_token=81P7iG1*AxAfGK4Jh0NRIlDerWaPnA5Ko3w7uaGk3PQ_; p_skey=ZsjlPkYlhysIUMXK0VG4o8KiWjdpwr4TSI6tcwdKd1Y_; wimrefreshrun=0&; qm_flag=0; qqmail_alias=1730116525@qq.com; sid=1730116525&a95f77b18430b21508bf8172132d2825,qWnNqbFBrWWxoeXNJVU1YSzBWRzRvOEtpV2pkcHdyNFRTSTZ0Y3dkS2QxWV8.; qm_username=1730116525; qm_domain=https://mail.qq.com; qm_ptsk=1730116525&@258wSqE3j; foxacc=1730116525&0; ssl_edition=sail.qq.com; username=1730116525&1730116525; qm_loginfrom=1730116525&wsk; new_mail_num=1730116525&237'\n    # spider.qq_mail(cookie, sid='f9IbK1BLIzz5dRJO')\n    # cookie = 'UOR=www.baidu.com,news.sina.com.cn,; SINAGLOBAL=122.194.13.97_1549887611.612474; U_TRS1=0000005f.8784126e.5c77a12a.6d4ae99c; SCF=AsFpDw15-joK8PaLwQ3zWw2EWY_LdjhaNMylkzKfpZelPwEBzKyQOAaYOfr72Bg_PCXfYEuYul3ugGHuCwhuBAs.; sso_info=v02m6alo5qztKWRk5yljpOQpZCToKWRk5iljoOgpZCjnLKNo5y3jaOMsY2DkLeJp5WpmYO0so2jnLeNo4yxjYOQtw==; ustat=__10.13.32.188_1553167729_0.51711200; vjuids=-82bcc10fb.169a38c601a.0.1bc3711c68cde; SGUID=1553676522217_12459803; lxlrttp=1554343419; U_TRS2=00000098.64c47105.5cc54e22.9e1054fd; SUB=_2A25xwT5mDeRhGeRI7FUX8y_IzzuIHXVStyiurDV_PUNbm9BeLW3skW9NUptz-3GnQYMi1TEeZF9ultH9I7fS80cx; SUBP=0033WrSXqPxfM725Ws9jqgMF55529P9D9WWrC_-Qw58znOpZVBddy.Te5NHD95QESoMNSoepShBNWs4Dqcjki--NiKy8iKn4i--fiKnfi-8hi--fi-82iK.7eK.4S7tt; ALF=1587970486; SWEBAPPSESSID=804320c62b770407bedab26616660c15f; CNZZDATA1261017783=860035498-1556432811-https%253A%252F%252Fmail.sina.com.cn%252F%7C1556432811; ULV=1556434495403:12:12:1::1556368966985; vjlast=1556434496; Apache=117.89.130.152_1556434495.729703; UM_distinctid=16a62ba4e6e6fc-0f9c50fa34410f-366e7e04-fa000-16a62ba4e6f6e1'\n    # spider.sinamail(cookie)\n    # cookie_list = json.loads(open('hotmail_cookies.json', 'r').read())\n    # spider.get_aliyun_mail(cookie_list)\n    # cookie = 'mail_health_check_time=1556501715894; starttime=; NTES_SESS=ini82ivtgl5wDI9_Y1knW14X.sTNHeHCLrAOfbOx.nna.6Js.4TFkUJpu9Az4LPUrfLKuM2jfSagfBxCqw6IA9gWzY5Njp0q9.671F7eJlDfRMqjbkJQO.uNEVYPyYMbDZjKSPEU_oCYZb8JPVteqp3Op8jF8Bc9JyIYISD7VfAQO9t86CatY1GPy36HvWikQULzz4muAFLAfI.YVjjrn99oq; S_INFO=1556501710|0|#3&80#|xyuniv@126.com; P_INFO=xyuniv@126.com|1556501710|0|mail126|00&99|US&1556463693&mail126#jis&320100#10#0#0|&0|mail126|xyuniv@126.com; nts_mail_user=xyuniv@126.com:-1:1; df=mail126_letter; mail_upx=t7hz.mail.126.com|t8hz.mail.126.com|t10hz.mail.126.com|t11hz.mail.126.com|t12hz.mail.126.com|t13hz.mail.126.com|t1hz.mail.126.com|t2hz.mail.126.com|t3hz.mail.126.com|t4hz.mail.126.com|t5hz.mail.126.com|t6hz.mail.126.com|t2bj.mail.126.com|t3bj.mail.126.com|t4bj.mail.126.com|t1bj.mail.126.com; mail_upx_nf=; mail_idc=; Coremail=194afc42dbf23%aAfbaxmmifMELLVPhOmmnqQaQXelGTBw%g3a24.mail.126.com; MAIL_MISC=xyuniv@126.com; cm_last_info=dT14eXVuaXYlNDAxMjYuY29tJmQ9aHR0cHMlM0ElMkYlMkZtYWlsLjEyNi5jb20lMkZqczYlMkZtYWluLmpzcCUzRnNpZCUzRGFBZmJheG1taWZNRUxMVlBoT21tbnFRYVFYZWxHVEJ3JnM9YUFmYmF4bW1pZk1FTExWUGhPbW1ucVFhUVhlbEdUQncmaD1odHRwcyUzQSUyRiUyRm1haWwuMTI2LmNvbSUyRmpzNiUyRm1haW4uanNwJTNGc2lkJTNEYUFmYmF4bW1pZk1FTExWUGhPbW1ucVFhUVhlbEdUQncmdz1odHRwcyUzQSUyRiUyRm1haWwuMTI2LmNvbSZsPS0xJnQ9LTEmYXM9dHJ1ZQ==; MAIL_SESS=ini82ivtgl5wDI9_Y1knW14X.sTNHeHCLrAOfbOx.nna.6Js.4TFkUJpu9Az4LPUrfLKuM2jfSagfBxCqw6IA9gWzY5Njp0q9.671F7eJlDfRMqjbkJQO.uNEVYPyYMbDZjKSPEU_oCYZb8JPVteqp3Op8jF8Bc9JyIYISD7VfAQO9t86CatY1GPy36HvWikQULzz4muAFLAfI.YVjjrn99oq; MAIL_SINFO=1556501710|0|#3&80#|xyuniv@126.com; MAIL_PINFO=xyuniv@126.com|1556501710|0|mail126|00&99|US&1556463693&mail126#jis&320100#10#0#0|&0|mail126|xyuniv@126.com; secu_info=1; mail_entry_sess=3bc519a600911b098d78381ef8e6496bf734b21965426384dd61eae13ccc567ce412b1a4d87268001a48b97d8e70360ff343a82d20bd63fc25ff3e45acefc7292f5726bc6964dc4b7f2b42205d34b857517fb04c5422155c9ced393fd3ae6338cdc5cbddc01366a4c4a25ef1d85ca2631bf42257cbc16917784d7545e3da13d78c0372063cd303a58b6aa028f6b3439a1620f8e4495d62706441f4bb25efddf603dbf9920f56eeea8daf407a4dc56e5b32966b7f224c0aafed33abb477a6bef8; JSESSIONID=893C397F90ED296D5B0A1D2BC36E9CB4; locale=; Coremail.sid=aAfbaxmmifMELLVPhOmmnqQaQXelGTBw; mail_style=js6; mail_uid=xyuniv@126.com; mail_host=mail.126.com'\n    # spider.get_wangyi(cookie)\n    # cookie = 'cna=FMHmFL1zqnUCASQH4bAneyUf; UM_distinctid=168e59f5374dd-0ffb4e388c2c9a-10316653-fa000-168e59f537912c; _ga=GA1.2.1733390193.1551330586; login_aliyunid_pk=1088681173604737; cnz=mbAIFT9WETACAbRtUGeqBwig; CLOSE_HELP_GUIDE=true; CONSOLE_TOPBAR_HIDE_CLOUDSHELL_TIPS=true; aliyun_choice=CN; aliyun_lang=zh; consoleRecentVisit=dms%2Cram%2Crds%2Cecs%2Cdns%2Cdomain; login_aliyunid_pks=\"BG+D8tiW5/jEgYGyPFZ3Z6jSLutdLxhnJnTZEOtwuKXDfw=\"; aliyun_country=CN; aliyun_site=CN; alimail_init_lang=zh_CN; alimail_browser_instance=dC03ODUxLTA5QzZQZg9411; alimail_sid=5F666U81-IX15ENGAYURMR38AR6RT2-WLQXT1VJ-GQ2; alimail_sdata0=a24zos5gOAbHitWQr5w%2FAD5E6xiiDmys%2B8hqW0CFvR7q7SBZ9K8RFSdHXC%2BJz1FyZZC5X7Zx9op7Qx5yNINzLXr5t2qBzTvVR1XOrEwxnPQ3CLpUmTHiHh2MpNcc53O8P1s8YPq6Pg18%2FNs2zcdmSw%3D%3D; CNZZDATA1254123247=1911432078-1556435554-null%7C1556506558; alimail_session_version_key=5548646; alimail_havana_session_key=QXltU2Vzc2lvbi0xMzg4MC1TUDVHUWlMOWd5NWl2bWRPT0ZoV1lNcnVRZ2IxV1FvREZHWGpWV2JiVmhSSUhnSEp1Qg; havana_session_id=1pCziS2gjiClEfHzQWUp0QQ1; alimail_auth_session_key=QXltU2Vzc2lvbi0xMzg4MS1kdDZNZ1hqaDdEOUdBM2RGSnFlREpRZXZwMDVGckFuaHM1cVJvQWpjSnJEZ1BkV1pabg; at=\"bluetips@aliyun.comTa0T71556438729180\"; alimail_session_template_key=v5; isg=BAwMTLR4vJkU_aii11pxUIbk3Wz-7bKiWEki1WbNGbda8az7jlesfkRAlbnvjehH; l=bBaK1Kxmvo81eqs1BOCwRuI8UN2esIRvmuPRwdfHiOCH6A89CrT2AJBwSpNeVNKp7_CM4etPE4c11dLHRnOR.; CNZZDATA1000081634=1612451355-1556433941-https%253A%252F%252Fmail.aliyun.com%252F%7C1556509041; _csrf_token_=QXltVG9rZW4tMTkzODk5LTBCZHcycHFpWUZYR2RVd21LNFVoR1NXaU5XRlVnRnVFdldiSmNCSUtMVHJyTHJJT1dO; havana_heart_beat=1556510268875; udtoken=\"bluetips@aliyun.com:3db75983fca1c1b9df8d0e55d4ccbf03:5018131556510269033182\"'\n    # spider.get_aliyun_mail(cookie)\n    # spider.get_hotmail(cookie_list)"
  },
  {
    "path": "Spiders/moments_album/main.py",
    "content": "# -*- coding:utf-8 -*-\nfrom selenium import webdriver\nimport selenium.webdriver.support.expected_conditions as EC\nfrom selenium.webdriver.common.by import By\nfrom selenium.webdriver.support.ui import WebDriverWait\nfrom platform import system\nimport time\nimport json\nimport os\nimport sys\nimport random\nfrom tkinter.filedialog import askdirectory\n\nclass Momentsablum(object):\n    def __init__(self):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n\n    # 以网页输入文本框形式提示用户输入url地址\n    def input_url(self, driver):\n        while(True):\n            # js脚本\n            random_id = [str(random.randint(0, 9)) for i in range(0,10)]\n            random_id = \"\".join(random_id)\n            random_id = 'id_input_target_url_' + random_id\n            js = \"\"\"\n                // 弹出文本输入框，输入微信书的完整链接地址\n                target_url = prompt(\"请输入微信书的完整链接地址\",\"https://\");\n                // 动态创建一个input元素\n                input_target_url = document.createElement(\"input\");\n                // 为其设置id，以便在程序中能够获取到它的值\n                input_target_url.id = \"id_input_target_url\";\n                // 插入到当前网页中\n                document.getElementsByTagName(\"body\")[0].appendChild(input_target_url);\n                // 设置不可见\n                document.getElementById(\"id_input_target_url\").style.display = 'none';\n                // 设置value为target_url的值\n                document.getElementById(\"id_input_target_url\").value = target_url\n            \"\"\"\n            js = js.replace('id_input_target_url', random_id)\n            # 执行以上js脚本\n            driver.execute_script(js)\n            # 判断弹出框是否存在\n            while(True):\n                try:\n                    # 检测是否存在弹出框\n                    alert = driver.switch_to.alert\n                    time.sleep(0.5)\n                except:\n                    # 如果抛异常，说明当前页面不存在弹出框，即用户点击了取消或者确定\n                    break\n            # 获取用户输入的链接地址\n            target_url = WebDriverWait(driver, 20).until(EC.presence_of_element_located((By.ID, random_id)))\n            value = target_url.get_attribute('value')\n            # 删除空格\n            value = value.strip()\n            # 判断输入的链接地址是否正确\n            if( value != '' and 'https://chushu.la' in value):\n                break\n        return value\n\n\n    def make_album(self):\n        chromedriver_path = './chromedriver_mac_74.0.3729.6'\n        option = webdriver.ChromeOptions()\n        # 屏蔽chrome的提示\n        option.add_argument('disable-infobars')\n        # 静默自动打印为高清PDF文件，并存储到os.getcwd()目录，也就是当前目录\n        appState = {\n            # 添加保存为pdf选项\n            \"recentDestinations\": [\n                {\n                    \"id\": \"Save as PDF\",\n                    \"origin\": \"local\",\n                    \"account\":\"\"\n                }\n            ],\n            # 选择保存为pdf选项\n            \"selectedDestinationId\": \"Save as PDF\",\n            # 版本2\n            \"version\": 2,\n            # 不显示页眉页脚\n            \"isHeaderFooterEnabled\": False\n        }\n        profile = {\n            # 打印前置参数\n            'printing.print_preview_sticky_settings.appState': json.dumps(appState),\n            # 默认下载、打印保存路径\n            'savefile.default_directory': self.path\n        }\n        # 添加实验性质的设置参数\n        option.add_experimental_option('prefs', profile)\n        # 添加启动参数，后台静默打印\n        option.add_argument('--kiosk-printing')\n        # 绑定Chrome和chromedriver，不同Chrome版本对应的chromedriver是不同的，请注意\n        driver = webdriver.Chrome(options=option)\n        # 将浏览器最大化显示，使得截图效果更好\n        driver.maximize_window()\n        # 延迟2秒，给最大化过程一点时间\n        time.sleep(2)\n        # 你的微信朋友圈数据地址，注意不要泄露给其他人\n        # 在调试过程中，可以直接给target_url赋值\n        target_url = self.input_url(driver)\n\n        # 模拟浏览指定网页\n        driver.get(target_url)\n        for i in range(0, 10000):\n            # 等待当前页面所有数据加载完毕，正常情况下数据加载完毕后，这个‘加载中’元素会隐藏起来\n            while (True):\n                loading_status = WebDriverWait(driver, 20).until(\n                    EC.presence_of_element_located((By.CSS_SELECTOR, 'div.j-save-popup.save-popup')))\n                if (loading_status.is_displayed() == False):\n                    break\n            # 隐藏导航栏，防止影响截图效果\n            js = 'document.querySelector(\"body > header\").style.display=\"none\";'\n            driver.execute_script(js)\n            # 等待 下一月控件 出现\n            next_month = WebDriverWait(driver, 20).until(EC.presence_of_element_located((By.CSS_SELECTOR, 'button.next-month')))\n            # 等待 下一月控件 可见才能模拟点击\n            while(True):\n                if(next_month.is_displayed() == True):\n                    break\n            # 模拟点击 下一月控件\n            time.sleep(0.5)\n            next_month.click()\n            # 判断当下一月控件的class name 是否为next-month disable，如果是，则说明翻到最后一月了\n            page_source = driver.page_source\n            if('next-month disable' in page_source):\n                # 等待当前页面所有数据加载完毕，正常情况下数据加载完毕后，这个‘加载中’元素会隐藏起来\n                while (True):\n                    loading_status = WebDriverWait(driver, 20).until(\n                        EC.presence_of_element_located((By.CSS_SELECTOR, 'div.j-save-popup.save-popup')))\n                    if (loading_status.is_displayed() == False):\n                        break\n                # 等待 主页面控件 出现\n                WebDriverWait(driver, 20).until(EC.presence_of_element_located((By.CSS_SELECTOR, 'ul.main')))\n                main = driver.find_element_by_css_selector('ul.main')\n                element_left_list = main.find_elements_by_css_selector('div.con-left')\n                # 每一个element代表每一页，将每一页中style的display属性改成block，即可见状态\n                for index, element in enumerate(element_left_list):\n                    # ..在xpath中表示上一级的元素，也就是父元素\n                    parent_element = element.find_element_by_xpath('..')\n                    # 获取这个父元素的完整id\n                    parent_element_id = parent_element.get_attribute('id')\n\n                    # 将该父元素更改为可见状态\n                    js = 'document.getElementById(\"{}\").style.display=\"block\";'.format(parent_element_id)\n                    driver.execute_script(js)\n\n                    # 将每一页之间的间隔去掉\n                    js = 'document.getElementById(\"{}\").style.marginTop=\"0px\";'.format(parent_element_id)\n                    driver.execute_script(js)\n                # 由于网站的图片是懒加载形式，所以需要挨个定位到每张图片的位置\n                # 每次寻找是否存在类名为lazy-img的img元素集合，当元素集合至少存在一个元素，则定位到第一个元素\n                # 当元素集合不存在任何元素，则说明懒加载的图片已经没有了，可以退出循环了\n                while(True):\n                    try:\n                        lazy_img = driver.find_elements_by_css_selector('img.lazy-img')\n                        js = 'document.getElementsByClassName(\"lazy-img\")[0].scrollIntoView();'\n                        driver.execute_script(js)\n                        time.sleep(3)\n                    except:\n                        # 找不到控件img.lazy-img，所以退出循环\n                        break\n                break\n        # 调用chrome打印功能\n        driver.execute_script('window.print();')\n\n        # 退出浏览器\n        driver.quit()\n"
  },
  {
    "path": "Spiders/oschina/main.py",
    "content": "import re\nimport os\nimport sys\nimport json\nimport requests\nfrom bs4 import BeautifulSoup\nfrom tkinter.filedialog import askdirectory\n\nclass Oschina(object):\n    def __init__(self, blogurl):\n        self.blogurl = blogurl\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36'\n        }\n\n    def get_element_of_article(self):\n        '''\n        获取元素（标题，发布时间，阅读量）\n        '''\n        # url = blogurl + 'widgets/_space_index_newest_blog?catalogId=0&q=&p={}&type=ajax'\n        url = self.blogurl + '/widgets/_space_index_newest_blog'\n        pos = 1\n        article_list = []\n        while 1:\n            key_dict = {\n                'catalogId': '0',\n                'q': '',\n                'p': str(pos),\n                'type': 'ajax'\n                }\n            reps = requests.get(url, headers=self.headers, params=key_dict, timeout=10)\n            soup = BeautifulSoup(reps.text, \"html.parser\")\n            posts = soup.find_all(\"div\", class_=\"content\")\n            # print(len(posts))\n            if not len(posts):\n                break\n            date_pattern = re.compile(r\"\\d+/\\d{1,2}/\\d{1,2}\")\n            time_pattern = re.compile(r\"\\d{2}:\\d{2}\")\n            from tqdm import tqdm\n            pbar = tqdm(posts)       \n            for each_post in pbar:\n                try:\n                    item = {}\n                    item['title'] = each_post.find(\"a\", class_=\"header\").text.replace(\" \", \"\").split('\\n')[-2]\n                    item['sumary'] = each_post.find(\"div\", class_=\"description\").text.strip().replace('\\n', '')\n                    item['postdate'] = date_pattern.findall(posts[3].find(\"div\", class_=\"extra\").text)[0]\n                    item['posttime'] = time_pattern.findall(posts[3].find(\"div\", class_=\"extra\").text)[0]\n                    item['views'] = each_post.find(\"div\", class_=\"extra\").find_all('div', class_='item')[-2].text.strip()\n                    article_list.append(item)\n                    pbar.set_description(\"正在爬取文章：%s\" % item['title'])\n                except:\n                    pass\n                import time\n                time.sleep(0.1)\n            pos += 1\n        article_json = json.dumps(article_list)\n        return article_json\n\n    def save_as_json(self, content_json):\n        with open(self.path + os.sep + 'oschina_article.json', 'w', encoding='utf-8') as f:\n            f.write(content_json)\n\n\nif __name__ == '__main__':\n    article = get_element_of_article('https://my.oschina.net/kangvcar')\n    save_as_json(article)"
  },
  {
    "path": "Spiders/qqfriend/main.py",
    "content": "import selenium\nfrom selenium import webdriver\nfrom selenium.webdriver.chrome.options import Options\nimport json\nimport tkinter as tk\nfrom tkinter.filedialog import asksaveasfilename\nfrom tkinter.filedialog import askdirectory\nfrom bs4 import BeautifulSoup\nimport lxml\n# import openpyxl\n# from openpyxl import Workbook\n\nclass Qqfriend(object):\n        def __init__(self):\n            # 浏览器位置\n            self.driver = webdriver.Chrome()\n            self.browser = self.driver\n            # self.browser = webdriver.Chrome()\n            self.browser.get(\"https://pay.qq.com/index.shtml\")\n            self.root = tk.Tk()\n            # 设置窗口标题\n            self.root.title('从QQ充值获取好友列表')\n            # 设置窗口大小\n            self.root.geometry('400x200')\n            # 进入消息循环（检测到事件，就刷新组件）\n            # button1 = tk.Button(self.root, text='已登陆并打开充值界面且点开列表(不用选择表项),保存为excel', command=self.callback_excel)\n            # button1.pack()\n            button2 = tk.Button(self.root, text='已登陆并打开充值界面且，点开列表(不用选择表项),保存为json', command=self.callback_json)\n            button2.pack()\n            button3 = tk.Button(self.root, text='爬取完成后点击此按钮', command=self.close_chrome)\n            button3.pack()\n            self.root.mainloop()\n\n        # 存储为excel\n        # def callback_excel(self):\n        #     self.driver.switch_to_frame('webpay-iframe')\n        #     iframe = self.driver.find_element_by_xpath('//*[@id=\"midas-webpay-main-1450000186\"]/div[2]/div[1]/iframe')\n        #     self.driver.switch_to_frame(iframe)\n        #     html = self.driver.page_source\n        #     soup = BeautifulSoup(html, \"lxml\")\n        #     a = soup.find_all(attrs={'class': 'icon-friend-s'})\n        #     wb = Workbook()\n        #     ws = wb.active\n        #     ws.append([\"raw\", \"group\", \"view_name\", \"qqnumber\"])\n        #     for i in a:\n        #         if i.next_sibling != ' {{el.name}}({{el.qq}})':\n        #             k = 0\n        #             for x in i.next_sibling:\n        #                 if x == '(':\n        #                     f = k\n        #                 if x == ')':\n        #                     l = k\n        #                 k = k + 1\n        #             ws.append([i.next_sibling, i.next_sibling.parent.parent.parent.parent.find(\n        #                 attrs={'class': 'icon-more-friend'}).next_sibling, i.next_sibling[:f], i.next_sibling[f + 1:l]])\n        #             print([i.next_sibling, i.next_sibling.parent.parent.parent.parent.find(\n        #                 attrs={'class': 'icon-more-friend'}).next_sibling, i.next_sibling[:f], i.next_sibling[f + 1:l]])\n        #     wb.save(asksaveasfilename(defaultextension='.xlsx', filetypes=[('Excel 工作簿', '*.xlsx')]))\n            \n        #     return 0\n\n        # 存储为json\n        def callback_json(self):\n            self.path = askdirectory(title='选择信息保存文件夹')\n            self.driver.switch_to_frame('webpay-iframe')\n            iframe = self.driver.find_element_by_xpath('//*[@id=\"midas-webpay-main-1450000186\"]/div[2]/div[1]/iframe')\n            self.driver.switch_to_frame(iframe)\n            html = self.driver.page_source\n            soup = BeautifulSoup(html, \"lxml\")\n            a = soup.find_all(attrs={'class': 'icon-friend-s'})\n            from tqdm import tqdm\n            pbar = tqdm(a)  \n            friend_list = []\n            for i in pbar:\n                if i.next_sibling != ' {{el.name}}({{el.qq}})':\n                    k = 0\n                    for x in i.next_sibling:\n\n                        if x == '(':\n                            f = k\n                        if x == ')':\n                            l = k\n                        k = k + 1\n                    item = {}\n                    item['raw'] = i.next_sibling\n                    item['group'] = i.next_sibling.parent.parent.parent.parent.find(\n                        attrs={'class': 'icon-more-friend'}).next_sibling\n                    item['view_name'] = i.next_sibling[:f]\n                    item['qqnumber'] = i.next_sibling[f + 1:l]\n                    friend_list.append(item)\n                    pbar.set_description(\"正在爬取：%s\" % item['raw'])\n            friend_list_json = json.dumps(friend_list, ensure_ascii=False)\n            # print(friend_list_json)\n            with open(self.path + '/friend_list.json', 'w', encoding=\"utf-8\") as f:\n                f.write(friend_list_json)\n            self.close_chrome()\n            return 0\n\n        def close_chrome(self):\n            self.browser.close()\n            self.root.destroy()\n            return 0\n"
  },
  {
    "path": "Spiders/qqqun/main.py",
    "content": "# -*- coding: utf-8 -*-\nimport selenium\nfrom selenium import webdriver\nfrom selenium.webdriver.chrome.options import Options\nimport tkinter as tk\nfrom tkinter import *\nfrom tkinter.filedialog import askdirectory\nfrom lxml import etree\nimport lxml\nfrom bs4 import BeautifulSoup\nimport time\nimport os\nimport json\nimport pandas\n\nclass Qqqun(object):\n    def __init__(self):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        self.driver = webdriver.Chrome()\n        self.browser = self.driver\n        self.browser.get(\"https://qun.qq.com/member.html\")\n        self.root = tk.Tk()\n        # 设置窗口标题\n        self.root.title('从QQ群管理获取群成员列表')\n        # 设置窗口大小\n        self.root.geometry('400x200')\n        # 进入消息循环（检测到事件，就刷新组件）\n        # button1 = tk.Button(self.root, text='已登陆并打开界面，保存为excel', pady=5, command=self.callback_excel)\n        # button1.pack()\n        button2 = tk.Button(self.root, text='已登陆并打开界面，保存为json', pady=5, command=self.callback_json)\n        button2.pack()\n        button3 = tk.Button(self.root, text='爬取完成后点击此按钮', pady=5, command=self.close_chrome)\n        button3.pack()\n        self.root.mainloop()\n\n    # 去字符串两端'\\n'、'\\t'\n    def delNT(self, s):\n        while s.startswith('\\n') or s.startswith('\\t'):\n            s = s[1:]\n        while s.endswith('\\t') or s.endswith('\\n'):\n            s = s[:-1]\n        return s\n\n    # def callback_excel(self):\n    #     a = self.driver.find_elements_by_class_name('icon-def-gicon')\n    #     Num = len(a)\n    #     time_start = time.time()\n    #     for i in range(0, Num):\n    #         # 点击进入具体群\n    #         a = self.driver.find_elements_by_class_name('icon-def-gicon')\n    #         # time.sleep(0.5)\n    #         a[i].click()\n    #         time.sleep(1)\n    #         html = self.driver.page_source\n    #         soup = BeautifulSoup(html, \"lxml\")\n    #         groupTit = self.delNT(soup.find(attrs={'id': 'groupTit'}).text)\n    #         groupMemberNum = self.delNT(soup.find(attrs={'id': 'groupMemberNum'}).text)\n\n    #         while len(soup.find_all(attrs={'class': 'td-no'})) < int(groupMemberNum):\n    #             self.driver.execute_script(\"window.scrollTo(0,document.body.scrollHeight);\")\n    #             time.sleep(0.1)\n    #             html = self.driver.page_source\n    #             soup = BeautifulSoup(html, \"lxml\")\n\n    #         res_elements = etree.HTML(html)\n    #         table = res_elements.xpath('//*[@id=\"groupMember\"]')\n    #         table = etree.tostring(table[0], encoding='utf-8').decode()\n    #         df = pandas.read_html(table, encoding='utf-8', header=0)[0]\n    #         try:\n    #             print(str(int((time.time() - time_start) / 60)) + ':' + str(int((time.time() - time_start) % 60)),\n    #                   '第' + str(i + 1) + '群,' + str(int((i + 1) / Num * 100)) + '%  ' + groupTit + '  此表完成')\n    #             writer = pandas.ExcelWriter(self.path + '/' + groupTit + '.xlsx')\n    #             df.to_excel(writer, 'Sheet1')\n    #             writer.save()\n    #         except:\n    #             k = 0\n    #             for v in groupTit:\n    #                 if v == '(':\n    #                     f = k\n    #                 if v == ')':\n    #                     l = k\n    #                 k = k + 1\n\n    #             writer = pandas.ExcelWriter(self.path + '/' + groupTit[f + 1:l] + '.xlsx')\n    #             df.to_excel(writer, 'Sheet1')\n    #             writer.save()\n    #         self.driver.find_element_by_id('changeGroup').click()\n    #         time.sleep(1)\n    #     self.close_chrome()\n    #     return 0\n\n    def callback_json(self):\n        a = self.driver.find_elements_by_class_name('icon-def-gicon')\n        Num = len(a)\n        time_start = time.time()\n\n        # for i in range(0, Num):\n        from tqdm import trange\n        for i in trange(Num):\n            # 点击进入具体群\n            a = self.driver.find_elements_by_class_name('icon-def-gicon')\n            # time.sleep(0.5)\n            a[i].click()\n            time.sleep(1)\n            html = self.driver.page_source\n            soup = BeautifulSoup(html, \"lxml\")\n            groupTit = self.delNT(soup.find(attrs={'id': 'groupTit'}).text)\n            groupMemberNum = self.delNT(soup.find(attrs={'id': 'groupMemberNum'}).text)\n            # 模拟滚动到顶部以查看所有信息\n            while len(soup.find_all(attrs={'class': 'td-no'})) < int(groupMemberNum):\n                self.driver.execute_script(\"window.scrollTo(0,document.body.scrollHeight);\")\n                time.sleep(0.1)\n                html = self.driver.page_source\n                soup = BeautifulSoup(html, \"lxml\")\n            res_elements = etree.HTML(html)\n            table = res_elements.xpath('//*[@id=\"groupMember\"]')\n            table = etree.tostring(table[0], encoding='utf-8').decode()\n            df = pandas.read_html(table, encoding='utf-8', header=0)[0]\n            try:\n                # print(str(int((time.time() - time_start) / 60)) + ':' + str(int((time.time() - time_start) % 60)),\n                #       '第' + str(i + 1) + '群,' + str(int((i + 1) / Num * 100)) + '%  ' + groupTit + '  此表完成')\n                # df.drop(['Unnamed: 0','Unnamed: 1','Unnamed: 10'],axis=1,inplace=True)\n                # df.columns = ['member', 'nick_name', 'qqnumber', 'sex', 'qqage', 'join_date', 'last_post']\n                qun_friend_list = []\n                for j in range(0, df.shape[0]):\n                    item = {}\n                    data = df.values[j].tolist()\n                    item['member'] = data[2]\n                    item['nick_name'] = data[3]\n                    item['qqnumber'] = data[4]\n                    item['sex'] = data[5]\n                    item['qqage'] = data[6]\n                    item['join_date'] = data[7]\n                    item['last_post'] = data[8]\n                    qun_friend_list.append(item)\n                    # print(item)\n                qun_friend_list_json = json.dumps(qun_friend_list, ensure_ascii=False)\n                with open(self.path + '/' + groupTit + '.json', 'w', encoding=\"utf-8\") as f:\n                    f.write(qun_friend_list_json)\n            except:\n                k = 0\n                for v in groupTit:\n                    if v == '(':\n                        f = k\n                    if v == ')':\n                        l = k\n                    k = k + 1\n            self.driver.find_element_by_id('changeGroup').click()\n            time.sleep(1)\n        self.close_chrome()\n        return 0\n\n    def close_chrome(self):\n        self.browser.close()\n        self.root.destroy()\n        return 0\n"
  },
  {
    "path": "Spiders/shgjj/main.py",
    "content": "import json\nimport os\n\nimport requests\n\n\nclass GjjSpider(object):\n    def __init__(self, cookie, token):\n        self.session = requests.session()\n        self.token = token\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',\n            'Authorization': 'Bearer ' + self.token\n        }\n        cookie_dict = {}\n        list = cookie.split(';')\n        for i in list:\n            try:\n                cookie_dict[i.split('=')[0]] = i.split('=')[1]\n            except IndexError:\n                cookie_dict[''] = i\n        requests.utils.add_dict_to_cookiejar(self.session.cookies, cookie_dict)\n\n    def write_json(self, name, str):\n        file_path = os.path.join(os.path.dirname(__file__) + '/' + name)\n        with open(file_path, 'w') as f:\n            f.write(str)\n\n    # 住房公积金，补充公积金账户\n    def get_priaccountForWeb(self):\n        url = 'http://person.shgjj.com/gjjapi/private/priaccountForWeb?token={}&source=WANGZHAN'.format(self.token)\n        self.headers['Referer'] = 'http://person.shgjj.com/gjjweb/'\n        resp = self.session.get(url, headers=self.headers)\n        self.write_json('priaccountForWeb_gjj.json', resp.content.decode())\n\n    # 贷款账户\n    def get_accountForWeb(self):\n        url = 'http://person.shgjj.com/gjjapi/loan/accountForWeb?token={}&source=WANGZHAN'.format(self.token)\n        self.headers['Referer'] = 'http://person.shgjj.com/gjjweb/'\n        resp = self.session.get(url, headers=self.headers)\n        self.write_json('贷款账户.json', resp.content.decode())\n\n\nif __name__ == '__main__':\n    pass\n    cookie = 'ic-GJJGeRen=r-GJJGeRen-1;eks_cache_keys=true;'\n    # token = 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxMDA0OTgwNTAyMDUiLCJhdXRoIjoiUk9MRV9BRE1JTixST0xFX1VTRVIiLCJleHAiOjE1NTY2MTYwNTZ9.TAUPynGD52hwscJmM2Icam2q5SNXimQAFG19G9a4cESUh1eSBRLnbm6ZfTfEw62gUaR_movqxKeKWxMXIXXeJg'\n    token = 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxMDA0OTgwNTAyMDUiLCJhdXRoIjoiUk9MRV9BRE1JTixST0xFX1VTRVIiLCJleHAiOjE1NTY2MTYwNTZ9.TAUPynGD52hwscJmM2Icam2q5SNXimQAFG19G9a4cESUh1eSBRLnbm6ZfTfEw62gUaR_movqxKeKWxMXIXXeJg'\n    spider = GjjSpider(cookie, token)\n    spider.get_priaccountForWeb()\n    spider.get_accountForWeb()\n"
  },
  {
    "path": "Spiders/taobao/spider.py",
    "content": "import json\nimport random\nimport time\nimport sys\nimport os\nimport requests\nimport numpy as np\nimport math\nfrom lxml import etree\nfrom pyquery import PyQuery as pq\nfrom selenium import webdriver\nfrom selenium.webdriver import ChromeOptions\nfrom selenium.webdriver.common.by import By\nfrom selenium.webdriver.support import expected_conditions as EC\nfrom selenium.webdriver.support.wait import WebDriverWait\nfrom selenium.webdriver import ChromeOptions, ActionChains\nfrom tkinter.filedialog import askdirectory\nfrom tqdm import trange\n\n\ndef ease_out_quad(x):\n    return 1 - (1 - x) * (1 - x)\n\ndef ease_out_quart(x):\n    return 1 - pow(1 - x, 4)\n\ndef ease_out_expo(x):\n    if x == 1:\n        return 1\n    else:\n        return 1 - pow(2, -10 * x)\n\ndef get_tracks(distance, seconds, ease_func):\n    tracks = [0]\n    offsets = [0]\n    for t in np.arange(0.0, seconds, 0.1):\n        ease = globals()[ease_func]\n        offset = round(ease(t / seconds) * distance)\n        tracks.append(offset - offsets[-1])\n        offsets.append(offset)\n    return offsets, tracks\n\ndef drag_and_drop(browser, offset=26.5):\n    knob = browser.find_element_by_id('nc_1_n1z')\n    offsets, tracks = get_tracks(offset, 12, 'ease_out_expo')\n    ActionChains(browser).click_and_hold(knob).perform()\n    for x in tracks:\n        ActionChains(browser).move_by_offset(x, 0).perform()\n    ActionChains(browser).pause(0.5).release().perform()\n\ndef gen_session(cookie):\n    session = requests.session()\n    cookie_dict = {}\n    list = cookie.split(';')\n    for i in list:\n        try:\n            cookie_dict[i.split('=')[0]] = i.split('=')[1]\n        except IndexError:\n            cookie_dict[''] = i\n    requests.utils.add_dict_to_cookiejar(session.cookies, cookie_dict)\n    return session\n\nclass TaobaoSpider(object):\n    def __init__(self, cookies_list):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',\n        }\n        option = ChromeOptions()\n        option.add_experimental_option('excludeSwitches', ['enable-automation'])\n        option.add_experimental_option(\"prefs\", {\"profile.managed_default_content_settings.images\": 2})  # 不加载图片,加快访问速度\n        option.add_argument('--headless')\n        self.driver = webdriver.Chrome(options=option)\n        self.driver.get('https://i.taobao.com/my_taobao.htm')\n        for i in cookies_list:\n            self.driver.add_cookie(cookie_dict=i)\n        self.driver.get('https://i.taobao.com/my_taobao.htm')\n        self.wait = WebDriverWait(self.driver, 20)  # 超时时长为10s\n\n    # 模拟向下滑动浏览\n    def swipe_down(self, second):\n        for i in range(int(second / 0.1)):\n            # 根据i的值，模拟上下滑动\n            if (i % 2 == 0):\n                js = \"var q=document.documentElement.scrollTop=\" + str(300 + 400 * i)\n            else:\n                js = \"var q=document.documentElement.scrollTop=\" + str(200 * i)\n            self.driver.execute_script(js)\n            time.sleep(0.1)\n\n        js = \"var q=document.documentElement.scrollTop=100000\"\n        self.driver.execute_script(js)\n        time.sleep(0.1)\n\n    # 爬取淘宝 我已买到的宝贝商品数据, pn 定义爬取多少页数据\n    def crawl_good_buy_data(self, pn=3):\n\n        # 对我已买到的宝贝商品数据进行爬虫\n        self.driver.get(\"https://buyertrade.taobao.com/trade/itemlist/list_bought_items.htm\")\n\n        # 遍历所有页数\n        \n        for page in trange(1, pn):\n            data_list = []\n\n            # 等待该页面全部已买到的宝贝商品数据加载完毕\n            good_total = self.wait.until(\n                EC.presence_of_element_located((By.CSS_SELECTOR, '#tp-bought-root > div.js-order-container')))\n\n            # 获取本页面源代码\n            html = self.driver.page_source\n\n            # pq模块解析网页源代码\n            doc = pq(html)\n\n            # # 存储该页已经买到的宝贝数据\n            good_items = doc('#tp-bought-root .js-order-container').items()\n\n            # 遍历该页的所有宝贝\n            for item in good_items:\n                # 商品购买时间、订单号\n                good_time_and_id = item.find('.bought-wrapper-mod__head-info-cell___29cDO').text().replace('\\n', \"\").replace('\\r', \"\")\n                # 商家名称\n                # good_merchant = item.find('.seller-mod__container___1w0Cx').text().replace('\\n', \"\").replace('\\r', \"\")\n                good_merchant = item.find('.bought-wrapper-mod__seller-container___3dAK3').text().replace('\\n', \"\").replace('\\r', \"\")\n                # 商品名称\n                # good_name = item.find('.sol-mod__no-br___1PwLO').text().replace('\\n', \"\").replace('\\r', \"\")\n                good_name = item.find('.sol-mod__no-br___3Ev-2').text().replace('\\n', \"\").replace('\\r', \"\")\n                # 商品价格  \n                good_price = item.find('.price-mod__price___cYafX').text().replace('\\n', \"\").replace('\\r', \"\")\n                # 只列出商品购买时间、订单号、商家名称、商品名称\n                # 其余的请自己实践获取\n                data_list.append(good_time_and_id)\n                data_list.append(good_merchant)\n                data_list.append(good_name)\n                data_list.append(good_price)\n                #print(good_time_and_id, good_merchant, good_name)\n                #file_path = os.path.join(os.path.dirname(__file__) + '/user_orders.json')\n                # file_path = \"../Spiders/taobao/user_orders.json\"\n                json_str = json.dumps(data_list)\n                with open(self.path + os.sep + 'user_orders.json', 'a') as f:\n                    f.write(json_str)\n\n            # print('\\n\\n')\n\n            # 大部分人被检测为机器人就是因为进一步模拟人工操作\n            # 模拟人工向下浏览商品，即进行模拟下滑操作，防止被识别出是机器人\n            # 随机滑动延时时间\n            swipe_time = random.randint(1, 3)\n            self.swipe_down(swipe_time)\n\n            # 等待下一页按钮 出现\n            good_total = self.wait.until(EC.presence_of_element_located((By.CSS_SELECTOR, '.pagination-next')))\n            good_total.click()\n            time.sleep(2)\n            # while 1:\n            #     time.sleep(0.2)\n            #     try:\n            #         good_total = self.driver.find_element_by_xpath('//li[@title=\"下一页\"]')\n            #         break\n            #     except:\n            #         continue\n            # # 点击下一页按钮\n            # while 1:\n            #     time.sleep(2)\n            #     try:\n            #         good_total.click()\n            #         break\n            #     except Exception:\n            #         pass\n\n    # 收藏宝贝 传入爬几页 默认三页  https://shoucang.taobao.com/nodejs/item_collect_chunk.htm?ifAllTag=0&tab=0&tagId=&categoryCount=0&type=0&tagName=&categoryName=&needNav=false&startRow=60\n    def get_choucang_item(self, page=3):\n        url = 'https://shoucang.taobao.com/nodejs/item_collect_chunk.htm?ifAllTag=0&tab=0&tagId=&categoryCount=0&type=0&tagName=&categoryName=&needNav=false&startRow={}'\n        pn = 0\n        json_list = []\n        for i in trange(page):\n            self.driver.get(url.format(pn))\n            pn += 30\n            html_str = self.driver.page_source\n            if html_str == '':\n                break\n            if '登录' in html_str:\n                raise Exception('登录')\n            obj_list = etree.HTML(html_str).xpath('//li')\n            for obj in obj_list:\n                item = {}\n                item['title'] = ''.join([i.strip() for i in obj.xpath('./div[@class=\"img-item-title\"]//text()')])\n                item['url'] = ''.join([i.strip() for i in obj.xpath('./div[@class=\"img-item-title\"]/a/@href')])\n                item['price'] = ''.join([i.strip() for i in obj.xpath('./div[@class=\"price-container\"]//text()')])\n                if item['price'] == '':\n                    item['price'] = '失效'\n                json_list.append(item)\n        # file_path = os.path.join(os.path.dirname(__file__) + '/shoucang_item.json')\n        json_str = json.dumps(json_list)\n        with open(self.path + os.sep + 'shoucang_item.json', 'w') as f:\n            f.write(json_str)\n\n    # 浏览足迹 传入爬几页 默认三页  https://shoucang.taobao.com/nodejs/item_collect_chunk.htm?ifAllTag=0&tab=0&tagId=&categoryCount=0&type=0&tagName=&categoryName=&needNav=false&startRow=60\n    def get_footmark_item(self, page=3):\n        url = 'https://www.taobao.com/markets/footmark/tbfoot'\n        self.driver.get(url)\n        pn = 0\n        item_num = 0\n        json_list = []\n        for i in trange(page):\n            html_str = self.driver.page_source\n            obj_list = etree.HTML(html_str).xpath('//div[@class=\"item-list J_redsList\"]/div')[item_num:]\n            for obj in obj_list:\n                item_num += 1\n                item = {}\n                item['date'] = ''.join([i.strip() for i in obj.xpath('./@data-date')])\n                item['url'] = ''.join([i.strip() for i in obj.xpath('./a/@href')])\n                item['name'] = ''.join([i.strip() for i in obj.xpath('.//div[@class=\"title\"]//text()')])\n                item['price'] = ''.join([i.strip() for i in obj.xpath('.//div[@class=\"price-box\"]//text()')])\n                json_list.append(item)\n            self.driver.execute_script('window.scrollTo(0,1000000)')\n        # file_path = os.path.join(os.path.dirname(__file__) + '/footmark_item.json')\n        json_str = json.dumps(json_list)\n        with open(self.path + os.sep + 'footmark_item.json', 'w') as f:\n            f.write(json_str)\n\n    # 地址\n    def get_addr(self):\n        url = 'https://member1.taobao.com/member/fresh/deliver_address.htm'\n        self.driver.get(url)\n        html_str = self.driver.page_source\n        obj_list = etree.HTML(html_str).xpath('//tbody[@class=\"next-table-body\"]/tr')\n        data_list = []\n        for obj in obj_list:\n            item = {}\n            item['name'] = obj.xpath('.//td[1]//text()')\n            item['area'] = obj.xpath('.//td[2]//text()')\n            item['detail_area'] = obj.xpath('.//td[3]//text()')\n            item['youbian'] = obj.xpath('.//td[4]//text()')\n            item['mobile'] = obj.xpath('.//td[5]//text()')\n            data_list.append(item)\n        # file_path = os.path.join(os.path.dirname(__file__) + '/addr.json')\n        json_str = json.dumps(data_list)\n        with open(self.path + os.sep + 'address.json', 'w') as f:\n            f.write(json_str)\n\n\nif __name__ == '__main__':\n    # pass\n    cookie_list = json.loads(open('taobao_cookies.json', 'r').read())\n    t = TaobaoSpider(cookie_list)\n    t.get_orders()\n    # t.crawl_good_buy_data()\n    # t.get_addr()\n    # t.get_choucang_item()\n    # t.get_footmark_item()\n"
  },
  {
    "path": "Spiders/telephone/main.py",
    "content": "import json\nimport os\nimport re\nimport sys\nimport xlsxwriter\nimport requests\nfrom tkinter.filedialog import askdirectory\nfrom requests.packages.urllib3.exceptions import InsecureRequestWarning\n# 禁用安全请求警告\nrequests.packages.urllib3.disable_warnings(InsecureRequestWarning)\n\n\nclass LianTong(object):\n    def __init__(self, cookie):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        self.session = requests.session()\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',\n        }\n        self.cookie_dict = {}\n        list = cookie.split(';')\n        for i in list:\n            try:\n                self.cookie_dict[i.split('=')[0]] = i.split('=')[1]\n            except IndexError:\n                self.cookie_dict[''] = i\n        requests.utils.add_dict_to_cookiejar(self.session.cookies, self.cookie_dict)\n        self.mobile = None\n\n    def get_user_info(self):\n        import time\n        url = 'http://iservice.10010.com/e3/static/query/searchPerInfoUser/'\n        resp = self.session.post(url, headers=self.headers, verify=False)\n        file_path = os.path.join(self.path + '/10010_user_info.json')\n        with open(file_path, 'w', encoding='utf-8') as f:\n            f.write(resp.content.decode())\n\n    # 查询账单 http://iservice.10010.com/e3/static/wohistory/bill?dat=201902 可传入时间\n    def get_bill_info(self, dat=''):\n        try:\n            url = 'http://iservice.10010.com/e3/static/wohistory/bill?dat={}'.format(dat)\n            self.headers['Referer'] = 'http://iservice.10010.com/e4/skip.html?menuCode=000100020001'\n            resp = self.session.post(url, data='', headers=self.headers, verify=False)\n            # print(resp)\n            file_path = os.path.join(self.path + '/10010_bill_info.json')\n            with open(file_path, 'w', encoding='utf-8') as f:\n                f.write(resp.content.decode())\n        except Exception:\n            # 捕获到异常说明是短信登录，非服务密码登录\n            pass\n\n\nclass DianXin(object):\n    def __init__(self, cookie):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        self.session = requests.session()\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',\n        }\n        cookie_dict = {}\n        list = cookie.split(';')\n        for i in list:\n            try:\n                cookie_dict[i.split('=')[0]] = i.split('=')[1]\n            except IndexError:\n                cookie_dict[''] = i\n        requests.utils.add_dict_to_cookiejar(self.session.cookies, cookie_dict)\n        self.mobile = None\n        resp = self.session.get('https://service.sh.189.cn/service/mytelecom/deviceInfo', headers=self.headers,\n                                verify=False)\n        self.mobile = re.findall('var login = \"(\\d{11})\";', resp.content.decode())[0]\n        print(self.mobile)\n\n    def get_user_info(self):\n        url = 'https://service.sh.189.cn/service/my/basicinfo.do'\n        resp = self.session.post(url, data=None, headers=self.headers, verify=False)\n        file_path = os.path.join(os.path.dirname(__file__) + '/' + '10000_user.json')\n        with open(file_path, 'w') as f:\n            f.write(resp.content.decode())\n\n    # 查询账单 http://iservice.10010.com/e3/static/wohistory/bill?dat=201902 可传入时间\n    def get_bill_info(self, dat=''):\n        try:\n            url = 'https://service.sh.189.cn/service/mobileBill.do'\n            self.headers['Referer'] = 'https://service.sh.189.cn/service/query/bill'\n            self.headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8'\n            print('device={}&acctNum='.format(self.mobile))\n            resp = self.session.post(url, data='device={}&acctNum='.format(self.mobile), headers=self.headers,\n                                     verify=False)\n            file_path = os.path.join(os.path.dirname(__file__) + '/' + '10000_bill_info.json')\n            with open(file_path, 'w') as f:\n                f.write(resp.content.decode())\n        except Exception:\n            # 捕获到异常说明是短信登录，非服务密码登录\n            pass\n\n\nif __name__ == '__main__':\n    pass\n    # y = YiDong(\n    # y.get_user_info()\n    # y.get_bill_info()\n\n    # l = LianTong(\n    # l.get_user_info()\n    # l.get_bill_info()\n\n    # d = DianXin(\n    # # d.get_user_info()\n    # d.get_bill_info()\n\n# http://www.189.cn/dqmh/ssoLink.do?method=skip&platNo=93507&toStUrl=http://service.sh.189.cn/service/self_index\n# http://ah.189.cn/service/\n# http://www.189.cn/dqmh/frontLinkSkip.do?method=skip&shopId=10011&toStUrl=http://js.189.cn/nservice/login/toIndex\n"
  },
  {
    "path": "Spiders/yidong/main.py",
    "content": "import json\nimport os\nimport re\nimport xlsxwriter\nimport sys\nimport requests\nfrom requests.packages.urllib3.exceptions import InsecureRequestWarning\nfrom tkinter.filedialog import askdirectory\nrequests.packages.urllib3.disable_warnings(InsecureRequestWarning)\n\n\nclass YiDong(object):\n    def __init__(self, cookie):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        if str(self.path) == \"\":\n            sys.exit(1)\n        self.session = requests.session()\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',\n        }\n        cookie_dict = {}\n        list = cookie.split(';')\n        for i in list:\n            try:\n                cookie_dict[i.split('=')[0]] = i.split('=')[1]\n            except IndexError:\n                cookie_dict[''] = i\n        requests.utils.add_dict_to_cookiejar(self.session.cookies, cookie_dict)\n        self.mobile = None\n\n    def get_user_info(self):\n        # print('执行----> get_user_info')\n        url = 'https://shop.10086.cn/i/v1/auth/loginfo'\n        resp = self.session.get(url, headers=self.headers, verify=False)\n        self.mobile = json.loads(resp.content.decode())['data']['loginValue']\n\n    def get_bill_info(self):\n        # print('执行----> get_bill_info')\n        # Get the mobile number from the website\n        self.get_user_info()\n        # Download the bill string\n        bill_json_str = self.get_bill_json()\n        # transfer and save the bill\n        self.transfer_and_save_bill(bill_json_str)\n\n    def get_bill_json(self):\n        # print('执行----> get_bill_json')\n        # constract the request url\n        begin_month = '202001'\n        # end_month = '202004'\n        import datetime\n        end_month = str(datetime.date.today().strftime('%Y%m'))\n        url = 'https://touch.10086.cn/i/v1/fee/touchbillinfo/'+self.mobile+'?bgnMonth='+begin_month+'&endMonth='+end_month+'&time=202062215373895&channel=02'\n        self.headers['Referer'] = 'https://touch.10086.cn/i/mobile/billqry.html'\n\n        # get the bill json from website\n        resp = self.session.get(url, headers=self.headers, verify=False)    \n        return resp.content.decode()\n\n    def transfer_and_save_bill(self, bill_json_str):\n        # print('执行----> transfer_and_save_bill')\n        bill_json = json.loads(bill_json_str)\n        bill_json_month_lists = bill_json['data']\n\n        bill_details = {}\n        for i in range(len(bill_json_month_lists)):\n            bill_json_month = bill_json_month_lists[i]\n            month = bill_json_month['billMonth']\n            month_item_lists = bill_json_month['billMaterials']\n            item_month = []\n            for j in range(len(month_item_lists)):\n                bill_item = month_item_lists[j]['billMaterialInfos']\n                if len(bill_item) != 0:\n                    for k in bill_item:\n                        item_month.append(k)\n            bill_details[month] = item_month\n        with open(self.path + os.sep + 'yidong_bill.json', 'w', encoding='utf-8') as f:\n            f.write(json.dumps(bill_details))\n        # print(bill_details)\n        print('Done.')\n\n\n"
  },
  {
    "path": "Spiders/zhihu/main.py",
    "content": "# import zhihuapi as zhihu\nimport requests\nfrom tkinter.filedialog import askdirectory\n\nclass Zhihu(object):\n    def __init__(self, userToken):\n        self.path = askdirectory(title='选择信息保存文件夹')\n        self.userToken = userToken\n        self.session = requests.session()\n        self.headers = {\n            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',\n        }\n\n    # 把信息写入文件\n    def info_write_to_json(self, filename, response):\n        json_path = self.path + '/' + filename + '.json'\n        with open(json_path, 'w') as f:\n            f.write(response)\n        return json_path\n        \n    # 获取用户基本信息\n    def get_user_profile(self):\n        url = 'https://www.zhihu.com/api/v4/members/' + self.userToken\n        resp = self.session.get(url, headers=self.headers).content.decode()\n        print(resp)\n        self.info_write_to_json('user_profile', resp)\n\n    # 获取用户关注的人\n    def get_user_followees(self):\n        url = 'https://www.zhihu.com/api/v4/members/'  + self.userToken + '/followees'\n        resp = self.session.get(url, headers=self.headers).content.decode()\n        print(resp)\n        self.info_write_to_json('user_followees', resp)\n    \n    # 获取用户的粉丝\n    def get_user_followers(self):\n        url = 'https://www.zhihu.com/api/v4/members/'  + self.userToken + '/followers'\n        resp = self.session.get(url, headers=self.headers).content.decode()\n        print(resp)\n        self.info_write_to_json('user_followers', resp)\n\n    # 获取用户发布的文章\n    def get_user_articles(self):\n        url = 'https://www.zhihu.com/api/v4/members/'  + self.userToken + '/articles'\n        resp = self.session.get(url, headers=self.headers).content.decode()\n        print(resp)\n        self.info_write_to_json('user_articles', resp)\n\n    # 获取用户的收藏\n    def get_user_collections(self):\n        url = 'https://www.zhihu.com/api/v4/members/'  + self.userToken + '/collections'\n        resp = self.session.get(url, headers=self.headers).content.decode()\n        print(resp)\n        self.info_write_to_json('user_collections', resp)\n\n    # 获取用户发布的视频\n    def get_user_zvideos(self):\n        url = 'https://www.zhihu.com/api/v4/members/'  + self.userToken + '/zvideos'\n        resp = self.session.get(url, headers=self.headers).content.decode()\n        print(resp)\n        self.info_write_to_json('user_zvideos', resp)\n\n    # 获取用户的动态\n    def get_user_activities(self):\n        url = 'https://www.zhihu.com/api/v4/members/'  + self.userToken + '/activities'\n        resp = self.session.get(url, headers=self.headers).content.decode()\n        print(resp)\n        self.info_write_to_json('user_activities', resp)"
  },
  {
    "path": "docs/.nojekyll",
    "content": ""
  },
  {
    "path": "docs/QuickStart.md",
    "content": "\n## Prerequisites\n\n* Ubuntu 16.04\n* Python3 & pip3\n* Chrome Browser and [Chrome Driver](http://chromedriver.storage.googleapis.com/index.html) in the same version\n\n## Installation\n```\n  $ ./install_deps.sh\n```\n"
  },
  {
    "path": "docs/README.md",
    "content": "# **INFO-SPIDER** \n\n> 一个神奇的工具箱, 拿回你的个人信息.\n\n# **Introduction**\n## 开发者回忆录🌈\n<details>\n<summary>点击展开👉 开发者回忆录🌈</summary>\n\n#### 场景一\n小明一如往常打开 Chrome 浏览器逛着论坛，贴吧，一不小心点开了网页上的广告，跳转到了京东商城，下意识去关闭窗口时发现 （**OS：咦？京东怎么知道我最近心心念念的宝贝呢？刚好我正需要呢！**），既然打开了那就看看商品详情吧 （**OS：哎哟不错哦**），那就下单试试吧！\n\n#### 场景二\n小白听着网易云音乐的每日推荐歌单无法自拔 （**OS：哇！怎么播放列表里都是我喜欢的音乐风格？网易云音乐太棒了吧!深得我心啊！黑胶会员必须来一个！**），逛着知乎里的“如何优雅的XXX?”，“XXX是怎样一种体验？”，“如何评价XXX?” （**OS：咦？这个问题就是我刚好想问的，原来早已有人提问！什么？？？还有几千条回答！！进去逛逛看！**）\n\n#### 场景三\n小达上班时不忘充实自己，逛着各大技术论坛博客园、CSDN、开源中国、简书、掘金等等，发现首页的内容推荐太棒了（**OS：这些技术博文太棒了，不用找就出来了**），再打开自己的博客主页发现不知不觉地自己也坚持写博文也有三年了，自己的技术栈也越来越丰富（**OS：怎么博客后台都不提供一个数据分析系统呢？我想看看我这几年来的发文数量，发文时间，想知道哪些博文比较热门，想看看我在哪些技术上花费的时间更多，想看看我过去的创作高峰期时在晚上呢？还是凌晨？我希望系统能给我更多指引数据让我更好的创作！**）\n\n看到以上几个场景你可能会感叹科技在进步，技术在发展，极大地改善了我们的生活方式。\n\n但当你深入思考，你浏览的每个网站，注册的每个网站，他们都记录着你的信息你的足迹。\n\n细思恐极的背后是自己的个人数据被赤裸裸的暴露在互联网上并且被众多的公司利用用户数据获得巨额利益，如对用户的数据收集分析后进行定制的广告推送，收取高额广告费。但作为数据的生产者却没能分享属于自己的数据收益。\n\n#### 想法\n\n如果有一个这样的工具，它能帮你拿回你的个人信息，它能帮你把分散在各种站点的个人信息聚合起来，它能帮你分析你的个人数据并给你提供建议，它能帮你把个人数据可视化让你更清楚地了解自己。\n\n> 你是否会需要这样的工具呢? 你是否会喜欢这样的工具呢？\n\n基于以上，我着手开发了 **[INFO-SPIDER](https://github.com/kangvcar/InfoSpider)** 👇👇👇\n\n</details>\n\n## Why INFO-SPIDER\n\n- 个人数据蕴含巨大的价值, 未来的世界核心就是数据, 这是一个万亿级的市场. 众多的公司利用用户数据获得巨额利益, 如对用户的数据收集分析后进行定制的广告推送, 收取高额广告费. 但作为生产数据的最终用户, 却没能分享属于自己的数据收益.\n\n- 个人数据分散在各种各样的公司之间, 经常形成数据孤岛, 多维数据无法融合. 很多优秀的创业公司, 被极大限制. 有算法、有创新，但缺乏合法且高效的途径访问数据.\n\n- [INFO-SPIDER](https://github.com/kangvcar/InfoSpider) 项目旨在提供最全的工具帮助用户安全快捷的从数据寡头拿回自己的数据, 自由选择提供给数据需求方, 挖掘自己数据的金矿, 分享自己数据的价值.\n\n## What is INFO-SPIDER\n\n要想实现个人数据资产化, 如何拿回自己的数据是第一步, 一些数据寡头已经开始提供工具能让用户自由导出数据, 如谷歌公司, 已经提供方式让用户[下载](https://support.google.com/accounts/answer/3024190?hl=en)自己的数据.\n\n这是一个好的开始, 但还不够, 还有很多公司没有提供官方工具或者只能下载很有限的数据. 而目前市面上的数据获取工具要么数据源不全, 要么不开源不透明. 无法保证工具本身不会偷偷窃取用户的数据, 甚至用户的用户名和密码.\n\n[INFO-SPIDER](https://github.com/kangvcar/InfoSpider) 旨在安全快捷的帮助用户拿回**自己的数据**，工具代码开源，流程透明。并提供**数据分析**功能，基于用户数据生成图表文件，使得用户更直观、深入了解自己的信息。\n\n## Features\n\n- 安全可靠：本项目为开源项目，代码简洁，所有源码可见，本地运行，安全可靠。\n- 使用简单：提供GUI界面，只需点击所需获取的数据源并根据提示操作即可。\n- 结构清晰：本项目的所有数据源相互独立，可移植性高，**所有爬虫脚本在项目的[Spiders](https://github.com/kangvcar/InfoSpider/tree/master/Spiders)文件下**。\n- 数据源丰富：本项目目前支持多达24+个数据源，持续更新。\n- 数据格式统一：爬取的所有数据都将存储为json格式。\n- 个人数据丰富：本项目将尽可能多地为你爬取个人数据，后期数据处理可根据需要删减。\n- 数据分析：本项目提供个人数据的可视化分析，目前仅部分支持。\n- 文档丰富：本项目包含完整全面的[使用说明文档](https://infospider.vercel.app)和[视频教程](https://www.bilibili.com/video/BV14f4y1R7oF/)\n\n\n## Screenshot\n\n![screenshot.png](https://i.loli.net/2020/10/26/4NJyMhrsGPwvxgd.png ':size=80%')\n\n## QuickStart\n\n### 依赖安装\n\n1. 安装[python3](https://www.python.org/downloads/)和Chrome浏览器\n\n2. 安装与Chrome浏览器相同版本的[驱动](http://chromedriver.storage.googleapis.com/index.html)\n\n3. 安装依赖库 `./install_deps.sh`    (Windows下只需`pip install -r requirements.txt`)\n\n!> 目前该工具箱仅在Windows环境下正常运行, 还未在Linux/MacOS环境下进行测试, 后续更新会兼容多平台.\n\n### 工具运行\n\n1. 进入 tools 目录\n\n2. 运行 `python3 main.py`\n\n3. 在打开的窗口**点击数据源按钮**, 根据提示**选择数据保存路径**\n\n4. 弹出的浏览器**输入用户密码**后会自动开始爬取数据, 爬取完成浏览器会自动关闭.\n   \n5. 在对应的目录下可以**查看下载下来的数据**(xxx.json), **数据分析图表**(xxx.html)\n\n?> 👍 每个数据源的爬取可能会生成多个文件, 所以建议为每个数据源新建一个文件夹来保存数据.\n\n?> 数据分析功能还在开发中，暂时只支持部分数据源\n\n!> 😘😘😘 如果你运行程序的过程中出现了错误, 或者爬取不到信息, 你可以通过 GitHub 提交[Issues](https://github.com/kangvcar/InfoSpider/issues)来告诉我们, 我们很乐意不断完善此项目.\n\n## 购买服务\n\n?> ***目前4折限量发售中...***，[去看看](https://mianbaoduo.com/o/bread/aZiTlJo=)\n\n1. InfoSpider 最新维护版本\n2. 更全面的个人数据分析\n3. 免去安装程序的所有依赖环境，便捷，适合小白\n4. 已打包好的程序，双击即可运行程序\n5. 手把手教你如何打包 InfoSpider\n6. 开发者一对一技术支持\n7. ***购买后即可免费获得即将发布的全新2.0版本***\n\n\n<p align=\"center\">\n<img src=\"https://i.loli.net/2020/10/20/IRbLzEmBv9Ktwp4.jpg\" alt=\"wechat\" height=50% width=50%/></br>\n<a href=\"https://mianbaoduo.com/o/bread/aZiTlJo=\"><b>购买链接</b></a>\n</p>\n\n## 数据源\n- [x] GitHub\n- [x] QQ邮箱\n- [x] 网易邮箱\n- [x] 阿里邮箱\n- [x] 新浪邮箱\n- [x] Hotmail邮箱\n- [x] Outlook邮箱\n- [x] 京东\n- [x] 淘宝\n- [x] 支付宝\n- [x] 中国移动\n- [x] 中国联通\n- [x] 中国电信\n- [x] 知乎\n- [x] 哔哩哔哩\n- [x] 网易云音乐\n- [x] QQ好友\n- [x] QQ群\n- [x] 生成朋友圈相册\n- [x] 浏览器浏览历史\n- [x] 12306\n- [x] 博客园\n- [x] CSDN博客\n- [x] 开源中国博客\n- [x] 简书\n\n!> 😊 如果没有找到你需要的数据源, 你可以通过 GitHub 提交[Issues](https://github.com/kangvcar/InfoSpider/issues)来告诉我们, 我们很乐意不断完善此项目.\n\n## 数据分析\n\n- [x] 博客园\n- [x] CSDN博客\n- [x] 开源中国博客\n- [x] 简书\n\n# **使用说明**\n\n***\n## GitHub\n\n!> **说明**：无需登录账号, 输入GitHub用户名即可 (如 kangvcar ) .\n\n### 使用步骤\n\n1. 点击**GitHub**数据源按钮g\n\n    ![github1.png](https://i.loli.net/2020/07/18/EbucsBUhrZkzMvi.png ':size=10%')\n\n2. 输入GitHub用户名\n\n    ![github2.png](https://i.loli.net/2020/07/14/aXb9uUZ7lzRpiVD.png ':size=40%')\n\n3. 选择数据保存路径\n\n    ![github3.png](https://i.loli.net/2020/07/14/48nPlvr2ZLQdcJH.png ':size=50%')\n    \n?> 👍 每个数据源的爬取可能会生成多个文件, 所以建议为每个数据源新建一个文件夹来保存数据.\n\n4. 查看爬取的数据 (json格式)\n\n    ![github4.png](https://i.loli.net/2020/07/14/7JGaxhQ8S9BDgin.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>user_infomation.json 👉 你的信息</summary>\n\n```json\n{\n  \"login\": \"kangvcar\",\n  \"id\": 20273349,\n  \"node_id\": \"MDQ6VXNlcjIwMjczMzQ5\",\n  \"avatar_url\": \"https://avatars2.githubusercontent.com/u/20273349?v=4\",\n  \"gravatar_id\": \"\",\n  \"url\": \"https://api.github.com/users/kangvcar\",\n  \"html_url\": \"https://github.com/kangvcar\",\n  \"followers_url\": \"https://api.github.com/users/kangvcar/followers\",\n  \"following_url\": \"https://api.github.com/users/kangvcar/following{/other_user}\",\n  \"gists_url\": \"https://api.github.com/users/kangvcar/gists{/gist_id}\",\n  \"starred_url\": \"https://api.github.com/users/kangvcar/starred{/owner}{/repo}\",\n  \"subscriptions_url\": \"https://api.github.com/users/kangvcar/subscriptions\",\n  \"organizations_url\": \"https://api.github.com/users/kangvcar/orgs\",\n  \"repos_url\": \"https://api.github.com/users/kangvcar/repos\",\n  \"events_url\": \"https://api.github.com/users/kangvcar/events{/privacy}\",\n  \"received_events_url\": \"https://api.github.com/users/kangvcar/received_events\",\n  \"type\": \"User\",\n  \"site_admin\": false,\n  \"name\": \"Kangvcar\",\n  \"company\": null,\n  \"blog\": \"https://kangvcar.com\",\n  \"location\": \"Shenzhen, China\",\n  \"email\": null,\n  \"hireable\": true,\n  \"bio\": \"֪ʶ�Ĺ������ȵĸ���Ʒ\",\n  \"twitter_username\": null,\n  \"public_repos\": 76,\n  \"public_gists\": 2,\n  \"followers\": 17,\n  \"following\": 2,\n  \"created_at\": \"2016-07-04T02:02:34Z\",\n  \"updated_at\": \"2020-07-13T17:35:51Z\"\n}\n\n```\n\n</details>\n\n<details>\n<summary>user_followers.json 👉 你的粉丝信息</summary>\n\n```json\n[\n  {\n    \"login\": \"huangguangda\",\n    \"id\": 30596987,\n    \"node_id\": \"MDQ6VXNlcjMwNTk2OTg3\",\n    \"avatar_url\": \"https://avatars2.githubusercontent.com/u/30596987?v=4\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/huangguangda\",\n    \"html_url\": \"https://github.com/huangguangda\",\n    \"followers_url\": \"https://api.github.com/users/huangguangda/followers\",\n    \"following_url\": \"https://api.github.com/users/huangguangda/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/huangguangda/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/huangguangda/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/huangguangda/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/huangguangda/orgs\",\n    \"repos_url\": \"https://api.github.com/users/huangguangda/repos\",\n    \"events_url\": \"https://api.github.com/users/huangguangda/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/huangguangda/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  {\n    \"login\": \"encoredw\",\n    \"id\": 1918624,\n    \"node_id\": \"MDQ6VXNlcjE5MTg2MjQ=\",\n    \"avatar_url\": \"https://avatars2.githubusercontent.com/u/1918624?v=4\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/encoredw\",\n    \"html_url\": \"https://github.com/encoredw\",\n    \"followers_url\": \"https://api.github.com/users/encoredw/followers\",\n    \"following_url\": \"https://api.github.com/users/encoredw/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/encoredw/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/encoredw/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/encoredw/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/encoredw/orgs\",\n    \"repos_url\": \"https://api.github.com/users/encoredw/repos\",\n    \"events_url\": \"https://api.github.com/users/encoredw/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/encoredw/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  ...\n]\n```\n\n</details>\n\n<details>\n<summary>user_following.json 👉 你关注的人</summary>\n\n```json\n[\n  {\n    \"login\": \"dunwu\",\n    \"id\": 19661255,\n    \"node_id\": \"MDQ6VXNlcjE5NjYxMjU1\",\n    \"avatar_url\": \"https://avatars3.githubusercontent.com/u/19661255?v=4\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/dunwu\",\n    \"html_url\": \"https://github.com/dunwu\",\n    \"followers_url\": \"https://api.github.com/users/dunwu/followers\",\n    \"following_url\": \"https://api.github.com/users/dunwu/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/dunwu/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/dunwu/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/dunwu/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/dunwu/orgs\",\n    \"repos_url\": \"https://api.github.com/users/dunwu/repos\",\n    \"events_url\": \"https://api.github.com/users/dunwu/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/dunwu/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  },\n  {\n    \"login\": \"fengdu78\",\n    \"id\": 26119052,\n    \"node_id\": \"MDQ6VXNlcjI2MTE5MDUy\",\n    \"avatar_url\": \"https://avatars1.githubusercontent.com/u/26119052?v=4\",\n    \"gravatar_id\": \"\",\n    \"url\": \"https://api.github.com/users/fengdu78\",\n    \"html_url\": \"https://github.com/fengdu78\",\n    \"followers_url\": \"https://api.github.com/users/fengdu78/followers\",\n    \"following_url\": \"https://api.github.com/users/fengdu78/following{/other_user}\",\n    \"gists_url\": \"https://api.github.com/users/fengdu78/gists{/gist_id}\",\n    \"starred_url\": \"https://api.github.com/users/fengdu78/starred{/owner}{/repo}\",\n    \"subscriptions_url\": \"https://api.github.com/users/fengdu78/subscriptions\",\n    \"organizations_url\": \"https://api.github.com/users/fengdu78/orgs\",\n    \"repos_url\": \"https://api.github.com/users/fengdu78/repos\",\n    \"events_url\": \"https://api.github.com/users/fengdu78/events{/privacy}\",\n    \"received_events_url\": \"https://api.github.com/users/fengdu78/received_events\",\n    \"type\": \"User\",\n    \"site_admin\": false\n  }\n]\n\n```\n\n</details>\n\n<details>\n<summary>user_repository.json 👉 你的仓库信息</summary>\n\n```json\n[\n  {\n    \"id\": 177291814,\n    \"node_id\": \"MDEwOlJlcG9zaXRvcnkxNzcyOTE4MTQ=\",\n    \"name\": \"960-Grid-System\",\n    \"full_name\": \"kangvcar/960-Grid-System\",\n    \"private\": false,\n    \"owner\": {\n      \"login\": \"kangvcar\",\n      \"id\": 20273349,\n      \"node_id\": \"MDQ6VXNlcjIwMjczMzQ5\",\n      \"avatar_url\": \"https://avatars2.githubusercontent.com/u/20273349?v=4\",\n      \"gravatar_id\": \"\",\n      \"url\": \"https://api.github.com/users/kangvcar\",\n      \"html_url\": \"https://github.com/kangvcar\",\n      \"followers_url\": \"https://api.github.com/users/kangvcar/followers\",\n      \"following_url\": \"https://api.github.com/users/kangvcar/following{/other_user}\",\n      \"gists_url\": \"https://api.github.com/users/kangvcar/gists{/gist_id}\",\n      \"starred_url\": \"https://api.github.com/users/kangvcar/starred{/owner}{/repo}\",\n      \"subscriptions_url\": \"https://api.github.com/users/kangvcar/subscriptions\",\n      \"organizations_url\": \"https://api.github.com/users/kangvcar/orgs\",\n      \"repos_url\": \"https://api.github.com/users/kangvcar/repos\",\n      \"events_url\": \"https://api.github.com/users/kangvcar/events{/privacy}\",\n      \"received_events_url\": \"https://api.github.com/users/kangvcar/received_events\",\n      \"type\": \"User\",\n      \"site_admin\": false\n    },\n    \"html_url\": \"https://github.com/kangvcar/960-Grid-System\",\n    \"description\": \"The 960 Grid System is an effort to streamline web development workflow.\",\n    \"fork\": true,\n    \"url\": \"https://api.github.com/repos/kangvcar/960-Grid-System\",\n    \"forks_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/forks\",\n    \"keys_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/keys{/key_id}\",\n    \"collaborators_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/collaborators{/collaborator}\",\n    \"teams_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/teams\",\n    \"hooks_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/hooks\",\n    \"issue_events_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/issues/events{/number}\",\n    \"events_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/events\",\n    \"assignees_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/assignees{/user}\",\n    \"branches_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/branches{/branch}\",\n    \"tags_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/tags\",\n    \"blobs_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/git/blobs{/sha}\",\n    \"git_tags_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/git/tags{/sha}\",\n    \"git_refs_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/git/refs{/sha}\",\n    \"trees_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/git/trees{/sha}\",\n    \"statuses_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/statuses/{sha}\",\n    \"languages_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/languages\",\n    \"stargazers_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/stargazers\",\n    \"contributors_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/contributors\",\n    \"subscribers_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/subscribers\",\n    \"subscription_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/subscription\",\n    \"commits_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/commits{/sha}\",\n    \"git_commits_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/git/commits{/sha}\",\n    \"comments_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/comments{/number}\",\n    \"issue_comment_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/issues/comments{/number}\",\n    \"contents_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/contents/{+path}\",\n    \"compare_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/compare/{base}...{head}\",\n    \"merges_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/merges\",\n    \"archive_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/{archive_format}{/ref}\",\n    \"downloads_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/downloads\",\n    \"issues_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/issues{/number}\",\n    \"pulls_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/pulls{/number}\",\n    \"milestones_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/milestones{/number}\",\n    \"notifications_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/notifications{?since,all,participating}\",\n    \"labels_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/labels{/name}\",\n    \"releases_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/releases{/id}\",\n    \"deployments_url\": \"https://api.github.com/repos/kangvcar/960-Grid-System/deployments\",\n    \"created_at\": \"2019-03-23T13:23:53Z\",\n    \"updated_at\": \"2019-03-23T13:23:55Z\",\n    \"pushed_at\": \"2018-03-07T15:07:01Z\",\n    \"git_url\": \"git://github.com/kangvcar/960-Grid-System.git\",\n    \"ssh_url\": \"git@github.com:kangvcar/960-Grid-System.git\",\n    \"clone_url\": \"https://github.com/kangvcar/960-Grid-System.git\",\n    \"svn_url\": \"https://github.com/kangvcar/960-Grid-System\",\n    \"homepage\": \"http://960.gs\",\n    \"size\": 3637,\n    \"stargazers_count\": 0,\n    \"watchers_count\": 0,\n    \"language\": \"CSS\",\n    \"has_issues\": false,\n    \"has_projects\": true,\n    \"has_downloads\": true,\n    \"has_wiki\": true,\n    \"has_pages\": false,\n    \"forks_count\": 0,\n    \"mirror_url\": null,\n    \"archived\": false,\n    \"disabled\": false,\n    \"open_issues_count\": 0,\n    \"license\": null,\n    \"forks\": 0,\n    \"open_issues\": 0,\n    \"watchers\": 0,\n    \"default_branch\": \"master\"\n  },\n  ...\n]\n```\n\n</details>\n\n****\n## QQ邮箱\n\n!> **说明**：需登录账号 (建议扫码登录).\n\n### 使用步骤\n\n1. 点击**QQ邮箱**数据源按钮\n\n    ![qqmail1.png](https://i.loli.net/2020/07/18/vWuF9x2RGLY3ipe.png ':size=10%')\n\n2. 在弹出的浏览器中登录QQ邮箱(建议扫码登录)\n\n    ![qqmail2.png](https://i.loli.net/2020/07/16/PqERnUDJvpx1Ofs.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![qqmail3.png](https://i.loli.net/2020/07/16/a4wJpluOq6HkQfg.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![qqmail4.png](https://i.loli.net/2020/07/16/gYb4ju6XDHLVUhS.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>qqmail_1.json 👉 你的QQ邮箱收信箱第一页数据</summary>\n\n```json\n[\n    {\n        \"send_user\": \"no_reply\",\n        \"mailid\": \"ZC2702-CkApVu7KhFyaayd5XnupXa7\",\n        \"title\": \"Apple *********************icloud.com\",\n        \"time\": \"*****e5\",\n        \"email_addr\": \"no_reply@email.apple.com\",\n        \"content\": \"****************\"\n    },\n    ...\n]\n```\n\n</details>\n\n****\n## 网易邮箱\n\n!> **说明**：需登录账号 (建议扫码登录).\n\n### 使用步骤\n\n1. 点击**网易邮箱**数据源按钮\n\n    ![wangyiemail1.png](https://i.loli.net/2020/07/18/CbtKQN6MFd7Pw4R.png ':size=10%')\n\n2. 在弹出的浏览器中登录网易邮箱(建议扫码登录)\n\n    ![wangyiemail2.png](https://i.loli.net/2020/07/16/AtVDLdHh45BNEYG.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![wangyiemail3.png](https://i.loli.net/2020/07/16/k9alr7cdR23YipQ.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![wangyiemail4.png](https://i.loli.net/2020/07/16/HKyiNfBUYEeJCq2.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>wangyiemail_20.json 👉 你的126网易邮箱前20封邮件</summary>\n\n```json\n[\n    {\n        \"mid\": \"239:1t*******\",\n        \"send_user\": \"[GitHub] A third-party GitHub Application has been added to your account\",\n        \"time\": \"2020-07-14 16:38:22\",\n        \"content\": \"***************************************************\"\n    },\n    ...\n]\n```\n\n</details>\n\n****\n## 阿里邮箱\n\n!> **说明**：需登录账号.\n\n### 使用步骤\n\n1. 点击**阿里邮箱**数据源按钮\n\n    ![alimail1.png](https://i.loli.net/2020/07/18/nZW5IGj4ls8wyCU.png ':size=10%')\n\n2. 在弹出的浏览器中登录阿里邮箱\n\n    ![alimail2.png](https://i.loli.net/2020/07/17/hoki6tIlfeqa2yj.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![alimail3.png](https://i.loli.net/2020/07/17/YEr41OUX7lKJ5Vy.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![alimail4.png](https://i.loli.net/2020/07/17/6v2frAw9XPtO3E4.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>aliyun_mail.json 👉 你的阿里邮箱所有邮件</summary>\n\n```json\n[\n    {\n        \"clientExtraInfo\": {\n            \"avatarRcp\": {\n                \"clientExtraInfo\": {},\n                \"displayEmail\": \"***@gmail.com\",\n                \"displayName\": \" *** \",\n                \"email\": \"***@gmail.com\",\n                \"encDisplayEmail\": \"***@gmail.com\",\n                \"encDisplayName\": \"***\",\n                \"name\": \"****\"\n            },\n            \"encFullDisplayTime\": \"2020\\u5e747\\u670817\\u65e5(\\u661f\\u671f\\u4e94) 15:14\",\n            \"displaySize\": \"3KB\",\n            \"encDisplayTime\": \"15:14\",\n            \"encRcpLineContent\": \"*****\"\n        },\n        \"encSubject\": \"13\",\n        \"encSummary\": \"13\",\n        \"folderId\": \"2\",\n        \"from\": {\n            \"clientExtraInfo\": {},\n            \"displayEmail\": \"***@gmail.com\",\n            \"displayName\": \"***\",\n            \"email\": \"***@gmail.com\",\n            \"encDisplayEmail\": \"***@gmail.com\",\n            \"encDisplayName\": \"*****\",\n            \"name\": \"******\"\n        },\n        \"id\": \"DzzzzyUvf-h$---112z7wiM\",\n        \"mailId\": \"2_0:DzzzzyUvf-h$---112z7wiM\",\n        \"markedSubject\": \"13\",\n        \"owner\": \"***@aliyun.com\",\n        \"saveToSendFolder\": true,\n        \"separatedSend\": false,\n        \"sessionId\": \"DzzzzyUvf-h---112wtmq3\",\n        \"status\": 4,\n        \"subject\": \"13\",\n        \"tagList\": [],\n        \"timestamp\": 1594970066000,\n        \"to\": [\n            {\n                \"clientExtraInfo\": {},\n                \"displayEmail\": \"***@aliyun.com\",\n                \"displayName\": \"\",\n                \"email\": \"***@aliyun.com\",\n                \"encDisplayEmail\": \"****@aliyun.com\",\n                \"encDisplayName\": \"\",\n                \"name\": \"\"\n            }\n        ]\n    },\n    ...\n]\n```\n\n</details>\n\n****\n## 新浪邮箱\n\n!> **说明**：需登录账号.\n\n### 使用步骤\n\n1. 点击**新浪邮箱**数据源按钮\n\n    ![sina1.png](https://i.loli.net/2020/07/18/zO6wxsoJL9B7T1W.png ':size=10%')\n\n2. 在弹出的浏览器中登录新浪邮箱\n\n    ![sina2.png](https://i.loli.net/2020/07/17/OremUH5oFGaBgfK.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![sina3.png](https://i.loli.net/2020/07/17/JETMBk1xNRZPY2r.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![sina4.png](https://i.loli.net/2020/07/17/6QJ7WEVhsnlBGOu.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>sina_1.json 👉 你的新浪邮箱第一页所有邮件</summary>\n\n```json\n[\n    {\n        \"mid\": \"043F7CE6001807666676A0F28FCF4914800220000001\",\n        \"title\": \"Fwd: Buy Your Logo and Save $5 USD Now [Time-Limited]\",\n        \"send_user\": \"126 *******@126.com>\",\n        \"email_addr\": \"*******@@sina.cn\",\n        \"content_json\": {\n            \"result\": true,\n            \"errno\": 0,\n            \"msg\": \"\",\n            \"data\": {\n                \"actual_sender\": \"\",\n                \"from\": \"126 <<*******@@126.com>\",\n                \"to\": \"*******@@sina.cn\",\n                \"cc\": \"\",\n                \"bcc\": \"\",\n                \"date\": 1594922100,\n                \"subject\": \"Fwd: Buy Your Logo and Save $5 USD Now [Time-Limited]\",\n                \"priority\": false,\n                \"notification_to\": false,\n                \"xmsgid\": \"\",\n                \"isstar\": false,\n                \"size\": 9740,\n                \"body\": \"*******@\",\n                \"ishtml\": true,\n                \"attlist\": [],\n                \"mid\": \"043F7CE6001807666676A0F28FCF49148000*******@001\",\n                \"fid\": \"new\",\n                \"sendstatus\": null,\n                \"neednotify\": false\n            }\n        }\n    },\n    ...\n]\n```\n\n</details>\n\n****\n## Hotmail/Outlook邮箱\n\n!> **说明**：需登录账号.\n\n### 使用步骤\n\n1. 点击**Hotmail**数据源按钮\n\n    ![hotmail1.png](https://i.loli.net/2020/07/18/dPV8gv9Ax2Y7tbJ.png ':size=10%')\n\n2. 在弹出的浏览器中登录Hotmail/Outlook邮箱\n\n    ![hotmail2.png](https://i.loli.net/2020/07/17/ZCcjaq1mOt6pTSV.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![hotmail3.png](https://i.loli.net/2020/07/17/YCgsnoQd4r2UJqA.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![hotmail4.png](https://i.loli.net/2020/07/17/q9PI6x2oL4mnHfV.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>hotmail.json 👉 你的Hotmail/Outlook邮箱所有邮件</summary>\n\n```json\n[\n    {\n        \"send_user\": \"***@gmail.com\",\n        \"title\": \"Welcome to Disqus, ******!\",\n        \"time\": \"11:05\",\n        \"content\": \"Forwarded message -  Disqus <hello@success.disqus.com> Date: 2020 Subject: Welcome to Disqus****\"\n    },\n    {\n        \"send_user\": \"***@gmail.com\",\n        \"title\": \"********\",\n        \"time\": \"11:05\",\n        \"content\": \"*****************\"\n    },\n    ...\n]\n```\n</details>\n\n***\n## 京东\n\n!> **说明**：需登录账号 (建议扫码登录).\n\n### 使用步骤\n\n1. 点击**京东**数据源按钮\n\n    ![UcZcBd.png](https://s1.ax1x.com/2020/07/18/UcZcBd.png ':size=10%')\n\n2. 在弹出的浏览器中登录京东(建议扫码登录)\n\n    ![jd2.png](https://i.loli.net/2020/07/15/XZ7Kn84tC2dA1qg.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![jd3.png](https://i.loli.net/2020/07/15/rzjg3bWlq4s5eyi.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![jd4.png](https://i.loli.net/2020/07/15/1e5hcOqjPWdzXUp.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>addr.json 👉 你的地址信息</summary>\n\n```json\n[\n    {\n        \"name\": \"************\",\n        \"addr\": \"************\",\n        \"detail_addr\": \"************\",\n        \"mobile\": \"13*********\",\n        \"tel\": \"************\",\n        \"email\": \"************\"\n    },\n    ...\n]\n```\n\n</details>\n\n<details>\n<summary>creditData.json 👉 你的信用数据</summary>\n\n```json\n{\n    \"isOverdue\": 0,\n    \"totalDebt\": 0.00,\n    \"creditLimit\": 1000.00,\n    \"jtTotalDebt\": \"0.00\",\n    \"jtCreditLimit\": \"0.00\",\n    \"tourCreditLimit\": 1000.00,\n    \"actStatus\": 3,\n    \"jieqianActStatus\": 2,\n    \"creditWaitPaySeven\": \"0.00\",\n    \"creditWaitPayPercent\": 0,\n    \"tourCreditWaitPaySeven\": 0.00,\n    \"jtAvailableLimit\": \"0.00\",\n    \"availableLimit\": 1000.00,\n    \"jtCreditWaitPay\": \"0.00\",\n    \"tourCreditWaitPayPercent\": 0,\n    \"tourActStatus\": 3,\n    \"creditWaitPay\": \"0.00\",\n    \"tourTotalDebt\": \"0.00\",\n    \"tourCreditWaitPay\": 0.00,\n    \"jtCreditWaitPaySeven\": \"0.00\",\n    \"delinquencyBalance\": \"0.00\",\n    \"jtCreditWaitPayPercent\": 0,\n    \"jtDelinquencyBalance\": \"0.00\",\n    \"tourDelinquencyBalance\": 0.00,\n    \"jtActStatus\": 2,\n    \"tourAvailableLimit\": 1050.00\n}\n```\n\n</details>\n\n<details>\n<summary>finance_income.json 👉 你的收入信息</summary>\n\n```json\n{\n    \"data\": {\n        \"incomeYes\": 0,\n        \"incomeTotal\": 0.00,\n        \"holdAmount\": null,\n        \"incomeToday\": null\n    }\n}\n```\n\n</details>\n\n<details>\n<summary>follow_products.json 👉 你关注的商品信息</summary>\n\n```json\n[\n    {\n        \"name\": \"Redmi 10X 5G ******\", \n        \"url\": \"******\", \n        \"price\": \"1599.00\", \n        \"status\": \"100%\"\n    },\n    ...\n] \n```\n\n</details>\n\n<details>\n<summary>follow_shops.json 👉 你关注的店铺信息</summary>\n\n```json\n[\n    {\n        \"name\": \"**********\",\n        \"url\": \"//honor.jd.com\"\n    },\n    ...\n]\n```\n\n</details>\n\n<details>\n<summary>income.json 👉 你每天的收入信息</summary>\n\n```json\n{\n    \"maxIncome\": 10,\n    \"incomeData\": [\n        {\n            \"date\": \"2020-05-10\",\n            \"income\": 0\n        },\n        {\n            \"date\": \"2020-05-11\",\n            \"income\": 0\n        },\n        ...\n    ]\n}\n```\n\n</details>\n\n<details>\n<summary>jd_orders_2018.json 👉 你2018年的所有订单信息</summary>\n\n```json\n[\n    {\n        \"mainProductId\": 0,\n        \"wareType\": 0,\n        \"jiFen\": 0,\n        \"stock\": 5,\n        \"cardKey\": null,\n        \"discountPrice\": 0,\n        \"stockName\": null,\n        \"singleShouldPrice\": null,\n        \"jingDouNum\": 0,\n        \"cid\": 0,\n        \"price\": null,\n        \"imgPath\": \"//img10.360buyimg.com/N6/s60x60_jfs/t1/59734/28/571/259980/5ced2888E43337972/5c882bf17abbcd2b.jpg\",\n        \"productId\": 1914332,\n        \"num\": 0,\n        \"wareUrl\": \"//item.jd.com/1914332.html\",\n        \"categoryString\": \"670;686;689\",\n        \"secondHandNameAndUrl\": \"\\u5356\\u4e86\\u6362\\u94b1,//huishou.paipai.com\",\n        \"snCode\": null,\n        \"yb\": false,\n        \"isShowHuiShouJiuJiLink\": 0,\n        \"showSellForMoneyLink\": 1,\n        \"cxlFlag\": 0,\n        \"dynamicIcon\": 0,\n        \"giftWare\": false,\n        \"color\": null,\n        \"name\": \"\\u7f57\\u6280\\uff08Logitech\\uff09K380 \\u952e\\u76d8 \\u65e0\\u7ebf\\u84dd\\u7259\\u952e\\u76d8 \\u529e\\u516c\\u952e\\u76d8 \\u5973\\u6027 \\u4fbf\\u643a \\u8d85\\u8584\\u952e\\u76d8 \\u7b14\\u8bb0\\u672c\\u952e\\u76d8 \\u6df1\\u7070\\u8272\",\n        \"state\": 1,\n        \"goods-number\": \"\",\n        \"consignee tooltip\": \"\",\n        \"amount\": \"\",\n        \"order-shop\": \"\"\n    },\n    ...\n]\n```\n\n</details>\n\n<details>\n<summary>jiaoyi_bill.json 👉 你的发票信息</summary>\n\n```json\n{\n    \"resultList\": {\n        \"list\": [],\n        \"totalPage\": 3,\n        \"count\": 3\n    },\n    \"account_merged\": 2,\n    \"pageView\": {\n        \"list\": [],\n        \"totalPage\": 0,\n        \"count\": 0\n    },\n    \"pin\": \"jd_404e59e6f8dd8\",\n    \"resultCount\": 3\n}\n```\n\n</details>\n\n<details>\n<summary>user_info.json 👉 你的个人基本信息</summary>\n\n```json\n[\n    {\n        \"isAuthenticated\": 1,\n        \"userNickName\": \"ddddddr\",\n        \"userRank\": \"Diamonds\",\n        \"isEmploy\": 0,\n        \"isStudent\": 1,\n        \"flagInfo\": \"10000000000003303000000000010500100100002000006300001000000080000000000000000000000000000000000000\",\n        \"headImg\": \"http://storage.360buyimg.com/i.imageUpload/6a645f3430346535396536dd1363831353232323232343432393732_mid.jpg\",\n        \"jdScore\": \"1114\",\n        \"plusStage\": \"TRYEXPIRE\"\n    }\n]\n```\n\n</details>\n\n<details>\n<summary>wallet.json 👉 你的钱包信息</summary>\n\n```json\n{\n    \"data\": {\n        \"walletMoney\": 1.00,\n        \"freezeMoney\": 0.00,\n        \"walletMoneyAvailable\": 1.00,\n        \"balance\": 0,\n        \"balanceFreeze\": 0,\n        \"balanceAvailable\": 0,\n        \"currIncome\": 0.00,\n        \"totalIncome\": 0.00,\n        \"borrow\": 0,\n        \"investAmount\": null,\n        \"totalMoney\": 1.00,\n        \"rate\": 0.00,\n        \"currency\": null,\n        \"fundIncome\": 0.00,\n        \"finance\": 0.00,\n        \"fund\": 0.00,\n        \"billoanKeep\": 0,\n        \"insuranceKeep\": 0,\n        \"bankKeep\": 0,\n        \"fundsKeep\": 0,\n        \"incomeSumYesterday\": 0.00,\n        \"incomeTotal\": 0.00,\n        \"incomeFinanceYesterday\": 0,\n        \"incomeFinanceSum\": 0.00,\n        \"p2pAmount\": 0,\n        \"trustAmount\": 0,\n        \"firmFinance\": 0,\n        \"secondaryAmount\": 0,\n        \"lastestIncomeFlag\": \"0\",\n        \"lecaiAmount\": null,\n        \"stockAmount\": 0,\n        \"jgtAmount\": 0,\n        \"cmaAmount\": 0,\n        \"pensionAmount\": null,\n        \"gdScrtKeep\": 0,\n        \"ztAmount\": 0,\n        \"mmlc\": 0,\n        \"balancePercent\": 0,\n        \"fundPercent\": 0,\n        \"walletMoneyAvailablePercent\": 100\n    },\n    \"enableProof\": \"enable\",\n    \"pick\": \"****\"\n}\n```\n\n</details>\n\n****\n## 淘宝\n\n!> **说明**：需登录账号 (建议扫码登录).\n\n### 使用步骤\n\n1. 点击**淘宝**数据源按钮\n\n    ![taobao1.png](https://i.loli.net/2020/07/18/SMdrfhpwxj8D6ve.png ':size=10%')\n\n2. 在弹出的浏览器中登录淘宝(建议扫码登录)\n\n    ![taobao2.png](https://i.loli.net/2020/07/17/WqwRzJHct8b4ojB.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![taobao3.png](https://i.loli.net/2020/07/17/MWSk6TBEqHxL4no.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![taobao4.png](https://i.loli.net/2020/07/17/V5OetacmDBzZY4X.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>addr.json 👉 你的淘宝地址信息</summary>\n\n```json\n[\n    {\n        \"name\": [\n            \"**********\"\n        ],\n        \"area\": [\n            \"*************************\"\n        ],\n        \"detail_area\": [\n            \"*************************\"\n        ],\n        \"youbian\": [\n            \"*****\"\n        ],\n        \"mobile\": [\n            \"13**********\"\n        ]\n    },\n    ...\n]\n```\n\n</details>\n\n<details>\n<summary>addr.json 👉 你的淘宝收藏商品信息</summary>\n\n```json\n[\n    {\n        \"title\": \"4G\\u5168\\u7f51\\u901aNokia/\\u8bfa\\u57fa\\u4e9a\\u65b0106\\u8001\\u4eba\\u673a\\u79fb\\u52a8\\u7535\\u4fe1\\u7248\\u8d85\\u957f\\u5f85\\u673a\\u5b66\\u751f\\u6309\\u952e\\u529f\\u80fd\\u5927\\u5b57\\u5927\\u58f0\\u8001\\u5e74\\u513f\\u7ae5\\u7ecf\\u5178\\u5c0f\\u624b\\u673a\\u5b98\\u65b9\\u65d7\\u8230\\u5e97220\",\n        \"url\": \"//item.taobao.com/item.htm?id=585241267088&_u=t2dmg8j26111\",\n        \"price\": \"\\u00a5119.00\\u00a5199.00\"\n    },\n    ...\n]\n```\n\n</details>\n\n<details>\n<summary>addr.json 👉 你的淘宝浏览足迹信息</summary>\n\n```json\n[\n    {\n        \"date\": \"2020-07-16\",\n        \"url\": \"//item.taobao.com/item.htm?scm=1007.13982.82927.0&id=591107748490&last_time=1594896161\",\n        \"name\": \"\\u5c0f\\u7c73Qin1s\\u591a\\u4eb2ai\\u624b\\u673a\\u79fb\\u52a8\\u8054\\u901a4G\\u7535\\u4fe1\\u8001\\u4eba\\u667a\\u80fd\\u5c0f\\u7231\\u540c\\u5b66\\u751f\\u6309\\u952e\\u624b\\u673a\",\n        \"price\": \"\\u00a5299\\u00a5299.0\"\n    },\n    ...\n]\n```\n\n</details>\n\n<details>\n<summary>addr.json 👉 你的淘宝订单信息</summary>\n\n```json\n[\n    \"2020-07-15\\u8ba2\\u5355\\u53f7:608693548110926703\",\n    \"\\u521b\\u4e8e\\u4f73\\u8baf\\u6570\\u7801\\u4e13\\u8425\\u5e97\",\n    \"\\u30104G\\u5168\\u7f51\\u901a\\u3011\\u7ebd\\u66fc M560\\u6b63\\u54c1\\u8001\\u4eba\\u673a\\u8d85\\u957f\\u5f85\\u673a\\u76f4\\u677f\\u8001\\u5e74\\u624b\\u673a\\u5927\\u5c4f\\u5927\\u5b57\\u5927\\u58f0\\u97f3\\u79fb\\u52a8\\u8054\\u901a\\u7535\\u4fe1\\u7248\\u5973\\u5c0f\\u5b66\\u751f\\u6309\\u952e\\u667a\\u80fd\\u624b\\u673a[\\u4ea4\\u6613\\u5feb\\u7167]\\u673a\\u8eab\\u989c\\u8272\\uff1a\\u7ea2\\u8272\\u5957\\u9910\\u7c7b\\u578b\\uff1a\\u5b98\\u65b9\\u6807\\u914d\\u5b58\\u50a8\\u5bb9\\u91cf\\uff1a256MB\\u7248\\u672c\\u7c7b\\u578b\\uff1a\\u3010\\u9876\\u914d\\u7248\\u3011\\u79fb\\u52a8/\\u8054\\u901a2.8\\u82f1\\u5bf8\\u5c4f \\uffe5528.00\\uffe595.00 1 \\u589e\\u503c\\u670d\\u52a1\\uff1a\\u5168\\u56fd\\u8054\\u4fdd \\uffe50.00 1\",\n    \"\\uffe5528.00\\uffe595.00 \\uffe592.00 \\uffe50.00\"\n]\n```\n\n</details>\n\n****\n## 支付宝\n\n!> **说明**：需登录账号 (建议扫码登录).\n\n### 使用步骤\n\n1. 点击**支付宝**数据源按钮\n\n    ![alipay1.png](https://i.loli.net/2020/07/18/doz6OvTKMGfe7Y5.png ':size=10%')\n\n2. 在弹出的浏览器中登录支付宝(建议扫码登录)\n\n    ![alipay2.png](https://i.loli.net/2020/07/17/HFKneX9aCkhNA73.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![alipay3.png](https://i.loli.net/2020/07/17/35r6YdxT9F8st1j.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![alipay4.png](https://i.loli.net/2020/07/17/QHu8z2jeo4lhbVx.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>addr.json 👉 你的支付宝个人信息</summary>\n\n```json\n{\n    \"name\": \"**********\",\n    \"email\": \"**********\",\n    \"mobile\": \"**********\",,\n    \"tb_name\": \"**********\",,\n    \"register_time\": \"2015**********\",\n}\n```\n\n</details>\n\n<details>\n<summary>addr.json 👉 你的支付宝余额信息</summary>\n\n```json\n{\n    \"YuE\": \"0.00\"\n}\n```\n\n</details>\n\n<details>\n<summary>addr.json 👉 你的支付宝账单信息</summary>\n\n```json\n[\n    {\n        \"number\": \"202007***0149183*****\",\n        \"time\": \"2020-07-10 12:25:25\",\n        \"info\": \"*****5063938600101\",\n        \"income\": \"\",\n        \"outcome\": \"- 16150.00\",\n        \"balance\": \"0.00\",\n        \"from\": \"******\",\n        \"detail\": \"*******\"\n    },\n    ...\n]\n```\n\n</details>\n\n<details>\n<summary>addr.json 👉 你的余额宝信息</summary>\n\n```json\n{\n    \"eye-val\": \"290.91\",\n    \"total_val\": \"291.93\",\n    \"Unavailable_val\": \"1.02\"\n}\n```\n\n</details>\n\n****\n## 中国移动\n\n!> **说明**：需登录账号 (建议扫码登录).\n\n### 使用步骤\n\n1. 点击**中国移动**数据源按钮\n\n    ![UcZf4P.png](https://s1.ax1x.com/2020/07/18/UcZf4P.png ':size=10%')\n\n2. 在弹出的浏览器中登录中国移动\n\n    ![yidong2.png](https://i.loli.net/2020/07/17/L6WEU98sNiDGufB.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![yidong3.png](https://i.loli.net/2020/07/17/xGv7O5saFdEuorp.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![yidong4.png](https://i.loli.net/2020/07/17/Y6tjDRCHNcT4IEp.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>yidong_bill.json 👉 你的中国移动账单信息</summary>\n\n```json\n{\n    \"202007\": [],\n    \"202006\": [\n        {\n            \"remark\": null,\n            \"itemName\": \"38\\u51434G\\u98de\\u4eab\\u5957\\u9910\\u9752\\u6625\\u7248\",\n            \"itemValue\": \"38.00\"\n        },\n        {\n            \"remark\": null,\n            \"itemName\": \"\\u624b\\u673a\\u5bbd\\u5e2690\\u5143\\u6708\\u79df\\u5957\\u9910\\uff08\\u7701\\u7edf\\uff09\",\n            \"itemValue\": \"0.00\"\n        },\n        {\n            \"remark\": null,\n            \"itemName\": \"50M\\u53ca\\u4ee5\\u4e0b\\u5bbd\\u5e26\\u8425\\u9500\\u4f18\\u60e0\",\n            \"itemValue\": \"10.00\"\n        }\n    ],\n    \"202005\": [\n        {\n            \"remark\": null,\n            \"itemName\": \"38\\u51434G\\u98de\\u4eab\\u5957\\u9910\\u9752\\u6625\\u7248\",\n            \"itemValue\": \"38.00\"\n        },\n        {\n            \"remark\": null,\n            \"itemName\": \"\\u624b\\u673a\\u5bbd\\u5e2690\\u5143\\u6708\\u79df\\u5957\\u9910\\uff08\\u7701\\u7edf\\uff09\",\n            \"itemValue\": \"0.00\"\n        },\n        {\n            \"remark\": null,\n            \"itemName\": \"50M\\u53ca\\u4ee5\\u4e0b\\u5bbd\\u5e26\\u8425\\u9500\\u4f18\\u60e0\",\n            \"itemValue\": \"10.00\"\n        }\n    ],\n    ...\n}\n```\n\n</details>\n\n****\n## 中国联通\n\n!> **说明**：需登录账号 (建议扫码登录).\n\n### 使用步骤\n\n1. 点击**中国联通**数据源按钮\n\n    ![UcZRAI.png](https://s1.ax1x.com/2020/07/18/UcZRAI.png ':size=10%')\n\n2. 在弹出的浏览器中登录中国联通(建议扫码登录)\n\n    ![liantong2.png](https://i.loli.net/2020/07/16/tC3PmvbO2B6qziG.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![liantong3.png](https://i.loli.net/2020/07/16/2xpeS6LFKHGoOij.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![liantong4.png](https://i.loli.net/2020/07/16/vilt7rjfPuOLd6n.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>10010_user_info.json 👉 你的中国联通号码个人信息</summary>\n\n```json\n{\n    \"userInfo\": {\n        \"province\": \"051\",\n        \"custlvl\": \"二星用户\",\n        \"loginType\": \"01\",\n        \"currentId\": \"13*********\",\n        \"is_vip\": null,\n        \"mobile\": \"13*********\",\n        \"packageName\": \"沃派流量王\",\n        \"vip_level\": null,\n        \"openDate\": \"2015091923344\",\n        \"userNettype\": \"4G\"\n    },\n    \"userinfo\": {\n        \"currentID\": \"13*********\",\n        \"nettype\": \"11\",\n        \"paytype\": \"2\",\n        \"provincecode\": \"051\",\n        \"usernumber\": \"13*********\",\n        \"citycode\": \"510\",\n        \"loginType\": \"01\",\n        \"customid\": \"30150925335984\",\n        \"certtype\": \"11\",\n        \"packageName\": \"沃派流量王\",\n        \"expireTime\": \"15943333237\",\n        \"areaCode\": \"\",\n        \"custlvl\": \"二星用户\",\n        \"certnum\": \"4408****102294\",\n        \"opendate\": \"2015033314444\",\n        \"productId\": \"13*********\",\n        \"packageID\": \"90473386\",\n        \"custName\": \"***\",\n        \"certaddr\": \"广东**********\",\n        \"brand\": \"4G00\",\n        \"productType\": \"01\",\n        \"subscrbstat\": \"开通\",\n        \"is_wo\": \"2\",\n        \"nickName\": \"13*****\",\n        \"laststatdate\": \"\",\n        \"brand_name\": \"沃4G后付费\",\n        \"is_20\": false,\n        \"is_36\": false,\n        \"verifyState\": \"\",\n        \"encryptCert\": \"ZiYUb9xdQaaaaSSPcGtOwwzjJadt5dPA5DgL8p8eNyFBq/CcWoJ/wY9XWmqysBS6BO0i6BHnN4RtoQAZcX+9+G8OYsgp8TCUtnmhMOyzA7VvCq20lmy0RKGUCDT7cRHlX2ewe4REPNmy1ETu2Vyxw/BQZqpeg2oP4u8cIzPk=\",\n        \"loginCustid\": \"30150a465984\",\n        \"lastLoginTime\": \"2020-07-16 01:42:37\",\n        \"defaultFlag\": \"00\",\n        \"isINUser\": \"0000\",\n        \"mapExtraParam_rls\": \"16\",\n        \"custsex\": \"1\",\n        \"natureQueryNumberInfo\": {\n            \"rsp_code\": \"7057\",\n            \"rsp_desc\": \"用户未登录\"\n        },\n        \"status\": \"开通\"\n    }\n}\n```\n\n</details>\n\n<details>\n<summary>10010_bill_info.json 👉 你的中国联通号码账单信息</summary>\n\n```json\n{\n    \"errormessage\": null,\n    \"emptLineMap\": {\n        \"col2\": [\n            0,\n            0\n        ],\n        \"col0\": [],\n        \"col1\": [\n            0,\n            0\n        ]\n    },\n    \"userInfo\": {\n        \"usernumber\": \"13*********\",\n        \"currentID\": \"13*********\",\n        \"nettype\": \"11\",\n        \"paytype\": \"2\",\n        \"provincecode\": \"051\",\n        \"citycode\": \"510\",\n        \"loginType\": \"01\",\n        \"customid\": \"3015092568411984\",\n        \"packageName\": \"沃派流量王\",\n        \"subscrbstat\": \"开通\",\n        \"certtype\": \"11\",\n        \"expireTime\": \"1594842811237\",\n        \"areaCode\": \"\",\n        \"custlvl\": \"二星用户\",\n        \"certnum\": \"44*********\",\n        \"opendate\": \"201*****4\",\n        \"productId\": \"13*********\",\n        \"packageID\": \"904***6\",\n        \"custName\": \"***\",\n        \"certaddr\": \"广东**********\",\n        \"brand\": \"4G00\",\n        \"productType\": \"01\",\n        \"is_wo\": \"2\",\n        \"nickName\": \"132********\",\n        \"laststatdate\": \"\",\n        \"brand_name\": \"沃4G后付费\",\n        \"is_20\": false,\n        \"is_36\": false,\n        \"encryptCert\": \"ZiYUb9xdQ9azZPQ3aaGtOwwzjJadt5dPA5DgL8p8eNyFBq/CcWoJ/wY9XWmqysBS6BO0i6BHnN4RtoQAZcX+9+G8OYsgp8TCUtnmhMOyzA7VvCq20lmy0RKGUCDT7cRHlX2ewe4REPNmy1ETu2Vyxw/BQZqpeg2oP4u8cIzPk=\",\n        \"natureQueryNumberInfo\": {\n            \"rsp_code\": \"7057\",\n            \"rsp_desc\": \"用户未登录\"\n        },\n        \"verifyState\": \"\",\n        \"loginCustid\": \"3015092522265984\",\n        \"lastLoginTime\": \"2020-07-16 01:42:37\",\n        \"defaultFlag\": \"00\",\n        \"isINUser\": \"0000\",\n        \"mapExtraParam_rls\": \"16\",\n        \"custsex\": \"1\",\n        \"status\": \"开通\"\n    },\n    \"separateShow\": true,\n    \"totalMonthData\": [\n        {\n            \"fee\": \"47.10\",\n            \"cycleid\": \"201907\"\n        },\n        {\n            \"fee\": \"39.00\",\n            \"cycleid\": \"201908\"\n        },\n        {\n            \"fee\": \"43.00\",\n            \"cycleid\": \"201909\"\n        },\n        {\n            \"fee\": \"54.60\",\n            \"cycleid\": \"201910\"\n        },\n        {\n            \"fee\": \"50.65\",\n            \"cycleid\": \"201911\"\n        },\n        {\n            \"fee\": \"40.95\",\n            \"cycleid\": \"201912\"\n        },\n        {\n            \"fee\": \"46.80\",\n            \"cycleid\": \"202001\"\n        },\n        {\n            \"fee\": \"43.65\",\n            \"cycleid\": \"202002\"\n        },\n        {\n            \"fee\": \"45.65\",\n            \"cycleid\": \"202003\"\n        },\n        {\n            \"fee\": \"39.00\",\n            \"cycleid\": \"202004\"\n        },\n        {\n            \"fee\": \"39.00\",\n            \"cycleid\": \"202005\"\n        },\n        {\n            \"fee\": \"39.00\",\n            \"cycleid\": \"202006\"\n        }\n    ],\n    \"billList\": [\n        {\n            \"leve\": \"\",\n            \"lineSize\": 2,\n            \"amount\": \"39.00\",\n            \"discnt\": \"\",\n            \"integrateItemCode\": \"1001\",\n            \"allLineCount\": 2,\n            \"usedCount\": \"--\",\n            \"lines\": [\n                {\n                    \"leve\": \"-\",\n                    \"lineSize\": 1,\n                    \"amount\": \"39.00\",\n                    \"discnt\": \"\",\n                    \"integrateItemCode\": \"21229\",\n                    \"allLineCount\": 1,\n                    \"usedCount\": \"--\",\n                    \"lines\": [],\n                    \"childCount\": 0,\n                    \"name\": \"基本套餐费\"\n                }\n            ],\n            \"childCount\": 1,\n            \"name\": \"月固定费\"\n        }\n    ],\n    \"datList\": [\n        {\n            \"dat\": \"202006\",\n            \"datfmt\": \"2020年06月\",\n            \"cls\": \"on\"\n        },\n        {\n            \"dat\": \"202005\",\n            \"datfmt\": \"2020年05月\"\n        },\n        {\n            \"dat\": \"202004\",\n            \"datfmt\": \"2020年04月\"\n        },\n        {\n            \"dat\": \"202003\",\n            \"datfmt\": \"2020年03月\"\n        },\n        {\n            \"dat\": \"202002\",\n            \"datfmt\": \"2020年02月\"\n        },\n        {\n            \"dat\": \"202001\",\n            \"datfmt\": \"2020年01月\"\n        },\n        {\n            \"dat\": \"201912\",\n            \"datfmt\": \"2019年12月\"\n        },\n        {\n            \"dat\": \"201911\",\n            \"datfmt\": \"2019年11月\"\n        },\n        {\n            \"dat\": \"201910\",\n            \"datfmt\": \"2019年10月\"\n        },\n        {\n            \"dat\": \"201909\",\n            \"datfmt\": \"2019年09月\"\n        },\n        {\n            \"dat\": \"201908\",\n            \"datfmt\": \"2019年08月\"\n        },\n        {\n            \"dat\": \"201907\",\n            \"datfmt\": \"2019年07月\"\n        }\n    ],\n    \"isDiscount\": \"\",\n    \"result\": {\n        \"cycleId\": \"202006\",\n        \"balance\": \"0.00\",\n        \"areaCode\": \"0020\",\n        \"scoreInfo\": [\n            {\n                \"rsRvScoreAdjust\": \"0\",\n                \"rsRvScore3\": \"0\",\n                \"rsRvScore2\": \"0\",\n                \"rsRvScore1\": \"0\",\n                \"scoreUseValue\": \"0\",\n                \"scoreIdleValue\": \"0\"\n            }\n        ],\n        \"userId\": \"511906225022244\",\n        \"billInfo\": [\n            {\n                \"fee\": \"39.00\",\n                \"balance\": \"\",\n                \"discnt\": \"\",\n                \"parentItemCode\": \"-1\",\n                \"integrateItemCode\": \"1001\",\n                \"integrateItem\": \"月固定费\",\n                \"usedValue\": \"\",\n                \"adjustAfter\": \"\",\n                \"adjustBefore\": \"\"\n            },\n            {\n                \"fee\": \"39.00\",\n                \"balance\": \"\",\n                \"discnt\": \"\",\n                \"parentItemCode\": \"1001\",\n                \"integrateItemCode\": \"21229\",\n                \"integrateItem\": \"基本套餐费\",\n                \"usedValue\": \"\",\n                \"adjustAfter\": \"\",\n                \"adjustBefore\": \"\"\n            },\n            {\n                \"fee\": \"0.00\",\n                \"balance\": \"\",\n                \"discnt\": \"\",\n                \"parentItemCode\": \"-1\",\n                \"integrateItemCode\": \"1002\",\n                \"integrateItem\": \"增值业务费\",\n                \"usedValue\": \"\",\n                \"adjustAfter\": \"\",\n                \"adjustBefore\": \"\"\n            },\n            {\n                \"fee\": \"0.00\",\n                \"balance\": \"\",\n                \"discnt\": \"\",\n                \"parentItemCode\": \"1002\",\n                \"integrateItemCode\": \"436789\",\n                \"integrateItem\": \"增值业务-绿色邮箱\",\n                \"usedValue\": \"\",\n                \"adjustAfter\": \"\",\n                \"adjustBefore\": \"\"\n            }\n        ],\n        \"allFee\": \"39.00\",\n        \"acctClass\": [\n            {\n                \"fee\": \"47.10\",\n                \"cycleid\": \"201907\"\n            },\n            {\n                \"fee\": \"39.00\",\n                \"cycleid\": \"201908\"\n            },\n            {\n                \"fee\": \"43.00\",\n                \"cycleid\": \"201909\"\n            },\n            {\n                \"fee\": \"54.60\",\n                \"cycleid\": \"201910\"\n            },\n            {\n                \"fee\": \"50.65\",\n                \"cycleid\": \"201911\"\n            },\n            {\n                \"fee\": \"40.95\",\n                \"cycleid\": \"201912\"\n            },\n            {\n                \"fee\": \"46.80\",\n                \"cycleid\": \"202001\"\n            },\n            {\n                \"fee\": \"43.65\",\n                \"cycleid\": \"202002\"\n            },\n            {\n                \"fee\": \"45.65\",\n                \"cycleid\": \"202003\"\n            },\n            {\n                \"fee\": \"39.00\",\n                \"cycleid\": \"202004\"\n            },\n            {\n                \"fee\": \"39.00\",\n                \"cycleid\": \"202005\"\n            },\n            {\n                \"fee\": \"39.00\",\n                \"cycleid\": \"202006\"\n            }\n        ],\n        \"writeOffFee\": \"39.00\",\n        \"recvFeeUsed\": \"19.00\",\n        \"presentFeeUsed\": \"20.00\",\n        \"derateFee\": \"0.00\",\n        \"resultMemo\": \"备注信息\",\n        \"adjustFee\": \"0.00\",\n        \"backFee\": \"0.00\",\n        \"actionFeeUsed\": \"0.00\",\n        \"serialNumber\": \"13*********\",\n        \"success\": true,\n        \"respDesc\": \"成功\",\n        \"busiOrder\": \"BUSI042007160156330229073405\",\n        \"respCode\": \"0000\"\n    },\n    \"score\": {\n        \"usableScore\": 0,\n        \"curAddScore\": 0,\n        \"usedScore\": 0\n    },\n    \"success\": true,\n    \"curDate\": \"202006\",\n    \"queryTime\": \"查询时间：2020年07月16日 02:00:26\",\n    \"isForTotal\": \"\",\n    \"LoginType\": \"01\",\n    \"groupInfo\": null\n}\n```\n\n</details>\n\n***\n## 知乎\n\n!> **说明**：无需登录账号, 输入知乎用户名(必须英文名)即可 (如 kangvcar ) .\n\n### 使用步骤\n1. 点击**知乎**数据源按钮\n\n    ![UcZojg.png](https://s1.ax1x.com/2020/07/18/UcZojg.png ':size=10%')\n\n2. 输入知乎用户名(必须英文名)\n\n    ![zhihu2.png](https://i.loli.net/2020/07/14/5trqol6pZJ1AdW2.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![zhihu3.png](https://i.loli.net/2020/07/14/x47lFsEM9p6hnZr.png ':size=50%')\n\n?> 👍 数据源的爬取可能会生成多个文件, 所以建议新建一个文件夹来保存数据.\n\n4. 查看爬取的数据 (json格式)\n\n    ![zhihu4.png](https://i.loli.net/2020/07/14/kQqxlW42riYpX3F.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>user_profile.json 👉 你的个人基本信息</summary>\n\n```json\n{\n    \"id\": \"f75519c320c28eb190fe35dede8fe37e\",\n    \"url_token\": \"gao-nan-bao\",\n    \"name\": \"���ѱ�\",\n    \"use_default_avatar\": false,\n    \"avatar_url\": \"https://pic4.zhimg.com/v2-6bb2bb11b7fb1c4883f36731f42f7537_l.jpg\",\n    \"avatar_url_template\": \"https://pic2.zhimg.com/v2-6bb2bb11b7fb1c4883f36731f42f7537.jpg\",\n    \"is_org\": false,\n    \"type\": \"people\",\n    \"url\": \"https://www.zhihu.com/api/v4/people/gao-nan-bao\",\n    \"user_type\": \"people\",\n    \"headline\": \"���ڴ�ҵ�ߣ����ںţ����ѱ�\",\n    \"gender\": 1,\n    \"is_advertiser\": false,\n    \"vip_info\": {\n        \"is_vip\": true,\n        \"rename_days\": \"60\",\n        \"widget\": {\n            \"url\": \"https://pic4.zhimg.com/v2-a9b03166fb595ff0ced2e8fa668d3267_r.png\",\n            \"night_mode_url\": \"https://pic1.zhimg.com/v2-d2ac78ddc5a342b8dbf964843e9dcb5e_r.png\"\n        },\n        \"vip_icon\": {\n            \"url\": \"https://pic2.zhimg.com/v2-4812630bc27d642f7cafcd6cdeca3d7a_r.png\",\n            \"night_mode_url\": \"https://pic3.zhimg.com/v2-c9686ff064ea3579730756ac6c289978_r.png\"\n        }\n    },\n    \"is_realname\": true\n}\n```\n\n</details>\n\n<details>\n<summary>user_followers.json 👉 你的粉丝信息</summary>\n\n```json\n{\n    \"paging\": {\n        \"is_end\": false,\n        \"is_start\": true,\n        \"next\": \"https://www.zhihu.com/api/v4/members/gao-nan-bao/followers?limit=10\\u0026offset=10\",\n        \"previous\": \"https://www.zhihu.com/api/v4/members/gao-nan-bao/followers?limit=10\\u0026offset=0\",\n        \"totals\": 37680\n    },\n    \"data\": [\n        {\n            \"id\": \"a4f0588f511a8db606ad03e65d917b4b\",\n            \"url_token\": \"liu-yong-qing-39\",\n            \"name\": \"��ӽ��\",\n            \"use_default_avatar\": true,\n            \"avatar_url\": \"https://pic4.zhimg.com/da8e974dc_l.jpg\",\n            \"avatar_url_template\": \"https://pic2.zhimg.com/da8e974dc.jpg\",\n            \"is_org\": false,\n            \"type\": \"people\",\n            \"url\": \"https://www.zhihu.com/api/v4/people/liu-yong-qing-39\",\n            \"user_type\": \"people\",\n            \"headline\": \"����\",\n            \"gender\": -1,\n            \"is_advertiser\": false,\n            \"vip_info\": {\n                \"is_vip\": false,\n                \"rename_days\": \"60\"\n            },\n            \"is_realname\": true\n        },\n        {\n            \"id\": \"aab834629480a04b19729afb8ff47f0b\",\n            \"url_token\": \"piao-yang-guo-hai-lai-kan-ta\",\n            \"name\": \"����˼����\",\n            \"use_default_avatar\": false,\n            \"avatar_url\": \"https://pic1.zhimg.com/v2-f5c750836f02843b825094c12bcc0758_l.jpg\",\n            \"avatar_url_template\": \"https://pic3.zhimg.com/v2-f5c750836f02843b825094c12bcc0758.jpg\",\n            \"is_org\": false,\n            \"type\": \"people\",\n            \"url\": \"https://www.zhihu.com/api/v4/people/piao-yang-guo-hai-lai-kan-ta\",\n            \"user_type\": \"people\",\n            \"headline\": \"��ѩ��裬�������ģ���ҵƻ������ҡ�\",\n            \"gender\": 1,\n            \"is_advertiser\": false,\n            \"vip_info\": {\n                \"is_vip\": false,\n                \"rename_days\": \"60\"\n            },\n            \"is_realname\": true\n        },\n        ...\n    ]\n}\n```\n\n</details>\n\n<details>\n<summary>user_followees.json 👉 你关注的人</summary>\n\n```json\n{\n    \"paging\": {\n        \"is_end\": false,\n        \"is_start\": true,\n        \"next\": \"https://www.zhihu.com/api/v4/members/gao-nan-bao/followees?limit=10\\u0026offset=10\",\n        \"previous\": \"https://www.zhihu.com/api/v4/members/gao-nan-bao/followees?limit=10\\u0026offset=0\",\n        \"totals\": 87\n    },\n    \"data\": [\n        {\n            \"id\": \"712586f396682c148a2e340d612154d0\",\n            \"url_token\": \"xing-ya-ke-ji\",\n            \"name\": \"���ĿƼ�\",\n            \"use_default_avatar\": false,\n            \"avatar_url\": \"https://pic4.zhimg.com/v2-f8fd2769c70da0f1f9063a5c1be1b3b3_l.jpg\",\n            \"avatar_url_template\": \"https://pic2.zhimg.com/v2-f8fd2769c70da0f1f9063a5c1be1b3b3.jpg\",\n            \"is_org\": true,\n            \"type\": \"people\",\n            \"url\": \"https://www.zhihu.com/api/v4/people/xing-ya-ke-ji\",\n            \"user_type\": \"organization\",\n            \"headline\": \"���ĿƼ�--�ƶ���������׼Ӫ��רҵ�����̣�΢�ţ�pbi365\",\n            \"gender\": -1,\n            \"is_advertiser\": false,\n            \"vip_info\": {\n                \"is_vip\": false,\n                \"rename_days\": \"60\"\n            },\n            \"is_realname\": true\n        },\n        {\n            \"id\": \"aa7710b9edf3f4eacb4ceb9c97423468\",\n            \"url_token\": \"xiao-rui-xuan-1998\",\n            \"name\": \"��Rosheen\",\n            \"use_default_avatar\": false,\n            \"avatar_url\": \"https://pic1.zhimg.com/v2-31f9d878d451ab3d3cac9668980ace2c_l.jpg\",\n            \"avatar_url_template\": \"https://pic3.zhimg.com/v2-31f9d878d451ab3d3cac9668980ace2c.jpg\",\n            \"is_org\": false,\n            \"type\": \"people\",\n            \"url\": \"https://www.zhihu.com/api/v4/people/xiao-rui-xuan-1998\",\n            \"user_type\": \"people\",\n            \"headline\": \"�����������ٴ��� Ω�۲��˰ѵ��̡�\",\n            \"gender\": -1,\n            \"is_advertiser\": false,\n            \"vip_info\": {\n                \"is_vip\": false,\n                \"rename_days\": \"60\"\n            },\n            \"is_realname\": true\n        },\n        ...\n    ]\n}\n```\n\n</details>\n\n<details>\n<summary>user_articles.json 👉 你发布的文章信息</summary>\n\n```json\n{\n    \"paging\": {\n        \"is_end\": false,\n        \"totals\": 54,\n        \"previous\": \"http://www.zhihu.com/api/v4/members/gao-nan-bao/articles?limit=10&offset=0\",\n        \"is_start\": true,\n        \"next\": \"http://www.zhihu.com/api/v4/members/gao-nan-bao/articles?limit=10&offset=10\"\n    },\n    \"data\": [\n        {\n            \"updated\": 1594140929,\n            \"copyright_permission\": \"need_review\",\n            \"excerpt\": \"\\u4e0d\\u77e5\\u9053\\u4ec0\\u4e48\\u65f6\\u5019\\u8c03\\u6574\\u3001\\u4e0d\\u77e5\\u9053\\u8c03\\u6574\\u5e45\\u5ea6\\uff0c\\u4e0d\\u77e5\\u9053\\u4f1a\\u6da8\\u591a\\u9ad8\\uff0c\\u4e0d\\u77e5\\u9053\\u4f1a\\u6da8\\u591a\\u4e45\\u3002\\u4f46\\u770b\\u4e86\\u8fd9\\u4e48\\u591a\\u5e74\\u800d\\u628a\\u620f\\uff0c\\u77e5\\u9053\\u5927\\u6982\\u7684\\u800d\\u6cd5\\uff1a\\u4e00\\u3001\\u4efb\\u4f55\\u4e00\\u8f6e\\u884c\\u60c5\\uff0c\\u5728\\u8d77\\u6b65\\u9636\\u6bb5\\uff0c\\u5148\\u662f\\u4e00\\u6e9c\\u5c0f\\u788e\\u6b65\\uff0c\\u5c31\\u50cf\\u52a9\\u8dd1\\u4f3c\\u7684\\uff1b\\u7136\\u540e\\uff0c\\u4ee5\\u201c\\u8f67\\u7a7a\\u201d\\u65b9\\u5f0f\\u62c9\\u8d77\\uff0c\\u8ba9\\u90a3\\u4e9b\\u6ca1\\u4e0a\\u8f66\\u7684\\u54e5\\u4eec\\u5931\\u671b\\u3002\\u653e\\u4e86\\u5de8\\u91cf\\uff0c\\u4ee5\\u4e3a\\u8981\\u8c03\\u6574\\uff0c\\u2026\",\n            \"excerpt_title\": \"\",\n            \"id\": 157657746,\n            \"linkbox\": {\n                \"url\": \"\",\n                \"category\": \"\",\n                \"pic\": \"\",\n                \"title\": \"\"\n            },\n            \"author\": {\n                \"is_followed\": false,\n                \"avatar_url_template\": \"https://pic2.zhimg.com/v2-6bb2bb11b7fb1c4883f36731f42f7537_{size}.jpg\",\n                \"type\": \"people\",\n                \"name\": \"\\u9ad8\\u96be\\u9971\",\n                \"url\": \"http://www.zhihu.com/api/v4/people/f75519c320c28eb190fe35dede8fe37e\",\n                \"gender\": 1,\n                \"user_type\": \"people\",\n                \"url_token\": \"gao-nan-bao\",\n                \"is_advertiser\": false,\n                \"avatar_url\": \"https://pic2.zhimg.com/v2-6bb2bb11b7fb1c4883f36731f42f7537_is.jpg\",\n                \"is_following\": false,\n                \"is_org\": false,\n                \"headline\": \"\\u91d1\\u878d\\u4ece\\u4e1a\\u8005\\uff0c\\u516c\\u4f17\\u53f7\\uff1a\\u9ad8\\u96be\\u9971\",\n                \"badge\": [\n                    {\n                        \"type\": \"identity\",\n                        \"description\": \"\\u590d\\u65e6\\u5927\\u5b66 \\u7ecf\\u6d4e\\u5b66\\u7855\\u58eb\"\n                    }\n                ],\n                \"id\": \"f75519c320c28eb190fe35dede8fe37e\"\n            },\n            \"url\": \"http://zhuanlan.zhihu.com/p/157657746\",\n            \"comment_permission\": \"all\",\n            \"created\": 1594140929,\n            \"image_width\": 597,\n            \"comment_count\": 12,\n            \"voteup_count\": 53,\n            \"image_url\": \"https://pic1.zhimg.com/v2-e0a7b7378fd937f85a4c907be1472778_r.jpg\",\n            \"title\": \"\\u5927\\u76d8\\u4ec0\\u4e48\\u65f6\\u5019\\u8c03\\u6574\\uff1f\",\n            \"can_comment\": {\n                \"status\": true,\n                \"reason\": \"\"\n            },\n            \"type\": \"article\",\n            \"suggest_edit\": {\n                \"status\": false,\n                \"url\": \"\",\n                \"reason\": \"\",\n                \"tip\": \"\",\n                \"title\": \"\"\n            }\n        },\n        {\n            \"updated\": 1592988438,\n            \"copyright_permission\": \"need_review\",\n            \"excerpt\": \"\\u4e0d\\u5c11\\u4f19\\u8ba1\\u51ed\\u76f4\\u89c2\\u7ecf\\u9a8c\\u8ba4\\u4e3a\\uff0c\\u8d27\\u5e01\\u653f\\u7b56\\u5bbd\\u677e\\uff0c\\u653e\\u6c34\\uff0c\\u80a1\\u5e02\\u5c31\\u6da8\\uff1b\\u8d27\\u5e01\\u653f\\u7b56\\u6536\\u7d27\\uff0c\\u5e02\\u573a\\u94b1\\u5c11\\u4e86\\uff0c\\u6216\\u8005\\u8d44\\u91d1\\u7684\\u6210\\u672c\\u9ad8\\u4e86\\uff0c\\u80a1\\u5e02\\u5c31\\u8dcc\\u3002\\u8fd9\\u6bb5\\u65f6\\u95f4\\u51fa\\u73b0\\u201c\\u53cd\\u5e38\\u73b0\\u8c61\\u201d\\uff1a\\u80a1\\u7968\\u4e00\\u76f4\\u5728\\u6da8\\uff0c\\u540c\\u65f6\\u8d27\\u5e01\\u4e0d\\u518d\\u7ee7\\u7eed\\u5bbd\\u677e\\uff0c\\u6d41\\u52a8\\u6027\\u51fa\\u73b0\\u4e00\\u5b9a\\u7a0b\\u5ea6\\u7d27\\u7f29\\u3002\\u8fd9\\u662f\\u600e\\u4e48\\u56de\\u4e8b\\u5462\\uff1f <b>\\u4e00<\\/b> <b>\\u80a1\\u7968\\u5728\\u6da8<\\/b> \\u6caa\\u6df1300\\u3001\\u521b\\u4e1a\\u2026\",\n            \"excerpt_title\": \"\",\n            \"id\": 150390300,\n            \"linkbox\": {\n                \"url\": \"\",\n                \"category\": \"\",\n                \"pic\": \"\",\n                \"title\": \"\"\n            },\n            \"author\": {\n                \"is_followed\": false,\n                \"avatar_url_template\": \"https://pic2.zhimg.com/v2-6bb2bb11b7fb1c4883f36731f42f7537_{size}.jpg\",\n                \"type\": \"people\",\n                \"name\": \"\\u9ad8\\u96be\\u9971\",\n                \"url\": \"http://www.zhihu.com/api/v4/people/f75519c320c28eb190fe35dede8fe37e\",\n                \"gender\": 1,\n                \"user_type\": \"people\",\n                \"url_token\": \"gao-nan-bao\",\n                \"is_advertiser\": false,\n                \"avatar_url\": \"https://pic2.zhimg.com/v2-6bb2bb11b7fb1c4883f36731f42f7537_is.jpg\",\n                \"is_following\": false,\n                \"is_org\": false,\n                \"headline\": \"\\u91d1\\u878d\\u4ece\\u4e1a\\u8005\\uff0c\\u516c\\u4f17\\u53f7\\uff1a\\u9ad8\\u96be\\u9971\",\n                \"badge\": [\n                    {\n                        \"type\": \"identity\",\n                        \"description\": \"\\u590d\\u65e6\\u5927\\u5b66 \\u7ecf\\u6d4e\\u5b66\\u7855\\u58eb\"\n                    }\n                ],\n                \"id\": \"f75519c320c28eb190fe35dede8fe37e\"\n            },\n            \"url\": \"http://zhuanlan.zhihu.com/p/150390300\",\n            \"comment_permission\": \"all\",\n            \"created\": 1592942731,\n            \"image_width\": 1649,\n            \"comment_count\": 17,\n            \"voteup_count\": 28,\n            \"image_url\": \"https://pic2.zhimg.com/v2-04032161f01e347abc7fd8332252a719_r.jpg\",\n            \"title\": \"\\u8d27\\u5e01\\u4e0d\\u518d\\u7ee7\\u7eed\\u5bbd\\u677e\\uff0c\\u80a1\\u5e02\\u4e3a\\u4ec0\\u4e48\\u4e0a\\u6da8\\uff1f\",\n            \"can_comment\": {\n                \"status\": true,\n                \"reason\": \"\"\n            },\n            \"type\": \"article\",\n            \"suggest_edit\": {\n                \"status\": false,\n                \"url\": \"\",\n                \"reason\": \"\",\n                \"tip\": \"\",\n                \"title\": \"\"\n            }\n        },\n        ...\n    ]\n}\n```\n\n</details>\n\n<details>\n<summary>user_activities.json 👉 你的动态信息</summary>\n\n```json\n{\n    \"paging\": {\n        \"is_end\": false,\n        \"next\": \"https://www.zhihu.com/api/v4/members/gao-nan-bao/activities?limit=7&session_id=1594710001368&after_id=1594563543&desktop=True\",\n        \"previous\": \"https://www.zhihu.com/api/v4/members/gao-nan-bao/activities?before_id=1594700136&limit=7&session_id=1594710001368&desktop=True\"\n    },\n    \"data\": [\n        {\n            \"target\": {\n                \"author\": {\n                    \"headline\": \"\",\n                    \"avatar_url\": \"https://pic4.zhimg.com/aadd7b895_s.jpg\",\n                    \"name\": \"\\u533f\\u540d\\u7528\\u6237\",\n                    \"url\": \"\",\n                    \"url_token\": \"\",\n                    \"type\": \"people\",\n                    \"user_type\": \"people\",\n                    \"id\": \"0\"\n                },\n                \"relationship\": {\n                    \"is_author\": false,\n                    \"is_following\": false\n                },\n                \"created\": 1519303241,\n                \"url\": \"https://api.zhihu.com/questions/267534527\",\n                \"title\": \"\\u57fa\\u91d1\\u5b9a\\u6295\\u8fd9\\u4e48\\u597d\\uff0c\\u4e3a\\u4ec0\\u4e48\\u80fd\\u575a\\u6301\\u4e0b\\u6765\\u7684\\u4eba\\u90a3\\u4e48\\u5c11\\uff1f\",\n                \"excerpt\": \"\\u539f\\u6587\\uff1a<a href=\\\"http://link.zhihu.com/?target=https%3A//xueqiu.com/3469370889/101876984\\\" class=\\\" wrap external\\\" target=\\\"_blank\\\" rel=\\\"nofollow noreferrer\\\">\\u57fa\\u91d1\\u5b9a\\u6295\\u8fd9\\u4e48\\u597d\\uff0c\\u4e3a\\u4ec0\\u4e48\\u80fd\\u575a\\u6301\\u4e0b\\u6765\\u7684\\u4eba\\u90a3\\u4e48\\u5c11\\uff1f</a>\",\n                \"detail\": \"\\u539f\\u6587\\uff1a<a href=\\\"http://link.zhihu.com/?target=https%3A//xueqiu.com/3469370889/101876984\\\" class=\\\" wrap external\\\" target=\\\"_blank\\\" rel=\\\"nofollow noreferrer\\\">\\u57fa\\u91d1\\u5b9a\\u6295\\u8fd9\\u4e48\\u597d\\uff0c\\u4e3a\\u4ec0\\u4e48\\u80fd\\u575a\\u6301\\u4e0b\\u6765\\u7684\\u4eba\\u90a3\\u4e48\\u5c11\\uff1f</a>\",\n                \"answer_count\": 80,\n                \"bound_topic_ids\": [\n                    395,\n                    4553,\n                    23071,\n                    91252\n                ],\n                \"comment_count\": 4,\n                \"is_following\": false,\n                \"follower_count\": 864,\n                \"type\": \"question\",\n                \"id\": 267534527\n            },\n            \"action_text\": \"\\u5173\\u6ce8\\u4e86\\u95ee\\u9898\",\n            \"actor\": {\n                \"is_followed\": false,\n                \"type\": \"people\",\n                \"name\": \"\\u9ad8\\u96be\\u9971\",\n                \"headline\": \"\\u91d1\\u878d\\u4ece\\u4e1a\\u8005\\uff0c\\u516c\\u4f17\\u53f7\\uff1a\\u9ad8\\u96be\\u9971\",\n                \"url_token\": \"gao-nan-bao\",\n                \"user_type\": \"people\",\n                \"vip_info\": {\n                    \"is_vip\": true,\n                    \"vip_icon\": {\n                        \"url\": \"https://pic3.zhimg.com/50/v2-4812630bc27d642f7cafcd6cdeca3d7a_r.png\",\n                        \"night_mode_url\": \"https://pic3.zhimg.com/50/v2-c9686ff064ea3579730756ac6c289978_r.png\"\n                    }\n                },\n                \"url\": \"https://api.zhihu.com/people/f75519c320c28eb190fe35dede8fe37e\",\n                \"avatar_url\": \"https://pic2.zhimg.com/50/v2-6bb2bb11b7fb1c4883f36731f42f7537_s.jpg\",\n                \"is_following\": false,\n                \"is_org\": false,\n                \"gender\": 1,\n                \"badge\": [],\n                \"id\": \"f75519c320c28eb190fe35dede8fe37e\"\n            },\n            \"verb\": \"QUESTION_FOLLOW\",\n            \"created_time\": 1594700136,\n            \"type\": \"feed\",\n            \"id\": 1594700136964\n        },\n        {\n            \"target\": {\n                \"author\": {\n                    \"is_followed\": false,\n                    \"type\": \"people\",\n                    \"name\": \"\\u51ac\\u6696\\u590f\\u51c9\",\n                    \"headline\": \"\\u77e5\\u4e4e\\u77e5\\u4e4e\\u6562\\u95ee\\u77e5\\u4e4e\\u77e5\\u4e4e\\uff1f\",\n                    \"url_token\": \"dong-nuan-xia-liang-23-2\",\n                    \"user_type\": \"people\",\n                    \"vip_info\": {},\n                    \"url\": \"https://api.zhihu.com/people/6f5916d4e3504cede76bbf18a36f5072\",\n                    \"avatar_url\": \"https://pic3.zhimg.com/50/v2-7d6ec5e88bf6f210f77a665ac3244d87_s.jpg\",\n                    \"is_following\": false,\n                    \"is_org\": false,\n                    \"gender\": 0,\n                    \"badge\": [],\n                    \"id\": \"6f5916d4e3504cede76bbf18a36f5072\"\n                },\n                \"relationship\": {\n                    \"is_author\": false,\n                    \"is_following\": false\n                },\n                \"created\": 1594108266,\n                \"url\": \"https://api.zhihu.com/questions/405508157\",\n                \"title\": \"\\u4e3a\\u4ec0\\u4e48\\u73ed\\u4e0a\\u7684\\u5c0f\\u6df7\\u6df7\\u5f53\\u4e0a\\u4e86\\u8001\\u677f\\uff0c\\u800c\\u6210\\u7ee9\\u597d\\u7684\\u8fd8\\u5728\\u4e3a\\u9996\\u4ed8\\u53d1\\u6101\\uff1f\",\n                \"excerpt\": \"\",\n                \"detail\": \"\",\n                \"answer_count\": 225,\n                \"bound_topic_ids\": [\n                    988,\n                    3145,\n                    4478,\n                    5582\n                ],\n                \"comment_count\": 27,\n                \"is_following\": false,\n                \"follower_count\": 612,\n                \"type\": \"question\",\n                \"id\": 405508157\n            },\n            \"action_text\": \"\\u5173\\u6ce8\\u4e86\\u95ee\\u9898\",\n            \"actor\": {\n                \"is_followed\": false,\n                \"type\": \"people\",\n                \"name\": \"\\u9ad8\\u96be\\u9971\",\n                \"headline\": \"\\u91d1\\u878d\\u4ece\\u4e1a\\u8005\\uff0c\\u516c\\u4f17\\u53f7\\uff1a\\u9ad8\\u96be\\u9971\",\n                \"url_token\": \"gao-nan-bao\",\n                \"user_type\": \"people\",\n                \"vip_info\": {\n                    \"is_vip\": true,\n                    \"vip_icon\": {\n                        \"url\": \"https://pic3.zhimg.com/50/v2-4812630bc27d642f7cafcd6cdeca3d7a_r.png\",\n                        \"night_mode_url\": \"https://pic3.zhimg.com/50/v2-c9686ff064ea3579730756ac6c289978_r.png\"\n                    }\n                },\n                \"url\": \"https://api.zhihu.com/people/f75519c320c28eb190fe35dede8fe37e\",\n                \"avatar_url\": \"https://pic2.zhimg.com/50/v2-6bb2bb11b7fb1c4883f36731f42f7537_s.jpg\",\n                \"is_following\": false,\n                \"is_org\": false,\n                \"gender\": 1,\n                \"badge\": [],\n                \"id\": \"f75519c320c28eb190fe35dede8fe37e\"\n            },\n            \"verb\": \"QUESTION_FOLLOW\",\n            \"created_time\": 1594700084,\n            \"type\": \"feed\",\n            \"id\": 1594700084922\n        },\n        ...\n    ]\n}\n```\n\n</details>\n\n<details>\n<summary>user_zvideos.json 👉 你发布的视频信息</summary>\n\n```json\n{\n    \"data\": [\n        {\n            \"id\": \"1243977249122508800\",\n            \"title\": \"14��ӡ���к�Ԥ�ԣ�2020���飡2021������ܸ����أ�\",\n            \"image_url\": \"https://pic2.zhimg.com/v2-69974dfb2c113b90e14bea96be96a93f_r.jpg?source=12a79843\",\n            \"description\": \"\",\n            \"excerpt\": \"\",\n            \"author\": {\n                \"is_followed\": false,\n                \"avatar_url_template\": \"https://pic4.zhimg.com/v2-6bb2bb11b7fb1c4883f36731f42f7537.jpg?source=12a79843\",\n                \"uid\": \"1047782825939542016\",\n                \"user_type\": \"people\",\n                \"is_following\": false,\n                \"url_token\": \"gao-nan-bao\",\n                \"id\": \"f75519c320c28eb190fe35dede8fe37e\",\n                \"description\": \"΢�Ź��ںţ����ѱ�\",\n                \"name\": \"���ѱ�\",\n                \"is_advertiser\": false,\n                \"headline\": \"���ڴ�ҵ�ߣ����ںţ����ѱ�\",\n                \"gender\": 1,\n                \"url\": \"https://www.zhihu.com/api/v4/people/f75519c320c28eb190fe35dede8fe37e\",\n                \"avatar_url\": \"https://pic1.zhimg.com/v2-6bb2bb11b7fb1c4883f36731f42f7537_l.jpg?source=12a79843\",\n                \"is_org\": false,\n                \"type\": \"people\",\n                \"badge\": [\n                    {\n                        \"type\": \"identity\",\n                        \"topics\": null,\n                        \"description\": \"������ѧ ����ѧ˶ʿ\"\n                    }\n                ],\n                \"badge_v2\": {\n                    \"title\": \"������ѧ ����ѧ˶ʿ\",\n                    \"merged_badges\": [\n                        {\n                            \"type\": \"identity\",\n                            \"detail_type\": \"identity\",\n                            \"title\": \"��֤\",\n                            \"description\": \"������ѧ ����ѧ˶ʿ\",\n                            \"url\": \"https://www.zhihu.com/account/verification/intro\",\n                            \"sources\": [],\n                            \"icon\": \"\"\n                        }\n                    ],\n                    \"detail_badges\": [\n                        {\n                            \"type\": \"identity\",\n                            \"detail_type\": \"identity_people\",\n                            \"title\": \"����֤�ĸ���\",\n                            \"description\": \"������ѧ ����ѧ˶ʿ\",\n                            \"url\": \"https://www.zhihu.com/account/verification/intro\",\n                            \"sources\": [],\n                            \"icon\": \"https://pic4.zhimg.com/v2-4c25640069cba2a8522b15a40af2fcb0_l.png\"\n                        }\n                    ],\n                    \"icon\": \"https://pic3.zhimg.com/v2-4c25640069cba2a8522b15a40af2fcb0_l.png\"\n                }\n            },\n            \"updated_at\": 1589368573,\n            \"video\": {\n                \"video_id\": \"1243977238141333504\",\n                \"width\": 1280,\n                \"height\": 720,\n                \"duration\": 380.28,\n                \"type\": \"video\",\n                \"thumbnail\": \"https://pic1.zhimg.com/v2-69974dfb2c113b90e14bea96be96a93f_r.jpg?source=12a79843\",\n                \"is_open_bullet\": false,\n                \"playlist\": {\n                    \"hd\": {\n                        \"play_url\": \"https://vdn1.vzuu.com/HD/283c63b8-9508-11ea-a3b4-2e98f86a5892.mp4?disable_local_cache=1\\u0026bu=zvideo\\u0026expiration=1594713601\\u0026auth_key=1594713601-0-0-4ce28a6f5e76e6fac9fd0541defd4a29\\u0026f=mp4\\u0026v=hw\",\n                        \"bitrate\": 289.351,\n                        \"duration\": 380.28,\n                        \"format\": \"mp4\",\n                        \"fps\": 25,\n                        \"size\": 13754321,\n                        \"height\": 720,\n                        \"width\": 1280,\n                        \"channels\": 2,\n                        \"sample_rate\": 44100,\n                        \"url\": \"https://vdn1.vzuu.com/HD/283c63b8-9508-11ea-a3b4-2e98f86a5892.mp4?disable_local_cache=1\\u0026bu=zvideo\\u0026expiration=1594713601\\u0026auth_key=1594713601-0-0-4ce28a6f5e76e6fac9fd0541defd4a29\\u0026f=mp4\\u0026v=hw\"\n                    },\n                    \"ld\": {\n                        \"play_url\": \"https://vdn1.vzuu.com/SD/283c63b8-9508-11ea-a3b4-2e98f86a5892.mp4?disable_local_cache=1\\u0026bu=zvideo\\u0026expiration=1594713601\\u0026auth_key=1594713601-0-0-384f3632819f49ba777793653691adfd\\u0026f=mp4\\u0026v=hw\",\n                        \"bitrate\": 210.548,\n                        \"duration\": 380.28,\n                        \"format\": \"mp4\",\n                        \"fps\": 25,\n                        \"size\": 10008445,\n                        \"height\": 478,\n                        \"width\": 848,\n                        \"channels\": 2,\n                        \"sample_rate\": 44100,\n                        \"url\": \"https://vdn1.vzuu.com/SD/283c63b8-9508-11ea-a3b4-2e98f86a5892.mp4?disable_local_cache=1\\u0026bu=zvideo\\u0026expiration=1594713601\\u0026auth_key=1594713601-0-0-384f3632819f49ba777793653691adfd\\u0026f=mp4\\u0026v=hw\"\n                    },\n                    \"sd\": {\n                        \"play_url\": \"https://vdn1.vzuu.com/SD/283c63b8-9508-11ea-a3b4-2e98f86a5892.mp4?disable_local_cache=1\\u0026bu=zvideo\\u0026expiration=1594713601\\u0026auth_key=1594713601-0-0-384f3632819f49ba777793653691adfd\\u0026f=mp4\\u0026v=hw\",\n                        \"bitrate\": 210.548,\n                        \"duration\": 380.28,\n                        \"format\": \"mp4\",\n                        \"fps\": 25,\n                        \"size\": 10008445,\n                        \"height\": 478,\n                        \"width\": 848,\n                        \"channels\": 2,\n                        \"sample_rate\": 44100,\n                        \"url\": \"https://vdn1.vzuu.com/SD/283c63b8-9508-11ea-a3b4-2e98f86a5892.mp4?disable_local_cache=1\\u0026bu=zvideo\\u0026expiration=1594713601\\u0026auth_key=1594713601-0-0-384f3632819f49ba777793653691adfd\\u0026f=mp4\\u0026v=hw\"\n                    }\n                },\n                \"playlist_v2\": {\n                    \"hd\": {\n                        \"play_url\": \"https://vdn1.vzuu.com/HD/v2_283c63b8-9508-11ea-a3b4-2e98f86a5892.mp4?disable_local_cache=1\\u0026bu=zvideo\\u0026expiration=1594713601\\u0026auth_key=1594713601-0-0-60b9b7feb693f4ae3b1f12e3740de13b\\u0026f=v2mp4\\u0026v=hw\",\n                        \"bitrate\": 260.08,\n                        \"duration\": 380.25,\n                        \"format\": \"mp4\",\n                        \"fps\": 25,\n                        \"size\": 12361932,\n                        \"height\": 720,\n                        \"width\": 1280,\n                        \"channels\": 2,\n                        \"sample_rate\": 44100,\n                        \"url\": \"https://vdn1.vzuu.com/HD/v2_283c63b8-9508-11ea-a3b4-2e98f86a5892.mp4?disable_local_cache=1\\u0026bu=zvideo\\u0026expiration=1594713601\\u0026auth_key=1594713601-0-0-60b9b7feb693f4ae3b1f12e3740de13b\\u0026f=v2mp4\\u0026v=hw\"\n                    }\n                },\n                \"status\": \"success\",\n                \"is_paid\": false,\n                \"is_trial\": false\n            },\n            \"published_at\": 1589368573,\n            \"play_count\": 20163,\n            \"comment_count\": 66,\n            \"voteup_count\": 35,\n            \"voting\": 0,\n            \"is_reviewing\": false,\n            \"is_update_reviewing\": false,\n            \"url\": \"https://www.zhihu.com/api/v4/zvideos/1243977249122508800\",\n            \"type\": \"zvideo\",\n            \"comment_permission\": \"all\",\n            \"can_comment\": {\n                \"status\": true,\n                \"reason\": \"\"\n            },\n            \"admin_closed_comment\": false,\n            \"attached_info\": \"wgE6CAQQYxoTMTI0Mzk3NzI0OTEyMjUwODgwMCD9re/1BSgjMEI4AEITMTI0Mzk3NzIzODE0MTMzMzUwNA==\",\n            \"is_visible\": true,\n            \"is_labeled\": false,\n            \"is_favorited\": false\n        },\n        ...\n    ]\n}\n```\n\n</details>\n\n\n****\n## 哔哩哔哩\n\n!> **说明**：需登录账号 (建议扫码登录).\n\n### 使用步骤\n\n1. 点击**哔哩哔哩**数据源按钮\n\n    ![UcZHBj.png](https://s1.ax1x.com/2020/07/18/UcZHBj.png ':size=10%')\n\n2. 在弹出的浏览器中登录哔哩哔哩(建议扫码登录)\n\n    ![bilibili2.png](https://i.loli.net/2020/07/16/amSnvbrHMjN69Bc.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![bilibili3.png](https://i.loli.net/2020/07/16/wGeFIENZMv8Lhgq.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![bilibili4.png](https://i.loli.net/2020/07/16/nEUlN1p2BrvkLCD.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>user_info.json 👉 你的哔哩哔哩个人信息</summary>\n\n```json\n{\n    \"code\": 0, \n    \"message\": \"0\", \n    \"ttl\": 1, \n    \"data\": \n        {\n            \"mid\": 43922500, \n            \"uname\": \"小小r\", \n            \"userid\": \"bili_803233053\", \n            \"sign\": \"在读研究********算机/分享见闻 ...\", \n            \"birthday\": \"19*****0\", \n            \"sex\": \"男\", \n            \"nick_free\": false, \n            \"rank\": \"正式会员\"\n        }\n}\n```\n\n</details>\n\n<details>\n<summary>bilibili_history.json 👉 你的哔哩哔哩观看历史信息</summary>\n\n```json\n[\n    {\n        \"code\": 0,\n        \"message\": \"0\",\n        \"ttl\": 1,\n        \"data\": [\n            {\n                \"aid\": 11497399,\n                \"videos\": 1,\n                \"tid\": 182,\n                \"tname\": \"影视杂谈\",\n                \"copyright\": 1,\n                \"pic\": \"http://i0.hdslb.com/bfs/archive/6075ff852339c6159254995006d1ade45e6b3633.jpg\",\n                \"title\": \"【看电影了没】美军与索马里海盗的首次交手，真实改编《菲利普船长》\",\n                \"pubdate\": 1498014930,\n                \"ctime\": 1498014929,\n                \"desc\": \"这是一个索马里海盗绑架美帝船长勒索一千万美金的故事。\\n菲利普船长 Captain Phillips (2013)\",\n                \"state\": 0,\n                \"attribute\": 49152,\n                \"duration\": 716,\n                \"rights\": {\n                    \"bp\": 0,\n                    \"elec\": 0,\n                    \"download\": 0,\n                    \"movie\": 0,\n                    \"pay\": 0,\n                    \"hd5\": 0,\n                    \"no_reprint\": 0,\n                    \"autoplay\": 1,\n                    \"ugc_pay\": 0,\n                    \"is_cooperation\": 0,\n                    \"ugc_pay_preview\": 0,\n                    \"no_background\": 0\n                },\n                \"owner\": {\n                    \"mid\": 82366241,\n                    \"name\": \"看电影了没\",\n                    \"face\": \"http://i2.hdslb.com/bfs/face/2e65498cc57597fba6699fcf934a02813b68cfd2.jpg\"\n                },\n                \"stat\": {\n                    \"aid\": 11497399,\n                    \"view\": 39897,\n                    \"danmaku\": 234,\n                    \"reply\": 119,\n                    \"favorite\": 185,\n                    \"coin\": 218,\n                    \"share\": 46,\n                    \"now_rank\": 0,\n                    \"his_rank\": 0,\n                    \"like\": 156,\n                    \"dislike\": 0\n                },\n                \"dynamic\": \"\",\n                \"cid\": 19008391,\n                \"dimension\": {\n                    \"width\": 0,\n                    \"height\": 0,\n                    \"rotate\": 0\n                },\n                \"favorite\": false,\n                \"type\": 3,\n                \"sub_type\": 0,\n                \"device\": 2,\n                \"page\": {\n                    \"cid\": 19008391,\n                    \"page\": 1,\n                    \"from\": \"vupload\",\n                    \"part\": \"P1\",\n                    \"duration\": 716,\n                    \"vid\": \"\",\n                    \"weblink\": \"\",\n                    \"dimension\": {\n                        \"width\": 0,\n                        \"height\": 0,\n                        \"rotate\": 0\n                    }\n                },\n                \"count\": 1,\n                \"progress\": -1,\n                \"view_at\": 1594551867,\n                \"kid\": 11497399,\n                \"business\": \"archive\",\n                \"redirect_link\": \"https://www.bilibili.com/video/av11497399\",\n                \"bvid\": \"BV1ix411h7YF\"\n            },\n            ...\n        ]\n    }\n]\n```\n\n</details>\n\n***\n## 网易云音乐\n\n!> **说明**：需登录, 参照使用步骤说明.\n\n### 使用步骤\n\n1. 点击**网易云音乐**数据源按钮\n\n    ![UcZbHs.png](https://s1.ax1x.com/2020/07/18/UcZbHs.png ':size=10%')\n\n2. 登录网易云音乐\n    \n    ![cloudmusic2.png](https://i.loli.net/2020/07/14/6LB9TXKnzDZ3kap.png ':size=50%')\n\n!> 支持两种登录方式： 1.手机号码+密码   2.邮箱+密码\n\n3. 选择数据保存路径\n\n    ![cloudmusic3.png](https://i.loli.net/2020/07/14/4Rx5Slrfy8dGmtk.png ':size=50%')\n\n2. 查看爬取的数据 (json格式)\n\n    ![cloudmusic4.png](https://i.loli.net/2020/07/14/vhd7se8q2ti6mLc.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>user_detail.json 👉 你的网易云音乐个人基本信息</summary>\n\n```json\n{\n    \"level\": 8,\n    \"listenSongs\": 7273,\n    \"userPoint\": {\n        \"userId\": 86327702,\n        \"balance\": 310,\n        \"updateTime\": 1594711724012,\n        \"version\": 10,\n        \"status\": 0,\n        \"blockBalance\": 0\n    },\n    \"mobileSign\": false,\n    \"pcSign\": false,\n    \"profile\": {\n        \"avatarImgIdStr\": \"109951163309389360\",\n        \"backgroundImgIdStr\": \"2002210674180203\",\n        \"description\": \"\",\n        \"userId\": 86327702,\n        \"vipType\": 11,\n        \"userType\": 0,\n        \"createTime\": 1439711844633,\n        \"nickname\": \"kangvcar\",\n        \"avatarUrl\": \"http://p1.music.126.net/mJQUHjaq2bzqxkgTOCjZEw==/109951163309389360.jpg\",\n        \"mutual\": false,\n        \"followed\": false,\n        \"remarkName\": null,\n        \"authStatus\": 0,\n        \"detailDescription\": \"\",\n        \"experts\": {},\n        \"expertTags\": null,\n        \"djStatus\": 0,\n        \"accountStatus\": 0,\n        \"birthday\": 752774400000,\n        \"gender\": 1,\n        \"province\": 440000,\n        \"city\": 440800,\n        \"defaultAvatar\": false,\n        \"avatarImgId\": 109951163309389360,\n        \"backgroundImgId\": 2002210674180203,\n        \"backgroundUrl\": \"http://p1.music.126.net/bmA_ablsXpq3Tk9HlEg9sA==/2002210674180203.jpg\",\n        \"signature\": \"\",\n        \"authority\": 0,\n        \"followeds\": 4,\n        \"follows\": 18,\n        \"blacklist\": false,\n        \"eventCount\": 7,\n        \"allSubscribedCount\": 0,\n        \"playlistBeSubscribedCount\": 0,\n        \"avatarImgId_str\": \"109951163309389360\",\n        \"followTime\": null,\n        \"followMe\": false,\n        \"artistIdentity\": [],\n        \"cCount\": 0,\n        \"sDJPCount\": 0,\n        \"playlistCount\": 2,\n        \"sCount\": 0,\n        \"newFollows\": 18\n    },\n    \"peopleCanSeeMyPlayRecord\": true,\n    \"bindings\": [\n        {\n            \"url\": \"\",\n            \"userId\": 86327702,\n            \"expiresIn\": 2147483647,\n            \"refreshTime\": 1501127865,\n            \"bindingTime\": 1501127865204,\n            \"tokenJsonStr\": null,\n            \"expired\": false,\n            \"id\": 3184808038,\n            \"type\": 1\n        },\n        {\n            \"url\": \"\",\n            \"userId\": 86327702,\n            \"expiresIn\": 7776000,\n            \"refreshTime\": 1496200328,\n            \"bindingTime\": 1496200328687,\n            \"tokenJsonStr\": null,\n            \"expired\": true,\n            \"id\": 3129778571,\n            \"type\": 5\n        },\n        {\n            \"url\": \"\",\n            \"userId\": 86327702,\n            \"expiresIn\": 7200,\n            \"refreshTime\": 1594557913,\n            \"bindingTime\": 1496200309924,\n            \"tokenJsonStr\": null,\n            \"expired\": true,\n            \"id\": 3129773699,\n            \"type\": 10\n        },\n        {\n            \"url\": \"\",\n            \"userId\": 86327702,\n            \"expiresIn\": 2147483647,\n            \"refreshTime\": 0,\n            \"bindingTime\": 0,\n            \"tokenJsonStr\": null,\n            \"expired\": false,\n            \"id\": 40242417,\n            \"type\": 0\n        }\n    ],\n    \"adValid\": false,\n    \"code\": 200,\n    \"createTime\": 1439711844633,\n    \"createDays\": 1794\n}\n```\n\n</details>\n\n<details>\n\n<summary>user_record_all.json 👉 你的网易云音乐听歌总榜信息</summary>\n\n```json\n{\n    \"allData\": [\n        {\n            \"playCount\": 0,\n            \"score\": 100,\n            \"song\": {\n                \"name\": \"让他走\",\n                \"id\": 444745115,\n                \"pst\": 0,\n                \"t\": 0,\n                \"ar\": [\n                    {\n                        \"id\": 12200907,\n                        \"name\": \"BAMBOO\",\n                        \"tns\": [],\n                        \"alias\": []\n                    }\n                ],\n                \"alia\": [],\n                \"pop\": 100,\n                \"st\": 0,\n                \"rt\": null,\n                \"fee\": 0,\n                \"v\": 6,\n                \"crbt\": null,\n                \"cf\": \"\",\n                \"al\": {\n                    \"id\": 35019857,\n                    \"name\": \"让他走\",\n                    \"picUrl\": \"http://p1.music.126.net/C0ByjZtVJuFJlVTpub7shw==/109951162817503226.jpg\",\n                    \"tns\": [],\n                    \"pic_str\": \"109951162817503226\",\n                    \"pic\": 109951162817503230\n                },\n                \"dt\": 246047,\n                \"h\": {\n                    \"br\": 320000,\n                    \"fid\": 0,\n                    \"size\": 9852387,\n                    \"vd\": -38200\n                },\n                \"m\": {\n                    \"br\": 192000,\n                    \"fid\": 0,\n                    \"size\": 5911449,\n                    \"vd\": -35800\n                },\n                \"l\": {\n                    \"br\": 128000,\n                    \"fid\": 0,\n                    \"size\": 3940981,\n                    \"vd\": -34000\n                },\n                \"a\": null,\n                \"cd\": \"1\",\n                \"no\": 1,\n                \"rtUrl\": null,\n                \"ftype\": 0,\n                \"rtUrls\": [],\n                \"djId\": 0,\n                \"copyright\": 0,\n                \"s_id\": 0,\n                \"mark\": 0,\n                \"originCoverType\": 0,\n                \"noCopyrightRcmd\": null,\n                \"rtype\": 0,\n                \"rurl\": null,\n                \"mst\": 9,\n                \"cp\": 0,\n                \"mv\": 0,\n                \"publishTime\": 1451577600000,\n                \"privilege\": {\n                    \"id\": 444745115,\n                    \"fee\": 0,\n                    \"payed\": 0,\n                    \"st\": 0,\n                    \"pl\": 320000,\n                    \"dl\": 320000,\n                    \"sp\": 7,\n                    \"cp\": 1,\n                    \"subp\": 1,\n                    \"cs\": false,\n                    \"maxbr\": 320000,\n                    \"fl\": 320000,\n                    \"toast\": false,\n                    \"flag\": 128,\n                    \"preSell\": false\n                }\n            }\n        },\n        {\n            \"playCount\": 0,\n            \"score\": 60,\n            \"song\": {\n                \"name\": \"Deephug\",\n                \"id\": 1350675133,\n                \"pst\": 0,\n                \"t\": 0,\n                \"ar\": [\n                    {\n                        \"id\": 31345603,\n                        \"name\": \"Ali_sir\",\n                        \"tns\": [],\n                        \"alias\": []\n                    }\n                ],\n                \"alia\": [],\n                \"pop\": 25,\n                \"st\": 0,\n                \"rt\": \"\",\n                \"fee\": 0,\n                \"v\": 14,\n                \"crbt\": null,\n                \"cf\": \"\",\n                \"al\": {\n                    \"id\": 75792708,\n                    \"name\": \"Deephug\",\n                    \"picUrl\": \"http://p1.music.126.net/eL8LQxwwWuP1qB4RA44v6Q==/109951163910611726.jpg\",\n                    \"tns\": [],\n                    \"pic_str\": \"109951163910611726\",\n                    \"pic\": 109951163910611730\n                },\n                \"dt\": 187167,\n                \"h\": {\n                    \"br\": 320000,\n                    \"fid\": 0,\n                    \"size\": 7488827,\n                    \"vd\": 0\n                },\n                \"m\": {\n                    \"br\": 192000,\n                    \"fid\": 0,\n                    \"size\": 4493314,\n                    \"vd\": 0\n                },\n                \"l\": {\n                    \"br\": 128000,\n                    \"fid\": 0,\n                    \"size\": 2995557,\n                    \"vd\": 0\n                },\n                \"a\": null,\n                \"cd\": \"01\",\n                \"no\": 1,\n                \"rtUrl\": null,\n                \"ftype\": 0,\n                \"rtUrls\": [],\n                \"djId\": 0,\n                \"copyright\": 0,\n                \"s_id\": 0,\n                \"mark\": 64,\n                \"originCoverType\": 0,\n                \"noCopyrightRcmd\": {\n                    \"type\": 2,\n                    \"typeDesc\": \"其它版本可播\",\n                    \"songId\": null\n                },\n                \"rtype\": 0,\n                \"rurl\": null,\n                \"mst\": 9,\n                \"cp\": 0,\n                \"mv\": 0,\n                \"publishTime\": 0,\n                \"privilege\": {\n                    \"id\": 1350675133,\n                    \"fee\": 0,\n                    \"payed\": 0,\n                    \"st\": -200,\n                    \"pl\": 0,\n                    \"dl\": 0,\n                    \"sp\": 0,\n                    \"cp\": 0,\n                    \"subp\": 0,\n                    \"cs\": false,\n                    \"maxbr\": 320000,\n                    \"fl\": 0,\n                    \"toast\": false,\n                    \"flag\": 66,\n                    \"preSell\": false\n                }\n            }\n        },\n        ...\n    ],\n    \"code\": 200\n}\n```\n\n</details>\n\n<details>\n<summary>user_record_week.json 👉 你的网易云音乐听歌周榜信息</summary>\n\n```json\n{\n    \"weekData\": [\n        {\n            \"playCount\": 0,\n            \"score\": 100,\n            \"song\": {\n                \"name\": \"爱的可能\",\n                \"id\": 545350518,\n                \"pst\": 0,\n                \"t\": 0,\n                \"ar\": [\n                    {\n                        \"id\": 9292,\n                        \"name\": \"孙露\",\n                        \"tns\": [],\n                        \"alias\": []\n                    }\n                ],\n                \"alia\": [],\n                \"pop\": 100,\n                \"st\": 0,\n                \"rt\": null,\n                \"fee\": 8,\n                \"v\": 110,\n                \"crbt\": null,\n                \"cf\": \"\",\n                \"al\": {\n                    \"id\": 37873648,\n                    \"name\": \"超越\",\n                    \"picUrl\": \"http://p1.music.126.net/Gu4XNxlRPlVCVacQPTLQag==/109951163190065579.jpg\",\n                    \"tns\": [],\n                    \"pic_str\": \"109951163190065579\",\n                    \"pic\": 109951163190065580\n                },\n                \"dt\": 287285,\n                \"h\": {\n                    \"br\": 320000,\n                    \"fid\": 0,\n                    \"size\": 11493921,\n                    \"vd\": -21000\n                },\n                \"m\": {\n                    \"br\": 192000,\n                    \"fid\": 0,\n                    \"size\": 6896370,\n                    \"vd\": -18400\n                },\n                \"l\": {\n                    \"br\": 128000,\n                    \"fid\": 0,\n                    \"size\": 4597595,\n                    \"vd\": -16800\n                },\n                \"a\": null,\n                \"cd\": \"1\",\n                \"no\": 13,\n                \"rtUrl\": null,\n                \"ftype\": 0,\n                \"rtUrls\": [],\n                \"djId\": 0,\n                \"copyright\": 2,\n                \"s_id\": 0,\n                \"mark\": 65536,\n                \"originCoverType\": 0,\n                \"noCopyrightRcmd\": null,\n                \"mst\": 9,\n                \"cp\": 1416266,\n                \"mv\": 0,\n                \"rtype\": 0,\n                \"rurl\": null,\n                \"publishTime\": 1520956800000,\n                \"privilege\": {\n                    \"id\": 545350518,\n                    \"fee\": 8,\n                    \"payed\": 0,\n                    \"st\": 0,\n                    \"pl\": 128000,\n                    \"dl\": 0,\n                    \"sp\": 7,\n                    \"cp\": 1,\n                    \"subp\": 1,\n                    \"cs\": false,\n                    \"maxbr\": 999000,\n                    \"fl\": 128000,\n                    \"toast\": false,\n                    \"flag\": 0,\n                    \"preSell\": false\n                }\n            }\n        },\n        {\n            \"playCount\": 0,\n            \"score\": 66,\n            \"song\": {\n                \"name\": \"月亮惹的祸\",\n                \"id\": 5243631,\n                \"pst\": 0,\n                \"t\": 0,\n                \"ar\": [\n                    {\n                        \"id\": 6469,\n                        \"name\": \"张宇\",\n                        \"tns\": [],\n                        \"alias\": []\n                    }\n                ],\n                \"alia\": [],\n                \"pop\": 100,\n                \"st\": 0,\n                \"rt\": \"600902000005653853\",\n                \"fee\": 8,\n                \"v\": 886,\n                \"crbt\": \"b22bf03548f1da6b0416cc813fe218de\",\n                \"cf\": \"\",\n                \"al\": {\n                    \"id\": 511419,\n                    \"name\": \"大人的情歌\",\n                    \"picUrl\": \"http://p1.music.126.net/cV5aZJ4et-Nm-5Mj74afoQ==/107752139539289.jpg\",\n                    \"tns\": [],\n                    \"pic\": 107752139539289\n                },\n                \"dt\": 260773,\n                \"h\": {\n                    \"br\": 320000,\n                    \"fid\": 0,\n                    \"size\": 10433350,\n                    \"vd\": -2\n                },\n                \"m\": {\n                    \"br\": 192000,\n                    \"fid\": 0,\n                    \"size\": 6260027,\n                    \"vd\": -1\n                },\n                \"l\": {\n                    \"br\": 128000,\n                    \"fid\": 0,\n                    \"size\": 4173366,\n                    \"vd\": -1\n                },\n                \"a\": null,\n                \"cd\": \"1\",\n                \"no\": 9,\n                \"rtUrl\": null,\n                \"ftype\": 0,\n                \"rtUrls\": [],\n                \"djId\": 0,\n                \"copyright\": 1,\n                \"s_id\": 0,\n                \"mark\": 0,\n                \"originCoverType\": 0,\n                \"noCopyrightRcmd\": null,\n                \"mst\": 9,\n                \"cp\": 13009,\n                \"mv\": 0,\n                \"rtype\": 0,\n                \"rurl\": null,\n                \"publishTime\": 1256832000000,\n                \"privilege\": {\n                    \"id\": 5243631,\n                    \"fee\": 0,\n                    \"payed\": 0,\n                    \"st\": -100,\n                    \"pl\": 0,\n                    \"dl\": 0,\n                    \"sp\": 7,\n                    \"cp\": 1,\n                    \"subp\": 1,\n                    \"cs\": false,\n                    \"maxbr\": 999000,\n                    \"fl\": 0,\n                    \"toast\": false,\n                    \"flag\": 256,\n                    \"preSell\": false\n                }\n            }\n        },\n    ]\n}\n```\n\n</details>\n\n<details>\n<summary>user_playlist.json 👉 你的网易云音乐收藏歌单信息</summary>\n\n```json\n{\n    \"more\": true,\n    \"playlist\": [\n        {\n            \"subscribers\": [],\n            \"subscribed\": false,\n            \"creator\": {\n                \"defaultAvatar\": false,\n                \"province\": 440000,\n                \"authStatus\": 0,\n                \"followed\": false,\n                \"avatarUrl\": \"http://p1.music.126.net/mJQUHjaq2bzqxkgTOCjZEw==/109951163309389360.jpg\",\n                \"accountStatus\": 0,\n                \"gender\": 1,\n                \"city\": 440800,\n                \"birthday\": 752774400000,\n                \"userId\": 86327702,\n                \"userType\": 0,\n                \"nickname\": \"kangvcar\",\n                \"signature\": \"\",\n                \"description\": \"\",\n                \"detailDescription\": \"\",\n                \"avatarImgId\": 109951163309389360,\n                \"backgroundImgId\": 2002210674180203,\n                \"backgroundUrl\": \"http://p1.music.126.net/bmA_ablsXpq3Tk9HlEg9sA==/2002210674180203.jpg\",\n                \"authority\": 0,\n                \"mutual\": false,\n                \"expertTags\": null,\n                \"experts\": null,\n                \"djStatus\": 0,\n                \"vipType\": 11,\n                \"remarkName\": null,\n                \"avatarImgIdStr\": \"109951163309389360\",\n                \"backgroundImgIdStr\": \"2002210674180203\",\n                \"avatarImgId_str\": \"109951163309389360\"\n            },\n            \"artists\": null,\n            \"tracks\": null,\n            \"updateFrequency\": null,\n            \"backgroundCoverId\": 0,\n            \"backgroundCoverUrl\": null,\n            \"titleImage\": 0,\n            \"titleImageUrl\": null,\n            \"englishTitle\": null,\n            \"opRecommend\": false,\n            \"recommendInfo\": null,\n            \"adType\": 0,\n            \"trackNumberUpdateTime\": 1594208383098,\n            \"subscribedCount\": 0,\n            \"userId\": 86327702,\n            \"createTime\": 1439711745054,\n            \"highQuality\": false,\n            \"coverImgId\": 109951165083336660,\n            \"newImported\": false,\n            \"anonimous\": false,\n            \"updateTime\": 1594208383098,\n            \"specialType\": 5,\n            \"commentThreadId\": \"A_PL_0_98489963\",\n            \"coverImgUrl\": \"https://p2.music.126.net/opNi98yiEA9HCfyNDgeD9w==/109951165083336659.jpg\",\n            \"totalDuration\": 0,\n            \"privacy\": 0,\n            \"trackUpdateTime\": 1594602030922,\n            \"trackCount\": 483,\n            \"playCount\": 3929,\n            \"cloudTrackCount\": 0,\n            \"ordered\": true,\n            \"tags\": [],\n            \"description\": null,\n            \"status\": 0,\n            \"name\": \"kangvcar喜欢的音乐\",\n            \"id\": 98489963,\n            \"coverImgId_str\": \"109951165083336659\"\n        },\n        {\n            \"subscribers\": [],\n            \"subscribed\": false,\n            \"creator\": {\n                \"defaultAvatar\": false,\n                \"province\": 440000,\n                \"authStatus\": 0,\n                \"followed\": false,\n                \"avatarUrl\": \"http://p1.music.126.net/mJQUHjaq2bzqxkgTOCjZEw==/109951163309389360.jpg\",\n                \"accountStatus\": 0,\n                \"gender\": 1,\n                \"city\": 440800,\n                \"birthday\": 752774400000,\n                \"userId\": 86327702,\n                \"userType\": 0,\n                \"nickname\": \"kangvcar\",\n                \"signature\": \"\",\n                \"description\": \"\",\n                \"detailDescription\": \"\",\n                \"avatarImgId\": 109951163309389360,\n                \"backgroundImgId\": 2002210674180203,\n                \"backgroundUrl\": \"http://p1.music.126.net/bmA_ablsXpq3Tk9HlEg9sA==/2002210674180203.jpg\",\n                \"authority\": 0,\n                \"mutual\": false,\n                \"expertTags\": null,\n                \"experts\": null,\n                \"djStatus\": 0,\n                \"vipType\": 11,\n                \"remarkName\": null,\n                \"avatarImgIdStr\": \"109951163309389360\",\n                \"backgroundImgIdStr\": \"2002210674180203\",\n                \"avatarImgId_str\": \"109951163309389360\"\n            },\n            \"artists\": null,\n            \"tracks\": null,\n            \"updateFrequency\": null,\n            \"backgroundCoverId\": 0,\n            \"backgroundCoverUrl\": null,\n            \"titleImage\": 0,\n            \"titleImageUrl\": null,\n            \"englishTitle\": null,\n            \"opRecommend\": false,\n            \"recommendInfo\": null,\n            \"adType\": 0,\n            \"trackNumberUpdateTime\": 1577702118015,\n            \"subscribedCount\": 0,\n            \"userId\": 86327702,\n            \"createTime\": 1577702117981,\n            \"highQuality\": false,\n            \"coverImgId\": 109951163910611730,\n            \"newImported\": false,\n            \"anonimous\": false,\n            \"updateTime\": 1577702118015,\n            \"specialType\": 20,\n            \"commentThreadId\": \"A_PL_0_3159395847\",\n            \"coverImgUrl\": \"https://p2.music.126.net/eL8LQxwwWuP1qB4RA44v6Q==/109951163910611726.jpg\",\n            \"totalDuration\": 0,\n            \"privacy\": 0,\n            \"trackUpdateTime\": 1594536447389,\n            \"trackCount\": 10,\n            \"playCount\": 0,\n            \"cloudTrackCount\": 0,\n            \"ordered\": false,\n            \"tags\": [],\n            \"description\": null,\n            \"status\": 0,\n            \"name\": \"kangvcar的2019年度歌单\",\n            \"id\": 3159395847,\n            \"coverImgId_str\": \"109951163910611726\"\n        }\n        ...\n    ],\n    \"code\": 200\n}\n```\n\n</details>\n\n<details>\n<summary>user_follows.json 👉 你的网易云音乐粉丝信息</summary>\n\n```json\n{\n    \"follow\": [\n        {\n            \"py\": \"hczzz\",\n            \"time\": 0,\n            \"userId\": 500932525,\n            \"vipType\": 0,\n            \"remarkName\": null,\n            \"follows\": 2,\n            \"followeds\": 3,\n            \"avatarUrl\": \"http://p1.music.126.net/VnZiScyynLG7atLIZ2YPkw==/18686200114669622.jpg\",\n            \"authStatus\": 0,\n            \"userType\": 0,\n            \"gender\": 0,\n            \"expertTags\": null,\n            \"experts\": null,\n            \"mutual\": false,\n            \"accountStatus\": 0,\n            \"nickname\": \"浩城zzz\",\n            \"followed\": false,\n            \"signature\": null,\n            \"vipRights\": null,\n            \"eventCount\": 0,\n            \"playlistCount\": 1\n        },\n        {\n            \"py\": \"mlys\",\n            \"time\": 0,\n            \"userId\": 1328375954,\n            \"vipType\": 0,\n            \"remarkName\": null,\n            \"follows\": 21,\n            \"followeds\": 30,\n            \"avatarUrl\": \"http://p1.music.126.net/uTG9jnbm07rkCytQkYiM2Q==/109951163752920877.jpg\",\n            \"authStatus\": 0,\n            \"userType\": 0,\n            \"gender\": 2,\n            \"expertTags\": null,\n            \"experts\": null,\n            \"mutual\": false,\n            \"accountStatus\": 0,\n            \"nickname\": \"陌路勇士\",\n            \"followed\": false,\n            \"signature\": null,\n            \"vipRights\": null,\n            \"eventCount\": 0,\n            \"playlistCount\": 4\n        },\n        ...\n    ],\n    \"touchCount\": 0,\n    \"more\": false,\n    \"code\": 200\n}\n```\n\n</details>\n\n<details>\n<summary>user_followeds.json 👉 你的网易云音乐关注的人</summary>\n\n```json\n{\n    \"code\": 200,\n    \"more\": false,\n    \"followeds\": [\n        {\n            \"py\": \"xllcv\",\n            \"time\": 1562118776988,\n            \"avatarUrl\": \"http://p1.music.126.net/XKRTrv-W-u5p3jOAOYzJFQ==/109951164189828402.jpg\",\n            \"authStatus\": 0,\n            \"userType\": 0,\n            \"gender\": 2,\n            \"expertTags\": null,\n            \"experts\": null,\n            \"nickname\": \"小萝莉cv\",\n            \"follows\": 1928,\n            \"remarkName\": null,\n            \"followeds\": 112,\n            \"accountStatus\": 0,\n            \"mutual\": false,\n            \"vipType\": 0,\n            \"userId\": 1900157189,\n            \"followed\": false,\n            \"signature\": \"\",\n            \"eventCount\": 0,\n            \"playlistCount\": 1\n        },\n        {\n            \"py\": \"wzs806\",\n            \"time\": 1537697737859,\n            \"avatarUrl\": \"http://p1.music.126.net/-Md9USYFHR-zHviSOtWbQw==/18526770929966003.jpg\",\n            \"authStatus\": 0,\n            \"userType\": 0,\n            \"gender\": 1,\n            \"expertTags\": null,\n            \"experts\": null,\n            \"nickname\": \"吴志盛806\",\n            \"follows\": 6,\n            \"remarkName\": null,\n            \"followeds\": 1,\n            \"accountStatus\": 0,\n            \"mutual\": false,\n            \"vipType\": 0,\n            \"userId\": 500977806,\n            \"followed\": false,\n            \"signature\": null,\n            \"eventCount\": 0,\n            \"playlistCount\": 8\n        },\n        ...\n    ]\n}\n```\n\n</details>\n\n<details>\n<summary>user_event.json 👉 你的网易云音乐动态信息</summary>\n\n```json\n{\n    \"lasttime\": 1540053110687,\n    \"more\": false,\n    \"size\": 7,\n    \"events\": [\n        {\n            \"actName\": null,\n            \"pendantData\": null,\n            \"forwardCount\": 0,\n            \"lotteryEventData\": null,\n            \"tailMark\": null,\n            \"json\": \"{\\\"msg\\\":\\\"\\\",\\\"playlist\\\":{\\\"name\\\":\\\"kangvcar喜欢的音乐\\\",\\\"id\\\":98489963,\\\"trackNumberUpdateTime\\\":1574679868924,\\\"status\\\":0,\\\"userId\\\":86327702,\\\"createTime\\\":1439711745054,\\\"updateTime\\\":1574779380255,\\\"subscribedCount\\\":0,\\\"trackCount\\\":446,\\\"cloudTrackCount\\\":0,\\\"coverImgUrl\\\":\\\"http://p2.music.126.net/D7C8Lf0obahn131m74gQsQ==/19187577416921199.jpg\\\",\\\"coverImgId\\\":19187577416921199,\\\"description\\\":null,\\\"tags\\\":[],\\\"playCount\\\":3560,\\\"trackUpdateTime\\\":1574864716901,\\\"specialType\\\":5,\\\"totalDuration\\\":0,\\\"creator\\\":{\\\"defaultAvatar\\\":false,\\\"province\\\":440000,\\\"authStatus\\\":0,\\\"followed\\\":false,\\\"avatarUrl\\\":\\\"http://p1.music.126.net/mJQUHjaq2bzqxkgTOCjZEw==/109951163309389360.jpg\\\",\\\"accountStatus\\\":0,\\\"gender\\\":1,\\\"city\\\":440800,\\\"birthday\\\":752774400000,\\\"userId\\\":86327702,\\\"userType\\\":0,\\\"nickname\\\":\\\"kangvcar\\\",\\\"signature\\\":\\\"\\\",\\\"description\\\":\\\"\\\",\\\"detailDescription\\\":\\\"\\\",\\\"avatarImgId\\\":109951163309389360,\\\"backgroundImgId\\\":2002210674180203,\\\"backgroundUrl\\\":\\\"http://p1.music.126.net/bmA_ablsXpq3Tk9HlEg9sA==/2002210674180203.jpg\\\",\\\"authority\\\":0,\\\"mutual\\\":false,\\\"expertTags\\\":null,\\\"experts\\\":null,\\\"djStatus\\\":0,\\\"vipType\\\":0,\\\"remarkName\\\":null,\\\"avatarImgIdStr\\\":\\\"109951163309389360\\\",\\\"backgroundImgIdStr\\\":\\\"2002210674180203\\\",\\\"avatarImgId_str\\\":\\\"109951163309389360\\\"},\\\"tracks\\\":null,\\\"subscribers\\\":[],\\\"subscribed\\\":null,\\\"commentThreadId\\\":\\\"A_PL_0_98489963\\\",\\\"newImported\\\":false,\\\"adType\\\":0,\\\"highQuality\\\":false,\\\"privacy\\\":0,\\\"ordered\\\":true,\\\"anonimous\\\":false,\\\"coverImgId_str\\\":\\\"19187577416921199\\\"}}\",\n            \"user\": {\n                \"defaultAvatar\": false,\n                \"province\": 440000,\n                \"authStatus\": 0,\n                \"followed\": false,\n                \"avatarUrl\": \"http://p1.music.126.net/mJQUHjaq2bzqxkgTOCjZEw==/109951163309389360.jpg\",\n                \"accountStatus\": 0,\n                \"gender\": 1,\n                \"city\": 440800,\n                \"birthday\": 752774400000,\n                \"userId\": 86327702,\n                \"userType\": 0,\n                \"nickname\": \"kangvcar\",\n                \"signature\": \"\",\n                \"description\": \"\",\n                \"detailDescription\": \"\",\n                \"avatarImgId\": 109951163309389360,\n                \"backgroundImgId\": 2002210674180203,\n                \"backgroundUrl\": \"http://p1.music.126.net/bmA_ablsXpq3Tk9HlEg9sA==/2002210674180203.jpg\",\n                \"authority\": 0,\n                \"mutual\": false,\n                \"expertTags\": null,\n                \"experts\": null,\n                \"djStatus\": 0,\n                \"vipType\": 11,\n                \"remarkName\": null,\n                \"avatarImgIdStr\": \"109951163309389360\",\n                \"backgroundImgIdStr\": \"2002210674180203\",\n                \"urlAnalyze\": false,\n                \"vipRights\": {\n                    \"associator\": {\n                        \"vipCode\": 100,\n                        \"rights\": true\n                    },\n                    \"musicPackage\": null,\n                    \"redVipAnnualCount\": 1\n                },\n                \"avatarImgId_str\": \"109951163309389360\",\n                \"followeds\": 4\n            },\n            \"uuid\": \"publish-157500309506494735\",\n            \"eventTime\": 1575003095233,\n            \"extJsonInfo\": {\n                \"actId\": 0,\n                \"actIds\": [],\n                \"uuid\": \"publish-157500309506494735\",\n                \"extType\": \"\",\n                \"extId\": \"\",\n                \"circleId\": null,\n                \"circlePubType\": null,\n                \"extParams\": {}\n            },\n            \"tmplId\": 0,\n            \"expireTime\": 0,\n            \"rcmdInfo\": null,\n            \"pics\": [],\n            \"actId\": 0,\n            \"showTime\": 1575003095233,\n            \"id\": 7912732454,\n            \"type\": 13,\n            \"topEvent\": false,\n            \"insiteForwardCount\": 0,\n            \"info\": {\n                \"commentThread\": {\n                    \"id\": \"A_EV_2_7912732454_86327702\",\n                    \"resourceInfo\": null,\n                    \"resourceType\": 2,\n                    \"commentCount\": 0,\n                    \"likedCount\": 0,\n                    \"shareCount\": 0,\n                    \"hotCount\": 0,\n                    \"latestLikedUsers\": null,\n                    \"resourceTitle\": null,\n                    \"resourceId\": 0,\n                    \"resourceOwnerId\": 0\n                },\n                \"latestLikedUsers\": null,\n                \"liked\": false,\n                \"comments\": null,\n                \"resourceType\": 2,\n                \"resourceId\": 7912732454,\n                \"likedCount\": 0,\n                \"commentCount\": 0,\n                \"shareCount\": 0,\n                \"threadId\": \"A_EV_2_7912732454_86327702\"\n            }\n        },\n        ...\n    ],\n    \"code\": 200\n}\n```\n\n</details>\n\n***\n## QQ好友\n\n!> **说明**：需登录, 参照使用步骤说明.\n\n### 使用步骤\n1. 点击**QQ好友**数据源按钮\n\n    ![UcZLEn.png](https://s1.ax1x.com/2020/07/18/UcZLEn.png ':size=10%')\n\n2. 仔细查看操作步骤说明\n\n    ![qqfriend2](https://i.loli.net/2020/07/14/wypR1EO4uGqXQKL.png ':size=50%')\n\n3. 在弹出的浏览器中登录\n\n    ![qqfriend2](https://i.loli.net/2020/07/14/7DCml3XNPcO2Qxn.png ':size=50%')\n\n4. 登录成功后, 点击“QQ充值”, 再点击“更换”按钮即可(无需选择)\n\n    ![qqfriend4](https://i.loli.net/2020/07/14/ADf7sY8LjKVbXQ5.png ':size=50%')\n\n5. 切换到该窗口，选择“已登录并打开充值界面且点开列表(不用选择表项),保存为json” 按钮，即可开始爬取信息\n\n    ![qqfriend5](https://i.loli.net/2020/07/14/y8tILPG6s12zkRo.png ':size=50%')\n\n6. 选择数据保存路径\n\n    ![qqfriend6.png](https://i.loli.net/2020/07/14/5qE2McD7m6xtVkv.png ':size=50%')\n\n?> 👍 每个数据源的爬取可能会生成多个文件, 所以建议为每个数据源新建一个文件夹来保存数据.\n\n7. 查看爬取的数据 (json格式)\n\n    ![qqfriend7.png](https://i.loli.net/2020/07/14/KmWthR8U5b2XjiN.png ':size=50%')\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>friend_list.json 👉 你的QQ好友信息</summary>\n\n```json\n[\n    {\n        \"raw\": \"  自己(123123123) \",\n        \"group\": \"  我的好友 \",\n        \"view_name\": \"  自己\",\n        \"qqnumber\": \"123123123\"\n    },\n    {\n        \"raw\": \"CAD郭东(351823450)\",\n        \"group\": \"  我的好友 \",\n        \"view_name\": \"CAD郭东\",\n        \"qqnumber\": \"351823450\"\n    },\n    {\n        \"raw\": \"babyQ(66600000)\",\n        \"group\": \"  我的好友 \",\n        \"view_name\": \"babyQ\",\n        \"qqnumber\": \"66600000\"\n    },\n    ...\n]\n```\n\n</details>\n\n***\n## QQ群\n\n!> **说明**：需登录, 参照使用步骤说明.\n\n### 使用步骤\n1. 点击**QQ群**数据源按钮\n\n    ![qqqun1.png](https://i.loli.net/2020/07/14/UOyRHFI2TtX58jq.png ':size=10%')\n\n2. 仔细查看操作步骤说明\n\n    ![qqqun2.png](https://i.loli.net/2020/07/14/LBZjcvuEKQopPST.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![qqqun3.png](https://i.loli.net/2020/07/14/LIfFSykARDuc4on.png ':size=50%')\n\n?> 👍 每个群的信息保存为一个json文件, 所以建议新建一个文件夹来保存数据.\n\n4. 在弹出的浏览器中登录\n\n   ![qqqun4.png](https://i.loli.net/2020/07/14/WJC3k1oxD5NKgzc.png ':size=50%')\n\n5. 登录成功后,无需在浏览器做任何操作\n\n    ![qqqun5.png](https://i.loli.net/2020/07/14/wWrGxEfKeMkqjP2.png ':size=50%')\n\n6. 切换到该窗口，选择“已登录并打开界面,保存为json” 按钮，即可开始爬取信息\n\n    ![qqqun6.png](https://i.loli.net/2020/07/14/H1GIxfUltrjZozm.png ':size=50%')\n\n7. 查看爬取的数据 (json格式)\n\n    ![qqqun7.png](https://i.loli.net/2020/07/14/GHrj1ZnVeI3JQDW.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>Linux-RHCE(204507257).json 👉 以群名命名的json文件，包含该群所有成员信息</summary>\n\n```json\n[\n    {\n        \"member\": \"中星班主任\",\n        \"nick_name\": \"我的班主任\",\n        \"qqnumber\": 2853537590,\n        \"sex\": \"女\",\n        \"qqage\": \"8年\",\n        \"join_date\": \"2016/12/08\",\n        \"last_post\": \"2017/12/01\"\n    },\n    {\n        \"member\": \"海平信息钟老师\",\n        \"nick_name\": \"钟老师\",\n        \"qqnumber\": 1522709362,\n        \"sex\": \"女\",\n        \"qqage\": \"9年\",\n        \"join_date\": \"2016/12/16\",\n        \"last_post\": \"2017/10/25\"\n    },\n    {\n        \"member\": \"曾罗林\",\n        \"nick_name\": NaN,\n        \"qqnumber\": 2853537596,\n        \"sex\": \"未知\",\n        \"qqage\": \"8年\",\n        \"join_date\": \"2017/08/15\",\n        \"last_post\": \"2017/08/15\"\n    },\n    ...\n]\n```\n\n</details>\n\n***\n## 生成朋友圈相册\n\n!> **说明**：使用该功能前需要您先获取包含您朋友圈数据的链接, 参照使用步骤说明.\n\n### 使用步骤\n\n1. 点击微信公众号“**出书啦**”\n2. 根据公众号指引添加“**出书啦**”小编为你的好友，然后你将朋友圈开放给他看\n3. 小编会自动开始采集你的朋友圈数据，采集完毕后，小编会发给你一个“**专属链接**”\n4. 这个“**专属链接**”里面的内容就是你的个人朋友圈数据。\n\n!> 你必须先获得该“**专属链接**”才能进行本程序的下一步！\n\n5. 点击**生成朋友圈相册**数据源按钮\n\n    ![UcZvCV.png](https://s1.ax1x.com/2020/07/18/UcZvCV.png ':size=10%')\n\n6. 选择数据保存路径\n\n    ![Ua6cE8.png](https://s1.ax1x.com/2020/07/14/Ua6cE8.png ':size=50%')\n\n7. 等待浏览器自动打开，并在弹窗中输入你的“**专属链接**”, 点击确定即可自动生成相册\n\n    ![momentsalbum3.png](https://i.loli.net/2020/07/14/mQBPSKJkTVqZvCg.png ':size=50%')\n\n8. 查看爬取的数据 (PDF格式)\n\n    ![momentsalbum4.png](https://i.loli.net/2020/07/14/pcQvykVh6KrjeHS.png ':size=50%')\n\n\n### 数据说明\n\n自行查看生成的PDF文件\n\n****\n## Chrome历史记录\n\n!> **说明**：无需登录账号, 只支持Windows系统，且默认History数据库路径为`C:\\Users\\<Username>\\AppData\\Local\\Google\\Chrome\\User Data\\Default`\n\n### 使用步骤\n1. 点击**Chrome历史记录**数据源按钮\n\n    ![UcZzgU.png](https://s1.ax1x.com/2020/07/18/UcZzgU.png ':size=10%')\n\n2. 选择数据保存路径\n\n    ![chrome2.png](https://i.loli.net/2020/07/15/NQUxTyP2GA5iD9I.png ':size=50%')\n\n3. 查看爬取的数据 (json格式)\n\n    ![chrome3.png](https://i.loli.net/2020/07/15/KEWmrb39a7ZM25H.png ':size=50%')\n\n### 数据说明\n\n<details>\n<summary>browser_data.json 👉 你的Chrome浏览器历史记录信息</summary>\n\n```json\n[\n    {\n    \"urls.id\": 994, \n    \"urls.url\": \"https://www.youtube.com/?gl=HK&tab=r1\", \n    \"urls.title\": \"(31) YouTube\", \n    \"urls.visit_count\": 38, \n    \"urls.last_visit_time\": \"2020-07-14 22:21:44\", \n    \"visits.visit_time\": \"2020-07-09 12:20:26\", \n    \"visits.visit_duration\": 0\n    }, \n    {\n    \"urls.id\": 999, \n    \"urls.url\": \"http://www.baidu.com/\", \n    \"urls.title\": \"百度一下，你就知道\", \n    \"urls.visit_count\": 2, \n    \"urls.last_visit_time\": \"2020-07-12 13:27:32\", \n    \"visits.visit_time\": \"2020-07-09 18:34:07\", \n    \"visits.visit_duration\": 0\n    }, \n    ...\n]\n```\n\n</details>\n\n***\n## 12306\n\n!> **说明**：需登录账号.\n\n### 使用步骤\n\n1. 点击**12306**数据源按钮\n\n    ![tielu1.png](https://i.loli.net/2020/07/17/oEsDFyM2dTcw1bu.png ':size=10%')\n\n2. 在弹出的浏览器中登录12306\n\n    ![tielu2.png](https://i.loli.net/2020/07/17/2Pi9bLja7vTAysc.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![tielu3.png](https://i.loli.net/2020/07/17/Eph5MVUnWAjTKxB.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![tielu4.png](https://i.loli.net/2020/07/17/NwZsEJo52iykU3Q.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>user_info.json 👉 你的12306账号基本信息</summary>\n\n```json\n{\n    \"validateMessagesShowId\": \"_validatorMessage\",\n    \"status\": true,\n    \"httpstatus\": 200,\n    \"data\": {\n        \"userTypeName\": \"成人\",\n        \"picFlag\": \"1\",\n        \"canUpload\": \"N\",\n        \"userPassword\": \"\",\n        \"notice1\": \"\",\n        \"canAddGAT\": false,\n        \"isMobileCheck\": \"Y\",\n        \"userDTO\": {\n            \"loginUserDTO\": {\n                \"center\": \"E\",\n                \"login_channel\": \"E\",\n                \"login_site\": \"E\",\n                \"login_id\": \"0atMvH8w1z0aaackKOhCL8y1BR9\",\n                \"agent_contact\": \"1*******\",\n                \"user_type\": \"1\",\n                \"user_name\": \"*******\",\n                \"name\": \"*******\",\n                \"id_type_code\": \"1\",\n                \"id_type_name\": \"中国居民身份证\",\n                \"id_no\": \"4**************\",\n                \"member_id\": \"*\",\n                \"member_level\": \"*\",\n                \"userIpAddress\": \"14.210*******\",\n                \"is_active\": \"Y\",\n                \"allEncStr\": \"25da32345**************4a17601355663f11\",\n                \"isYongThan12\": \"N\",\n                \"isAdult\": \"Y\",\n                \"isYongThan10\": \"N\",\n                \"isOldThan60\": \"N\",\n                \"isYongThan14\": \"N\",\n                \"isYongThan18\": \"N\",\n                \"isDisable\": \"N\",\n                \"gat_born_date\": \"\",\n                \"gat_valid_date_start\": \"\",\n                \"gat_valid_date_end\": \"\",\n                \"gat_version\": \"\"\n            },\n            \"studentInfoDTO\": {},\n            \"is_receive\": \"Y\",\n            \"password\": \"\",\n            \"password_new\": \"\",\n            \"pwd_question\": \"\",\n            \"pwd_answer\": \"\",\n            \"sex_code\": \"M\",\n            \"born_date\": \"199*******00:00\",\n            \"country_code\": \"CN\",\n            \"mobile_no\": \"1*******\",\n            \"phone_no\": \"\",\n            \"email\": \"*******.com\",\n            \"address\": \"\",\n            \"postalcode\": \"\",\n            \"is_active\": \"Y\",\n            \"revSm_code\": \"Y\",\n            \"last_login_time\": \"\",\n            \"user_id\": 1000004*******641,\n            \"phone_flag\": \"*\",\n            \"encourage_flag\": \"*\",\n            \"user_status\": \"1\",\n            \"check_id_flag\": \"0\",\n            \"is_valid\": \"Y\",\n            \"display_control_flag\": \"1\",\n            \"needModifyEmail\": \"N\",\n            \"flag_member\": \"N\",\n            \"pic_control_flag\": \"\",\n            \"regist_time\": \"\",\n            \"allEncStr\": \"c41be36f14c*******89e2812f079c\",\n            \"ivr_passwd\": \"\"\n        },\n        \"notice\": \"已通过\"\n    },\n    \"messages\": [],\n    \"validateMessages\": {}\n}\n```\n\n</details>\n\n<details>\n<summary>user_address.json 👉 你的12306账号车票快递地址信息</summary>\n\n```json\n{\n    \"validateMessagesShowId\": \"_validatorMessage\",\n    \"status\": true,\n    \"httpstatus\": 200,\n    \"data\": {\n        \"isNeedAgree\": false,\n        \"can_operate_passenger_days_after\": 30,\n        \"isCanAddAddress\": true,\n        \"errorMsg\": \"操作失败\",\n        \"address_max_size\": 20,\n        \"addresses\": []\n    },\n    \"messages\": [],\n    \"validateMessages\": {}\n}\n```\n\n</details>\n\n<details>\n<summary>user_passengers.json 👉 你的12306账号联系人信息</summary>\n\n```json\n{\n    \"validateMessagesShowId\": \"_validatorMessage\",\n    \"status\": true,\n    \"httpstatus\": 200,\n    \"data\": {\n        \"datas\": [\n            {\n                \"passenger_name\": \"***\",\n                \"sex_code\": \"M\",\n                \"sex_name\": \"男\",\n                \"born_date\": \"199***0 00:00:00\",\n                \"country_code\": \"CN\",\n                \"passenger_id_type_code\": \"1\",\n                \"passenger_id_type_name\": \"中国居民身份证\",\n                \"passenger_id_no\": \"4*****************4\",\n                \"passenger_type\": \"1\",\n                \"passenger_flag\": \"0\",\n                \"passenger_type_name\": \"成人\",\n                \"mobile_no\": \"13**********\",\n                \"phone_no\": \"\",\n                \"email\": \"******\",\n                \"address\": \"\",\n                \"postalcode\": \"\",\n                \"first_letter\": \"***\",\n                \"recordCount\": \"1\",\n                \"isUserSelf\": \"Y\",\n                \"total_times\": \"99\",\n                \"delete_time\": \"19****\",\n                \"allEncStr\": \"4590e72569be9bbcc58\",\n                \"isAdult\": \"Y\",\n                \"isYongThan10\": \"N\",\n                \"isYongThan14\": \"N\",\n                \"isOldThan60\": \"N\",\n                \"if_receive\": \"Y\",\n                \"is_active\": \"Y\",\n                \"is_buy_ticket\": \"N\",\n                \"last_time\": \"20190116\",\n                \"mobile_check_time\": \"\",\n                \"email_active_time\": \"\",\n                \"last_update_time\": \"\",\n                \"passenger_uuid\": \"bdc07135fbb079712a0f1c2\",\n                \"gat_born_date\": \"\",\n                \"gat_valid_date_start\": \"\",\n                \"gat_valid_date_end\": \"\",\n                \"gat_version\": \"\"\n            }\n        ],\n        \"flag\": true,\n        \"pageTotal\": 1\n    },\n    \"messages\": [],\n    \"validateMessages\": {}\n}\n```\n\n</details>\n\n<details>\n<summary>user_order.json 👉 你的12306账号未出行订单信息</summary>\n\n```json\n{\n    \"validateMessagesShowId\": \"_validatorMessage\",\n    \"status\": true,\n    \"httpstatus\": 200,\n    \"data\": {\n        \"order_total_number\": \"\",\n        \"show_catering_button\": true,\n        \"OrderDTODataList\": [测试账号没有订单记录]\n    },\n    \"messages\": [],\n    \"validateMessages\": {}\n}\n```\n\n</details>\n\n<details>\n<summary>user_order_no_complete.json 👉 你的12306账号未完成订单信息</summary>\n\n```json\n{\n    \"validateMessagesShowId\": \"_validatorMessage\",\n    \"status\": true,\n    \"httpstatus\": 200,\n    \"messages\": [],\n    \"validateMessages\": {测试账号没有订单记录}\n}\n```\n\n</details>\n\n***\n## 博客园\n\n!> **说明**：无需登录账号, 输入博客园用户名即可 (如 dingxingxing ) .\n\n### 使用步骤\n\n1. 点击**博客园**数据源按钮g\n\n    ![cnblog1.png](https://i.loli.net/2020/07/19/TyIhNxdX5wFEtYH.png ':size=10%')\n\n2. 输入博客园用户名\n\n    ![cnblog2.png](https://i.loli.net/2020/07/19/QGmzguTZvRCNwaX.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![cnblog3.png](https://i.loli.net/2020/07/19/OGu1ylBsREKpd5t.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![cnblog4.png](https://i.loli.net/2020/07/19/izqQhGFEgCasPSu.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>cnblog_article.json 👉 你的博客园文章信息</summary>\n\n```json\n[\n    {\n        \"title\": \"Lua\\u9a9a\\u64cd\\u4f5c\\u2014\\u2014\\u4e09\\u5143\\u6761\\u4ef6\\u8fd0\\u7b97\\u7b26\",\n        \"sumary\": \"\\u6458\\u8981\\uff1a\\u672c\\u6587\\u5730\\u5740\\uff1ahttps://www.cnblogs.com/oberon-zjt0806/p/13337577.html \\u672c\\u6587\\u53c2\\u8003\\u4e86\\u8fd9\\u7bc7\\u6587\\u7ae0 \\u4e09\\u5143\\u8fd0\\u7b97\\u7b26 \\uff08\\u5982\\u679c\\u60a8\\u5df2\\u7ecf\\u4e86\\u89e3\\u4ec0\\u4e48\\u662f\\u4e09\\u5143\\u8fd0\\u7b97\\u7b26\\uff0c\\u8bf7\\u5927\\u80c6\\u7b2c\\u524d\\u5f80\\u4e0b\\u4e00\\u4e2a\\u7ae0\\u8282\\uff09 \\u6211\\u77e5\\u9053\\u6709\\u4e00\\u5143\\u8fd0\\u7b97\\u7b26\\uff08\\u903b\\u8f91\\u975e\\uff0c\\u4f4d\\u53cd\\u8f6c\\uff0c\\u8d1f\\u53f7\\uff09\\uff0c\\u4e8c\\u5143\\u8fd0\\u7b97\\u7b26\\uff08\\u52a0\\u51cf\\u4e58\\u9664\\u7b49\\uff09\\uff0c\\u8fd9\\u4e09\\u5143\\u8fd0\\u7b97\\u7b26\\u662f\\uff1f         \\u9605\\u8bfb\\u5168\\u6587\",\n        \"postdate\": \"2020-07-18\",\n        \"posttime\": \"22:14\",\n        \"views\": \"44\"\n    },\n    ...\n]\n```\n\n</details>\n\n<details>\n<summary>你的文章词云分析</summary>\n\n![acnblog2.png](https://i.loli.net/2020/07/31/S91guhIrlLbnqRF.png)\n\n</details>\n\n<details>\n<summary>你的发文数量分析</summary>\n\n![acnblog1.png](https://i.loli.net/2020/07/31/RfcraIwtV5O2YHJ.png)\n\n</details>\n\n\n***\n## CSDN博客\n\n!> **说明**：无需登录账号, 输入CSDN博客用户名即可 (如 kangvcar ) .\n\n### 使用步骤\n\n1. 点击**CSDN**数据源按钮g\n\n    ![csdn1.png](https://i.loli.net/2020/07/19/3cnra4DZIsGEpvk.png ':size=10%')\n\n2. 输入CSDN博客用户名\n\n    ![csdn2.png](https://i.loli.net/2020/07/19/crH5u6xAzvF2XqN.png ':size=50%')\n\n3. 选择数据保存路径\n\n    ![csdn3.png](https://i.loli.net/2020/07/19/JMm2dvjX6nClgf4.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![csdn4.png](https://i.loli.net/2020/07/19/31hj974bop5ivCR.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>csdn_article.json 👉 你的CSDN博客文章信息</summary>\n\n```json\n[\n    {\n        \"title\": \"GIT \\u68c0\\u67e5\\u3001\\u64a4\\u9500\\u4fee\\u6539\\u7b80\\u660e\\u6559\\u7a0b\",\n        \"sumary\": \"\\u8bf4\\u660e\\uff1a\\u672c\\u6559\\u7a0b\\u7684\\u6240\\u6709\\u64cd\\u4f5c\\u90fd\\u5728master\\u5206\\u652f\\u4e0a\\uff0c\\u4e14\\u4ec5\\u7528\\u4e8e\\u4e2a\\u4eba\\u4ee3\\u7801\\u4ed3\\u5e93\\u7ba1\\u7406\\uff0c\\u64cd\\u4f5c\\u7684\\u5b9e\\u7528\\u6027\\u6709\\u5f85\\u7814\\u7a76\\u30024\\u4e2a\\u533a5\\u79cd\\u72b6\\u6001\\u672a\\u4fee\\u6539\\uff08Origin\\uff09\\u5df2\\u4fee\\u6539\\uff08Modified\\uff09\\u5df2\\u6682\\u5b58\\uff08Staged\\uff09\\u5df2\\u63d0\\u4ea4\\uff08Committed\\uff09\\u5df2\\u63a8\\u9001\\uff08Pushed\\uff09\\u68c0\\u67e5\\u4fee\\u6539\\u5df2\\u4fee\\u6539\\uff0c\\u672a\\u6682\\u5b58\\uff08\\u68c0\\u67e5\\u5de5\\u4f5c\\u533a\\u4e0e\\u6682\\u5b58\\u533a\\u95f4\\u7684\\u5dee\\u5f02\\uff09g...\",\n        \"postdate\": \"2017-12-15\",\n        \"posttime\": \"09:11:37\",\n        \"views\": \"648\"\n    },\n    ...\n]\n```\n\n</details>\n\n***\n## Oschina开源中国博客\n\n!> **说明**：无需登录账号, 输入开源中国博客个人主页链接 (如 [https://my.oschina.net/kangvcar](https://my.oschina.net/kangvcar) ) .\n\n### 使用步骤\n\n1. 点击**开源中国博客**数据源按钮gr\n\n    ![oschina1.png](https://i.loli.net/2020/07/19/IlyC7ahoAsOH8Tm.png ':size=10%')\n\n2. 输入开源中国博客个人主页链接, 如 [https://my.oschina.net/kangvcar](https://my.oschina.net/kangvcar) ) \n\n    ![oschina2.png](https://i.loli.net/2020/07/19/4i7xDYXZArjqdOm.png ':size=50%')\n\n!> **注意**：个人主页链接最后不含 `/` (斜杆)\n\n3. 选择数据保存路径\n\n    ![oschina3.png](https://i.loli.net/2020/07/19/8vMerkOSI7XoAm4.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![oschina4.png](https://i.loli.net/2020/07/19/BLZfkFYMXEPNjpa.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>csdn_article.json 👉 你的开源中国博客文章信息</summary>\n\n```json\n[\n    {\n        \"title\": \"PXE/KickStart\\u65e0\\u4eba\\u503c\\u5b88\\u5b89\\u88c5\",\n        \"sumary\": \"\\u5bfc\\u8a00 \\u4f5c\\u4e3a\\u4e2d\\u5c0f\\u516c\\u53f8\\u7684\\u8fd0\\u7ef4\\uff0c\\u7ecf\\u5e38\\u4f1a\\u9047\\u5230\\u4e00\\u4e9b\\u673a\\u68b0\\u5f0f\\u7684\\u91cd\\u590d\\u5de5\\u4f5c\\uff0c\\u4f8b\\u5982\\uff1a\\u6709\\u65f6\\u516c\\u53f8\\u540c\\u65f6\\u4e0a\\u7ebf\\u51e0\\u5341\\u751a\\u81f3\\u4e0a\\u767e\\u53f0\\u670d\\u52a1\\u5668\\uff0c\\u800c\\u4e14\\u9700\\u8981\\u6211\\u4eec\\u5728\\u77ed\\u65f6\\u95f4\\u5185\\u5b8c\\u6210\\u7cfb\\u7edf\\u5b89\\u88c5\\u3002 \\u5e38\\u89c4\\u7684\\u529e\\u6cd5\\u6709\\u4ec0\\u4e48\\uff1f _\\u5149\\u76d8\\u5b89\\u88c5\\u7cfb\\u7edf ===> \\u4e00...\",\n        \"postdate\": \"2018/05/07\",\n        \"posttime\": \"21:17\",\n        \"views\": \"132\"\n    },\n    ...\n]\n```\n\n</details>\n\n***\n## 简书\n\n!> **说明**：无需登录账��, 输入简书个人主页链接 (如 [https://www.jianshu.com/u/d9c480744afd](https://www.jianshu.com/u/d9c480744afd) ) .\n\n### 使用步骤\n\n1. 点击**简书**数据源按钮g\n\n    ![jianshu1.png](https://i.loli.net/2020/07/19/dPRVC82oirMNUZk.png ':size=10%')\n\n2. 输入简书个人主页链接, 如 [https://www.jianshu.com/u/d9c480744afd](https://www.jianshu.com/u/d9c480744afd ) \n\n    ![jianshu2.png](https://i.loli.net/2020/07/19/J9Rm7EAPBZ4KUdH.png ':size=50%')\n\n!> **注意**：个人主页链接最后不含 `/` (斜杆)\n\n3. 选择数据保存路径\n\n    ![jianshu3.png](https://i.loli.net/2020/07/19/jO1a4vtkSoVEumi.png ':size=50%')\n\n4. 查看爬取的数据 (json格式)\n\n    ![jianshu4.png](https://i.loli.net/2020/07/19/1gmrpkJzFjbfQ3d.png ':size=50%')\n\n### 数据说明\n\n?> 👍 由于数据信息过长, 这里只作主要数据项说明, **点击展开查看示例**\n\n<details>\n<summary>csdn_article.json 👉 你的简书文章信息</summary>\n\n```json\n[\n    {\n        \"title\": \"\\u624b\\u628a\\u624b\\u6559\\u4f60\\u75281\\u884cPython\\u4ee3\\u7801\\u5b9e\\u73b0FTP\\u670d\\u52a1\\u5668 -- Pyftpdlib\",\n        \"sumary\": \"\\u5f53\\u4f60\\u60f3\\u5feb\\u901f\\u5171\\u4eab\\u4e00\\u4e2a\\u76ee\\u5f55\\u7684\\u65f6\\u5019\\uff0c\\u8fd9\\u662f\\u7279\\u522b\\u6709\\u7528\\u7684\\uff0c\\u53ea\\u9700\\u89811\\u884c\\u4ee3\\u7801\\u5373\\u53ef\\u5b9e\\u73b0\\u3002FTP \\u670d\\u52a1\\u5668\\uff0c\\u5728\\u6b64\\u4e4b\\u524d\\u6211\\u90fd\\u662f\\u4f7f\\u7528Linux\\u7684vsftpd\\u8f6f\\u4ef6\\u5305\\u6765\\u642d\\u5efaFT...\",\n        \"postdate\": \"2017-12-30\",\n        \"posttime\": \"20:35\",\n        \"views\": \"3360\"\n    },\n    ...\n]\n```\n\n</details>\n\n***\n# Contributors\n\n[![](https://contributors-img.web.app/image?repo=kangvcar/infospider)](https://github.com/kangvcar/infospider/graphs/contributors)\n\n***\n# Changelog\n\n- 2020年7月10日\n    1. 更新GUI布局\n    2. 添加GitHub、QQ好友、QQ群数据源\n\n- 2020年7月12日\n    1. 修复QQ邮箱、网易邮箱、阿里邮箱、新浪邮箱、Hotmail、Outlook数据源\n    2. 添加生成朋友圈相册功能\n\n- 2020年7月14日\n    1. 修复京东、淘宝、支付宝、12306数据源\n    2. 添加Chrome浏览记录功能\n\n- 2020年7月17日\n    1. 修复中国移动、中国联通数据源\n    2. 添加知乎、哔哩哔哩、网易云音乐数据源\n\n- 2020年7月19日\n    1. 添加博客园、CSDN、开源中国、简书数据源\n    2. 编写[使用说明文档](https://infospider.vercel.app/)\n    3. 录制使用视频教程\n\n- 2020年7月30日\n    1. 添加博客园数据分析功能\n    2. 使用pyechart绘制图表并生成html文件保存在数据目录下\n\n- 2020年8月18日\n    1. 修复部分bug\n    2. 更新README.md\n\n- 2020年9月12日\n    1. 更换项目Logo\n    \n- 2020年10月20日\n    1. 更新所有爬虫脚本\n    2. 制作Python-embed版InfoSpider\n    3. 更新logo\n\n\n***\n# License\nGPL-3.0"
  },
  {
    "path": "docs/_coverpage.md",
    "content": "\n<!-- _coverpage.md -->\n<!-- ![cover_page](/_media/logo-transparent-100px.png) -->\n![logo](/_media/logo-transparent-100px.png)\n\n# **INFO-SPIDER** <small>**1.0**</small>\n\n> **一个神奇的工具箱，拿回你的个人信息。**\n\n- 简单、易用、安全、开源\n- 支持众多数据源\n- 模块化\n\n[GitHub](https://github.com/kangvcar/InfoSpider)\n[视频演示](https://www.bilibili.com/video/BV14f4y1R7oF/)\n[获得开发者技术支持](https://mianbaoduo.com/o/bread/aZiTlJo=)\n[Get Started](#INFO-SPIDER)"
  },
  {
    "path": "docs/ads.txt",
    "content": "google.com, pub-3091494829711028, DIRECT, f08c47fec0942fa0"
  },
  {
    "path": "docs/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\">\n  <title>INFO-SPIDER - 拿回你的个人信息</title>\n  <link rel=\"shortcut icon\" href=\"/_media/favicon.ico\" />\n  <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n  <meta name=\"description\" content=\"Description\">\n  <meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n  <link rel=\"stylesheet\" href=\"//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css\">\n  <link rel=\"stylesheet\" href=\"//cdn.jsdelivr.net/npm/docsify/themes/buble.css\">\n  <script data-ad-client=\"ca-pub-3091494829711028\" async src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>\n  <meta name=\"baidu_union_verify\" content=\"61f4d832796365001e606302c6812422\">\n</head>\n<body>\n  <script async src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>\n  <!-- headad -->\n  <ins class=\"adsbygoogle\"\n       style=\"display:block\"\n       data-ad-client=\"ca-pub-3091494829711028\"\n       data-ad-slot=\"5096516102\"\n       data-ad-format=\"auto\"\n       data-full-width-responsive=\"true\"></ins>\n  <script>\n       (adsbygoogle = window.adsbygoogle || []).push({});\n  </script>\n\n  <div id=\"app\">\n\n      <script async src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>\n      <ins class=\"adsbygoogle\"\n           style=\"display:block\"\n           data-ad-format=\"fluid\"\n           data-ad-layout-key=\"-fb+5w+4e-db+86\"\n           data-ad-client=\"ca-pub-3091494829711028\"\n           data-ad-slot=\"2055419798\"></ins>\n      <script>\n           (adsbygoogle = window.adsbygoogle || []).push({});\n      </script>\n      <script async src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>\n      <ins class=\"adsbygoogle\"\n           style=\"display:block\"\n           data-ad-format=\"fluid\"\n           data-ad-layout-key=\"-fb+5w+4e-db+86\"\n           data-ad-client=\"ca-pub-3091494829711028\"\n           data-ad-slot=\"2055419798\"></ins>\n      <script>\n           (adsbygoogle = window.adsbygoogle || []).push({});\n      </script>\n\n  </div>\n  <script>\n    window.$docsify = {\n      name: 'INFO-SPIDER',\n      repo: 'https://github.com/kangvcar/InfoSpider',\n      coverpage: true,\n      auto2top: true,\n      logo: '/_media/logo-50px.png',\n      themeColor: 'red',\n      mergeNavbar: true,\n      topMargin: 90,\n      search: 'auto',\n      // 完整配置参数\n      search: {\n      maxAge: 86400000, // 过期时间，单位毫秒，默认一天\n      placeholder: ' 输入搜索关键字...',\n      },\n      ga: 'UA-172441408-1',\n    }\n  </script>\n  <script src=\"//cdn.jsdelivr.net/npm/docsify/lib/plugins/ga.min.js\"></script>\n  <script src=\"//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js\"></script>\n  <script src=\"//cdn.jsdelivr.net/npm/docsify-copy-code\"></script>\n  <script src=\"//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js\"></script>\n  <script src=\"//cdn.jsdelivr.net/npm/prismjs@1.20.0/components/prism-json.min.js\"></script>\n  <script src=\"//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js\"></script>\n\n    <script async src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>\n    <ins class=\"adsbygoogle\"\n         style=\"display:block\"\n         data-ad-format=\"fluid\"\n         data-ad-layout-key=\"-fb+5w+4e-db+86\"\n         data-ad-client=\"ca-pub-3091494829711028\"\n         data-ad-slot=\"2055419798\"></ins>\n    <script>\n         (adsbygoogle = window.adsbygoogle || []).push({});\n    </script>\n\n</body>\n</html>\n"
  },
  {
    "path": "extension/index.css",
    "content": ".cnblog{\n    width:40px;\n    height: 40px;\n    border:0;\n    background:url(img/cnblog.png) no-repeat;\n    background-size: 100% 100%;\n}\n.github{\n    width:40px;\n    height: 40px;\n    border:0;\n    background:url(img/github.png) no-repeat;\n    background-size: 100% 100%;\n}\n.jianshu{\n    width:40px;\n    height: 40px;\n    border:0;\n    background:url(img/jianshu.png) no-repeat;\n    background-size: 100% 100%;\n}\n.oschina{\n    width:40px;\n    height: 40px;\n    border:0;\n    background:url(img/oschina.png) no-repeat;\n    background-size: 100% 100%;\n}\n.kuangjia{\n    width: 100px;\n    height: 100px;\n}"
  },
  {
    "path": "extension/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta http-equiv=\"Content-Security-Policy\" content=\"default-src *; style-src 'self' http://* 'unsafe-inline'; script-src 'self' http://* 'unsafe-inline' 'unsafe-eval'\" />\n    <title>Document</title>\n</head>\n<link rel=\"stylesheet\" href=\"./index.css\">\n<body class=\"kuangjia\">\n    <script src=\"js/FileSaver.js\"></script>\n    <script src=\"js/jquery.js\"></script>\n    <script src=\"js/index.js\"></script>\n    <input class =\"cnblog\" type=\"button\" name=\"cnblog\" id=\"cnblog\" title=\"Something\" />\n    <input class =\"github\" type=\"button\" name=\"github\" id=\"github\" title=\"Something\"/>\n    <input class =\"jianshu\" type=\"button\" name=\"jianshu\" id=\"jianshu\" title=\"Something\"/>\n    <input class =\"oschina\" type=\"button\" name=\"oschina\" id=\"oschina\" title=\"Something\"/>\n</body>\n</html>"
  },
  {
    "path": "extension/js/FileSaver.js",
    "content": "(function (global, factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([], factory);\n    } else if (typeof exports !== \"undefined\") {\n      factory();\n    } else {\n      var mod = {\n        exports: {}\n      };\n      factory();\n      global.FileSaver = mod.exports;\n    }\n  })(this, function () {\n    \"use strict\";\n\n    /*\n    * FileSaver.js\n    * A saveAs() FileSaver implementation.\n    *\n    * By Eli Grey, http://eligrey.com\n    *\n    * License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT)\n    * source  : http://purl.eligrey.com/github/FileSaver.js\n    */\n    // The one and only way of getting global scope in all environments\n    // https://stackoverflow.com/q/3277182/1008999\n    var _global = typeof window === 'object' && window.window === window ? window : typeof self === 'object' && self.self === self ? self : typeof global === 'object' && global.global === global ? global : void 0;\n\n    function bom(blob, opts) {\n      if (typeof opts === 'undefined') opts = {\n        autoBom: false\n      };else if (typeof opts !== 'object') {\n        console.warn('Deprecated: Expected third argument to be a object');\n        opts = {\n          autoBom: !opts\n        };\n      } // prepend BOM for UTF-8 XML and text/* types (including HTML)\n      // note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF\n\n      if (opts.autoBom && /^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(blob.type)) {\n        return new Blob([String.fromCharCode(0xFEFF), blob], {\n          type: blob.type\n        });\n      }\n\n      return blob;\n    }\n\n    function download(url, name, opts) {\n      var xhr = new XMLHttpRequest();\n      xhr.open('GET', url);\n      xhr.responseType = 'blob';\n\n      xhr.onload = function () {\n        saveAs(xhr.response, name, opts);\n      };\n\n      xhr.onerror = function () {\n        console.error('could not download file');\n      };\n\n      xhr.send();\n    }\n\n    function corsEnabled(url) {\n      var xhr = new XMLHttpRequest(); // use sync to avoid popup blocker\n\n      xhr.open('HEAD', url, false);\n\n      try {\n        xhr.send();\n      } catch (e) {}\n\n      return xhr.status >= 200 && xhr.status <= 299;\n    } // `a.click()` doesn't work for all browsers (#465)\n\n\n    function click(node) {\n      try {\n        node.dispatchEvent(new MouseEvent('click'));\n      } catch (e) {\n        var evt = document.createEvent('MouseEvents');\n        evt.initMouseEvent('click', true, true, window, 0, 0, 0, 80, 20, false, false, false, false, 0, null);\n        node.dispatchEvent(evt);\n      }\n    } // Detect WebView inside a native macOS app by ruling out all browsers\n    // We just need to check for 'Safari' because all other browsers (besides Firefox) include that too\n    // https://www.whatismybrowser.com/guides/the-latest-user-agent/macos\n\n\n    var isMacOSWebView = _global.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent);\n    var saveAs = _global.saveAs || ( // probably in some web worker\n    typeof window !== 'object' || window !== _global ? function saveAs() {}\n    /* noop */\n    // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView\n    : 'download' in HTMLAnchorElement.prototype && !isMacOSWebView ? function saveAs(blob, name, opts) {\n      var URL = _global.URL || _global.webkitURL;\n      var a = document.createElement('a');\n      name = name || blob.name || 'download';\n      a.download = name;\n      a.rel = 'noopener'; // tabnabbing\n      // TODO: detect chrome extensions & packaged apps\n      // a.target = '_blank'\n\n      if (typeof blob === 'string') {\n        // Support regular links\n        a.href = blob;\n\n        if (a.origin !== location.origin) {\n          corsEnabled(a.href) ? download(blob, name, opts) : click(a, a.target = '_blank');\n        } else {\n          click(a);\n        }\n      } else {\n        // Support blobs\n        a.href = URL.createObjectURL(blob);\n        setTimeout(function () {\n          URL.revokeObjectURL(a.href);\n        }, 4E4); // 40s\n\n        setTimeout(function () {\n          click(a);\n        }, 0);\n      }\n    } // Use msSaveOrOpenBlob as a second approach\n    : 'msSaveOrOpenBlob' in navigator ? function saveAs(blob, name, opts) {\n      name = name || blob.name || 'download';\n\n      if (typeof blob === 'string') {\n        if (corsEnabled(blob)) {\n          download(blob, name, opts);\n        } else {\n          var a = document.createElement('a');\n          a.href = blob;\n          a.target = '_blank';\n          setTimeout(function () {\n            click(a);\n          });\n        }\n      } else {\n        navigator.msSaveOrOpenBlob(bom(blob, opts), name);\n      }\n    } // Fallback to using FileReader and a popup\n    : function saveAs(blob, name, opts, popup) {\n      // Open a popup immediately do go around popup blocker\n      // Mostly only available on user interaction and the fileReader is async so...\n      popup = popup || open('', '_blank');\n\n      if (popup) {\n        popup.document.title = popup.document.body.innerText = 'downloading...';\n      }\n\n      if (typeof blob === 'string') return download(blob, name, opts);\n      var force = blob.type === 'application/octet-stream';\n\n      var isSafari = /constructor/i.test(_global.HTMLElement) || _global.safari;\n\n      var isChromeIOS = /CriOS\\/[\\d]+/.test(navigator.userAgent);\n\n      if ((isChromeIOS || force && isSafari || isMacOSWebView) && typeof FileReader !== 'undefined') {\n        // Safari doesn't allow downloading of blob URLs\n        var reader = new FileReader();\n\n        reader.onloadend = function () {\n          var url = reader.result;\n          url = isChromeIOS ? url : url.replace(/^data:[^;]*;/, 'data:attachment/file;');\n          if (popup) popup.location.href = url;else location = url;\n          popup = null; // reverse-tabnabbing #460\n        };\n\n        reader.readAsDataURL(blob);\n      } else {\n        var URL = _global.URL || _global.webkitURL;\n        var url = URL.createObjectURL(blob);\n        if (popup) popup.location = url;else location.href = url;\n        popup = null; // reverse-tabnabbing #460\n\n        setTimeout(function () {\n          URL.revokeObjectURL(url);\n        }, 4E4); // 40s\n      }\n    });\n    _global.saveAs = saveAs.saveAs = saveAs;\n\n    if (typeof module !== 'undefined') {\n      module.exports = saveAs;\n    }\n  });"
  },
  {
    "path": "extension/js/cnblog/cnblogrun0.js",
    "content": "window.onload = function () {\n    chrome.storage.sync.get('cnblogname',function(budget){\n        var cnblog1=\"https://home.cnblogs.com/u/\"+budget.cnblogname+\"/\";\n         window.open(cnblog1)\n      })\n}"
  },
  {
    "path": "extension/js/cnblog/cnblogrun1.js",
    "content": "window.onload = function () {\n    // for(var i=0;i<10;i++)\n    // {\n    //      console.log(document.getElementsByTagName('a')[i].outerHTML)\n    //     console.log(js = document.getElementsByTagName('a')[i].getAttribute('href'));\n    // }\n   var data= Array();\n    for(var i=12;i<=14;i++)\n    {\n        console.log(document.getElementsByClassName('text_gray')[i-11].innerHTML)\n        data.push(document.getElementsByClassName('text_gray')[i-11].innerHTML)\n        var s=document.getElementsByTagName('li')[i].innerHTML;\n        var st=\"\";\n        for(var j=0;j<s.length;j++)\n        {\n            st=st.concat(s[j]);\n            if(s[j]=='>')\n            st=\"\";\n        }\n        console.log(st)\n        data.push(st);\n    }\n    for(var i=6;i<=11;i++)\n    {\n        console.log(document.getElementsByTagName('span')[i].innerHTML)\n        data.push(document.getElementsByTagName('span')[i].innerHTML)\n    }\n\n    data.push(\"关注数\")\n    data.push(document.getElementById('following_count').innerHTML)\n    data.push(\"粉丝数\")\n    data.push(document.getElementById('follower_count').innerHTML)\n    console.log(\"关注数\")\n    console.log(document.getElementById('following_count').innerHTML)\n    console.log(\"粉丝数\")\n    console.log(document.getElementById('follower_count').innerHTML)\n\n    //  var Divs = new Array();\n    //  Divs= Array.from(document.getElementsByClassName(\"avatar_name\"))\n    //  console.log(Divs);\n    // console.log(document.getElementsByClassName(\"avatar_name\"));\n    chrome.storage.sync.set({'user':data})\n    chrome.storage.sync.get('cnblogname',function(budget){\n        var cnblogurl2=\"https://www.cnblogs.com/\"+budget.cnblogname+\"/\";\n        window.open(cnblogurl2)\n    })\n\n}"
  },
  {
    "path": "extension/js/cnblog/cnblogrun2.js",
    "content": "(function (global, factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([], factory);\n    } else if (typeof exports !== \"undefined\") {\n      factory();\n    } else {\n      var mod = {\n        exports: {}\n      };\n      factory();\n      global.FileSaver = mod.exports;\n    }\n  })(this, function () {\n    \"use strict\";\n\n    /*\n    * FileSaver.js\n    * A saveAs() FileSaver implementation.\n    *\n    * By Eli Grey, http://eligrey.com\n    *\n    * License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT)\n    * source  : http://purl.eligrey.com/github/FileSaver.js\n    */\n    // The one and only way of getting global scope in all environments\n    // https://stackoverflow.com/q/3277182/1008999\n    var _global = typeof window === 'object' && window.window === window ? window : typeof self === 'object' && self.self === self ? self : typeof global === 'object' && global.global === global ? global : void 0;\n\n    function bom(blob, opts) {\n      if (typeof opts === 'undefined') opts = {\n        autoBom: false\n      };else if (typeof opts !== 'object') {\n        console.warn('Deprecated: Expected third argument to be a object');\n        opts = {\n          autoBom: !opts\n        };\n      } // prepend BOM for UTF-8 XML and text/* types (including HTML)\n      // note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF\n\n      if (opts.autoBom && /^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(blob.type)) {\n        return new Blob([String.fromCharCode(0xFEFF), blob], {\n          type: blob.type\n        });\n      }\n\n      return blob;\n    }\n\n    function download(url, name, opts) {\n      var xhr = new XMLHttpRequest();\n      xhr.open('GET', url);\n      xhr.responseType = 'blob';\n\n      xhr.onload = function () {\n        saveAs(xhr.response, name, opts);\n      };\n\n      xhr.onerror = function () {\n        console.error('could not download file');\n      };\n\n      xhr.send();\n    }\n\n    function corsEnabled(url) {\n      var xhr = new XMLHttpRequest(); // use sync to avoid popup blocker\n\n      xhr.open('HEAD', url, false);\n\n      try {\n        xhr.send();\n      } catch (e) {}\n\n      return xhr.status >= 200 && xhr.status <= 299;\n    } // `a.click()` doesn't work for all browsers (#465)\n\n\n    function click(node) {\n      try {\n        node.dispatchEvent(new MouseEvent('click'));\n      } catch (e) {\n        var evt = document.createEvent('MouseEvents');\n        evt.initMouseEvent('click', true, true, window, 0, 0, 0, 80, 20, false, false, false, false, 0, null);\n        node.dispatchEvent(evt);\n      }\n    } // Detect WebView inside a native macOS app by ruling out all browsers\n    // We just need to check for 'Safari' because all other browsers (besides Firefox) include that too\n    // https://www.whatismybrowser.com/guides/the-latest-user-agent/macos\n\n\n    var isMacOSWebView = _global.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent);\n    var saveAs = _global.saveAs || ( // probably in some web worker\n    typeof window !== 'object' || window !== _global ? function saveAs() {}\n    /* noop */\n    // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView\n    : 'download' in HTMLAnchorElement.prototype && !isMacOSWebView ? function saveAs(blob, name, opts) {\n      var URL = _global.URL || _global.webkitURL;\n      var a = document.createElement('a');\n      name = name || blob.name || 'download';\n      a.download = name;\n      a.rel = 'noopener'; // tabnabbing\n      // TODO: detect chrome extensions & packaged apps\n      // a.target = '_blank'\n\n      if (typeof blob === 'string') {\n        // Support regular links\n        a.href = blob;\n\n        if (a.origin !== location.origin) {\n          corsEnabled(a.href) ? download(blob, name, opts) : click(a, a.target = '_blank');\n        } else {\n          click(a);\n        }\n      } else {\n        // Support blobs\n        a.href = URL.createObjectURL(blob);\n        setTimeout(function () {\n          URL.revokeObjectURL(a.href);\n        }, 4E4); // 40s\n\n        setTimeout(function () {\n          click(a);\n        }, 0);\n      }\n    } // Use msSaveOrOpenBlob as a second approach\n    : 'msSaveOrOpenBlob' in navigator ? function saveAs(blob, name, opts) {\n      name = name || blob.name || 'download';\n\n      if (typeof blob === 'string') {\n        if (corsEnabled(blob)) {\n          download(blob, name, opts);\n        } else {\n          var a = document.createElement('a');\n          a.href = blob;\n          a.target = '_blank';\n          setTimeout(function () {\n            click(a);\n          });\n        }\n      } else {\n        navigator.msSaveOrOpenBlob(bom(blob, opts), name);\n      }\n    } // Fallback to using FileReader and a popup\n    : function saveAs(blob, name, opts, popup) {\n      // Open a popup immediately do go around popup blocker\n      // Mostly only available on user interaction and the fileReader is async so...\n      popup = popup || open('', '_blank');\n\n      if (popup) {\n        popup.document.title = popup.document.body.innerText = 'downloading...';\n      }\n\n      if (typeof blob === 'string') return download(blob, name, opts);\n      var force = blob.type === 'application/octet-stream';\n\n      var isSafari = /constructor/i.test(_global.HTMLElement) || _global.safari;\n\n      var isChromeIOS = /CriOS\\/[\\d]+/.test(navigator.userAgent);\n\n      if ((isChromeIOS || force && isSafari || isMacOSWebView) && typeof FileReader !== 'undefined') {\n        // Safari doesn't allow downloading of blob URLs\n        var reader = new FileReader();\n\n        reader.onloadend = function () {\n          var url = reader.result;\n          url = isChromeIOS ? url : url.replace(/^data:[^;]*;/, 'data:attachment/file;');\n          if (popup) popup.location.href = url;else location = url;\n          popup = null; // reverse-tabnabbing #460\n        };\n\n        reader.readAsDataURL(blob);\n      } else {\n        var URL = _global.URL || _global.webkitURL;\n        var url = URL.createObjectURL(blob);\n        if (popup) popup.location = url;else location.href = url;\n        popup = null; // reverse-tabnabbing #460\n\n        setTimeout(function () {\n          URL.revokeObjectURL(url);\n        }, 4E4); // 40s\n      }\n    });\n    _global.saveAs = saveAs.saveAs = saveAs;\n\n    if (typeof module !== 'undefined') {\n      module.exports = saveAs;\n    }\n  });\nwindow.onload = function () {\n    var data=new Array();\n        for(var i=0;i<document.getElementsByClassName('c_b_p_desc_readmore').length;i++)\n    {\n\n        console.log(document.getElementsByClassName('c_b_p_desc_readmore')[i].getAttribute('href'));\n         console.log(document.getElementsByClassName('post-view-count')[i].innerHTML)\n         console.log(document.getElementsByClassName('post-comment-count')[i].innerHTML)\n         console.log(document.getElementsByClassName('post-digg-count')[i].innerHTML)\n         data.push(document.getElementsByClassName('c_b_p_desc_readmore')[i].getAttribute('href'))\n         data.push(document.getElementsByClassName('post-view-count')[i].innerHTML)\n         data.push(document.getElementsByClassName('post-comment-count')[i].innerHTML)\n         data.push(document.getElementsByClassName('post-digg-count')[i].innerHTML)\n\n    }\n    chrome.storage.sync.get('user',function(budget){\n        var content=JSON.stringify(budget.user, null, '\\t')\n        var blob = new Blob([content], {type: \"text/plain;charset=utf-8\"});\n        saveAs(blob, \"user.json\");\n    })\n    var content=JSON.stringify(data, null, '\\t')\n    var blob = new Blob([content], {type: \"text/plain;charset=utf-8\"});\n    saveAs(blob, \"note.json\");\n\n}"
  },
  {
    "path": "extension/js/github/githubrun1.js",
    "content": "window.onload = function () {\n\n  //  console.log(document.getElementsByTagName('pre')[0].innerHTML)\n    var data = document.getElementsByTagName('pre')[0].innerHTML;\n    chrome.storage.sync.set({'user':data});\n    // var content = JSON.stringify(data);\n    // var blob = new Blob([data]);\n    // saveAs(blob, \"users.json\");\n    chrome.storage.sync.get('flag',function(budget){\n        if(budget.flag==1)\n        {\n            chrome.storage.sync.get('githubname',function(budget){\n                var githuburl2=\"https://api.github.com/users/\"+budget.githubname+\"/following\";\n                window.open(githuburl2)\n                window.close();\n\n            })\n            chrome.storage.sync.set({'flag':0});\n\n        }\n    })\n\n}"
  },
  {
    "path": "extension/js/github/githubrun2.js",
    "content": "\nwindow.onload = function () {\n    console.log(document.getElementsByTagName('pre')[0].innerHTML)\n    let data = document.getElementsByTagName('pre')[0].innerHTML;\n    chrome.storage.sync.set({'following':data});\n  // var blob = new Blob([data], {type: \"text/plain;charset=utf-8\"});\n  // saveAs(blob, \"following.json\");\n    chrome.storage.sync.get('githubname',function(budget){\n      var githuburl3=\"https://api.github.com/users/\"+budget.githubname+\"/followers\";\n       window.open(githuburl3)\n       window.close();\n\n    })\n\n}"
  },
  {
    "path": "extension/js/github/githubrun3.js",
    "content": "\nwindow.onload = function () {\n    console.log(document.getElementsByTagName('pre')[0].innerHTML)\n    let data = document.getElementsByTagName('pre')[0].innerHTML;\n    chrome.storage.sync.set({'followers':data});\n    // var blob = new Blob([data], {type: \"text/plain;charset=utf-8\"});\n    // saveAs(blob, \"followers.json\");\n    chrome.storage.sync.get('githubname',function(budget){\n        var githuburl4=\"https://api.github.com/users/\"+budget.githubname+\"/repos\";\n        window.open(githuburl4)\n        window.close();\n\n    })\n\n}"
  },
  {
    "path": "extension/js/github/githubrun4.js",
    "content": "\nwindow.onload = function () {\n    console.log(document.getElementsByTagName('pre')[0].innerHTML)\n    let data = document.getElementsByTagName('pre')[0].innerHTML;\n    chrome.storage.sync.set({'repos':data});\n    // var blob = new Blob([data], {type: \"text/plain;charset=utf-8\"});\n    // saveAs(blob, \"repos.json\");\n    chrome.storage.sync.get('githubname',function(budget){\n        var githuburl5=\"https://api.github.com/users/\"+budget.githubname+\"/received_events\";\n        window.open(githuburl5)\n        window.close();\n    })\n\n}"
  },
  {
    "path": "extension/js/github/githubrun5.js",
    "content": "(function (global, factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([], factory);\n    } else if (typeof exports !== \"undefined\") {\n      factory();\n    } else {\n      var mod = {\n        exports: {}\n      };\n      factory();\n      global.FileSaver = mod.exports;\n    }\n  })(this, function () {\n    \"use strict\";\n\n    /*\n    * FileSaver.js\n    * A saveAs() FileSaver implementation.\n    *\n    * By Eli Grey, http://eligrey.com\n    *\n    * License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT)\n    * source  : http://purl.eligrey.com/github/FileSaver.js\n    */\n    // The one and only way of getting global scope in all environments\n    // https://stackoverflow.com/q/3277182/1008999\n    var _global = typeof window === 'object' && window.window === window ? window : typeof self === 'object' && self.self === self ? self : typeof global === 'object' && global.global === global ? global : void 0;\n\n    function bom(blob, opts) {\n      if (typeof opts === 'undefined') opts = {\n        autoBom: false\n      };else if (typeof opts !== 'object') {\n        console.warn('Deprecated: Expected third argument to be a object');\n        opts = {\n          autoBom: !opts\n        };\n      } // prepend BOM for UTF-8 XML and text/* types (including HTML)\n      // note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF\n\n      if (opts.autoBom && /^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(blob.type)) {\n        return new Blob([String.fromCharCode(0xFEFF), blob], {\n          type: blob.type\n        });\n      }\n\n      return blob;\n    }\n\n    function download(url, name, opts) {\n      var xhr = new XMLHttpRequest();\n      xhr.open('GET', url);\n      xhr.responseType = 'blob';\n\n      xhr.onload = function () {\n        saveAs(xhr.response, name, opts);\n      };\n\n      xhr.onerror = function () {\n        console.error('could not download file');\n      };\n\n      xhr.send();\n    }\n\n    function corsEnabled(url) {\n      var xhr = new XMLHttpRequest(); // use sync to avoid popup blocker\n\n      xhr.open('HEAD', url, false);\n\n      try {\n        xhr.send();\n      } catch (e) {}\n\n      return xhr.status >= 200 && xhr.status <= 299;\n    } // `a.click()` doesn't work for all browsers (#465)\n\n\n    function click(node) {\n      try {\n        node.dispatchEvent(new MouseEvent('click'));\n      } catch (e) {\n        var evt = document.createEvent('MouseEvents');\n        evt.initMouseEvent('click', true, true, window, 0, 0, 0, 80, 20, false, false, false, false, 0, null);\n        node.dispatchEvent(evt);\n      }\n    } // Detect WebView inside a native macOS app by ruling out all browsers\n    // We just need to check for 'Safari' because all other browsers (besides Firefox) include that too\n    // https://www.whatismybrowser.com/guides/the-latest-user-agent/macos\n\n\n    var isMacOSWebView = _global.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent);\n    var saveAs = _global.saveAs || ( // probably in some web worker\n    typeof window !== 'object' || window !== _global ? function saveAs() {}\n    /* noop */\n    // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView\n    : 'download' in HTMLAnchorElement.prototype && !isMacOSWebView ? function saveAs(blob, name, opts) {\n      var URL = _global.URL || _global.webkitURL;\n      var a = document.createElement('a');\n      name = name || blob.name || 'download';\n      a.download = name;\n      a.rel = 'noopener'; // tabnabbing\n      // TODO: detect chrome extensions & packaged apps\n      // a.target = '_blank'\n\n      if (typeof blob === 'string') {\n        // Support regular links\n        a.href = blob;\n\n        if (a.origin !== location.origin) {\n          corsEnabled(a.href) ? download(blob, name, opts) : click(a, a.target = '_blank');\n        } else {\n          click(a);\n        }\n      } else {\n        // Support blobs\n        a.href = URL.createObjectURL(blob);\n        setTimeout(function () {\n          URL.revokeObjectURL(a.href);\n        }, 4E4); // 40s\n\n        setTimeout(function () {\n          click(a);\n        }, 0);\n      }\n    } // Use msSaveOrOpenBlob as a second approach\n    : 'msSaveOrOpenBlob' in navigator ? function saveAs(blob, name, opts) {\n      name = name || blob.name || 'download';\n\n      if (typeof blob === 'string') {\n        if (corsEnabled(blob)) {\n          download(blob, name, opts);\n        } else {\n          var a = document.createElement('a');\n          a.href = blob;\n          a.target = '_blank';\n          setTimeout(function () {\n            click(a);\n          });\n        }\n      } else {\n        navigator.msSaveOrOpenBlob(bom(blob, opts), name);\n      }\n    } // Fallback to using FileReader and a popup\n    : function saveAs(blob, name, opts, popup) {\n      // Open a popup immediately do go around popup blocker\n      // Mostly only available on user interaction and the fileReader is async so...\n      popup = popup || open('', '_blank');\n\n      if (popup) {\n        popup.document.title = popup.document.body.innerText = 'downloading...';\n      }\n\n      if (typeof blob === 'string') return download(blob, name, opts);\n      var force = blob.type === 'application/octet-stream';\n\n      var isSafari = /constructor/i.test(_global.HTMLElement) || _global.safari;\n\n      var isChromeIOS = /CriOS\\/[\\d]+/.test(navigator.userAgent);\n\n      if ((isChromeIOS || force && isSafari || isMacOSWebView) && typeof FileReader !== 'undefined') {\n        // Safari doesn't allow downloading of blob URLs\n        var reader = new FileReader();\n\n        reader.onloadend = function () {\n          var url = reader.result;\n          url = isChromeIOS ? url : url.replace(/^data:[^;]*;/, 'data:attachment/file;');\n          if (popup) popup.location.href = url;else location = url;\n          popup = null; // reverse-tabnabbing #460\n        };\n\n        reader.readAsDataURL(blob);\n      } else {\n        var URL = _global.URL || _global.webkitURL;\n        var url = URL.createObjectURL(blob);\n        if (popup) popup.location = url;else location.href = url;\n        popup = null; // reverse-tabnabbing #460\n\n        setTimeout(function () {\n          URL.revokeObjectURL(url);\n        }, 4E4); // 40s\n      }\n    });\n    _global.saveAs = saveAs.saveAs = saveAs;\n\n    if (typeof module !== 'undefined') {\n      module.exports = saveAs;\n    }\n  });\nwindow.onload = function () {\n  chrome.storage.sync.get('user',function(budget){\n    var blob = new Blob([budget.user], {type: \"text/plain;charset=utf-8\"});\n    saveAs(blob, \"user.json\");\n})\nchrome.storage.sync.get('following',function(budget){\n  var blob = new Blob([budget.following], {type: \"text/plain;charset=utf-8\"});\n  saveAs(blob, \"following.json\");\n})\nchrome.storage.sync.get('followers',function(budget){\n  var blob = new Blob([budget.followers], {type: \"text/plain;charset=utf-8\"});\n  saveAs(blob, \"followers.json\");\n})\nchrome.storage.sync.get('repos',function(budget){\n  var blob = new Blob([budget.repos], {type: \"text/plain;charset=utf-8\"});\n  saveAs(blob, \"repos.json\");\n})\n\n\n\n    console.log(document.getElementsByTagName('pre')[0].innerHTML)\n    let data = document.getElementsByTagName('pre')[0].innerHTML;\n    var blob = new Blob([data], {type: \"text/plain;charset=utf-8\"});\n    saveAs(blob, \"received_events.json\");\n\n    // alert(\"爬取成功\")\n    // window.close();\n}"
  },
  {
    "path": "extension/js/index.js",
    "content": "window.onload = function () {\n    $('#github').click(function(){\n        var githubname=prompt(\"请输入用户名\");\n        chrome.storage.sync.set({'githubname':githubname});\n        chrome.storage.sync.set({'flag':1});\n        var githuburl1=\"https://api.github.com/users/\"+githubname;\n        // var githuburl2=\"https://api.github.com/users/\"+githubname+\"/following\";\n        // var githuburl3=\"https://api.github.com/users/\"+githubname+\"/followers\";\n        // var githuburl4=\"https://api.github.com/users/\"+githubname+\"/repos\";\n        // var githuburl5=\"https://api.github.com/users/\"+githubname+\"/received_events\";\n        window.open(githuburl1)\n\n     //   chrome.storage.sync.set({ 'githubname': githubname })\n    })\n\n\n    $('#jianshu').click(function(){\n        var jianshu=prompt(\"请输入用户的主页链接\");\n        var jianshuname=\"\";\n        var j=0;\n        for(var i=0;i<jianshu.length;i++)\n        {\n                jianshuname=jianshuname.concat(jianshu[i]);\n                if(jianshu[i]=='/')\n                {\n                    jianshuname=\"\";\n                }\n        }\n        chrome.storage.sync.set({'jianshuname':jianshuname});\n        console.log(jianshuname)\n        var jianshuurl1=\"https://www.jianshu.com/asimov/users/slug/\"+jianshuname;\n        var jianshuurl2=\"https://www.jianshu.com/asimov/users/slug/\"+jianshuname+\"/public_notes\";\n        window.open(jianshuurl1);\n    })\n\n\n    $('#cnblog').click(function(){\n        var cnblog=prompt(\"请输入用户的博客来链接\");\n        console.log(cnblog)\n        var cnblogname=\"\";\n        var j=\"\";\n\n        for(var i=0;i<cnblog.length;i++)\n        {\n            cnblogname=cnblogname.concat(cnblog[i]);\n                if(cnblog[i+1]=='/')\n                {\n\n                   j=cnblogname;\n                 //   console.log(cnblogname)\n                    cnblogname=\"\";\n                    i++;\n                }\n        }\n        console.log(j);\n        chrome.storage.sync.set({'cnblogname':j});\n        var cnblogurl1=\"https://home.cnblogs.com/u/\"+j+\"/\";\n        window.open(cnblogurl1);\n    })\n\n    $('#oschina').click(function(){\n        var oschina=prompt(\"请输入用户的博客链接\");\n        console.log(oschina)\n        var oschinaname=\"\";\n        var j=\"\";\n        for(var i=0;i<oschina.length;i++)\n        {\n            oschinaname=oschinaname.concat(oschina[i]);\n            j=oschinaname;\n                if(oschina[i+1]=='/')\n                {\n\n                    oschinaname=\"\";\n                    i++;\n                }\n        }\n        //j=oschinaname;\n        console.log(j);\n        chrome.storage.sync.set({'oschinaname':j});\n        var oschinaurl1=\"https://my.oschina.net/u/\"+j+\"/\";\n        window.open(oschinaurl1);\n    })\n\n\n}"
  },
  {
    "path": "extension/js/jianshu/jianshurun1.js",
    "content": "window.onload = function () {\n    console.log(document.getElementsByTagName('pre')[0].innerHTML)\n\n    data=document.getElementsByTagName('pre')[0].innerHTML;\n    chrome.storage.sync.set({'user':data});\n    chrome.storage.sync.get('jianshuname',function(budget){\n\n        var jianshuurl2=\"https://www.jianshu.com/asimov/users/slug/\"+budget.jianshuname+\"/public_notes\";\n        window.open(jianshuurl2)\n    })\n}"
  },
  {
    "path": "extension/js/jianshu/jianshurun2.js",
    "content": "(function (global, factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([], factory);\n    } else if (typeof exports !== \"undefined\") {\n      factory();\n    } else {\n      var mod = {\n        exports: {}\n      };\n      factory();\n      global.FileSaver = mod.exports;\n    }\n  })(this, function () {\n    \"use strict\";\n\n    /*\n    * FileSaver.js\n    * A saveAs() FileSaver implementation.\n    *\n    * By Eli Grey, http://eligrey.com\n    *\n    * License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT)\n    * source  : http://purl.eligrey.com/github/FileSaver.js\n    */\n    // The one and only way of getting global scope in all environments\n    // https://stackoverflow.com/q/3277182/1008999\n    var _global = typeof window === 'object' && window.window === window ? window : typeof self === 'object' && self.self === self ? self : typeof global === 'object' && global.global === global ? global : void 0;\n\n    function bom(blob, opts) {\n      if (typeof opts === 'undefined') opts = {\n        autoBom: false\n      };else if (typeof opts !== 'object') {\n        console.warn('Deprecated: Expected third argument to be a object');\n        opts = {\n          autoBom: !opts\n        };\n      } // prepend BOM for UTF-8 XML and text/* types (including HTML)\n      // note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF\n\n      if (opts.autoBom && /^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(blob.type)) {\n        return new Blob([String.fromCharCode(0xFEFF), blob], {\n          type: blob.type\n        });\n      }\n\n      return blob;\n    }\n\n    function download(url, name, opts) {\n      var xhr = new XMLHttpRequest();\n      xhr.open('GET', url);\n      xhr.responseType = 'blob';\n\n      xhr.onload = function () {\n        saveAs(xhr.response, name, opts);\n      };\n\n      xhr.onerror = function () {\n        console.error('could not download file');\n      };\n\n      xhr.send();\n    }\n\n    function corsEnabled(url) {\n      var xhr = new XMLHttpRequest(); // use sync to avoid popup blocker\n\n      xhr.open('HEAD', url, false);\n\n      try {\n        xhr.send();\n      } catch (e) {}\n\n      return xhr.status >= 200 && xhr.status <= 299;\n    } // `a.click()` doesn't work for all browsers (#465)\n\n\n    function click(node) {\n      try {\n        node.dispatchEvent(new MouseEvent('click'));\n      } catch (e) {\n        var evt = document.createEvent('MouseEvents');\n        evt.initMouseEvent('click', true, true, window, 0, 0, 0, 80, 20, false, false, false, false, 0, null);\n        node.dispatchEvent(evt);\n      }\n    } // Detect WebView inside a native macOS app by ruling out all browsers\n    // We just need to check for 'Safari' because all other browsers (besides Firefox) include that too\n    // https://www.whatismybrowser.com/guides/the-latest-user-agent/macos\n\n\n    var isMacOSWebView = _global.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent);\n    var saveAs = _global.saveAs || ( // probably in some web worker\n    typeof window !== 'object' || window !== _global ? function saveAs() {}\n    /* noop */\n    // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView\n    : 'download' in HTMLAnchorElement.prototype && !isMacOSWebView ? function saveAs(blob, name, opts) {\n      var URL = _global.URL || _global.webkitURL;\n      var a = document.createElement('a');\n      name = name || blob.name || 'download';\n      a.download = name;\n      a.rel = 'noopener'; // tabnabbing\n      // TODO: detect chrome extensions & packaged apps\n      // a.target = '_blank'\n\n      if (typeof blob === 'string') {\n        // Support regular links\n        a.href = blob;\n\n        if (a.origin !== location.origin) {\n          corsEnabled(a.href) ? download(blob, name, opts) : click(a, a.target = '_blank');\n        } else {\n          click(a);\n        }\n      } else {\n        // Support blobs\n        a.href = URL.createObjectURL(blob);\n        setTimeout(function () {\n          URL.revokeObjectURL(a.href);\n        }, 4E4); // 40s\n\n        setTimeout(function () {\n          click(a);\n        }, 0);\n      }\n    } // Use msSaveOrOpenBlob as a second approach\n    : 'msSaveOrOpenBlob' in navigator ? function saveAs(blob, name, opts) {\n      name = name || blob.name || 'download';\n\n      if (typeof blob === 'string') {\n        if (corsEnabled(blob)) {\n          download(blob, name, opts);\n        } else {\n          var a = document.createElement('a');\n          a.href = blob;\n          a.target = '_blank';\n          setTimeout(function () {\n            click(a);\n          });\n        }\n      } else {\n        navigator.msSaveOrOpenBlob(bom(blob, opts), name);\n      }\n    } // Fallback to using FileReader and a popup\n    : function saveAs(blob, name, opts, popup) {\n      // Open a popup immediately do go around popup blocker\n      // Mostly only available on user interaction and the fileReader is async so...\n      popup = popup || open('', '_blank');\n\n      if (popup) {\n        popup.document.title = popup.document.body.innerText = 'downloading...';\n      }\n\n      if (typeof blob === 'string') return download(blob, name, opts);\n      var force = blob.type === 'application/octet-stream';\n\n      var isSafari = /constructor/i.test(_global.HTMLElement) || _global.safari;\n\n      var isChromeIOS = /CriOS\\/[\\d]+/.test(navigator.userAgent);\n\n      if ((isChromeIOS || force && isSafari || isMacOSWebView) && typeof FileReader !== 'undefined') {\n        // Safari doesn't allow downloading of blob URLs\n        var reader = new FileReader();\n\n        reader.onloadend = function () {\n          var url = reader.result;\n          url = isChromeIOS ? url : url.replace(/^data:[^;]*;/, 'data:attachment/file;');\n          if (popup) popup.location.href = url;else location = url;\n          popup = null; // reverse-tabnabbing #460\n        };\n\n        reader.readAsDataURL(blob);\n      } else {\n        var URL = _global.URL || _global.webkitURL;\n        var url = URL.createObjectURL(blob);\n        if (popup) popup.location = url;else location.href = url;\n        popup = null; // reverse-tabnabbing #460\n\n        setTimeout(function () {\n          URL.revokeObjectURL(url);\n        }, 4E4); // 40s\n      }\n    });\n    _global.saveAs = saveAs.saveAs = saveAs;\n\n    if (typeof module !== 'undefined') {\n      module.exports = saveAs;\n    }\n  });\nwindow.onload = function () {\n    console.log(document.getElementsByTagName('pre')[0].innerHTML)\n    chrome.storage.sync.get('user',function(budget){\n\n        var blob = new Blob([budget.user], {type: \"text/plain;charset=utf-8\"});\n        saveAs(blob, \"user.json\");\n    })\n    var data=document.getElementsByTagName('pre')[0].innerHTML;\n    var blob = new Blob([data], {type: \"text/plain;charset=utf-8\"});\n    saveAs(blob, \"public_notes.json\");\n}"
  },
  {
    "path": "extension/js/jquery.js",
    "content": "/*!\n * jQuery JavaScript Library v3.6.0\n * https://jquery.com/\n *\n * Includes Sizzle.js\n * https://sizzlejs.com/\n *\n * Copyright OpenJS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2021-03-02T17:08Z\n */\n( function( global, factory ) {\n\n\t\"use strict\";\n\n\tif ( typeof module === \"object\" && typeof module.exports === \"object\" ) {\n\n\t\t// For CommonJS and CommonJS-like environments where a proper `window`\n\t\t// is present, execute the factory and get jQuery.\n\t\t// For environments that do not have a `window` with a `document`\n\t\t// (such as Node.js), expose a factory as module.exports.\n\t\t// This accentuates the need for the creation of a real `window`.\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket #14549 for more info.\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n} )( typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1\n// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode\n// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common\n// enough that all such attempts are guarded in a try block.\n\"use strict\";\n\nvar arr = [];\n\nvar getProto = Object.getPrototypeOf;\n\nvar slice = arr.slice;\n\nvar flat = arr.flat ? function( array ) {\n\treturn arr.flat.call( array );\n} : function( array ) {\n\treturn arr.concat.apply( [], array );\n};\n\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar fnToString = hasOwn.toString;\n\nvar ObjectFunctionString = fnToString.call( Object );\n\nvar support = {};\n\nvar isFunction = function isFunction( obj ) {\n\n\t\t// Support: Chrome <=57, Firefox <=52\n\t\t// In some browsers, typeof returns \"function\" for HTML <object> elements\n\t\t// (i.e., `typeof document.createElement( \"object\" ) === \"function\"`).\n\t\t// We don't want to classify *any* DOM node as a function.\n\t\t// Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5\n\t\t// Plus for old WebKit, typeof returns \"function\" for HTML collections\n\t\t// (e.g., `typeof document.getElementsByTagName(\"div\") === \"function\"`). (gh-4756)\n\t\treturn typeof obj === \"function\" && typeof obj.nodeType !== \"number\" &&\n\t\t\ttypeof obj.item !== \"function\";\n\t};\n\n\nvar isWindow = function isWindow( obj ) {\n\t\treturn obj != null && obj === obj.window;\n\t};\n\n\nvar document = window.document;\n\n\n\n\tvar preservedScriptAttributes = {\n\t\ttype: true,\n\t\tsrc: true,\n\t\tnonce: true,\n\t\tnoModule: true\n\t};\n\n\tfunction DOMEval( code, node, doc ) {\n\t\tdoc = doc || document;\n\n\t\tvar i, val,\n\t\t\tscript = doc.createElement( \"script\" );\n\n\t\tscript.text = code;\n\t\tif ( node ) {\n\t\t\tfor ( i in preservedScriptAttributes ) {\n\n\t\t\t\t// Support: Firefox 64+, Edge 18+\n\t\t\t\t// Some browsers don't support the \"nonce\" property on scripts.\n\t\t\t\t// On the other hand, just using `getAttribute` is not enough as\n\t\t\t\t// the `nonce` attribute is reset to an empty string whenever it\n\t\t\t\t// becomes browsing-context connected.\n\t\t\t\t// See https://github.com/whatwg/html/issues/2369\n\t\t\t\t// See https://html.spec.whatwg.org/#nonce-attributes\n\t\t\t\t// The `node.getAttribute` check was added for the sake of\n\t\t\t\t// `jQuery.globalEval` so that it can fake a nonce-containing node\n\t\t\t\t// via an object.\n\t\t\t\tval = node[ i ] || node.getAttribute && node.getAttribute( i );\n\t\t\t\tif ( val ) {\n\t\t\t\t\tscript.setAttribute( i, val );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdoc.head.appendChild( script ).parentNode.removeChild( script );\n\t}\n\n\nfunction toType( obj ) {\n\tif ( obj == null ) {\n\t\treturn obj + \"\";\n\t}\n\n\t// Support: Android <=2.3 only (functionish RegExp)\n\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\n\t\tclass2type[ toString.call( obj ) ] || \"object\" :\n\t\ttypeof obj;\n}\n/* global Symbol */\n// Defining this global in .eslintrc.json would create a danger of using the global\n// unguarded in another place, it seems safer to define global only for this module\n\n\n\nvar\n\tversion = \"3.6.0\",\n\n\t// Define a local copy of jQuery\n\tjQuery = function( selector, context ) {\n\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\t// Need init if jQuery is called (just allow error to be thrown if not included)\n\t\treturn new jQuery.fn.init( selector, context );\n\t};\n\njQuery.fn = jQuery.prototype = {\n\n\t// The current version of jQuery being used\n\tjquery: version,\n\n\tconstructor: jQuery,\n\n\t// The default length of a jQuery object is 0\n\tlength: 0,\n\n\ttoArray: function() {\n\t\treturn slice.call( this );\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\n\t\t// Return all the elements in a clean array\n\t\tif ( num == null ) {\n\t\t\treturn slice.call( this );\n\t\t}\n\n\t\t// Return just the one element from the set\n\t\treturn num < 0 ? this[ num + this.length ] : this[ num ];\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems ) {\n\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery.merge( this.constructor(), elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\teach: function( callback ) {\n\t\treturn jQuery.each( this, callback );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map( this, function( elem, i ) {\n\t\t\treturn callback.call( elem, i, elem );\n\t\t} ) );\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( slice.apply( this, arguments ) );\n\t},\n\n\tfirst: function() {\n\t\treturn this.eq( 0 );\n\t},\n\n\tlast: function() {\n\t\treturn this.eq( -1 );\n\t},\n\n\teven: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn ( i + 1 ) % 2;\n\t\t} ) );\n\t},\n\n\todd: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn i % 2;\n\t\t} ) );\n\t},\n\n\teq: function( i ) {\n\t\tvar len = this.length,\n\t\t\tj = +i + ( i < 0 ? len : 0 );\n\t\treturn this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || this.constructor();\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: push,\n\tsort: arr.sort,\n\tsplice: arr.splice\n};\n\njQuery.extend = jQuery.fn.extend = function() {\n\tvar options, name, src, copy, copyIsArray, clone,\n\t\ttarget = arguments[ 0 ] || {},\n\t\ti = 1,\n\t\tlength = arguments.length,\n\t\tdeep = false;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\n\t\t// Skip the boolean and the target\n\t\ttarget = arguments[ i ] || {};\n\t\ti++;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !isFunction( target ) ) {\n\t\ttarget = {};\n\t}\n\n\t// Extend jQuery itself if only one argument is passed\n\tif ( i === length ) {\n\t\ttarget = this;\n\t\ti--;\n\t}\n\n\tfor ( ; i < length; i++ ) {\n\n\t\t// Only deal with non-null/undefined values\n\t\tif ( ( options = arguments[ i ] ) != null ) {\n\n\t\t\t// Extend the base object\n\t\t\tfor ( name in options ) {\n\t\t\t\tcopy = options[ name ];\n\n\t\t\t\t// Prevent Object.prototype pollution\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( name === \"__proto__\" || target === copy ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\tif ( deep && copy && ( jQuery.isPlainObject( copy ) ||\n\t\t\t\t\t( copyIsArray = Array.isArray( copy ) ) ) ) {\n\t\t\t\t\tsrc = target[ name ];\n\n\t\t\t\t\t// Ensure proper type for the source value\n\t\t\t\t\tif ( copyIsArray && !Array.isArray( src ) ) {\n\t\t\t\t\t\tclone = [];\n\t\t\t\t\t} else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {\n\t\t\t\t\t\tclone = {};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclone = src;\n\t\t\t\t\t}\n\t\t\t\t\tcopyIsArray = false;\n\n\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, clone, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\t} else if ( copy !== undefined ) {\n\t\t\t\t\ttarget[ name ] = copy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\njQuery.extend( {\n\n\t// Unique for each copy of jQuery on the page\n\texpando: \"jQuery\" + ( version + Math.random() ).replace( /\\D/g, \"\" ),\n\n\t// Assume jQuery is ready without the ready module\n\tisReady: true,\n\n\terror: function( msg ) {\n\t\tthrow new Error( msg );\n\t},\n\n\tnoop: function() {},\n\n\tisPlainObject: function( obj ) {\n\t\tvar proto, Ctor;\n\n\t\t// Detect obvious negatives\n\t\t// Use toString instead of jQuery.type to catch host objects\n\t\tif ( !obj || toString.call( obj ) !== \"[object Object]\" ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tproto = getProto( obj );\n\n\t\t// Objects with no prototype (e.g., `Object.create( null )`) are plain\n\t\tif ( !proto ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Objects with prototype are plain iff they were constructed by a global Object function\n\t\tCtor = hasOwn.call( proto, \"constructor\" ) && proto.constructor;\n\t\treturn typeof Ctor === \"function\" && fnToString.call( Ctor ) === ObjectFunctionString;\n\t},\n\n\tisEmptyObject: function( obj ) {\n\t\tvar name;\n\n\t\tfor ( name in obj ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\n\t// Evaluates a script in a provided context; falls back to the global one\n\t// if not specified.\n\tglobalEval: function( code, options, doc ) {\n\t\tDOMEval( code, { nonce: options && options.nonce }, doc );\n\t},\n\n\teach: function( obj, callback ) {\n\t\tvar length, i = 0;\n\n\t\tif ( isArrayLike( obj ) ) {\n\t\t\tlength = obj.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor ( i in obj ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\t// results is for internal usage only\n\tmakeArray: function( arr, results ) {\n\t\tvar ret = results || [];\n\n\t\tif ( arr != null ) {\n\t\t\tif ( isArrayLike( Object( arr ) ) ) {\n\t\t\t\tjQuery.merge( ret,\n\t\t\t\t\ttypeof arr === \"string\" ?\n\t\t\t\t\t\t[ arr ] : arr\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tpush.call( ret, arr );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, arr, i ) {\n\t\treturn arr == null ? -1 : indexOf.call( arr, elem, i );\n\t},\n\n\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t// push.apply(_, arraylike) throws on ancient WebKit\n\tmerge: function( first, second ) {\n\t\tvar len = +second.length,\n\t\t\tj = 0,\n\t\t\ti = first.length;\n\n\t\tfor ( ; j < len; j++ ) {\n\t\t\tfirst[ i++ ] = second[ j ];\n\t\t}\n\n\t\tfirst.length = i;\n\n\t\treturn first;\n\t},\n\n\tgrep: function( elems, callback, invert ) {\n\t\tvar callbackInverse,\n\t\t\tmatches = [],\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tcallbackExpect = !invert;\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( ; i < length; i++ ) {\n\t\t\tcallbackInverse = !callback( elems[ i ], i );\n\t\t\tif ( callbackInverse !== callbackExpect ) {\n\t\t\t\tmatches.push( elems[ i ] );\n\t\t\t}\n\t\t}\n\n\t\treturn matches;\n\t},\n\n\t// arg is for internal usage only\n\tmap: function( elems, callback, arg ) {\n\t\tvar length, value,\n\t\t\ti = 0,\n\t\t\tret = [];\n\n\t\t// Go through the array, translating each of the items to their new values\n\t\tif ( isArrayLike( elems ) ) {\n\t\t\tlength = elems.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Go through every key on the object,\n\t\t} else {\n\t\t\tfor ( i in elems ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Flatten any nested arrays\n\t\treturn flat( ret );\n\t},\n\n\t// A global GUID counter for objects\n\tguid: 1,\n\n\t// jQuery.support is not used in Core but other projects attach their\n\t// properties to it so it needs to exist.\n\tsupport: support\n} );\n\nif ( typeof Symbol === \"function\" ) {\n\tjQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];\n}\n\n// Populate the class2type map\njQuery.each( \"Boolean Number String Function Array Date RegExp Object Error Symbol\".split( \" \" ),\n\tfunction( _i, name ) {\n\t\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n\t} );\n\nfunction isArrayLike( obj ) {\n\n\t// Support: real iOS 8.2 only (not reproducible in simulator)\n\t// `in` check used to prevent JIT error (gh-2145)\n\t// hasOwn isn't used here due to false negatives\n\t// regarding Nodelist length in IE\n\tvar length = !!obj && \"length\" in obj && obj.length,\n\t\ttype = toType( obj );\n\n\tif ( isFunction( obj ) || isWindow( obj ) ) {\n\t\treturn false;\n\t}\n\n\treturn type === \"array\" || length === 0 ||\n\t\ttypeof length === \"number\" && length > 0 && ( length - 1 ) in obj;\n}\nvar Sizzle =\n/*!\n * Sizzle CSS Selector Engine v2.3.6\n * https://sizzlejs.com/\n *\n * Copyright JS Foundation and other contributors\n * Released under the MIT license\n * https://js.foundation/\n *\n * Date: 2021-02-16\n */\n( function( window ) {\nvar i,\n\tsupport,\n\tExpr,\n\tgetText,\n\tisXML,\n\ttokenize,\n\tcompile,\n\tselect,\n\toutermostContext,\n\tsortInput,\n\thasDuplicate,\n\n\t// Local document vars\n\tsetDocument,\n\tdocument,\n\tdocElem,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\trbuggyMatches,\n\tmatches,\n\tcontains,\n\n\t// Instance-specific data\n\texpando = \"sizzle\" + 1 * new Date(),\n\tpreferredDoc = window.document,\n\tdirruns = 0,\n\tdone = 0,\n\tclassCache = createCache(),\n\ttokenCache = createCache(),\n\tcompilerCache = createCache(),\n\tnonnativeSelectorCache = createCache(),\n\tsortOrder = function( a, b ) {\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn 0;\n\t},\n\n\t// Instance methods\n\thasOwn = ( {} ).hasOwnProperty,\n\tarr = [],\n\tpop = arr.pop,\n\tpushNative = arr.push,\n\tpush = arr.push,\n\tslice = arr.slice,\n\n\t// Use a stripped-down indexOf as it's faster than native\n\t// https://jsperf.com/thor-indexof-vs-for/5\n\tindexOf = function( list, elem ) {\n\t\tvar i = 0,\n\t\t\tlen = list.length;\n\t\tfor ( ; i < len; i++ ) {\n\t\t\tif ( list[ i ] === elem ) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t},\n\n\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|\" +\n\t\t\"ismap|loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\n\n\t// http://www.w3.org/TR/css3-selectors/#whitespace\n\twhitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",\n\n\t// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram\n\tidentifier = \"(?:\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace +\n\t\t\"?|\\\\\\\\[^\\\\r\\\\n\\\\f]|[\\\\w-]|[^\\0-\\\\x7f])+\",\n\n\t// Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors\n\tattributes = \"\\\\[\" + whitespace + \"*(\" + identifier + \")(?:\" + whitespace +\n\n\t\t// Operator (capture 2)\n\t\t\"*([*^$|!~]?=)\" + whitespace +\n\n\t\t// \"Attribute values must be CSS identifiers [capture 5]\n\t\t// or strings [capture 3 or capture 4]\"\n\t\t\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" +\n\t\twhitespace + \"*\\\\]\",\n\n\tpseudos = \":(\" + identifier + \")(?:\\\\((\" +\n\n\t\t// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n\t\t// 1. quoted (capture 3; capture 4 or capture 5)\n\t\t\"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" +\n\n\t\t// 2. simple (capture 6)\n\t\t\"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" +\n\n\t\t// 3. anything else (capture 2)\n\t\t\".*\" +\n\t\t\")\\\\)|)\",\n\n\t// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n\trwhitespace = new RegExp( whitespace + \"+\", \"g\" ),\n\trtrim = new RegExp( \"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" +\n\t\twhitespace + \"+$\", \"g\" ),\n\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trcombinators = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" + whitespace +\n\t\t\"*\" ),\n\trdescend = new RegExp( whitespace + \"|>\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\t\"ID\": new RegExp( \"^#(\" + identifier + \")\" ),\n\t\t\"CLASS\": new RegExp( \"^\\\\.(\" + identifier + \")\" ),\n\t\t\"TAG\": new RegExp( \"^(\" + identifier + \"|[*])\" ),\n\t\t\"ATTR\": new RegExp( \"^\" + attributes ),\n\t\t\"PSEUDO\": new RegExp( \"^\" + pseudos ),\n\t\t\"CHILD\": new RegExp( \"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" +\n\t\t\twhitespace + \"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" +\n\t\t\twhitespace + \"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\t\"bool\": new RegExp( \"^(?:\" + booleans + \")$\", \"i\" ),\n\n\t\t// For use in libraries implementing .is()\n\t\t// We use this for POS matching in `select`\n\t\t\"needsContext\": new RegExp( \"^\" + whitespace +\n\t\t\t\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" + whitespace +\n\t\t\t\"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\" )\n\t},\n\n\trhtml = /HTML$/i,\n\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\n\n\trnative = /^[^{]+\\{\\s*\\[native \\w/,\n\n\t// Easily-parseable/retrievable ID or TAG or CLASS selectors\n\trquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n\n\trsibling = /[+~]/,\n\n\t// CSS escapes\n\t// http://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace + \"?|\\\\\\\\([^\\\\r\\\\n\\\\f])\", \"g\" ),\n\tfunescape = function( escape, nonHex ) {\n\t\tvar high = \"0x\" + escape.slice( 1 ) - 0x10000;\n\n\t\treturn nonHex ?\n\n\t\t\t// Strip the backslash prefix from a non-hex escape sequence\n\t\t\tnonHex :\n\n\t\t\t// Replace a hexadecimal escape sequence with the encoded Unicode code point\n\t\t\t// Support: IE <=11+\n\t\t\t// For values outside the Basic Multilingual Plane (BMP), manually construct a\n\t\t\t// surrogate pair\n\t\t\thigh < 0 ?\n\t\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t},\n\n\t// CSS string/identifier serialization\n\t// https://drafts.csswg.org/cssom/#common-serializing-idioms\n\trcssescape = /([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,\n\tfcssescape = function( ch, asCodePoint ) {\n\t\tif ( asCodePoint ) {\n\n\t\t\t// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER\n\t\t\tif ( ch === \"\\0\" ) {\n\t\t\t\treturn \"\\uFFFD\";\n\t\t\t}\n\n\t\t\t// Control characters and (dependent upon position) numbers get escaped as code points\n\t\t\treturn ch.slice( 0, -1 ) + \"\\\\\" +\n\t\t\t\tch.charCodeAt( ch.length - 1 ).toString( 16 ) + \" \";\n\t\t}\n\n\t\t// Other potentially-special ASCII characters get backslash-escaped\n\t\treturn \"\\\\\" + ch;\n\t},\n\n\t// Used for iframes\n\t// See setDocument()\n\t// Removing the function wrapper causes a \"Permission Denied\"\n\t// error in IE\n\tunloadHandler = function() {\n\t\tsetDocument();\n\t},\n\n\tinDisabledFieldset = addCombinator(\n\t\tfunction( elem ) {\n\t\t\treturn elem.disabled === true && elem.nodeName.toLowerCase() === \"fieldset\";\n\t\t},\n\t\t{ dir: \"parentNode\", next: \"legend\" }\n\t);\n\n// Optimize for push.apply( _, NodeList )\ntry {\n\tpush.apply(\n\t\t( arr = slice.call( preferredDoc.childNodes ) ),\n\t\tpreferredDoc.childNodes\n\t);\n\n\t// Support: Android<4.0\n\t// Detect silently failing push.apply\n\t// eslint-disable-next-line no-unused-expressions\n\tarr[ preferredDoc.childNodes.length ].nodeType;\n} catch ( e ) {\n\tpush = { apply: arr.length ?\n\n\t\t// Leverage slice if possible\n\t\tfunction( target, els ) {\n\t\t\tpushNative.apply( target, slice.call( els ) );\n\t\t} :\n\n\t\t// Support: IE<9\n\t\t// Otherwise append directly\n\t\tfunction( target, els ) {\n\t\t\tvar j = target.length,\n\t\t\t\ti = 0;\n\n\t\t\t// Can't trust NodeList.length\n\t\t\twhile ( ( target[ j++ ] = els[ i++ ] ) ) {}\n\t\t\ttarget.length = j - 1;\n\t\t}\n\t};\n}\n\nfunction Sizzle( selector, context, results, seed ) {\n\tvar m, i, elem, nid, match, groups, newSelector,\n\t\tnewContext = context && context.ownerDocument,\n\n\t\t// nodeType defaults to 9, since context defaults to document\n\t\tnodeType = context ? context.nodeType : 9;\n\n\tresults = results || [];\n\n\t// Return early from calls with invalid selector or context\n\tif ( typeof selector !== \"string\" || !selector ||\n\t\tnodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {\n\n\t\treturn results;\n\t}\n\n\t// Try to shortcut find operations (as opposed to filters) in HTML documents\n\tif ( !seed ) {\n\t\tsetDocument( context );\n\t\tcontext = context || document;\n\n\t\tif ( documentIsHTML ) {\n\n\t\t\t// If the selector is sufficiently simple, try using a \"get*By*\" DOM method\n\t\t\t// (excepting DocumentFragment context, where the methods don't exist)\n\t\t\tif ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) {\n\n\t\t\t\t// ID selector\n\t\t\t\tif ( ( m = match[ 1 ] ) ) {\n\n\t\t\t\t\t// Document context\n\t\t\t\t\tif ( nodeType === 9 ) {\n\t\t\t\t\t\tif ( ( elem = context.getElementById( m ) ) ) {\n\n\t\t\t\t\t\t\t// Support: IE, Opera, Webkit\n\t\t\t\t\t\t\t// TODO: identify versions\n\t\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\t\tif ( elem.id === m ) {\n\t\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t// Element context\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\t// Support: IE, Opera, Webkit\n\t\t\t\t\t\t// TODO: identify versions\n\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\tif ( newContext && ( elem = newContext.getElementById( m ) ) &&\n\t\t\t\t\t\t\tcontains( context, elem ) &&\n\t\t\t\t\t\t\telem.id === m ) {\n\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t// Type selector\n\t\t\t\t} else if ( match[ 2 ] ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByTagName( selector ) );\n\t\t\t\t\treturn results;\n\n\t\t\t\t// Class selector\n\t\t\t\t} else if ( ( m = match[ 3 ] ) && support.getElementsByClassName &&\n\t\t\t\t\tcontext.getElementsByClassName ) {\n\n\t\t\t\t\tpush.apply( results, context.getElementsByClassName( m ) );\n\t\t\t\t\treturn results;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Take advantage of querySelectorAll\n\t\t\tif ( support.qsa &&\n\t\t\t\t!nonnativeSelectorCache[ selector + \" \" ] &&\n\t\t\t\t( !rbuggyQSA || !rbuggyQSA.test( selector ) ) &&\n\n\t\t\t\t// Support: IE 8 only\n\t\t\t\t// Exclude object elements\n\t\t\t\t( nodeType !== 1 || context.nodeName.toLowerCase() !== \"object\" ) ) {\n\n\t\t\t\tnewSelector = selector;\n\t\t\t\tnewContext = context;\n\n\t\t\t\t// qSA considers elements outside a scoping root when evaluating child or\n\t\t\t\t// descendant combinators, which is not what we want.\n\t\t\t\t// In such cases, we work around the behavior by prefixing every selector in the\n\t\t\t\t// list with an ID selector referencing the scope context.\n\t\t\t\t// The technique has to be used as well when a leading combinator is used\n\t\t\t\t// as such selectors are not recognized by querySelectorAll.\n\t\t\t\t// Thanks to Andrew Dupont for this technique.\n\t\t\t\tif ( nodeType === 1 &&\n\t\t\t\t\t( rdescend.test( selector ) || rcombinators.test( selector ) ) ) {\n\n\t\t\t\t\t// Expand context for sibling selectors\n\t\t\t\t\tnewContext = rsibling.test( selector ) && testContext( context.parentNode ) ||\n\t\t\t\t\t\tcontext;\n\n\t\t\t\t\t// We can use :scope instead of the ID hack if the browser\n\t\t\t\t\t// supports it & if we're not changing the context.\n\t\t\t\t\tif ( newContext !== context || !support.scope ) {\n\n\t\t\t\t\t\t// Capture the context ID, setting it first if necessary\n\t\t\t\t\t\tif ( ( nid = context.getAttribute( \"id\" ) ) ) {\n\t\t\t\t\t\t\tnid = nid.replace( rcssescape, fcssescape );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcontext.setAttribute( \"id\", ( nid = expando ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prefix every selector in the list\n\t\t\t\t\tgroups = tokenize( selector );\n\t\t\t\t\ti = groups.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tgroups[ i ] = ( nid ? \"#\" + nid : \":scope\" ) + \" \" +\n\t\t\t\t\t\t\ttoSelector( groups[ i ] );\n\t\t\t\t\t}\n\t\t\t\t\tnewSelector = groups.join( \",\" );\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tpush.apply( results,\n\t\t\t\t\t\tnewContext.querySelectorAll( newSelector )\n\t\t\t\t\t);\n\t\t\t\t\treturn results;\n\t\t\t\t} catch ( qsaError ) {\n\t\t\t\t\tnonnativeSelectorCache( selector, true );\n\t\t\t\t} finally {\n\t\t\t\t\tif ( nid === expando ) {\n\t\t\t\t\t\tcontext.removeAttribute( \"id\" );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// All others\n\treturn select( selector.replace( rtrim, \"$1\" ), context, results, seed );\n}\n\n/**\n * Create key-value caches of limited size\n * @returns {function(string, object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\nfunction createCache() {\n\tvar keys = [];\n\n\tfunction cache( key, value ) {\n\n\t\t// Use (key + \" \") to avoid collision with native prototype properties (see Issue #157)\n\t\tif ( keys.push( key + \" \" ) > Expr.cacheLength ) {\n\n\t\t\t// Only keep the most recent entries\n\t\t\tdelete cache[ keys.shift() ];\n\t\t}\n\t\treturn ( cache[ key + \" \" ] = value );\n\t}\n\treturn cache;\n}\n\n/**\n * Mark a function for special use by Sizzle\n * @param {Function} fn The function to mark\n */\nfunction markFunction( fn ) {\n\tfn[ expando ] = true;\n\treturn fn;\n}\n\n/**\n * Support testing using an element\n * @param {Function} fn Passed the created element and returns a boolean result\n */\nfunction assert( fn ) {\n\tvar el = document.createElement( \"fieldset\" );\n\n\ttry {\n\t\treturn !!fn( el );\n\t} catch ( e ) {\n\t\treturn false;\n\t} finally {\n\n\t\t// Remove from its parent by default\n\t\tif ( el.parentNode ) {\n\t\t\tel.parentNode.removeChild( el );\n\t\t}\n\n\t\t// release memory in IE\n\t\tel = null;\n\t}\n}\n\n/**\n * Adds the same handler for all of the specified attrs\n * @param {String} attrs Pipe-separated list of attributes\n * @param {Function} handler The method that will be applied\n */\nfunction addHandle( attrs, handler ) {\n\tvar arr = attrs.split( \"|\" ),\n\t\ti = arr.length;\n\n\twhile ( i-- ) {\n\t\tExpr.attrHandle[ arr[ i ] ] = handler;\n\t}\n}\n\n/**\n * Checks document order of two siblings\n * @param {Element} a\n * @param {Element} b\n * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b\n */\nfunction siblingCheck( a, b ) {\n\tvar cur = b && a,\n\t\tdiff = cur && a.nodeType === 1 && b.nodeType === 1 &&\n\t\t\ta.sourceIndex - b.sourceIndex;\n\n\t// Use IE sourceIndex if available on both nodes\n\tif ( diff ) {\n\t\treturn diff;\n\t}\n\n\t// Check if b follows a\n\tif ( cur ) {\n\t\twhile ( ( cur = cur.nextSibling ) ) {\n\t\t\tif ( cur === b ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn a ? 1 : -1;\n}\n\n/**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn name === \"input\" && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\nfunction createButtonPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn ( name === \"input\" || name === \"button\" ) && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for :enabled/:disabled\n * @param {Boolean} disabled true for :disabled; false for :enabled\n */\nfunction createDisabledPseudo( disabled ) {\n\n\t// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable\n\treturn function( elem ) {\n\n\t\t// Only certain elements can match :enabled or :disabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled\n\t\tif ( \"form\" in elem ) {\n\n\t\t\t// Check for inherited disabledness on relevant non-disabled elements:\n\t\t\t// * listed form-associated elements in a disabled fieldset\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#category-listed\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled\n\t\t\t// * option elements in a disabled optgroup\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled\n\t\t\t// All such elements have a \"form\" property.\n\t\t\tif ( elem.parentNode && elem.disabled === false ) {\n\n\t\t\t\t// Option elements defer to a parent optgroup if present\n\t\t\t\tif ( \"label\" in elem ) {\n\t\t\t\t\tif ( \"label\" in elem.parentNode ) {\n\t\t\t\t\t\treturn elem.parentNode.disabled === disabled;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn elem.disabled === disabled;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Support: IE 6 - 11\n\t\t\t\t// Use the isDisabled shortcut property to check for disabled fieldset ancestors\n\t\t\t\treturn elem.isDisabled === disabled ||\n\n\t\t\t\t\t// Where there is no isDisabled, check manually\n\t\t\t\t\t/* jshint -W018 */\n\t\t\t\t\telem.isDisabled !== !disabled &&\n\t\t\t\t\tinDisabledFieldset( elem ) === disabled;\n\t\t\t}\n\n\t\t\treturn elem.disabled === disabled;\n\n\t\t// Try to winnow out elements that can't be disabled before trusting the disabled property.\n\t\t// Some victims get caught in our net (label, legend, menu, track), but it shouldn't\n\t\t// even exist on them, let alone have a boolean value.\n\t\t} else if ( \"label\" in elem ) {\n\t\t\treturn elem.disabled === disabled;\n\t\t}\n\n\t\t// Remaining elements are neither :enabled nor :disabled\n\t\treturn false;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction( function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction( function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ ( j = matchIndexes[ i ] ) ] ) {\n\t\t\t\t\tseed[ j ] = !( matches[ j ] = seed[ j ] );\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t} );\n}\n\n/**\n * Checks a node for validity as a Sizzle context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */\nfunction testContext( context ) {\n\treturn context && typeof context.getElementsByTagName !== \"undefined\" && context;\n}\n\n// Expose support vars for convenience\nsupport = Sizzle.support = {};\n\n/**\n * Detects XML nodes\n * @param {Element|Object} elem An element or a document\n * @returns {Boolean} True iff elem is a non-HTML XML node\n */\nisXML = Sizzle.isXML = function( elem ) {\n\tvar namespace = elem && elem.namespaceURI,\n\t\tdocElem = elem && ( elem.ownerDocument || elem ).documentElement;\n\n\t// Support: IE <=8\n\t// Assume HTML when documentElement doesn't yet exist, such as inside loading iframes\n\t// https://bugs.jquery.com/ticket/4833\n\treturn !rhtml.test( namespace || docElem && docElem.nodeName || \"HTML\" );\n};\n\n/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [doc] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nsetDocument = Sizzle.setDocument = function( node ) {\n\tvar hasCompare, subWindow,\n\t\tdoc = node ? node.ownerDocument || node : preferredDoc;\n\n\t// Return early if doc is invalid or already selected\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) {\n\t\treturn document;\n\t}\n\n\t// Update global variables\n\tdocument = doc;\n\tdocElem = document.documentElement;\n\tdocumentIsHTML = !isXML( document );\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// Accessing iframe documents after unload throws \"permission denied\" errors (jQuery #13936)\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( preferredDoc != document &&\n\t\t( subWindow = document.defaultView ) && subWindow.top !== subWindow ) {\n\n\t\t// Support: IE 11, Edge\n\t\tif ( subWindow.addEventListener ) {\n\t\t\tsubWindow.addEventListener( \"unload\", unloadHandler, false );\n\n\t\t// Support: IE 9 - 10 only\n\t\t} else if ( subWindow.attachEvent ) {\n\t\t\tsubWindow.attachEvent( \"onunload\", unloadHandler );\n\t\t}\n\t}\n\n\t// Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only,\n\t// Safari 4 - 5 only, Opera <=11.6 - 12.x only\n\t// IE/Edge & older browsers don't support the :scope pseudo-class.\n\t// Support: Safari 6.0 only\n\t// Safari 6.0 supports :scope but it's an alias of :root there.\n\tsupport.scope = assert( function( el ) {\n\t\tdocElem.appendChild( el ).appendChild( document.createElement( \"div\" ) );\n\t\treturn typeof el.querySelectorAll !== \"undefined\" &&\n\t\t\t!el.querySelectorAll( \":scope fieldset div\" ).length;\n\t} );\n\n\t/* Attributes\n\t---------------------------------------------------------------------- */\n\n\t// Support: IE<8\n\t// Verify that getAttribute really returns attributes and not properties\n\t// (excepting IE8 booleans)\n\tsupport.attributes = assert( function( el ) {\n\t\tel.className = \"i\";\n\t\treturn !el.getAttribute( \"className\" );\n\t} );\n\n\t/* getElement(s)By*\n\t---------------------------------------------------------------------- */\n\n\t// Check if getElementsByTagName(\"*\") returns only elements\n\tsupport.getElementsByTagName = assert( function( el ) {\n\t\tel.appendChild( document.createComment( \"\" ) );\n\t\treturn !el.getElementsByTagName( \"*\" ).length;\n\t} );\n\n\t// Support: IE<9\n\tsupport.getElementsByClassName = rnative.test( document.getElementsByClassName );\n\n\t// Support: IE<10\n\t// Check if getElementById returns elements by name\n\t// The broken getElementById methods don't pick up programmatically-set names,\n\t// so use a roundabout getElementsByName test\n\tsupport.getById = assert( function( el ) {\n\t\tdocElem.appendChild( el ).id = expando;\n\t\treturn !document.getElementsByName || !document.getElementsByName( expando ).length;\n\t} );\n\n\t// ID filter and find\n\tif ( support.getById ) {\n\t\tExpr.filter[ \"ID\" ] = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn elem.getAttribute( \"id\" ) === attrId;\n\t\t\t};\n\t\t};\n\t\tExpr.find[ \"ID\" ] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar elem = context.getElementById( id );\n\t\t\t\treturn elem ? [ elem ] : [];\n\t\t\t}\n\t\t};\n\t} else {\n\t\tExpr.filter[ \"ID\" ] =  function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\tvar node = typeof elem.getAttributeNode !== \"undefined\" &&\n\t\t\t\t\telem.getAttributeNode( \"id\" );\n\t\t\t\treturn node && node.value === attrId;\n\t\t\t};\n\t\t};\n\n\t\t// Support: IE 6 - 7 only\n\t\t// getElementById is not reliable as a find shortcut\n\t\tExpr.find[ \"ID\" ] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar node, i, elems,\n\t\t\t\t\telem = context.getElementById( id );\n\n\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t// Verify the id attribute\n\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t}\n\n\t\t\t\t\t// Fall back on getElementsByName\n\t\t\t\t\telems = context.getElementsByName( id );\n\t\t\t\t\ti = 0;\n\t\t\t\t\twhile ( ( elem = elems[ i++ ] ) ) {\n\t\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn [];\n\t\t\t}\n\t\t};\n\t}\n\n\t// Tag\n\tExpr.find[ \"TAG\" ] = support.getElementsByTagName ?\n\t\tfunction( tag, context ) {\n\t\t\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\t\t\treturn context.getElementsByTagName( tag );\n\n\t\t\t// DocumentFragment nodes don't have gEBTN\n\t\t\t} else if ( support.qsa ) {\n\t\t\t\treturn context.querySelectorAll( tag );\n\t\t\t}\n\t\t} :\n\n\t\tfunction( tag, context ) {\n\t\t\tvar elem,\n\t\t\t\ttmp = [],\n\t\t\t\ti = 0,\n\n\t\t\t\t// By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too\n\t\t\t\tresults = context.getElementsByTagName( tag );\n\n\t\t\t// Filter out possible comments\n\t\t\tif ( tag === \"*\" ) {\n\t\t\t\twhile ( ( elem = results[ i++ ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\ttmp.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn tmp;\n\t\t\t}\n\t\t\treturn results;\n\t\t};\n\n\t// Class\n\tExpr.find[ \"CLASS\" ] = support.getElementsByClassName && function( className, context ) {\n\t\tif ( typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML ) {\n\t\t\treturn context.getElementsByClassName( className );\n\t\t}\n\t};\n\n\t/* QSA/matchesSelector\n\t---------------------------------------------------------------------- */\n\n\t// QSA and matchesSelector support\n\n\t// matchesSelector(:active) reports false when true (IE9/Opera 11.5)\n\trbuggyMatches = [];\n\n\t// qSa(:focus) reports false when true (Chrome 21)\n\t// We allow this because of a bug in IE8/9 that throws an error\n\t// whenever `document.activeElement` is accessed on an iframe\n\t// So, we allow :focus to pass through QSA all the time to avoid the IE error\n\t// See https://bugs.jquery.com/ticket/13378\n\trbuggyQSA = [];\n\n\tif ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) {\n\n\t\t// Build QSA regex\n\t\t// Regex strategy adopted from Diego Perini\n\t\tassert( function( el ) {\n\n\t\t\tvar input;\n\n\t\t\t// Select is set to empty string on purpose\n\t\t\t// This is to test IE's treatment of not explicitly\n\t\t\t// setting a boolean content attribute,\n\t\t\t// since its presence should be enough\n\t\t\t// https://bugs.jquery.com/ticket/12359\n\t\t\tdocElem.appendChild( el ).innerHTML = \"<a id='\" + expando + \"'></a>\" +\n\t\t\t\t\"<select id='\" + expando + \"-\\r\\\\' msallowcapture=''>\" +\n\t\t\t\t\"<option selected=''></option></select>\";\n\n\t\t\t// Support: IE8, Opera 11-12.16\n\t\t\t// Nothing should be selected when empty strings follow ^= or $= or *=\n\t\t\t// The test attribute must be unknown in Opera but \"safe\" for WinRT\n\t\t\t// https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section\n\t\t\tif ( el.querySelectorAll( \"[msallowcapture^='']\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"[*^$]=\" + whitespace + \"*(?:''|\\\"\\\")\" );\n\t\t\t}\n\n\t\t\t// Support: IE8\n\t\t\t// Boolean attributes and \"value\" are not treated correctly\n\t\t\tif ( !el.querySelectorAll( \"[selected]\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t\t}\n\n\t\t\t// Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+\n\t\t\tif ( !el.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"~=\" );\n\t\t\t}\n\n\t\t\t// Support: IE 11+, Edge 15 - 18+\n\t\t\t// IE 11/Edge don't find elements on a `[name='']` query in some cases.\n\t\t\t// Adding a temporary attribute to the document before the selection works\n\t\t\t// around the issue.\n\t\t\t// Interestingly, IE 10 & older don't seem to have the issue.\n\t\t\tinput = document.createElement( \"input\" );\n\t\t\tinput.setAttribute( \"name\", \"\" );\n\t\t\tel.appendChild( input );\n\t\t\tif ( !el.querySelectorAll( \"[name='']\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*name\" + whitespace + \"*=\" +\n\t\t\t\t\twhitespace + \"*(?:''|\\\"\\\")\" );\n\t\t\t}\n\n\t\t\t// Webkit/Opera - :checked should return selected option elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( !el.querySelectorAll( \":checked\" ).length ) {\n\t\t\t\trbuggyQSA.push( \":checked\" );\n\t\t\t}\n\n\t\t\t// Support: Safari 8+, iOS 8+\n\t\t\t// https://bugs.webkit.org/show_bug.cgi?id=136851\n\t\t\t// In-page `selector#id sibling-combinator selector` fails\n\t\t\tif ( !el.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) {\n\t\t\t\trbuggyQSA.push( \".#.+[+~]\" );\n\t\t\t}\n\n\t\t\t// Support: Firefox <=3.6 - 5 only\n\t\t\t// Old Firefox doesn't throw on a badly-escaped identifier.\n\t\t\tel.querySelectorAll( \"\\\\\\f\" );\n\t\t\trbuggyQSA.push( \"[\\\\r\\\\n\\\\f]\" );\n\t\t} );\n\n\t\tassert( function( el ) {\n\t\t\tel.innerHTML = \"<a href='' disabled='disabled'></a>\" +\n\t\t\t\t\"<select disabled='disabled'><option/></select>\";\n\n\t\t\t// Support: Windows 8 Native Apps\n\t\t\t// The type and name attributes are restricted during .innerHTML assignment\n\t\t\tvar input = document.createElement( \"input\" );\n\t\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\t\tel.appendChild( input ).setAttribute( \"name\", \"D\" );\n\n\t\t\t// Support: IE8\n\t\t\t// Enforce case-sensitivity of name attribute\n\t\t\tif ( el.querySelectorAll( \"[name=d]\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"name\" + whitespace + \"*[*^$|!~]?=\" );\n\t\t\t}\n\n\t\t\t// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( el.querySelectorAll( \":enabled\" ).length !== 2 ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Support: IE9-11+\n\t\t\t// IE's :disabled selector does not pick up the children of disabled fieldsets\n\t\t\tdocElem.appendChild( el ).disabled = true;\n\t\t\tif ( el.querySelectorAll( \":disabled\" ).length !== 2 ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Support: Opera 10 - 11 only\n\t\t\t// Opera 10-11 does not throw on post-comma invalid pseudos\n\t\t\tel.querySelectorAll( \"*,:x\" );\n\t\t\trbuggyQSA.push( \",.*:\" );\n\t\t} );\n\t}\n\n\tif ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches ||\n\t\tdocElem.webkitMatchesSelector ||\n\t\tdocElem.mozMatchesSelector ||\n\t\tdocElem.oMatchesSelector ||\n\t\tdocElem.msMatchesSelector ) ) ) ) {\n\n\t\tassert( function( el ) {\n\n\t\t\t// Check to see if it's possible to do matchesSelector\n\t\t\t// on a disconnected node (IE 9)\n\t\t\tsupport.disconnectedMatch = matches.call( el, \"*\" );\n\n\t\t\t// This should fail with an exception\n\t\t\t// Gecko does not error, returns false instead\n\t\t\tmatches.call( el, \"[s!='']:x\" );\n\t\t\trbuggyMatches.push( \"!=\", pseudos );\n\t\t} );\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( \"|\" ) );\n\trbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( \"|\" ) );\n\n\t/* Contains\n\t---------------------------------------------------------------------- */\n\thasCompare = rnative.test( docElem.compareDocumentPosition );\n\n\t// Element contains another\n\t// Purposefully self-exclusive\n\t// As in, an element does not contain itself\n\tcontains = hasCompare || rnative.test( docElem.contains ) ?\n\t\tfunction( a, b ) {\n\t\t\tvar adown = a.nodeType === 9 ? a.documentElement : a,\n\t\t\t\tbup = b && b.parentNode;\n\t\t\treturn a === bup || !!( bup && bup.nodeType === 1 && (\n\t\t\t\tadown.contains ?\n\t\t\t\t\tadown.contains( bup ) :\n\t\t\t\t\ta.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16\n\t\t\t) );\n\t\t} :\n\t\tfunction( a, b ) {\n\t\t\tif ( b ) {\n\t\t\t\twhile ( ( b = b.parentNode ) ) {\n\t\t\t\t\tif ( b === a ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\n\t/* Sorting\n\t---------------------------------------------------------------------- */\n\n\t// Document order sorting\n\tsortOrder = hasCompare ?\n\tfunction( a, b ) {\n\n\t\t// Flag for duplicate removal\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\t// Sort on method existence if only one input has compareDocumentPosition\n\t\tvar compare = !a.compareDocumentPosition - !b.compareDocumentPosition;\n\t\tif ( compare ) {\n\t\t\treturn compare;\n\t\t}\n\n\t\t// Calculate position if both inputs belong to the same document\n\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t// two documents; shallow comparisons work.\n\t\t// eslint-disable-next-line eqeqeq\n\t\tcompare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ?\n\t\t\ta.compareDocumentPosition( b ) :\n\n\t\t\t// Otherwise we know they are disconnected\n\t\t\t1;\n\n\t\t// Disconnected nodes\n\t\tif ( compare & 1 ||\n\t\t\t( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) {\n\n\t\t\t// Choose the first element that is related to our preferred document\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tif ( a == document || a.ownerDocument == preferredDoc &&\n\t\t\t\tcontains( preferredDoc, a ) ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tif ( b == document || b.ownerDocument == preferredDoc &&\n\t\t\t\tcontains( preferredDoc, b ) ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\t// Maintain original order\n\t\t\treturn sortInput ?\n\t\t\t\t( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :\n\t\t\t\t0;\n\t\t}\n\n\t\treturn compare & 4 ? -1 : 1;\n\t} :\n\tfunction( a, b ) {\n\n\t\t// Exit early if the nodes are identical\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\taup = a.parentNode,\n\t\t\tbup = b.parentNode,\n\t\t\tap = [ a ],\n\t\t\tbp = [ b ];\n\n\t\t// Parentless nodes are either documents or disconnected\n\t\tif ( !aup || !bup ) {\n\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t/* eslint-disable eqeqeq */\n\t\t\treturn a == document ? -1 :\n\t\t\t\tb == document ? 1 :\n\t\t\t\t/* eslint-enable eqeqeq */\n\t\t\t\taup ? -1 :\n\t\t\t\tbup ? 1 :\n\t\t\t\tsortInput ?\n\t\t\t\t( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :\n\t\t\t\t0;\n\n\t\t// If the nodes are siblings, we can do a quick check\n\t\t} else if ( aup === bup ) {\n\t\t\treturn siblingCheck( a, b );\n\t\t}\n\n\t\t// Otherwise we need full lists of their ancestors for comparison\n\t\tcur = a;\n\t\twhile ( ( cur = cur.parentNode ) ) {\n\t\t\tap.unshift( cur );\n\t\t}\n\t\tcur = b;\n\t\twhile ( ( cur = cur.parentNode ) ) {\n\t\t\tbp.unshift( cur );\n\t\t}\n\n\t\t// Walk down the tree looking for a discrepancy\n\t\twhile ( ap[ i ] === bp[ i ] ) {\n\t\t\ti++;\n\t\t}\n\n\t\treturn i ?\n\n\t\t\t// Do a sibling check if the nodes have a common ancestor\n\t\t\tsiblingCheck( ap[ i ], bp[ i ] ) :\n\n\t\t\t// Otherwise nodes in our document sort first\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t/* eslint-disable eqeqeq */\n\t\t\tap[ i ] == preferredDoc ? -1 :\n\t\t\tbp[ i ] == preferredDoc ? 1 :\n\t\t\t/* eslint-enable eqeqeq */\n\t\t\t0;\n\t};\n\n\treturn document;\n};\n\nSizzle.matches = function( expr, elements ) {\n\treturn Sizzle( expr, null, null, elements );\n};\n\nSizzle.matchesSelector = function( elem, expr ) {\n\tsetDocument( elem );\n\n\tif ( support.matchesSelector && documentIsHTML &&\n\t\t!nonnativeSelectorCache[ expr + \" \" ] &&\n\t\t( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&\n\t\t( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {\n\n\t\ttry {\n\t\t\tvar ret = matches.call( elem, expr );\n\n\t\t\t// IE 9's matchesSelector returns false on disconnected nodes\n\t\t\tif ( ret || support.disconnectedMatch ||\n\n\t\t\t\t// As well, disconnected nodes are said to be in a document\n\t\t\t\t// fragment in IE 9\n\t\t\t\telem.document && elem.document.nodeType !== 11 ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t} catch ( e ) {\n\t\t\tnonnativeSelectorCache( expr, true );\n\t\t}\n\t}\n\n\treturn Sizzle( expr, document, null, [ elem ] ).length > 0;\n};\n\nSizzle.contains = function( context, elem ) {\n\n\t// Set document vars if needed\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( ( context.ownerDocument || context ) != document ) {\n\t\tsetDocument( context );\n\t}\n\treturn contains( context, elem );\n};\n\nSizzle.attr = function( elem, name ) {\n\n\t// Set document vars if needed\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( ( elem.ownerDocument || elem ) != document ) {\n\t\tsetDocument( elem );\n\t}\n\n\tvar fn = Expr.attrHandle[ name.toLowerCase() ],\n\n\t\t// Don't get fooled by Object.prototype properties (jQuery #13807)\n\t\tval = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?\n\t\t\tfn( elem, name, !documentIsHTML ) :\n\t\t\tundefined;\n\n\treturn val !== undefined ?\n\t\tval :\n\t\tsupport.attributes || !documentIsHTML ?\n\t\t\telem.getAttribute( name ) :\n\t\t\t( val = elem.getAttributeNode( name ) ) && val.specified ?\n\t\t\t\tval.value :\n\t\t\t\tnull;\n};\n\nSizzle.escape = function( sel ) {\n\treturn ( sel + \"\" ).replace( rcssescape, fcssescape );\n};\n\nSizzle.error = function( msg ) {\n\tthrow new Error( \"Syntax error, unrecognized expression: \" + msg );\n};\n\n/**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */\nSizzle.uniqueSort = function( results ) {\n\tvar elem,\n\t\tduplicates = [],\n\t\tj = 0,\n\t\ti = 0;\n\n\t// Unless we *know* we can detect duplicates, assume their presence\n\thasDuplicate = !support.detectDuplicates;\n\tsortInput = !support.sortStable && results.slice( 0 );\n\tresults.sort( sortOrder );\n\n\tif ( hasDuplicate ) {\n\t\twhile ( ( elem = results[ i++ ] ) ) {\n\t\t\tif ( elem === results[ i ] ) {\n\t\t\t\tj = duplicates.push( i );\n\t\t\t}\n\t\t}\n\t\twhile ( j-- ) {\n\t\t\tresults.splice( duplicates[ j ], 1 );\n\t\t}\n\t}\n\n\t// Clear input after sorting to release objects\n\t// See https://github.com/jquery/sizzle/pull/225\n\tsortInput = null;\n\n\treturn results;\n};\n\n/**\n * Utility function for retrieving the text value of an array of DOM nodes\n * @param {Array|Element} elem\n */\ngetText = Sizzle.getText = function( elem ) {\n\tvar node,\n\t\tret = \"\",\n\t\ti = 0,\n\t\tnodeType = elem.nodeType;\n\n\tif ( !nodeType ) {\n\n\t\t// If no nodeType, this is expected to be an array\n\t\twhile ( ( node = elem[ i++ ] ) ) {\n\n\t\t\t// Do not traverse comment nodes\n\t\t\tret += getText( node );\n\t\t}\n\t} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {\n\n\t\t// Use textContent for elements\n\t\t// innerText usage removed for consistency of new lines (jQuery #11153)\n\t\tif ( typeof elem.textContent === \"string\" ) {\n\t\t\treturn elem.textContent;\n\t\t} else {\n\n\t\t\t// Traverse its children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tret += getText( elem );\n\t\t\t}\n\t\t}\n\t} else if ( nodeType === 3 || nodeType === 4 ) {\n\t\treturn elem.nodeValue;\n\t}\n\n\t// Do not include comment or processing instruction nodes\n\n\treturn ret;\n};\n\nExpr = Sizzle.selectors = {\n\n\t// Can be adjusted by the user\n\tcacheLength: 50,\n\n\tcreatePseudo: markFunction,\n\n\tmatch: matchExpr,\n\n\tattrHandle: {},\n\n\tfind: {},\n\n\trelative: {\n\t\t\">\": { dir: \"parentNode\", first: true },\n\t\t\" \": { dir: \"parentNode\" },\n\t\t\"+\": { dir: \"previousSibling\", first: true },\n\t\t\"~\": { dir: \"previousSibling\" }\n\t},\n\n\tpreFilter: {\n\t\t\"ATTR\": function( match ) {\n\t\t\tmatch[ 1 ] = match[ 1 ].replace( runescape, funescape );\n\n\t\t\t// Move the given value to match[3] whether quoted or unquoted\n\t\t\tmatch[ 3 ] = ( match[ 3 ] || match[ 4 ] ||\n\t\t\t\tmatch[ 5 ] || \"\" ).replace( runescape, funescape );\n\n\t\t\tif ( match[ 2 ] === \"~=\" ) {\n\t\t\t\tmatch[ 3 ] = \" \" + match[ 3 ] + \" \";\n\t\t\t}\n\n\t\t\treturn match.slice( 0, 4 );\n\t\t},\n\n\t\t\"CHILD\": function( match ) {\n\n\t\t\t/* matches from matchExpr[\"CHILD\"]\n\t\t\t\t1 type (only|nth|...)\n\t\t\t\t2 what (child|of-type)\n\t\t\t\t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n\t\t\t\t4 xn-component of xn+y argument ([+-]?\\d*n|)\n\t\t\t\t5 sign of xn-component\n\t\t\t\t6 x of xn-component\n\t\t\t\t7 sign of y-component\n\t\t\t\t8 y of y-component\n\t\t\t*/\n\t\t\tmatch[ 1 ] = match[ 1 ].toLowerCase();\n\n\t\t\tif ( match[ 1 ].slice( 0, 3 ) === \"nth\" ) {\n\n\t\t\t\t// nth-* requires argument\n\t\t\t\tif ( !match[ 3 ] ) {\n\t\t\t\t\tSizzle.error( match[ 0 ] );\n\t\t\t\t}\n\n\t\t\t\t// numeric x and y parameters for Expr.filter.CHILD\n\t\t\t\t// remember that false/true cast respectively to 0/1\n\t\t\t\tmatch[ 4 ] = +( match[ 4 ] ?\n\t\t\t\t\tmatch[ 5 ] + ( match[ 6 ] || 1 ) :\n\t\t\t\t\t2 * ( match[ 3 ] === \"even\" || match[ 3 ] === \"odd\" ) );\n\t\t\t\tmatch[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === \"odd\" );\n\n\t\t\t\t// other types prohibit arguments\n\t\t\t} else if ( match[ 3 ] ) {\n\t\t\t\tSizzle.error( match[ 0 ] );\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\n\t\t\"PSEUDO\": function( match ) {\n\t\t\tvar excess,\n\t\t\t\tunquoted = !match[ 6 ] && match[ 2 ];\n\n\t\t\tif ( matchExpr[ \"CHILD\" ].test( match[ 0 ] ) ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t// Accept quoted arguments as-is\n\t\t\tif ( match[ 3 ] ) {\n\t\t\t\tmatch[ 2 ] = match[ 4 ] || match[ 5 ] || \"\";\n\n\t\t\t// Strip excess characters from unquoted arguments\n\t\t\t} else if ( unquoted && rpseudo.test( unquoted ) &&\n\n\t\t\t\t// Get excess from tokenize (recursively)\n\t\t\t\t( excess = tokenize( unquoted, true ) ) &&\n\n\t\t\t\t// advance to the next closing parenthesis\n\t\t\t\t( excess = unquoted.indexOf( \")\", unquoted.length - excess ) - unquoted.length ) ) {\n\n\t\t\t\t// excess is a negative index\n\t\t\t\tmatch[ 0 ] = match[ 0 ].slice( 0, excess );\n\t\t\t\tmatch[ 2 ] = unquoted.slice( 0, excess );\n\t\t\t}\n\n\t\t\t// Return only captures needed by the pseudo filter method (type and argument)\n\t\t\treturn match.slice( 0, 3 );\n\t\t}\n\t},\n\n\tfilter: {\n\n\t\t\"TAG\": function( nodeNameSelector ) {\n\t\t\tvar nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn nodeNameSelector === \"*\" ?\n\t\t\t\tfunction() {\n\t\t\t\t\treturn true;\n\t\t\t\t} :\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn elem.nodeName && elem.nodeName.toLowerCase() === nodeName;\n\t\t\t\t};\n\t\t},\n\n\t\t\"CLASS\": function( className ) {\n\t\t\tvar pattern = classCache[ className + \" \" ];\n\n\t\t\treturn pattern ||\n\t\t\t\t( pattern = new RegExp( \"(^|\" + whitespace +\n\t\t\t\t\t\")\" + className + \"(\" + whitespace + \"|$)\" ) ) && classCache(\n\t\t\t\t\t\tclassName, function( elem ) {\n\t\t\t\t\t\t\treturn pattern.test(\n\t\t\t\t\t\t\t\ttypeof elem.className === \"string\" && elem.className ||\n\t\t\t\t\t\t\t\ttypeof elem.getAttribute !== \"undefined\" &&\n\t\t\t\t\t\t\t\t\telem.getAttribute( \"class\" ) ||\n\t\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t\t);\n\t\t\t\t} );\n\t\t},\n\n\t\t\"ATTR\": function( name, operator, check ) {\n\t\t\treturn function( elem ) {\n\t\t\t\tvar result = Sizzle.attr( elem, name );\n\n\t\t\t\tif ( result == null ) {\n\t\t\t\t\treturn operator === \"!=\";\n\t\t\t\t}\n\t\t\t\tif ( !operator ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tresult += \"\";\n\n\t\t\t\t/* eslint-disable max-len */\n\n\t\t\t\treturn operator === \"=\" ? result === check :\n\t\t\t\t\toperator === \"!=\" ? result !== check :\n\t\t\t\t\toperator === \"^=\" ? check && result.indexOf( check ) === 0 :\n\t\t\t\t\toperator === \"*=\" ? check && result.indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"$=\" ? check && result.slice( -check.length ) === check :\n\t\t\t\t\toperator === \"~=\" ? ( \" \" + result.replace( rwhitespace, \" \" ) + \" \" ).indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"|=\" ? result === check || result.slice( 0, check.length + 1 ) === check + \"-\" :\n\t\t\t\t\tfalse;\n\t\t\t\t/* eslint-enable max-len */\n\n\t\t\t};\n\t\t},\n\n\t\t\"CHILD\": function( type, what, _argument, first, last ) {\n\t\t\tvar simple = type.slice( 0, 3 ) !== \"nth\",\n\t\t\t\tforward = type.slice( -4 ) !== \"last\",\n\t\t\t\tofType = what === \"of-type\";\n\n\t\t\treturn first === 1 && last === 0 ?\n\n\t\t\t\t// Shortcut for :nth-*(n)\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn !!elem.parentNode;\n\t\t\t\t} :\n\n\t\t\t\tfunction( elem, _context, xml ) {\n\t\t\t\t\tvar cache, uniqueCache, outerCache, node, nodeIndex, start,\n\t\t\t\t\t\tdir = simple !== forward ? \"nextSibling\" : \"previousSibling\",\n\t\t\t\t\t\tparent = elem.parentNode,\n\t\t\t\t\t\tname = ofType && elem.nodeName.toLowerCase(),\n\t\t\t\t\t\tuseCache = !xml && !ofType,\n\t\t\t\t\t\tdiff = false;\n\n\t\t\t\t\tif ( parent ) {\n\n\t\t\t\t\t\t// :(first|last|only)-(child|of-type)\n\t\t\t\t\t\tif ( simple ) {\n\t\t\t\t\t\t\twhile ( dir ) {\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\twhile ( ( node = node[ dir ] ) ) {\n\t\t\t\t\t\t\t\t\tif ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnode.nodeName.toLowerCase() === name :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) {\n\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// Reverse direction for :only-* (if we haven't yet done so)\n\t\t\t\t\t\t\t\tstart = dir = type === \"only\" && !start && \"nextSibling\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstart = [ forward ? parent.firstChild : parent.lastChild ];\n\n\t\t\t\t\t\t// non-xml :nth-child(...) stores cache data on `parent`\n\t\t\t\t\t\tif ( forward && useCache ) {\n\n\t\t\t\t\t\t\t// Seek `elem` from a previously-cached index\n\n\t\t\t\t\t\t\t// ...in a gzip-friendly way\n\t\t\t\t\t\t\tnode = parent;\n\t\t\t\t\t\t\touterCache = node[ expando ] || ( node[ expando ] = {} );\n\n\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t( outerCache[ node.uniqueID ] = {} );\n\n\t\t\t\t\t\t\tcache = uniqueCache[ type ] || [];\n\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\tdiff = nodeIndex && cache[ 2 ];\n\t\t\t\t\t\t\tnode = nodeIndex && parent.childNodes[ nodeIndex ];\n\n\t\t\t\t\t\t\twhile ( ( node = ++nodeIndex && node && node[ dir ] ||\n\n\t\t\t\t\t\t\t\t// Fallback to seeking `elem` from the start\n\t\t\t\t\t\t\t\t( diff = nodeIndex = 0 ) || start.pop() ) ) {\n\n\t\t\t\t\t\t\t\t// When found, cache indexes on `parent` and break\n\t\t\t\t\t\t\t\tif ( node.nodeType === 1 && ++diff && node === elem ) {\n\t\t\t\t\t\t\t\t\tuniqueCache[ type ] = [ dirruns, nodeIndex, diff ];\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Use previously-cached element index if available\n\t\t\t\t\t\t\tif ( useCache ) {\n\n\t\t\t\t\t\t\t\t// ...in a gzip-friendly way\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\touterCache = node[ expando ] || ( node[ expando ] = {} );\n\n\t\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t\t( outerCache[ node.uniqueID ] = {} );\n\n\t\t\t\t\t\t\t\tcache = uniqueCache[ type ] || [];\n\t\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\t\tdiff = nodeIndex;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// xml :nth-child(...)\n\t\t\t\t\t\t\t// or :nth-last-child(...) or :nth(-last)?-of-type(...)\n\t\t\t\t\t\t\tif ( diff === false ) {\n\n\t\t\t\t\t\t\t\t// Use the same loop as above to seek `elem` from the start\n\t\t\t\t\t\t\t\twhile ( ( node = ++nodeIndex && node && node[ dir ] ||\n\t\t\t\t\t\t\t\t\t( diff = nodeIndex = 0 ) || start.pop() ) ) {\n\n\t\t\t\t\t\t\t\t\tif ( ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnode.nodeName.toLowerCase() === name :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) &&\n\t\t\t\t\t\t\t\t\t\t++diff ) {\n\n\t\t\t\t\t\t\t\t\t\t// Cache the index of each encountered element\n\t\t\t\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t\t\t\touterCache = node[ expando ] ||\n\t\t\t\t\t\t\t\t\t\t\t\t( node[ expando ] = {} );\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t\t\t\t\t( outerCache[ node.uniqueID ] = {} );\n\n\t\t\t\t\t\t\t\t\t\t\tuniqueCache[ type ] = [ dirruns, diff ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tif ( node === elem ) {\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Incorporate the offset, then check against cycle size\n\t\t\t\t\t\tdiff -= last;\n\t\t\t\t\t\treturn diff === first || ( diff % first === 0 && diff / first >= 0 );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t},\n\n\t\t\"PSEUDO\": function( pseudo, argument ) {\n\n\t\t\t// pseudo-class names are case-insensitive\n\t\t\t// http://www.w3.org/TR/selectors/#pseudo-classes\n\t\t\t// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n\t\t\t// Remember that setFilters inherits from pseudos\n\t\t\tvar args,\n\t\t\t\tfn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||\n\t\t\t\t\tSizzle.error( \"unsupported pseudo: \" + pseudo );\n\n\t\t\t// The user may use createPseudo to indicate that\n\t\t\t// arguments are needed to create the filter function\n\t\t\t// just as Sizzle does\n\t\t\tif ( fn[ expando ] ) {\n\t\t\t\treturn fn( argument );\n\t\t\t}\n\n\t\t\t// But maintain support for old signatures\n\t\t\tif ( fn.length > 1 ) {\n\t\t\t\targs = [ pseudo, pseudo, \"\", argument ];\n\t\t\t\treturn Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?\n\t\t\t\t\tmarkFunction( function( seed, matches ) {\n\t\t\t\t\t\tvar idx,\n\t\t\t\t\t\t\tmatched = fn( seed, argument ),\n\t\t\t\t\t\t\ti = matched.length;\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tidx = indexOf( seed, matched[ i ] );\n\t\t\t\t\t\t\tseed[ idx ] = !( matches[ idx ] = matched[ i ] );\n\t\t\t\t\t\t}\n\t\t\t\t\t} ) :\n\t\t\t\t\tfunction( elem ) {\n\t\t\t\t\t\treturn fn( elem, 0, args );\n\t\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn fn;\n\t\t}\n\t},\n\n\tpseudos: {\n\n\t\t// Potentially complex pseudos\n\t\t\"not\": markFunction( function( selector ) {\n\n\t\t\t// Trim the selector passed to compile\n\t\t\t// to avoid treating leading and trailing\n\t\t\t// spaces as combinators\n\t\t\tvar input = [],\n\t\t\t\tresults = [],\n\t\t\t\tmatcher = compile( selector.replace( rtrim, \"$1\" ) );\n\n\t\t\treturn matcher[ expando ] ?\n\t\t\t\tmarkFunction( function( seed, matches, _context, xml ) {\n\t\t\t\t\tvar elem,\n\t\t\t\t\t\tunmatched = matcher( seed, null, xml, [] ),\n\t\t\t\t\t\ti = seed.length;\n\n\t\t\t\t\t// Match elements unmatched by `matcher`\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( ( elem = unmatched[ i ] ) ) {\n\t\t\t\t\t\t\tseed[ i ] = !( matches[ i ] = elem );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} ) :\n\t\t\t\tfunction( elem, _context, xml ) {\n\t\t\t\t\tinput[ 0 ] = elem;\n\t\t\t\t\tmatcher( input, null, xml, results );\n\n\t\t\t\t\t// Don't keep the element (issue #299)\n\t\t\t\t\tinput[ 0 ] = null;\n\t\t\t\t\treturn !results.pop();\n\t\t\t\t};\n\t\t} ),\n\n\t\t\"has\": markFunction( function( selector ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn Sizzle( selector, elem ).length > 0;\n\t\t\t};\n\t\t} ),\n\n\t\t\"contains\": markFunction( function( text ) {\n\t\t\ttext = text.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn ( elem.textContent || getText( elem ) ).indexOf( text ) > -1;\n\t\t\t};\n\t\t} ),\n\n\t\t// \"Whether an element is represented by a :lang() selector\n\t\t// is based solely on the element's language value\n\t\t// being equal to the identifier C,\n\t\t// or beginning with the identifier C immediately followed by \"-\".\n\t\t// The matching of C against the element's language value is performed case-insensitively.\n\t\t// The identifier C does not have to be a valid language name.\"\n\t\t// http://www.w3.org/TR/selectors/#lang-pseudo\n\t\t\"lang\": markFunction( function( lang ) {\n\n\t\t\t// lang value must be a valid identifier\n\t\t\tif ( !ridentifier.test( lang || \"\" ) ) {\n\t\t\t\tSizzle.error( \"unsupported lang: \" + lang );\n\t\t\t}\n\t\t\tlang = lang.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn function( elem ) {\n\t\t\t\tvar elemLang;\n\t\t\t\tdo {\n\t\t\t\t\tif ( ( elemLang = documentIsHTML ?\n\t\t\t\t\t\telem.lang :\n\t\t\t\t\t\telem.getAttribute( \"xml:lang\" ) || elem.getAttribute( \"lang\" ) ) ) {\n\n\t\t\t\t\t\telemLang = elemLang.toLowerCase();\n\t\t\t\t\t\treturn elemLang === lang || elemLang.indexOf( lang + \"-\" ) === 0;\n\t\t\t\t\t}\n\t\t\t\t} while ( ( elem = elem.parentNode ) && elem.nodeType === 1 );\n\t\t\t\treturn false;\n\t\t\t};\n\t\t} ),\n\n\t\t// Miscellaneous\n\t\t\"target\": function( elem ) {\n\t\t\tvar hash = window.location && window.location.hash;\n\t\t\treturn hash && hash.slice( 1 ) === elem.id;\n\t\t},\n\n\t\t\"root\": function( elem ) {\n\t\t\treturn elem === docElem;\n\t\t},\n\n\t\t\"focus\": function( elem ) {\n\t\t\treturn elem === document.activeElement &&\n\t\t\t\t( !document.hasFocus || document.hasFocus() ) &&\n\t\t\t\t!!( elem.type || elem.href || ~elem.tabIndex );\n\t\t},\n\n\t\t// Boolean properties\n\t\t\"enabled\": createDisabledPseudo( false ),\n\t\t\"disabled\": createDisabledPseudo( true ),\n\n\t\t\"checked\": function( elem ) {\n\n\t\t\t// In CSS3, :checked should return both checked and selected elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\tvar nodeName = elem.nodeName.toLowerCase();\n\t\t\treturn ( nodeName === \"input\" && !!elem.checked ) ||\n\t\t\t\t( nodeName === \"option\" && !!elem.selected );\n\t\t},\n\n\t\t\"selected\": function( elem ) {\n\n\t\t\t// Accessing this property makes selected-by-default\n\t\t\t// options in Safari work properly\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\t// eslint-disable-next-line no-unused-expressions\n\t\t\t\telem.parentNode.selectedIndex;\n\t\t\t}\n\n\t\t\treturn elem.selected === true;\n\t\t},\n\n\t\t// Contents\n\t\t\"empty\": function( elem ) {\n\n\t\t\t// http://www.w3.org/TR/selectors/#empty-pseudo\n\t\t\t// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),\n\t\t\t//   but not by others (comment: 8; processing instruction: 7; etc.)\n\t\t\t// nodeType < 6 works because attributes (2) do not appear as children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tif ( elem.nodeType < 6 ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\n\t\t\"parent\": function( elem ) {\n\t\t\treturn !Expr.pseudos[ \"empty\" ]( elem );\n\t\t},\n\n\t\t// Element/input types\n\t\t\"header\": function( elem ) {\n\t\t\treturn rheader.test( elem.nodeName );\n\t\t},\n\n\t\t\"input\": function( elem ) {\n\t\t\treturn rinputs.test( elem.nodeName );\n\t\t},\n\n\t\t\"button\": function( elem ) {\n\t\t\tvar name = elem.nodeName.toLowerCase();\n\t\t\treturn name === \"input\" && elem.type === \"button\" || name === \"button\";\n\t\t},\n\n\t\t\"text\": function( elem ) {\n\t\t\tvar attr;\n\t\t\treturn elem.nodeName.toLowerCase() === \"input\" &&\n\t\t\t\telem.type === \"text\" &&\n\n\t\t\t\t// Support: IE<8\n\t\t\t\t// New HTML5 attribute values (e.g., \"search\") appear with elem.type === \"text\"\n\t\t\t\t( ( attr = elem.getAttribute( \"type\" ) ) == null ||\n\t\t\t\t\tattr.toLowerCase() === \"text\" );\n\t\t},\n\n\t\t// Position-in-collection\n\t\t\"first\": createPositionalPseudo( function() {\n\t\t\treturn [ 0 ];\n\t\t} ),\n\n\t\t\"last\": createPositionalPseudo( function( _matchIndexes, length ) {\n\t\t\treturn [ length - 1 ];\n\t\t} ),\n\n\t\t\"eq\": createPositionalPseudo( function( _matchIndexes, length, argument ) {\n\t\t\treturn [ argument < 0 ? argument + length : argument ];\n\t\t} ),\n\n\t\t\"even\": createPositionalPseudo( function( matchIndexes, length ) {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\t\"odd\": createPositionalPseudo( function( matchIndexes, length ) {\n\t\t\tvar i = 1;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\t\"lt\": createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ?\n\t\t\t\targument + length :\n\t\t\t\targument > length ?\n\t\t\t\t\tlength :\n\t\t\t\t\targument;\n\t\t\tfor ( ; --i >= 0; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\t\"gt\": createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; ++i < length; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} )\n\t}\n};\n\nExpr.pseudos[ \"nth\" ] = Expr.pseudos[ \"eq\" ];\n\n// Add button/input type pseudos\nfor ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {\n\tExpr.pseudos[ i ] = createInputPseudo( i );\n}\nfor ( i in { submit: true, reset: true } ) {\n\tExpr.pseudos[ i ] = createButtonPseudo( i );\n}\n\n// Easy API for creating new setFilters\nfunction setFilters() {}\nsetFilters.prototype = Expr.filters = Expr.pseudos;\nExpr.setFilters = new setFilters();\n\ntokenize = Sizzle.tokenize = function( selector, parseOnly ) {\n\tvar matched, match, tokens, type,\n\t\tsoFar, groups, preFilters,\n\t\tcached = tokenCache[ selector + \" \" ];\n\n\tif ( cached ) {\n\t\treturn parseOnly ? 0 : cached.slice( 0 );\n\t}\n\n\tsoFar = selector;\n\tgroups = [];\n\tpreFilters = Expr.preFilter;\n\n\twhile ( soFar ) {\n\n\t\t// Comma and first run\n\t\tif ( !matched || ( match = rcomma.exec( soFar ) ) ) {\n\t\t\tif ( match ) {\n\n\t\t\t\t// Don't consume trailing commas as valid\n\t\t\t\tsoFar = soFar.slice( match[ 0 ].length ) || soFar;\n\t\t\t}\n\t\t\tgroups.push( ( tokens = [] ) );\n\t\t}\n\n\t\tmatched = false;\n\n\t\t// Combinators\n\t\tif ( ( match = rcombinators.exec( soFar ) ) ) {\n\t\t\tmatched = match.shift();\n\t\t\ttokens.push( {\n\t\t\t\tvalue: matched,\n\n\t\t\t\t// Cast descendant combinators to space\n\t\t\t\ttype: match[ 0 ].replace( rtrim, \" \" )\n\t\t\t} );\n\t\t\tsoFar = soFar.slice( matched.length );\n\t\t}\n\n\t\t// Filters\n\t\tfor ( type in Expr.filter ) {\n\t\t\tif ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] ||\n\t\t\t\t( match = preFilters[ type ]( match ) ) ) ) {\n\t\t\t\tmatched = match.shift();\n\t\t\t\ttokens.push( {\n\t\t\t\t\tvalue: matched,\n\t\t\t\t\ttype: type,\n\t\t\t\t\tmatches: match\n\t\t\t\t} );\n\t\t\t\tsoFar = soFar.slice( matched.length );\n\t\t\t}\n\t\t}\n\n\t\tif ( !matched ) {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t// Return the length of the invalid excess\n\t// if we're just parsing\n\t// Otherwise, throw an error or return tokens\n\treturn parseOnly ?\n\t\tsoFar.length :\n\t\tsoFar ?\n\t\t\tSizzle.error( selector ) :\n\n\t\t\t// Cache the tokens\n\t\t\ttokenCache( selector, groups ).slice( 0 );\n};\n\nfunction toSelector( tokens ) {\n\tvar i = 0,\n\t\tlen = tokens.length,\n\t\tselector = \"\";\n\tfor ( ; i < len; i++ ) {\n\t\tselector += tokens[ i ].value;\n\t}\n\treturn selector;\n}\n\nfunction addCombinator( matcher, combinator, base ) {\n\tvar dir = combinator.dir,\n\t\tskip = combinator.next,\n\t\tkey = skip || dir,\n\t\tcheckNonElements = base && key === \"parentNode\",\n\t\tdoneName = done++;\n\n\treturn combinator.first ?\n\n\t\t// Check against closest ancestor/preceding element\n\t\tfunction( elem, context, xml ) {\n\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\treturn matcher( elem, context, xml );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t} :\n\n\t\t// Check against all ancestor/preceding elements\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar oldCache, uniqueCache, outerCache,\n\t\t\t\tnewCache = [ dirruns, doneName ];\n\n\t\t\t// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching\n\t\t\tif ( xml ) {\n\t\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\touterCache = elem[ expando ] || ( elem[ expando ] = {} );\n\n\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\tuniqueCache = outerCache[ elem.uniqueID ] ||\n\t\t\t\t\t\t\t( outerCache[ elem.uniqueID ] = {} );\n\n\t\t\t\t\t\tif ( skip && skip === elem.nodeName.toLowerCase() ) {\n\t\t\t\t\t\t\telem = elem[ dir ] || elem;\n\t\t\t\t\t\t} else if ( ( oldCache = uniqueCache[ key ] ) &&\n\t\t\t\t\t\t\toldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {\n\n\t\t\t\t\t\t\t// Assign to newCache so results back-propagate to previous elements\n\t\t\t\t\t\t\treturn ( newCache[ 2 ] = oldCache[ 2 ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Reuse newcache so results back-propagate to previous elements\n\t\t\t\t\t\t\tuniqueCache[ key ] = newCache;\n\n\t\t\t\t\t\t\t// A match means we're done; a fail means we have to keep checking\n\t\t\t\t\t\t\tif ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n}\n\nfunction elementMatcher( matchers ) {\n\treturn matchers.length > 1 ?\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar i = matchers.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( !matchers[ i ]( elem, context, xml ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} :\n\t\tmatchers[ 0 ];\n}\n\nfunction multipleContexts( selector, contexts, results ) {\n\tvar i = 0,\n\t\tlen = contexts.length;\n\tfor ( ; i < len; i++ ) {\n\t\tSizzle( selector, contexts[ i ], results );\n\t}\n\treturn results;\n}\n\nfunction condense( unmatched, map, filter, context, xml ) {\n\tvar elem,\n\t\tnewUnmatched = [],\n\t\ti = 0,\n\t\tlen = unmatched.length,\n\t\tmapped = map != null;\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( ( elem = unmatched[ i ] ) ) {\n\t\t\tif ( !filter || filter( elem, context, xml ) ) {\n\t\t\t\tnewUnmatched.push( elem );\n\t\t\t\tif ( mapped ) {\n\t\t\t\t\tmap.push( i );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn newUnmatched;\n}\n\nfunction setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {\n\tif ( postFilter && !postFilter[ expando ] ) {\n\t\tpostFilter = setMatcher( postFilter );\n\t}\n\tif ( postFinder && !postFinder[ expando ] ) {\n\t\tpostFinder = setMatcher( postFinder, postSelector );\n\t}\n\treturn markFunction( function( seed, results, context, xml ) {\n\t\tvar temp, i, elem,\n\t\t\tpreMap = [],\n\t\t\tpostMap = [],\n\t\t\tpreexisting = results.length,\n\n\t\t\t// Get initial elements from seed or context\n\t\t\telems = seed || multipleContexts(\n\t\t\t\tselector || \"*\",\n\t\t\t\tcontext.nodeType ? [ context ] : context,\n\t\t\t\t[]\n\t\t\t),\n\n\t\t\t// Prefilter to get matcher input, preserving a map for seed-results synchronization\n\t\t\tmatcherIn = preFilter && ( seed || !selector ) ?\n\t\t\t\tcondense( elems, preMap, preFilter, context, xml ) :\n\t\t\t\telems,\n\n\t\t\tmatcherOut = matcher ?\n\n\t\t\t\t// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,\n\t\t\t\tpostFinder || ( seed ? preFilter : preexisting || postFilter ) ?\n\n\t\t\t\t\t// ...intermediate processing is necessary\n\t\t\t\t\t[] :\n\n\t\t\t\t\t// ...otherwise use results directly\n\t\t\t\t\tresults :\n\t\t\t\tmatcherIn;\n\n\t\t// Find primary matches\n\t\tif ( matcher ) {\n\t\t\tmatcher( matcherIn, matcherOut, context, xml );\n\t\t}\n\n\t\t// Apply postFilter\n\t\tif ( postFilter ) {\n\t\t\ttemp = condense( matcherOut, postMap );\n\t\t\tpostFilter( temp, [], context, xml );\n\n\t\t\t// Un-match failing elements by moving them back to matcherIn\n\t\t\ti = temp.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( ( elem = temp[ i ] ) ) {\n\t\t\t\t\tmatcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( seed ) {\n\t\t\tif ( postFinder || preFilter ) {\n\t\t\t\tif ( postFinder ) {\n\n\t\t\t\t\t// Get the final matcherOut by condensing this intermediate into postFinder contexts\n\t\t\t\t\ttemp = [];\n\t\t\t\t\ti = matcherOut.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( ( elem = matcherOut[ i ] ) ) {\n\n\t\t\t\t\t\t\t// Restore matcherIn since elem is not yet a final match\n\t\t\t\t\t\t\ttemp.push( ( matcherIn[ i ] = elem ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpostFinder( null, ( matcherOut = [] ), temp, xml );\n\t\t\t\t}\n\n\t\t\t\t// Move matched elements from seed to results to keep them synchronized\n\t\t\t\ti = matcherOut.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tif ( ( elem = matcherOut[ i ] ) &&\n\t\t\t\t\t\t( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) {\n\n\t\t\t\t\t\tseed[ temp ] = !( results[ temp ] = elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Add elements to results, through postFinder if defined\n\t\t} else {\n\t\t\tmatcherOut = condense(\n\t\t\t\tmatcherOut === results ?\n\t\t\t\t\tmatcherOut.splice( preexisting, matcherOut.length ) :\n\t\t\t\t\tmatcherOut\n\t\t\t);\n\t\t\tif ( postFinder ) {\n\t\t\t\tpostFinder( null, results, matcherOut, xml );\n\t\t\t} else {\n\t\t\t\tpush.apply( results, matcherOut );\n\t\t\t}\n\t\t}\n\t} );\n}\n\nfunction matcherFromTokens( tokens ) {\n\tvar checkContext, matcher, j,\n\t\tlen = tokens.length,\n\t\tleadingRelative = Expr.relative[ tokens[ 0 ].type ],\n\t\timplicitRelative = leadingRelative || Expr.relative[ \" \" ],\n\t\ti = leadingRelative ? 1 : 0,\n\n\t\t// The foundational matcher ensures that elements are reachable from top-level context(s)\n\t\tmatchContext = addCombinator( function( elem ) {\n\t\t\treturn elem === checkContext;\n\t\t}, implicitRelative, true ),\n\t\tmatchAnyContext = addCombinator( function( elem ) {\n\t\t\treturn indexOf( checkContext, elem ) > -1;\n\t\t}, implicitRelative, true ),\n\t\tmatchers = [ function( elem, context, xml ) {\n\t\t\tvar ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (\n\t\t\t\t( checkContext = context ).nodeType ?\n\t\t\t\t\tmatchContext( elem, context, xml ) :\n\t\t\t\t\tmatchAnyContext( elem, context, xml ) );\n\n\t\t\t// Avoid hanging onto element (issue #299)\n\t\t\tcheckContext = null;\n\t\t\treturn ret;\n\t\t} ];\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) {\n\t\t\tmatchers = [ addCombinator( elementMatcher( matchers ), matcher ) ];\n\t\t} else {\n\t\t\tmatcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches );\n\n\t\t\t// Return special upon seeing a positional matcher\n\t\t\tif ( matcher[ expando ] ) {\n\n\t\t\t\t// Find the next relative operator (if any) for proper handling\n\t\t\t\tj = ++i;\n\t\t\t\tfor ( ; j < len; j++ ) {\n\t\t\t\t\tif ( Expr.relative[ tokens[ j ].type ] ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn setMatcher(\n\t\t\t\t\ti > 1 && elementMatcher( matchers ),\n\t\t\t\t\ti > 1 && toSelector(\n\n\t\t\t\t\t// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n\t\t\t\t\ttokens\n\t\t\t\t\t\t.slice( 0, i - 1 )\n\t\t\t\t\t\t.concat( { value: tokens[ i - 2 ].type === \" \" ? \"*\" : \"\" } )\n\t\t\t\t\t).replace( rtrim, \"$1\" ),\n\t\t\t\t\tmatcher,\n\t\t\t\t\ti < j && matcherFromTokens( tokens.slice( i, j ) ),\n\t\t\t\t\tj < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ),\n\t\t\t\t\tj < len && toSelector( tokens )\n\t\t\t\t);\n\t\t\t}\n\t\t\tmatchers.push( matcher );\n\t\t}\n\t}\n\n\treturn elementMatcher( matchers );\n}\n\nfunction matcherFromGroupMatchers( elementMatchers, setMatchers ) {\n\tvar bySet = setMatchers.length > 0,\n\t\tbyElement = elementMatchers.length > 0,\n\t\tsuperMatcher = function( seed, context, xml, results, outermost ) {\n\t\t\tvar elem, j, matcher,\n\t\t\t\tmatchedCount = 0,\n\t\t\t\ti = \"0\",\n\t\t\t\tunmatched = seed && [],\n\t\t\t\tsetMatched = [],\n\t\t\t\tcontextBackup = outermostContext,\n\n\t\t\t\t// We must always have either seed elements or outermost context\n\t\t\t\telems = seed || byElement && Expr.find[ \"TAG\" ]( \"*\", outermost ),\n\n\t\t\t\t// Use integer dirruns iff this is the outermost matcher\n\t\t\t\tdirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ),\n\t\t\t\tlen = elems.length;\n\n\t\t\tif ( outermost ) {\n\n\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t\t// two documents; shallow comparisons work.\n\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\toutermostContext = context == document || context || outermost;\n\t\t\t}\n\n\t\t\t// Add elements passing elementMatchers directly to results\n\t\t\t// Support: IE<9, Safari\n\t\t\t// Tolerate NodeList properties (IE: \"length\"; Safari: <number>) matching elements by id\n\t\t\tfor ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) {\n\t\t\t\tif ( byElement && elem ) {\n\t\t\t\t\tj = 0;\n\n\t\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t\t\t// two documents; shallow comparisons work.\n\t\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\t\tif ( !context && elem.ownerDocument != document ) {\n\t\t\t\t\t\tsetDocument( elem );\n\t\t\t\t\t\txml = !documentIsHTML;\n\t\t\t\t\t}\n\t\t\t\t\twhile ( ( matcher = elementMatchers[ j++ ] ) ) {\n\t\t\t\t\t\tif ( matcher( elem, context || document, xml ) ) {\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( outermost ) {\n\t\t\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Track unmatched elements for set filters\n\t\t\t\tif ( bySet ) {\n\n\t\t\t\t\t// They will have gone through all possible matchers\n\t\t\t\t\tif ( ( elem = !matcher && elem ) ) {\n\t\t\t\t\t\tmatchedCount--;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Lengthen the array for every element, matched or not\n\t\t\t\t\tif ( seed ) {\n\t\t\t\t\t\tunmatched.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// `i` is now the count of elements visited above, and adding it to `matchedCount`\n\t\t\t// makes the latter nonnegative.\n\t\t\tmatchedCount += i;\n\n\t\t\t// Apply set filters to unmatched elements\n\t\t\t// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`\n\t\t\t// equals `i`), unless we didn't visit _any_ elements in the above loop because we have\n\t\t\t// no element matchers and no seed.\n\t\t\t// Incrementing an initially-string \"0\" `i` allows `i` to remain a string only in that\n\t\t\t// case, which will result in a \"00\" `matchedCount` that differs from `i` but is also\n\t\t\t// numerically zero.\n\t\t\tif ( bySet && i !== matchedCount ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( ( matcher = setMatchers[ j++ ] ) ) {\n\t\t\t\t\tmatcher( unmatched, setMatched, context, xml );\n\t\t\t\t}\n\n\t\t\t\tif ( seed ) {\n\n\t\t\t\t\t// Reintegrate element matches to eliminate the need for sorting\n\t\t\t\t\tif ( matchedCount > 0 ) {\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tif ( !( unmatched[ i ] || setMatched[ i ] ) ) {\n\t\t\t\t\t\t\t\tsetMatched[ i ] = pop.call( results );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Discard index placeholder values to get only actual matches\n\t\t\t\t\tsetMatched = condense( setMatched );\n\t\t\t\t}\n\n\t\t\t\t// Add matches to results\n\t\t\t\tpush.apply( results, setMatched );\n\n\t\t\t\t// Seedless set matches succeeding multiple successful matchers stipulate sorting\n\t\t\t\tif ( outermost && !seed && setMatched.length > 0 &&\n\t\t\t\t\t( matchedCount + setMatchers.length ) > 1 ) {\n\n\t\t\t\t\tSizzle.uniqueSort( results );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Override manipulation of globals by nested matchers\n\t\t\tif ( outermost ) {\n\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\toutermostContext = contextBackup;\n\t\t\t}\n\n\t\t\treturn unmatched;\n\t\t};\n\n\treturn bySet ?\n\t\tmarkFunction( superMatcher ) :\n\t\tsuperMatcher;\n}\n\ncompile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {\n\tvar i,\n\t\tsetMatchers = [],\n\t\telementMatchers = [],\n\t\tcached = compilerCache[ selector + \" \" ];\n\n\tif ( !cached ) {\n\n\t\t// Generate a function of recursive functions that can be used to check each element\n\t\tif ( !match ) {\n\t\t\tmatch = tokenize( selector );\n\t\t}\n\t\ti = match.length;\n\t\twhile ( i-- ) {\n\t\t\tcached = matcherFromTokens( match[ i ] );\n\t\t\tif ( cached[ expando ] ) {\n\t\t\t\tsetMatchers.push( cached );\n\t\t\t} else {\n\t\t\t\telementMatchers.push( cached );\n\t\t\t}\n\t\t}\n\n\t\t// Cache the compiled function\n\t\tcached = compilerCache(\n\t\t\tselector,\n\t\t\tmatcherFromGroupMatchers( elementMatchers, setMatchers )\n\t\t);\n\n\t\t// Save selector and tokenization\n\t\tcached.selector = selector;\n\t}\n\treturn cached;\n};\n\n/**\n * A low-level selection function that works with Sizzle's compiled\n *  selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n *  selector function built with Sizzle.compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */\nselect = Sizzle.select = function( selector, context, results, seed ) {\n\tvar i, tokens, token, type, find,\n\t\tcompiled = typeof selector === \"function\" && selector,\n\t\tmatch = !seed && tokenize( ( selector = compiled.selector || selector ) );\n\n\tresults = results || [];\n\n\t// Try to minimize operations if there is only one selector in the list and no seed\n\t// (the latter of which guarantees us context)\n\tif ( match.length === 1 ) {\n\n\t\t// Reduce context if the leading compound selector is an ID\n\t\ttokens = match[ 0 ] = match[ 0 ].slice( 0 );\n\t\tif ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === \"ID\" &&\n\t\t\tcontext.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) {\n\n\t\t\tcontext = ( Expr.find[ \"ID\" ]( token.matches[ 0 ]\n\t\t\t\t.replace( runescape, funescape ), context ) || [] )[ 0 ];\n\t\t\tif ( !context ) {\n\t\t\t\treturn results;\n\n\t\t\t// Precompiled matchers will still verify ancestry, so step up a level\n\t\t\t} else if ( compiled ) {\n\t\t\t\tcontext = context.parentNode;\n\t\t\t}\n\n\t\t\tselector = selector.slice( tokens.shift().value.length );\n\t\t}\n\n\t\t// Fetch a seed set for right-to-left matching\n\t\ti = matchExpr[ \"needsContext\" ].test( selector ) ? 0 : tokens.length;\n\t\twhile ( i-- ) {\n\t\t\ttoken = tokens[ i ];\n\n\t\t\t// Abort if we hit a combinator\n\t\t\tif ( Expr.relative[ ( type = token.type ) ] ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( ( find = Expr.find[ type ] ) ) {\n\n\t\t\t\t// Search, expanding context for leading sibling combinators\n\t\t\t\tif ( ( seed = find(\n\t\t\t\t\ttoken.matches[ 0 ].replace( runescape, funescape ),\n\t\t\t\t\trsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) ||\n\t\t\t\t\t\tcontext\n\t\t\t\t) ) ) {\n\n\t\t\t\t\t// If seed is empty or no tokens remain, we can return early\n\t\t\t\t\ttokens.splice( i, 1 );\n\t\t\t\t\tselector = seed.length && toSelector( tokens );\n\t\t\t\t\tif ( !selector ) {\n\t\t\t\t\t\tpush.apply( results, seed );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Compile and execute a filtering function if one is not provided\n\t// Provide `match` to avoid retokenization if we modified the selector above\n\t( compiled || compile( selector, match ) )(\n\t\tseed,\n\t\tcontext,\n\t\t!documentIsHTML,\n\t\tresults,\n\t\t!context || rsibling.test( selector ) && testContext( context.parentNode ) || context\n\t);\n\treturn results;\n};\n\n// One-time assignments\n\n// Sort stability\nsupport.sortStable = expando.split( \"\" ).sort( sortOrder ).join( \"\" ) === expando;\n\n// Support: Chrome 14-35+\n// Always assume duplicates if they aren't passed to the comparison function\nsupport.detectDuplicates = !!hasDuplicate;\n\n// Initialize against the default document\nsetDocument();\n\n// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)\n// Detached nodes confoundingly follow *each other*\nsupport.sortDetached = assert( function( el ) {\n\n\t// Should return 1, but returns 4 (following)\n\treturn el.compareDocumentPosition( document.createElement( \"fieldset\" ) ) & 1;\n} );\n\n// Support: IE<8\n// Prevent attribute/property \"interpolation\"\n// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx\nif ( !assert( function( el ) {\n\tel.innerHTML = \"<a href='#'></a>\";\n\treturn el.firstChild.getAttribute( \"href\" ) === \"#\";\n} ) ) {\n\taddHandle( \"type|href|height|width\", function( elem, name, isXML ) {\n\t\tif ( !isXML ) {\n\t\t\treturn elem.getAttribute( name, name.toLowerCase() === \"type\" ? 1 : 2 );\n\t\t}\n\t} );\n}\n\n// Support: IE<9\n// Use defaultValue in place of getAttribute(\"value\")\nif ( !support.attributes || !assert( function( el ) {\n\tel.innerHTML = \"<input/>\";\n\tel.firstChild.setAttribute( \"value\", \"\" );\n\treturn el.firstChild.getAttribute( \"value\" ) === \"\";\n} ) ) {\n\taddHandle( \"value\", function( elem, _name, isXML ) {\n\t\tif ( !isXML && elem.nodeName.toLowerCase() === \"input\" ) {\n\t\t\treturn elem.defaultValue;\n\t\t}\n\t} );\n}\n\n// Support: IE<9\n// Use getAttributeNode to fetch booleans when getAttribute lies\nif ( !assert( function( el ) {\n\treturn el.getAttribute( \"disabled\" ) == null;\n} ) ) {\n\taddHandle( booleans, function( elem, name, isXML ) {\n\t\tvar val;\n\t\tif ( !isXML ) {\n\t\t\treturn elem[ name ] === true ? name.toLowerCase() :\n\t\t\t\t( val = elem.getAttributeNode( name ) ) && val.specified ?\n\t\t\t\t\tval.value :\n\t\t\t\t\tnull;\n\t\t}\n\t} );\n}\n\nreturn Sizzle;\n\n} )( window );\n\n\n\njQuery.find = Sizzle;\njQuery.expr = Sizzle.selectors;\n\n// Deprecated\njQuery.expr[ \":\" ] = jQuery.expr.pseudos;\njQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort;\njQuery.text = Sizzle.getText;\njQuery.isXMLDoc = Sizzle.isXML;\njQuery.contains = Sizzle.contains;\njQuery.escapeSelector = Sizzle.escape;\n\n\n\n\nvar dir = function( elem, dir, until ) {\n\tvar matched = [],\n\t\ttruncate = until !== undefined;\n\n\twhile ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {\n\t\tif ( elem.nodeType === 1 ) {\n\t\t\tif ( truncate && jQuery( elem ).is( until ) ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmatched.push( elem );\n\t\t}\n\t}\n\treturn matched;\n};\n\n\nvar siblings = function( n, elem ) {\n\tvar matched = [];\n\n\tfor ( ; n; n = n.nextSibling ) {\n\t\tif ( n.nodeType === 1 && n !== elem ) {\n\t\t\tmatched.push( n );\n\t\t}\n\t}\n\n\treturn matched;\n};\n\n\nvar rneedsContext = jQuery.expr.match.needsContext;\n\n\n\nfunction nodeName( elem, name ) {\n\n\treturn elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\n}\nvar rsingleTag = ( /^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i );\n\n\n\n// Implement the identical functionality for filter and not\nfunction winnow( elements, qualifier, not ) {\n\tif ( isFunction( qualifier ) ) {\n\t\treturn jQuery.grep( elements, function( elem, i ) {\n\t\t\treturn !!qualifier.call( elem, i, elem ) !== not;\n\t\t} );\n\t}\n\n\t// Single element\n\tif ( qualifier.nodeType ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( elem === qualifier ) !== not;\n\t\t} );\n\t}\n\n\t// Arraylike of elements (jQuery, arguments, Array)\n\tif ( typeof qualifier !== \"string\" ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( indexOf.call( qualifier, elem ) > -1 ) !== not;\n\t\t} );\n\t}\n\n\t// Filtered directly for both simple and complex selectors\n\treturn jQuery.filter( qualifier, elements, not );\n}\n\njQuery.filter = function( expr, elems, not ) {\n\tvar elem = elems[ 0 ];\n\n\tif ( not ) {\n\t\texpr = \":not(\" + expr + \")\";\n\t}\n\n\tif ( elems.length === 1 && elem.nodeType === 1 ) {\n\t\treturn jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];\n\t}\n\n\treturn jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {\n\t\treturn elem.nodeType === 1;\n\t} ) );\n};\n\njQuery.fn.extend( {\n\tfind: function( selector ) {\n\t\tvar i, ret,\n\t\t\tlen = this.length,\n\t\t\tself = this;\n\n\t\tif ( typeof selector !== \"string\" ) {\n\t\t\treturn this.pushStack( jQuery( selector ).filter( function() {\n\t\t\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\t\t\tif ( jQuery.contains( self[ i ], this ) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} ) );\n\t\t}\n\n\t\tret = this.pushStack( [] );\n\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\tjQuery.find( selector, self[ i ], ret );\n\t\t}\n\n\t\treturn len > 1 ? jQuery.uniqueSort( ret ) : ret;\n\t},\n\tfilter: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], false ) );\n\t},\n\tnot: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], true ) );\n\t},\n\tis: function( selector ) {\n\t\treturn !!winnow(\n\t\t\tthis,\n\n\t\t\t// If this is a positional/relative selector, check membership in the returned set\n\t\t\t// so $(\"p:first\").is(\"p:last\") won't return true for a doc with two \"p\".\n\t\t\ttypeof selector === \"string\" && rneedsContext.test( selector ) ?\n\t\t\t\tjQuery( selector ) :\n\t\t\t\tselector || [],\n\t\t\tfalse\n\t\t).length;\n\t}\n} );\n\n\n// Initialize a jQuery object\n\n\n// A central reference to the root jQuery(document)\nvar rootjQuery,\n\n\t// A simple way to check for HTML strings\n\t// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)\n\t// Strict HTML recognition (#11290: must start with <)\n\t// Shortcut simple #id case for speed\n\trquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,\n\n\tinit = jQuery.fn.init = function( selector, context, root ) {\n\t\tvar match, elem;\n\n\t\t// HANDLE: $(\"\"), $(null), $(undefined), $(false)\n\t\tif ( !selector ) {\n\t\t\treturn this;\n\t\t}\n\n\t\t// Method init() accepts an alternate rootjQuery\n\t\t// so migrate can support jQuery.sub (gh-2101)\n\t\troot = root || rootjQuery;\n\n\t\t// Handle HTML strings\n\t\tif ( typeof selector === \"string\" ) {\n\t\t\tif ( selector[ 0 ] === \"<\" &&\n\t\t\t\tselector[ selector.length - 1 ] === \">\" &&\n\t\t\t\tselector.length >= 3 ) {\n\n\t\t\t\t// Assume that strings that start and end with <> are HTML and skip the regex check\n\t\t\t\tmatch = [ null, selector, null ];\n\n\t\t\t} else {\n\t\t\t\tmatch = rquickExpr.exec( selector );\n\t\t\t}\n\n\t\t\t// Match html or make sure no context is specified for #id\n\t\t\tif ( match && ( match[ 1 ] || !context ) ) {\n\n\t\t\t\t// HANDLE: $(html) -> $(array)\n\t\t\t\tif ( match[ 1 ] ) {\n\t\t\t\t\tcontext = context instanceof jQuery ? context[ 0 ] : context;\n\n\t\t\t\t\t// Option to run scripts is true for back-compat\n\t\t\t\t\t// Intentionally let the error be thrown if parseHTML is not present\n\t\t\t\t\tjQuery.merge( this, jQuery.parseHTML(\n\t\t\t\t\t\tmatch[ 1 ],\n\t\t\t\t\t\tcontext && context.nodeType ? context.ownerDocument || context : document,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t) );\n\n\t\t\t\t\t// HANDLE: $(html, props)\n\t\t\t\t\tif ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {\n\t\t\t\t\t\tfor ( match in context ) {\n\n\t\t\t\t\t\t\t// Properties of context are called as methods if possible\n\t\t\t\t\t\t\tif ( isFunction( this[ match ] ) ) {\n\t\t\t\t\t\t\t\tthis[ match ]( context[ match ] );\n\n\t\t\t\t\t\t\t// ...and otherwise set as attributes\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.attr( match, context[ match ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn this;\n\n\t\t\t\t// HANDLE: $(#id)\n\t\t\t\t} else {\n\t\t\t\t\telem = document.getElementById( match[ 2 ] );\n\n\t\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t\t// Inject the element directly into the jQuery object\n\t\t\t\t\t\tthis[ 0 ] = elem;\n\t\t\t\t\t\tthis.length = 1;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\n\t\t\t// HANDLE: $(expr, $(...))\n\t\t\t} else if ( !context || context.jquery ) {\n\t\t\t\treturn ( context || root ).find( selector );\n\n\t\t\t// HANDLE: $(expr, context)\n\t\t\t// (which is just equivalent to: $(context).find(expr)\n\t\t\t} else {\n\t\t\t\treturn this.constructor( context ).find( selector );\n\t\t\t}\n\n\t\t// HANDLE: $(DOMElement)\n\t\t} else if ( selector.nodeType ) {\n\t\t\tthis[ 0 ] = selector;\n\t\t\tthis.length = 1;\n\t\t\treturn this;\n\n\t\t// HANDLE: $(function)\n\t\t// Shortcut for document ready\n\t\t} else if ( isFunction( selector ) ) {\n\t\t\treturn root.ready !== undefined ?\n\t\t\t\troot.ready( selector ) :\n\n\t\t\t\t// Execute immediately if ready is not present\n\t\t\t\tselector( jQuery );\n\t\t}\n\n\t\treturn jQuery.makeArray( selector, this );\n\t};\n\n// Give the init function the jQuery prototype for later instantiation\ninit.prototype = jQuery.fn;\n\n// Initialize central reference\nrootjQuery = jQuery( document );\n\n\nvar rparentsprev = /^(?:parents|prev(?:Until|All))/,\n\n\t// Methods guaranteed to produce a unique set when starting from a unique set\n\tguaranteedUnique = {\n\t\tchildren: true,\n\t\tcontents: true,\n\t\tnext: true,\n\t\tprev: true\n\t};\n\njQuery.fn.extend( {\n\thas: function( target ) {\n\t\tvar targets = jQuery( target, this ),\n\t\t\tl = targets.length;\n\n\t\treturn this.filter( function() {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tif ( jQuery.contains( this, targets[ i ] ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\tclosest: function( selectors, context ) {\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tmatched = [],\n\t\t\ttargets = typeof selectors !== \"string\" && jQuery( selectors );\n\n\t\t// Positional selectors never match, since there's no _selection_ context\n\t\tif ( !rneedsContext.test( selectors ) ) {\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tfor ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) {\n\n\t\t\t\t\t// Always skip document fragments\n\t\t\t\t\tif ( cur.nodeType < 11 && ( targets ?\n\t\t\t\t\t\ttargets.index( cur ) > -1 :\n\n\t\t\t\t\t\t// Don't pass non-elements to Sizzle\n\t\t\t\t\t\tcur.nodeType === 1 &&\n\t\t\t\t\t\t\tjQuery.find.matchesSelector( cur, selectors ) ) ) {\n\n\t\t\t\t\t\tmatched.push( cur );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched );\n\t},\n\n\t// Determine the position of an element within the set\n\tindex: function( elem ) {\n\n\t\t// No argument, return index in parent\n\t\tif ( !elem ) {\n\t\t\treturn ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;\n\t\t}\n\n\t\t// Index in selector\n\t\tif ( typeof elem === \"string\" ) {\n\t\t\treturn indexOf.call( jQuery( elem ), this[ 0 ] );\n\t\t}\n\n\t\t// Locate the position of the desired element\n\t\treturn indexOf.call( this,\n\n\t\t\t// If it receives a jQuery object, the first element is used\n\t\t\telem.jquery ? elem[ 0 ] : elem\n\t\t);\n\t},\n\n\tadd: function( selector, context ) {\n\t\treturn this.pushStack(\n\t\t\tjQuery.uniqueSort(\n\t\t\t\tjQuery.merge( this.get(), jQuery( selector, context ) )\n\t\t\t)\n\t\t);\n\t},\n\n\taddBack: function( selector ) {\n\t\treturn this.add( selector == null ?\n\t\t\tthis.prevObject : this.prevObject.filter( selector )\n\t\t);\n\t}\n} );\n\nfunction sibling( cur, dir ) {\n\twhile ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {}\n\treturn cur;\n}\n\njQuery.each( {\n\tparent: function( elem ) {\n\t\tvar parent = elem.parentNode;\n\t\treturn parent && parent.nodeType !== 11 ? parent : null;\n\t},\n\tparents: function( elem ) {\n\t\treturn dir( elem, \"parentNode\" );\n\t},\n\tparentsUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"parentNode\", until );\n\t},\n\tnext: function( elem ) {\n\t\treturn sibling( elem, \"nextSibling\" );\n\t},\n\tprev: function( elem ) {\n\t\treturn sibling( elem, \"previousSibling\" );\n\t},\n\tnextAll: function( elem ) {\n\t\treturn dir( elem, \"nextSibling\" );\n\t},\n\tprevAll: function( elem ) {\n\t\treturn dir( elem, \"previousSibling\" );\n\t},\n\tnextUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"nextSibling\", until );\n\t},\n\tprevUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"previousSibling\", until );\n\t},\n\tsiblings: function( elem ) {\n\t\treturn siblings( ( elem.parentNode || {} ).firstChild, elem );\n\t},\n\tchildren: function( elem ) {\n\t\treturn siblings( elem.firstChild );\n\t},\n\tcontents: function( elem ) {\n\t\tif ( elem.contentDocument != null &&\n\n\t\t\t// Support: IE 11+\n\t\t\t// <object> elements with no `data` attribute has an object\n\t\t\t// `contentDocument` with a `null` prototype.\n\t\t\tgetProto( elem.contentDocument ) ) {\n\n\t\t\treturn elem.contentDocument;\n\t\t}\n\n\t\t// Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only\n\t\t// Treat the template element as a regular one in browsers that\n\t\t// don't support it.\n\t\tif ( nodeName( elem, \"template\" ) ) {\n\t\t\telem = elem.content || elem;\n\t\t}\n\n\t\treturn jQuery.merge( [], elem.childNodes );\n\t}\n}, function( name, fn ) {\n\tjQuery.fn[ name ] = function( until, selector ) {\n\t\tvar matched = jQuery.map( this, fn, until );\n\n\t\tif ( name.slice( -5 ) !== \"Until\" ) {\n\t\t\tselector = until;\n\t\t}\n\n\t\tif ( selector && typeof selector === \"string\" ) {\n\t\t\tmatched = jQuery.filter( selector, matched );\n\t\t}\n\n\t\tif ( this.length > 1 ) {\n\n\t\t\t// Remove duplicates\n\t\t\tif ( !guaranteedUnique[ name ] ) {\n\t\t\t\tjQuery.uniqueSort( matched );\n\t\t\t}\n\n\t\t\t// Reverse order for parents* and prev-derivatives\n\t\t\tif ( rparentsprev.test( name ) ) {\n\t\t\t\tmatched.reverse();\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched );\n\t};\n} );\nvar rnothtmlwhite = ( /[^\\x20\\t\\r\\n\\f]+/g );\n\n\n\n// Convert String-formatted options into Object-formatted ones\nfunction createOptions( options ) {\n\tvar object = {};\n\tjQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {\n\t\tobject[ flag ] = true;\n\t} );\n\treturn object;\n}\n\n/*\n * Create a callback list using the following parameters:\n *\n *\toptions: an optional list of space-separated options that will change how\n *\t\t\tthe callback list behaves or a more traditional option object\n *\n * By default a callback list will act like an event callback list and can be\n * \"fired\" multiple times.\n *\n * Possible options:\n *\n *\tonce:\t\t\twill ensure the callback list can only be fired once (like a Deferred)\n *\n *\tmemory:\t\t\twill keep track of previous values and will call any callback added\n *\t\t\t\t\tafter the list has been fired right away with the latest \"memorized\"\n *\t\t\t\t\tvalues (like a Deferred)\n *\n *\tunique:\t\t\twill ensure a callback can only be added once (no duplicate in the list)\n *\n *\tstopOnFalse:\tinterrupt callings when a callback returns false\n *\n */\njQuery.Callbacks = function( options ) {\n\n\t// Convert options from String-formatted to Object-formatted if needed\n\t// (we check in cache first)\n\toptions = typeof options === \"string\" ?\n\t\tcreateOptions( options ) :\n\t\tjQuery.extend( {}, options );\n\n\tvar // Flag to know if list is currently firing\n\t\tfiring,\n\n\t\t// Last fire value for non-forgettable lists\n\t\tmemory,\n\n\t\t// Flag to know if list was already fired\n\t\tfired,\n\n\t\t// Flag to prevent firing\n\t\tlocked,\n\n\t\t// Actual callback list\n\t\tlist = [],\n\n\t\t// Queue of execution data for repeatable lists\n\t\tqueue = [],\n\n\t\t// Index of currently firing callback (modified by add/remove as needed)\n\t\tfiringIndex = -1,\n\n\t\t// Fire callbacks\n\t\tfire = function() {\n\n\t\t\t// Enforce single-firing\n\t\t\tlocked = locked || options.once;\n\n\t\t\t// Execute callbacks for all pending executions,\n\t\t\t// respecting firingIndex overrides and runtime changes\n\t\t\tfired = firing = true;\n\t\t\tfor ( ; queue.length; firingIndex = -1 ) {\n\t\t\t\tmemory = queue.shift();\n\t\t\t\twhile ( ++firingIndex < list.length ) {\n\n\t\t\t\t\t// Run callback and check for early termination\n\t\t\t\t\tif ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false &&\n\t\t\t\t\t\toptions.stopOnFalse ) {\n\n\t\t\t\t\t\t// Jump to end and forget the data so .add doesn't re-fire\n\t\t\t\t\t\tfiringIndex = list.length;\n\t\t\t\t\t\tmemory = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Forget the data if we're done with it\n\t\t\tif ( !options.memory ) {\n\t\t\t\tmemory = false;\n\t\t\t}\n\n\t\t\tfiring = false;\n\n\t\t\t// Clean up if we're done firing for good\n\t\t\tif ( locked ) {\n\n\t\t\t\t// Keep an empty list if we have data for future add calls\n\t\t\t\tif ( memory ) {\n\t\t\t\t\tlist = [];\n\n\t\t\t\t// Otherwise, this object is spent\n\t\t\t\t} else {\n\t\t\t\t\tlist = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// Actual Callbacks object\n\t\tself = {\n\n\t\t\t// Add a callback or a collection of callbacks to the list\n\t\t\tadd: function() {\n\t\t\t\tif ( list ) {\n\n\t\t\t\t\t// If we have memory from a past run, we should fire after adding\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfiringIndex = list.length - 1;\n\t\t\t\t\t\tqueue.push( memory );\n\t\t\t\t\t}\n\n\t\t\t\t\t( function add( args ) {\n\t\t\t\t\t\tjQuery.each( args, function( _, arg ) {\n\t\t\t\t\t\t\tif ( isFunction( arg ) ) {\n\t\t\t\t\t\t\t\tif ( !options.unique || !self.has( arg ) ) {\n\t\t\t\t\t\t\t\t\tlist.push( arg );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if ( arg && arg.length && toType( arg ) !== \"string\" ) {\n\n\t\t\t\t\t\t\t\t// Inspect recursively\n\t\t\t\t\t\t\t\tadd( arg );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t} )( arguments );\n\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Remove a callback from the list\n\t\t\tremove: function() {\n\t\t\t\tjQuery.each( arguments, function( _, arg ) {\n\t\t\t\t\tvar index;\n\t\t\t\t\twhile ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {\n\t\t\t\t\t\tlist.splice( index, 1 );\n\n\t\t\t\t\t\t// Handle firing indexes\n\t\t\t\t\t\tif ( index <= firingIndex ) {\n\t\t\t\t\t\t\tfiringIndex--;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Check if a given callback is in the list.\n\t\t\t// If no argument is given, return whether or not list has callbacks attached.\n\t\t\thas: function( fn ) {\n\t\t\t\treturn fn ?\n\t\t\t\t\tjQuery.inArray( fn, list ) > -1 :\n\t\t\t\t\tlist.length > 0;\n\t\t\t},\n\n\t\t\t// Remove all callbacks from the list\n\t\t\tempty: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\tlist = [];\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Disable .fire and .add\n\t\t\t// Abort any current/pending executions\n\t\t\t// Clear all callbacks and values\n\t\t\tdisable: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tlist = memory = \"\";\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tdisabled: function() {\n\t\t\t\treturn !list;\n\t\t\t},\n\n\t\t\t// Disable .fire\n\t\t\t// Also disable .add unless we have memory (since it would have no effect)\n\t\t\t// Abort any pending executions\n\t\t\tlock: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tif ( !memory && !firing ) {\n\t\t\t\t\tlist = memory = \"\";\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tlocked: function() {\n\t\t\t\treturn !!locked;\n\t\t\t},\n\n\t\t\t// Call all callbacks with the given context and arguments\n\t\t\tfireWith: function( context, args ) {\n\t\t\t\tif ( !locked ) {\n\t\t\t\t\targs = args || [];\n\t\t\t\t\targs = [ context, args.slice ? args.slice() : args ];\n\t\t\t\t\tqueue.push( args );\n\t\t\t\t\tif ( !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Call all the callbacks with the given arguments\n\t\t\tfire: function() {\n\t\t\t\tself.fireWith( this, arguments );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// To know if the callbacks have already been called at least once\n\t\t\tfired: function() {\n\t\t\t\treturn !!fired;\n\t\t\t}\n\t\t};\n\n\treturn self;\n};\n\n\nfunction Identity( v ) {\n\treturn v;\n}\nfunction Thrower( ex ) {\n\tthrow ex;\n}\n\nfunction adoptValue( value, resolve, reject, noValue ) {\n\tvar method;\n\n\ttry {\n\n\t\t// Check for promise aspect first to privilege synchronous behavior\n\t\tif ( value && isFunction( ( method = value.promise ) ) ) {\n\t\t\tmethod.call( value ).done( resolve ).fail( reject );\n\n\t\t// Other thenables\n\t\t} else if ( value && isFunction( ( method = value.then ) ) ) {\n\t\t\tmethod.call( value, resolve, reject );\n\n\t\t// Other non-thenables\n\t\t} else {\n\n\t\t\t// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:\n\t\t\t// * false: [ value ].slice( 0 ) => resolve( value )\n\t\t\t// * true: [ value ].slice( 1 ) => resolve()\n\t\t\tresolve.apply( undefined, [ value ].slice( noValue ) );\n\t\t}\n\n\t// For Promises/A+, convert exceptions into rejections\n\t// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in\n\t// Deferred#then to conditionally suppress rejection.\n\t} catch ( value ) {\n\n\t\t// Support: Android 4.0 only\n\t\t// Strict mode functions invoked without .call/.apply get global-object context\n\t\treject.apply( undefined, [ value ] );\n\t}\n}\n\njQuery.extend( {\n\n\tDeferred: function( func ) {\n\t\tvar tuples = [\n\n\t\t\t\t// action, add listener, callbacks,\n\t\t\t\t// ... .then handlers, argument index, [final state]\n\t\t\t\t[ \"notify\", \"progress\", jQuery.Callbacks( \"memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"memory\" ), 2 ],\n\t\t\t\t[ \"resolve\", \"done\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 0, \"resolved\" ],\n\t\t\t\t[ \"reject\", \"fail\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 1, \"rejected\" ]\n\t\t\t],\n\t\t\tstate = \"pending\",\n\t\t\tpromise = {\n\t\t\t\tstate: function() {\n\t\t\t\t\treturn state;\n\t\t\t\t},\n\t\t\t\talways: function() {\n\t\t\t\t\tdeferred.done( arguments ).fail( arguments );\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\t\t\t\t\"catch\": function( fn ) {\n\t\t\t\t\treturn promise.then( null, fn );\n\t\t\t\t},\n\n\t\t\t\t// Keep pipe for back-compat\n\t\t\t\tpipe: function( /* fnDone, fnFail, fnProgress */ ) {\n\t\t\t\t\tvar fns = arguments;\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\t\t\t\t\t\tjQuery.each( tuples, function( _i, tuple ) {\n\n\t\t\t\t\t\t\t// Map tuples (progress, done, fail) to arguments (done, fail, progress)\n\t\t\t\t\t\t\tvar fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];\n\n\t\t\t\t\t\t\t// deferred.progress(function() { bind to newDefer or newDefer.notify })\n\t\t\t\t\t\t\t// deferred.done(function() { bind to newDefer or newDefer.resolve })\n\t\t\t\t\t\t\t// deferred.fail(function() { bind to newDefer or newDefer.reject })\n\t\t\t\t\t\t\tdeferred[ tuple[ 1 ] ]( function() {\n\t\t\t\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\t\t\t\tif ( returned && isFunction( returned.promise ) ) {\n\t\t\t\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t\t\t\t.progress( newDefer.notify )\n\t\t\t\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t\t\t\t.fail( newDefer.reject );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tnewDefer[ tuple[ 0 ] + \"With\" ](\n\t\t\t\t\t\t\t\t\t\tthis,\n\t\t\t\t\t\t\t\t\t\tfn ? [ returned ] : arguments\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tfns = null;\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\t\t\t\tthen: function( onFulfilled, onRejected, onProgress ) {\n\t\t\t\t\tvar maxDepth = 0;\n\t\t\t\t\tfunction resolve( depth, deferred, handler, special ) {\n\t\t\t\t\t\treturn function() {\n\t\t\t\t\t\t\tvar that = this,\n\t\t\t\t\t\t\t\targs = arguments,\n\t\t\t\t\t\t\t\tmightThrow = function() {\n\t\t\t\t\t\t\t\t\tvar returned, then;\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.3\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-59\n\t\t\t\t\t\t\t\t\t// Ignore double-resolution attempts\n\t\t\t\t\t\t\t\t\tif ( depth < maxDepth ) {\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treturned = handler.apply( that, args );\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.1\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-48\n\t\t\t\t\t\t\t\t\tif ( returned === deferred.promise() ) {\n\t\t\t\t\t\t\t\t\t\tthrow new TypeError( \"Thenable self-resolution\" );\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ sections 2.3.3.1, 3.5\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-54\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-75\n\t\t\t\t\t\t\t\t\t// Retrieve `then` only once\n\t\t\t\t\t\t\t\t\tthen = returned &&\n\n\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.4\n\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-64\n\t\t\t\t\t\t\t\t\t\t// Only check objects and functions for thenability\n\t\t\t\t\t\t\t\t\t\t( typeof returned === \"object\" ||\n\t\t\t\t\t\t\t\t\t\t\ttypeof returned === \"function\" ) &&\n\t\t\t\t\t\t\t\t\t\treturned.then;\n\n\t\t\t\t\t\t\t\t\t// Handle a returned thenable\n\t\t\t\t\t\t\t\t\tif ( isFunction( then ) ) {\n\n\t\t\t\t\t\t\t\t\t\t// Special processors (notify) just wait for resolution\n\t\t\t\t\t\t\t\t\t\tif ( special ) {\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special )\n\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t// Normal processors (resolve) also hook into progress\n\t\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t\t// ...and disregard older resolution values\n\t\t\t\t\t\t\t\t\t\t\tmaxDepth++;\n\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdeferred.notifyWith )\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Handle all other returned values\n\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\tif ( handler !== Identity ) {\n\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\targs = [ returned ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t// Process the value(s)\n\t\t\t\t\t\t\t\t\t\t// Default process is resolve\n\t\t\t\t\t\t\t\t\t\t( special || deferred.resolveWith )( that, args );\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t// Only normal processors (resolve) catch and reject exceptions\n\t\t\t\t\t\t\t\tprocess = special ?\n\t\t\t\t\t\t\t\t\tmightThrow :\n\t\t\t\t\t\t\t\t\tfunction() {\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tmightThrow();\n\t\t\t\t\t\t\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t\t\t\t\t\t\tif ( jQuery.Deferred.exceptionHook ) {\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery.Deferred.exceptionHook( e,\n\t\t\t\t\t\t\t\t\t\t\t\t\tprocess.stackTrace );\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.4.1\n\t\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-61\n\t\t\t\t\t\t\t\t\t\t\t// Ignore post-resolution exceptions\n\t\t\t\t\t\t\t\t\t\t\tif ( depth + 1 >= maxDepth ) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\t\t\tif ( handler !== Thrower ) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\t\targs = [ e ];\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tdeferred.rejectWith( that, args );\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.1\n\t\t\t\t\t\t\t// https://promisesaplus.com/#point-57\n\t\t\t\t\t\t\t// Re-resolve promises immediately to dodge false rejection from\n\t\t\t\t\t\t\t// subsequent errors\n\t\t\t\t\t\t\tif ( depth ) {\n\t\t\t\t\t\t\t\tprocess();\n\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t// Call an optional hook to record the stack, in case of exception\n\t\t\t\t\t\t\t\t// since it's otherwise lost when execution goes async\n\t\t\t\t\t\t\t\tif ( jQuery.Deferred.getStackHook ) {\n\t\t\t\t\t\t\t\t\tprocess.stackTrace = jQuery.Deferred.getStackHook();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\twindow.setTimeout( process );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\n\t\t\t\t\t\t// progress_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 0 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onProgress ) ?\n\t\t\t\t\t\t\t\t\tonProgress :\n\t\t\t\t\t\t\t\t\tIdentity,\n\t\t\t\t\t\t\t\tnewDefer.notifyWith\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// fulfilled_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 1 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onFulfilled ) ?\n\t\t\t\t\t\t\t\t\tonFulfilled :\n\t\t\t\t\t\t\t\t\tIdentity\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// rejected_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 2 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onRejected ) ?\n\t\t\t\t\t\t\t\t\tonRejected :\n\t\t\t\t\t\t\t\t\tThrower\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\n\t\t\t\t// Get a promise for this deferred\n\t\t\t\t// If obj is provided, the promise aspect is added to the object\n\t\t\t\tpromise: function( obj ) {\n\t\t\t\t\treturn obj != null ? jQuery.extend( obj, promise ) : promise;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdeferred = {};\n\n\t\t// Add list-specific methods\n\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\tvar list = tuple[ 2 ],\n\t\t\t\tstateString = tuple[ 5 ];\n\n\t\t\t// promise.progress = list.add\n\t\t\t// promise.done = list.add\n\t\t\t// promise.fail = list.add\n\t\t\tpromise[ tuple[ 1 ] ] = list.add;\n\n\t\t\t// Handle state\n\t\t\tif ( stateString ) {\n\t\t\t\tlist.add(\n\t\t\t\t\tfunction() {\n\n\t\t\t\t\t\t// state = \"resolved\" (i.e., fulfilled)\n\t\t\t\t\t\t// state = \"rejected\"\n\t\t\t\t\t\tstate = stateString;\n\t\t\t\t\t},\n\n\t\t\t\t\t// rejected_callbacks.disable\n\t\t\t\t\t// fulfilled_callbacks.disable\n\t\t\t\t\ttuples[ 3 - i ][ 2 ].disable,\n\n\t\t\t\t\t// rejected_handlers.disable\n\t\t\t\t\t// fulfilled_handlers.disable\n\t\t\t\t\ttuples[ 3 - i ][ 3 ].disable,\n\n\t\t\t\t\t// progress_callbacks.lock\n\t\t\t\t\ttuples[ 0 ][ 2 ].lock,\n\n\t\t\t\t\t// progress_handlers.lock\n\t\t\t\t\ttuples[ 0 ][ 3 ].lock\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// progress_handlers.fire\n\t\t\t// fulfilled_handlers.fire\n\t\t\t// rejected_handlers.fire\n\t\t\tlist.add( tuple[ 3 ].fire );\n\n\t\t\t// deferred.notify = function() { deferred.notifyWith(...) }\n\t\t\t// deferred.resolve = function() { deferred.resolveWith(...) }\n\t\t\t// deferred.reject = function() { deferred.rejectWith(...) }\n\t\t\tdeferred[ tuple[ 0 ] ] = function() {\n\t\t\t\tdeferred[ tuple[ 0 ] + \"With\" ]( this === deferred ? undefined : this, arguments );\n\t\t\t\treturn this;\n\t\t\t};\n\n\t\t\t// deferred.notifyWith = list.fireWith\n\t\t\t// deferred.resolveWith = list.fireWith\n\t\t\t// deferred.rejectWith = list.fireWith\n\t\t\tdeferred[ tuple[ 0 ] + \"With\" ] = list.fireWith;\n\t\t} );\n\n\t\t// Make the deferred a promise\n\t\tpromise.promise( deferred );\n\n\t\t// Call given func if any\n\t\tif ( func ) {\n\t\t\tfunc.call( deferred, deferred );\n\t\t}\n\n\t\t// All done!\n\t\treturn deferred;\n\t},\n\n\t// Deferred helper\n\twhen: function( singleValue ) {\n\t\tvar\n\n\t\t\t// count of uncompleted subordinates\n\t\t\tremaining = arguments.length,\n\n\t\t\t// count of unprocessed arguments\n\t\t\ti = remaining,\n\n\t\t\t// subordinate fulfillment data\n\t\t\tresolveContexts = Array( i ),\n\t\t\tresolveValues = slice.call( arguments ),\n\n\t\t\t// the primary Deferred\n\t\t\tprimary = jQuery.Deferred(),\n\n\t\t\t// subordinate callback factory\n\t\t\tupdateFunc = function( i ) {\n\t\t\t\treturn function( value ) {\n\t\t\t\t\tresolveContexts[ i ] = this;\n\t\t\t\t\tresolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;\n\t\t\t\t\tif ( !( --remaining ) ) {\n\t\t\t\t\t\tprimary.resolveWith( resolveContexts, resolveValues );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t};\n\n\t\t// Single- and empty arguments are adopted like Promise.resolve\n\t\tif ( remaining <= 1 ) {\n\t\t\tadoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject,\n\t\t\t\t!remaining );\n\n\t\t\t// Use .then() to unwrap secondary thenables (cf. gh-3000)\n\t\t\tif ( primary.state() === \"pending\" ||\n\t\t\t\tisFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {\n\n\t\t\t\treturn primary.then();\n\t\t\t}\n\t\t}\n\n\t\t// Multiple arguments are aggregated like Promise.all array elements\n\t\twhile ( i-- ) {\n\t\t\tadoptValue( resolveValues[ i ], updateFunc( i ), primary.reject );\n\t\t}\n\n\t\treturn primary.promise();\n\t}\n} );\n\n\n// These usually indicate a programmer mistake during development,\n// warn about them ASAP rather than swallowing them by default.\nvar rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;\n\njQuery.Deferred.exceptionHook = function( error, stack ) {\n\n\t// Support: IE 8 - 9 only\n\t// Console exists when dev tools are open, which can happen at any time\n\tif ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {\n\t\twindow.console.warn( \"jQuery.Deferred exception: \" + error.message, error.stack, stack );\n\t}\n};\n\n\n\n\njQuery.readyException = function( error ) {\n\twindow.setTimeout( function() {\n\t\tthrow error;\n\t} );\n};\n\n\n\n\n// The deferred used on DOM ready\nvar readyList = jQuery.Deferred();\n\njQuery.fn.ready = function( fn ) {\n\n\treadyList\n\t\t.then( fn )\n\n\t\t// Wrap jQuery.readyException in a function so that the lookup\n\t\t// happens at the time of error handling instead of callback\n\t\t// registration.\n\t\t.catch( function( error ) {\n\t\t\tjQuery.readyException( error );\n\t\t} );\n\n\treturn this;\n};\n\njQuery.extend( {\n\n\t// Is the DOM ready to be used? Set to true once it occurs.\n\tisReady: false,\n\n\t// A counter to track how many items to wait for before\n\t// the ready event fires. See #6781\n\treadyWait: 1,\n\n\t// Handle when the DOM is ready\n\tready: function( wait ) {\n\n\t\t// Abort if there are pending holds or we're already ready\n\t\tif ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Remember that the DOM is ready\n\t\tjQuery.isReady = true;\n\n\t\t// If a normal DOM Ready event fired, decrement, and wait if need be\n\t\tif ( wait !== true && --jQuery.readyWait > 0 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there are functions bound, to execute\n\t\treadyList.resolveWith( document, [ jQuery ] );\n\t}\n} );\n\njQuery.ready.then = readyList.then;\n\n// The ready event handler and self cleanup method\nfunction completed() {\n\tdocument.removeEventListener( \"DOMContentLoaded\", completed );\n\twindow.removeEventListener( \"load\", completed );\n\tjQuery.ready();\n}\n\n// Catch cases where $(document).ready() is called\n// after the browser event has already occurred.\n// Support: IE <=9 - 10 only\n// Older IE sometimes signals \"interactive\" too soon\nif ( document.readyState === \"complete\" ||\n\t( document.readyState !== \"loading\" && !document.documentElement.doScroll ) ) {\n\n\t// Handle it asynchronously to allow scripts the opportunity to delay ready\n\twindow.setTimeout( jQuery.ready );\n\n} else {\n\n\t// Use the handy event callback\n\tdocument.addEventListener( \"DOMContentLoaded\", completed );\n\n\t// A fallback to window.onload, that will always work\n\twindow.addEventListener( \"load\", completed );\n}\n\n\n\n\n// Multifunctional method to get and set values of a collection\n// The value/s can optionally be executed if it's a function\nvar access = function( elems, fn, key, value, chainable, emptyGet, raw ) {\n\tvar i = 0,\n\t\tlen = elems.length,\n\t\tbulk = key == null;\n\n\t// Sets many values\n\tif ( toType( key ) === \"object\" ) {\n\t\tchainable = true;\n\t\tfor ( i in key ) {\n\t\t\taccess( elems, fn, i, key[ i ], true, emptyGet, raw );\n\t\t}\n\n\t// Sets one value\n\t} else if ( value !== undefined ) {\n\t\tchainable = true;\n\n\t\tif ( !isFunction( value ) ) {\n\t\t\traw = true;\n\t\t}\n\n\t\tif ( bulk ) {\n\n\t\t\t// Bulk operations run against the entire set\n\t\t\tif ( raw ) {\n\t\t\t\tfn.call( elems, value );\n\t\t\t\tfn = null;\n\n\t\t\t// ...except when executing function values\n\t\t\t} else {\n\t\t\t\tbulk = fn;\n\t\t\t\tfn = function( elem, _key, value ) {\n\t\t\t\t\treturn bulk.call( jQuery( elem ), value );\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif ( fn ) {\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\tfn(\n\t\t\t\t\telems[ i ], key, raw ?\n\t\t\t\t\t\tvalue :\n\t\t\t\t\t\tvalue.call( elems[ i ], i, fn( elems[ i ], key ) )\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( chainable ) {\n\t\treturn elems;\n\t}\n\n\t// Gets\n\tif ( bulk ) {\n\t\treturn fn.call( elems );\n\t}\n\n\treturn len ? fn( elems[ 0 ], key ) : emptyGet;\n};\n\n\n// Matches dashed string for camelizing\nvar rmsPrefix = /^-ms-/,\n\trdashAlpha = /-([a-z])/g;\n\n// Used by camelCase as callback to replace()\nfunction fcamelCase( _all, letter ) {\n\treturn letter.toUpperCase();\n}\n\n// Convert dashed to camelCase; used by the css and data modules\n// Support: IE <=9 - 11, Edge 12 - 15\n// Microsoft forgot to hump their vendor prefix (#9572)\nfunction camelCase( string ) {\n\treturn string.replace( rmsPrefix, \"ms-\" ).replace( rdashAlpha, fcamelCase );\n}\nvar acceptData = function( owner ) {\n\n\t// Accepts only:\n\t//  - Node\n\t//    - Node.ELEMENT_NODE\n\t//    - Node.DOCUMENT_NODE\n\t//  - Object\n\t//    - Any\n\treturn owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );\n};\n\n\n\n\nfunction Data() {\n\tthis.expando = jQuery.expando + Data.uid++;\n}\n\nData.uid = 1;\n\nData.prototype = {\n\n\tcache: function( owner ) {\n\n\t\t// Check if the owner object already has a cache\n\t\tvar value = owner[ this.expando ];\n\n\t\t// If not, create one\n\t\tif ( !value ) {\n\t\t\tvalue = {};\n\n\t\t\t// We can accept data for non-element nodes in modern browsers,\n\t\t\t// but we should not, see #8335.\n\t\t\t// Always return an empty object.\n\t\t\tif ( acceptData( owner ) ) {\n\n\t\t\t\t// If it is a node unlikely to be stringify-ed or looped over\n\t\t\t\t// use plain assignment\n\t\t\t\tif ( owner.nodeType ) {\n\t\t\t\t\towner[ this.expando ] = value;\n\n\t\t\t\t// Otherwise secure it in a non-enumerable property\n\t\t\t\t// configurable must be true to allow the property to be\n\t\t\t\t// deleted when data is removed\n\t\t\t\t} else {\n\t\t\t\t\tObject.defineProperty( owner, this.expando, {\n\t\t\t\t\t\tvalue: value,\n\t\t\t\t\t\tconfigurable: true\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn value;\n\t},\n\tset: function( owner, data, value ) {\n\t\tvar prop,\n\t\t\tcache = this.cache( owner );\n\n\t\t// Handle: [ owner, key, value ] args\n\t\t// Always use camelCase key (gh-2257)\n\t\tif ( typeof data === \"string\" ) {\n\t\t\tcache[ camelCase( data ) ] = value;\n\n\t\t// Handle: [ owner, { properties } ] args\n\t\t} else {\n\n\t\t\t// Copy the properties one-by-one to the cache object\n\t\t\tfor ( prop in data ) {\n\t\t\t\tcache[ camelCase( prop ) ] = data[ prop ];\n\t\t\t}\n\t\t}\n\t\treturn cache;\n\t},\n\tget: function( owner, key ) {\n\t\treturn key === undefined ?\n\t\t\tthis.cache( owner ) :\n\n\t\t\t// Always use camelCase key (gh-2257)\n\t\t\towner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ];\n\t},\n\taccess: function( owner, key, value ) {\n\n\t\t// In cases where either:\n\t\t//\n\t\t//   1. No key was specified\n\t\t//   2. A string key was specified, but no value provided\n\t\t//\n\t\t// Take the \"read\" path and allow the get method to determine\n\t\t// which value to return, respectively either:\n\t\t//\n\t\t//   1. The entire cache object\n\t\t//   2. The data stored at the key\n\t\t//\n\t\tif ( key === undefined ||\n\t\t\t\t( ( key && typeof key === \"string\" ) && value === undefined ) ) {\n\n\t\t\treturn this.get( owner, key );\n\t\t}\n\n\t\t// When the key is not a string, or both a key and value\n\t\t// are specified, set or extend (existing objects) with either:\n\t\t//\n\t\t//   1. An object of properties\n\t\t//   2. A key and value\n\t\t//\n\t\tthis.set( owner, key, value );\n\n\t\t// Since the \"set\" path can have two possible entry points\n\t\t// return the expected data based on which path was taken[*]\n\t\treturn value !== undefined ? value : key;\n\t},\n\tremove: function( owner, key ) {\n\t\tvar i,\n\t\t\tcache = owner[ this.expando ];\n\n\t\tif ( cache === undefined ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( key !== undefined ) {\n\n\t\t\t// Support array or space separated string of keys\n\t\t\tif ( Array.isArray( key ) ) {\n\n\t\t\t\t// If key is an array of keys...\n\t\t\t\t// We always set camelCase keys, so remove that.\n\t\t\t\tkey = key.map( camelCase );\n\t\t\t} else {\n\t\t\t\tkey = camelCase( key );\n\n\t\t\t\t// If a key with the spaces exists, use it.\n\t\t\t\t// Otherwise, create an array by matching non-whitespace\n\t\t\t\tkey = key in cache ?\n\t\t\t\t\t[ key ] :\n\t\t\t\t\t( key.match( rnothtmlwhite ) || [] );\n\t\t\t}\n\n\t\t\ti = key.length;\n\n\t\t\twhile ( i-- ) {\n\t\t\t\tdelete cache[ key[ i ] ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove the expando if there's no more data\n\t\tif ( key === undefined || jQuery.isEmptyObject( cache ) ) {\n\n\t\t\t// Support: Chrome <=35 - 45\n\t\t\t// Webkit & Blink performance suffers when deleting properties\n\t\t\t// from DOM nodes, so set to undefined instead\n\t\t\t// https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)\n\t\t\tif ( owner.nodeType ) {\n\t\t\t\towner[ this.expando ] = undefined;\n\t\t\t} else {\n\t\t\t\tdelete owner[ this.expando ];\n\t\t\t}\n\t\t}\n\t},\n\thasData: function( owner ) {\n\t\tvar cache = owner[ this.expando ];\n\t\treturn cache !== undefined && !jQuery.isEmptyObject( cache );\n\t}\n};\nvar dataPriv = new Data();\n\nvar dataUser = new Data();\n\n\n\n//\tImplementation Summary\n//\n//\t1. Enforce API surface and semantic compatibility with 1.9.x branch\n//\t2. Improve the module's maintainability by reducing the storage\n//\t\tpaths to a single mechanism.\n//\t3. Use the same single mechanism to support \"private\" and \"user\" data.\n//\t4. _Never_ expose \"private\" data to user code (TODO: Drop _data, _removeData)\n//\t5. Avoid exposing implementation details on user objects (eg. expando properties)\n//\t6. Provide a clear path for implementation upgrade to WeakMap in 2014\n\nvar rbrace = /^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,\n\trmultiDash = /[A-Z]/g;\n\nfunction getData( data ) {\n\tif ( data === \"true\" ) {\n\t\treturn true;\n\t}\n\n\tif ( data === \"false\" ) {\n\t\treturn false;\n\t}\n\n\tif ( data === \"null\" ) {\n\t\treturn null;\n\t}\n\n\t// Only convert to a number if it doesn't change the string\n\tif ( data === +data + \"\" ) {\n\t\treturn +data;\n\t}\n\n\tif ( rbrace.test( data ) ) {\n\t\treturn JSON.parse( data );\n\t}\n\n\treturn data;\n}\n\nfunction dataAttr( elem, key, data ) {\n\tvar name;\n\n\t// If nothing was found internally, try to fetch any\n\t// data from the HTML5 data-* attribute\n\tif ( data === undefined && elem.nodeType === 1 ) {\n\t\tname = \"data-\" + key.replace( rmultiDash, \"-$&\" ).toLowerCase();\n\t\tdata = elem.getAttribute( name );\n\n\t\tif ( typeof data === \"string\" ) {\n\t\t\ttry {\n\t\t\t\tdata = getData( data );\n\t\t\t} catch ( e ) {}\n\n\t\t\t// Make sure we set the data so it isn't changed later\n\t\t\tdataUser.set( elem, key, data );\n\t\t} else {\n\t\t\tdata = undefined;\n\t\t}\n\t}\n\treturn data;\n}\n\njQuery.extend( {\n\thasData: function( elem ) {\n\t\treturn dataUser.hasData( elem ) || dataPriv.hasData( elem );\n\t},\n\n\tdata: function( elem, name, data ) {\n\t\treturn dataUser.access( elem, name, data );\n\t},\n\n\tremoveData: function( elem, name ) {\n\t\tdataUser.remove( elem, name );\n\t},\n\n\t// TODO: Now that all calls to _data and _removeData have been replaced\n\t// with direct calls to dataPriv methods, these can be deprecated.\n\t_data: function( elem, name, data ) {\n\t\treturn dataPriv.access( elem, name, data );\n\t},\n\n\t_removeData: function( elem, name ) {\n\t\tdataPriv.remove( elem, name );\n\t}\n} );\n\njQuery.fn.extend( {\n\tdata: function( key, value ) {\n\t\tvar i, name, data,\n\t\t\telem = this[ 0 ],\n\t\t\tattrs = elem && elem.attributes;\n\n\t\t// Gets all values\n\t\tif ( key === undefined ) {\n\t\t\tif ( this.length ) {\n\t\t\t\tdata = dataUser.get( elem );\n\n\t\t\t\tif ( elem.nodeType === 1 && !dataPriv.get( elem, \"hasDataAttrs\" ) ) {\n\t\t\t\t\ti = attrs.length;\n\t\t\t\t\twhile ( i-- ) {\n\n\t\t\t\t\t\t// Support: IE 11 only\n\t\t\t\t\t\t// The attrs elements can be null (#14894)\n\t\t\t\t\t\tif ( attrs[ i ] ) {\n\t\t\t\t\t\t\tname = attrs[ i ].name;\n\t\t\t\t\t\t\tif ( name.indexOf( \"data-\" ) === 0 ) {\n\t\t\t\t\t\t\t\tname = camelCase( name.slice( 5 ) );\n\t\t\t\t\t\t\t\tdataAttr( elem, name, data[ name ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tdataPriv.set( elem, \"hasDataAttrs\", true );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\t// Sets multiple values\n\t\tif ( typeof key === \"object\" ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tdataUser.set( this, key );\n\t\t\t} );\n\t\t}\n\n\t\treturn access( this, function( value ) {\n\t\t\tvar data;\n\n\t\t\t// The calling jQuery object (element matches) is not empty\n\t\t\t// (and therefore has an element appears at this[ 0 ]) and the\n\t\t\t// `value` parameter was not undefined. An empty jQuery object\n\t\t\t// will result in `undefined` for elem = this[ 0 ] which will\n\t\t\t// throw an exception if an attempt to read a data cache is made.\n\t\t\tif ( elem && value === undefined ) {\n\n\t\t\t\t// Attempt to get data from the cache\n\t\t\t\t// The key will always be camelCased in Data\n\t\t\t\tdata = dataUser.get( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// Attempt to \"discover\" the data in\n\t\t\t\t// HTML5 custom data-* attrs\n\t\t\t\tdata = dataAttr( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// We tried really hard, but the data doesn't exist.\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Set the data...\n\t\t\tthis.each( function() {\n\n\t\t\t\t// We always store the camelCased key\n\t\t\t\tdataUser.set( this, key, value );\n\t\t\t} );\n\t\t}, null, value, arguments.length > 1, null, true );\n\t},\n\n\tremoveData: function( key ) {\n\t\treturn this.each( function() {\n\t\t\tdataUser.remove( this, key );\n\t\t} );\n\t}\n} );\n\n\njQuery.extend( {\n\tqueue: function( elem, type, data ) {\n\t\tvar queue;\n\n\t\tif ( elem ) {\n\t\t\ttype = ( type || \"fx\" ) + \"queue\";\n\t\t\tqueue = dataPriv.get( elem, type );\n\n\t\t\t// Speed up dequeue by getting out quickly if this is just a lookup\n\t\t\tif ( data ) {\n\t\t\t\tif ( !queue || Array.isArray( data ) ) {\n\t\t\t\t\tqueue = dataPriv.access( elem, type, jQuery.makeArray( data ) );\n\t\t\t\t} else {\n\t\t\t\t\tqueue.push( data );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn queue || [];\n\t\t}\n\t},\n\n\tdequeue: function( elem, type ) {\n\t\ttype = type || \"fx\";\n\n\t\tvar queue = jQuery.queue( elem, type ),\n\t\t\tstartLength = queue.length,\n\t\t\tfn = queue.shift(),\n\t\t\thooks = jQuery._queueHooks( elem, type ),\n\t\t\tnext = function() {\n\t\t\t\tjQuery.dequeue( elem, type );\n\t\t\t};\n\n\t\t// If the fx queue is dequeued, always remove the progress sentinel\n\t\tif ( fn === \"inprogress\" ) {\n\t\t\tfn = queue.shift();\n\t\t\tstartLength--;\n\t\t}\n\n\t\tif ( fn ) {\n\n\t\t\t// Add a progress sentinel to prevent the fx queue from being\n\t\t\t// automatically dequeued\n\t\t\tif ( type === \"fx\" ) {\n\t\t\t\tqueue.unshift( \"inprogress\" );\n\t\t\t}\n\n\t\t\t// Clear up the last queue stop function\n\t\t\tdelete hooks.stop;\n\t\t\tfn.call( elem, next, hooks );\n\t\t}\n\n\t\tif ( !startLength && hooks ) {\n\t\t\thooks.empty.fire();\n\t\t}\n\t},\n\n\t// Not public - generate a queueHooks object, or return the current one\n\t_queueHooks: function( elem, type ) {\n\t\tvar key = type + \"queueHooks\";\n\t\treturn dataPriv.get( elem, key ) || dataPriv.access( elem, key, {\n\t\t\tempty: jQuery.Callbacks( \"once memory\" ).add( function() {\n\t\t\t\tdataPriv.remove( elem, [ type + \"queue\", key ] );\n\t\t\t} )\n\t\t} );\n\t}\n} );\n\njQuery.fn.extend( {\n\tqueue: function( type, data ) {\n\t\tvar setter = 2;\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tdata = type;\n\t\t\ttype = \"fx\";\n\t\t\tsetter--;\n\t\t}\n\n\t\tif ( arguments.length < setter ) {\n\t\t\treturn jQuery.queue( this[ 0 ], type );\n\t\t}\n\n\t\treturn data === undefined ?\n\t\t\tthis :\n\t\t\tthis.each( function() {\n\t\t\t\tvar queue = jQuery.queue( this, type, data );\n\n\t\t\t\t// Ensure a hooks for this queue\n\t\t\t\tjQuery._queueHooks( this, type );\n\n\t\t\t\tif ( type === \"fx\" && queue[ 0 ] !== \"inprogress\" ) {\n\t\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t\t}\n\t\t\t} );\n\t},\n\tdequeue: function( type ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.dequeue( this, type );\n\t\t} );\n\t},\n\tclearQueue: function( type ) {\n\t\treturn this.queue( type || \"fx\", [] );\n\t},\n\n\t// Get a promise resolved when queues of a certain type\n\t// are emptied (fx is the type by default)\n\tpromise: function( type, obj ) {\n\t\tvar tmp,\n\t\t\tcount = 1,\n\t\t\tdefer = jQuery.Deferred(),\n\t\t\telements = this,\n\t\t\ti = this.length,\n\t\t\tresolve = function() {\n\t\t\t\tif ( !( --count ) ) {\n\t\t\t\t\tdefer.resolveWith( elements, [ elements ] );\n\t\t\t\t}\n\t\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tobj = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\ttype = type || \"fx\";\n\n\t\twhile ( i-- ) {\n\t\t\ttmp = dataPriv.get( elements[ i ], type + \"queueHooks\" );\n\t\t\tif ( tmp && tmp.empty ) {\n\t\t\t\tcount++;\n\t\t\t\ttmp.empty.add( resolve );\n\t\t\t}\n\t\t}\n\t\tresolve();\n\t\treturn defer.promise( obj );\n\t}\n} );\nvar pnum = ( /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/ ).source;\n\nvar rcssNum = new RegExp( \"^(?:([+-])=|)(\" + pnum + \")([a-z%]*)$\", \"i\" );\n\n\nvar cssExpand = [ \"Top\", \"Right\", \"Bottom\", \"Left\" ];\n\nvar documentElement = document.documentElement;\n\n\n\n\tvar isAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem );\n\t\t},\n\t\tcomposed = { composed: true };\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only\n\t// Check attachment across shadow DOM boundaries when possible (gh-3504)\n\t// Support: iOS 10.0-10.2 only\n\t// Early iOS 10 versions support `attachShadow` but not `getRootNode`,\n\t// leading to errors. We need to check for `getRootNode`.\n\tif ( documentElement.getRootNode ) {\n\t\tisAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem ) ||\n\t\t\t\telem.getRootNode( composed ) === elem.ownerDocument;\n\t\t};\n\t}\nvar isHiddenWithinTree = function( elem, el ) {\n\n\t\t// isHiddenWithinTree might be called from jQuery#filter function;\n\t\t// in that case, element will be second argument\n\t\telem = el || elem;\n\n\t\t// Inline style trumps all\n\t\treturn elem.style.display === \"none\" ||\n\t\t\telem.style.display === \"\" &&\n\n\t\t\t// Otherwise, check computed style\n\t\t\t// Support: Firefox <=43 - 45\n\t\t\t// Disconnected elements can have computed display: none, so first confirm that elem is\n\t\t\t// in the document.\n\t\t\tisAttached( elem ) &&\n\n\t\t\tjQuery.css( elem, \"display\" ) === \"none\";\n\t};\n\n\n\nfunction adjustCSS( elem, prop, valueParts, tween ) {\n\tvar adjusted, scale,\n\t\tmaxIterations = 20,\n\t\tcurrentValue = tween ?\n\t\t\tfunction() {\n\t\t\t\treturn tween.cur();\n\t\t\t} :\n\t\t\tfunction() {\n\t\t\t\treturn jQuery.css( elem, prop, \"\" );\n\t\t\t},\n\t\tinitial = currentValue(),\n\t\tunit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" ),\n\n\t\t// Starting value computation is required for potential unit mismatches\n\t\tinitialInUnit = elem.nodeType &&\n\t\t\t( jQuery.cssNumber[ prop ] || unit !== \"px\" && +initial ) &&\n\t\t\trcssNum.exec( jQuery.css( elem, prop ) );\n\n\tif ( initialInUnit && initialInUnit[ 3 ] !== unit ) {\n\n\t\t// Support: Firefox <=54\n\t\t// Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144)\n\t\tinitial = initial / 2;\n\n\t\t// Trust units reported by jQuery.css\n\t\tunit = unit || initialInUnit[ 3 ];\n\n\t\t// Iteratively approximate from a nonzero starting point\n\t\tinitialInUnit = +initial || 1;\n\n\t\twhile ( maxIterations-- ) {\n\n\t\t\t// Evaluate and update our best guess (doubling guesses that zero out).\n\t\t\t// Finish if the scale equals or crosses 1 (making the old*new product non-positive).\n\t\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\t\t\tif ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) {\n\t\t\t\tmaxIterations = 0;\n\t\t\t}\n\t\t\tinitialInUnit = initialInUnit / scale;\n\n\t\t}\n\n\t\tinitialInUnit = initialInUnit * 2;\n\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\n\t\t// Make sure we update the tween properties later on\n\t\tvalueParts = valueParts || [];\n\t}\n\n\tif ( valueParts ) {\n\t\tinitialInUnit = +initialInUnit || +initial || 0;\n\n\t\t// Apply relative offset (+=/-=) if specified\n\t\tadjusted = valueParts[ 1 ] ?\n\t\t\tinitialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] :\n\t\t\t+valueParts[ 2 ];\n\t\tif ( tween ) {\n\t\t\ttween.unit = unit;\n\t\t\ttween.start = initialInUnit;\n\t\t\ttween.end = adjusted;\n\t\t}\n\t}\n\treturn adjusted;\n}\n\n\nvar defaultDisplayMap = {};\n\nfunction getDefaultDisplay( elem ) {\n\tvar temp,\n\t\tdoc = elem.ownerDocument,\n\t\tnodeName = elem.nodeName,\n\t\tdisplay = defaultDisplayMap[ nodeName ];\n\n\tif ( display ) {\n\t\treturn display;\n\t}\n\n\ttemp = doc.body.appendChild( doc.createElement( nodeName ) );\n\tdisplay = jQuery.css( temp, \"display\" );\n\n\ttemp.parentNode.removeChild( temp );\n\n\tif ( display === \"none\" ) {\n\t\tdisplay = \"block\";\n\t}\n\tdefaultDisplayMap[ nodeName ] = display;\n\n\treturn display;\n}\n\nfunction showHide( elements, show ) {\n\tvar display, elem,\n\t\tvalues = [],\n\t\tindex = 0,\n\t\tlength = elements.length;\n\n\t// Determine new display value for elements that need to change\n\tfor ( ; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tdisplay = elem.style.display;\n\t\tif ( show ) {\n\n\t\t\t// Since we force visibility upon cascade-hidden elements, an immediate (and slow)\n\t\t\t// check is required in this first loop unless we have a nonempty display value (either\n\t\t\t// inline or about-to-be-restored)\n\t\t\tif ( display === \"none\" ) {\n\t\t\t\tvalues[ index ] = dataPriv.get( elem, \"display\" ) || null;\n\t\t\t\tif ( !values[ index ] ) {\n\t\t\t\t\telem.style.display = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( elem.style.display === \"\" && isHiddenWithinTree( elem ) ) {\n\t\t\t\tvalues[ index ] = getDefaultDisplay( elem );\n\t\t\t}\n\t\t} else {\n\t\t\tif ( display !== \"none\" ) {\n\t\t\t\tvalues[ index ] = \"none\";\n\n\t\t\t\t// Remember what we're overwriting\n\t\t\t\tdataPriv.set( elem, \"display\", display );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Set the display of the elements in a second loop to avoid constant reflow\n\tfor ( index = 0; index < length; index++ ) {\n\t\tif ( values[ index ] != null ) {\n\t\t\telements[ index ].style.display = values[ index ];\n\t\t}\n\t}\n\n\treturn elements;\n}\n\njQuery.fn.extend( {\n\tshow: function() {\n\t\treturn showHide( this, true );\n\t},\n\thide: function() {\n\t\treturn showHide( this );\n\t},\n\ttoggle: function( state ) {\n\t\tif ( typeof state === \"boolean\" ) {\n\t\t\treturn state ? this.show() : this.hide();\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tif ( isHiddenWithinTree( this ) ) {\n\t\t\t\tjQuery( this ).show();\n\t\t\t} else {\n\t\t\t\tjQuery( this ).hide();\n\t\t\t}\n\t\t} );\n\t}\n} );\nvar rcheckableType = ( /^(?:checkbox|radio)$/i );\n\nvar rtagName = ( /<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)/i );\n\nvar rscriptType = ( /^$|^module$|\\/(?:java|ecma)script/i );\n\n\n\n( function() {\n\tvar fragment = document.createDocumentFragment(),\n\t\tdiv = fragment.appendChild( document.createElement( \"div\" ) ),\n\t\tinput = document.createElement( \"input\" );\n\n\t// Support: Android 4.0 - 4.3 only\n\t// Check state lost if the name is set (#11217)\n\t// Support: Windows Web Apps (WWA)\n\t// `name` and `type` must use .setAttribute for WWA (#14901)\n\tinput.setAttribute( \"type\", \"radio\" );\n\tinput.setAttribute( \"checked\", \"checked\" );\n\tinput.setAttribute( \"name\", \"t\" );\n\n\tdiv.appendChild( input );\n\n\t// Support: Android <=4.1 only\n\t// Older WebKit doesn't clone checked state correctly in fragments\n\tsupport.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;\n\n\t// Support: IE <=11 only\n\t// Make sure textarea (and checkbox) defaultValue is properly cloned\n\tdiv.innerHTML = \"<textarea>x</textarea>\";\n\tsupport.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;\n\n\t// Support: IE <=9 only\n\t// IE <=9 replaces <option> tags with their contents when inserted outside of\n\t// the select element.\n\tdiv.innerHTML = \"<option></option>\";\n\tsupport.option = !!div.lastChild;\n} )();\n\n\n// We have to close these tags to support XHTML (#13200)\nvar wrapMap = {\n\n\t// XHTML parsers do not magically insert elements in the\n\t// same way that tag soup parsers do. So we cannot shorten\n\t// this by omitting <tbody> or other required elements.\n\tthead: [ 1, \"<table>\", \"</table>\" ],\n\tcol: [ 2, \"<table><colgroup>\", \"</colgroup></table>\" ],\n\ttr: [ 2, \"<table><tbody>\", \"</tbody></table>\" ],\n\ttd: [ 3, \"<table><tbody><tr>\", \"</tr></tbody></table>\" ],\n\n\t_default: [ 0, \"\", \"\" ]\n};\n\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n// Support: IE <=9 only\nif ( !support.option ) {\n\twrapMap.optgroup = wrapMap.option = [ 1, \"<select multiple='multiple'>\", \"</select>\" ];\n}\n\n\nfunction getAll( context, tag ) {\n\n\t// Support: IE <=9 - 11 only\n\t// Use typeof to avoid zero-argument method invocation on host objects (#15151)\n\tvar ret;\n\n\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\tret = context.getElementsByTagName( tag || \"*\" );\n\n\t} else if ( typeof context.querySelectorAll !== \"undefined\" ) {\n\t\tret = context.querySelectorAll( tag || \"*\" );\n\n\t} else {\n\t\tret = [];\n\t}\n\n\tif ( tag === undefined || tag && nodeName( context, tag ) ) {\n\t\treturn jQuery.merge( [ context ], ret );\n\t}\n\n\treturn ret;\n}\n\n\n// Mark scripts as having already been evaluated\nfunction setGlobalEval( elems, refElements ) {\n\tvar i = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\tdataPriv.set(\n\t\t\telems[ i ],\n\t\t\t\"globalEval\",\n\t\t\t!refElements || dataPriv.get( refElements[ i ], \"globalEval\" )\n\t\t);\n\t}\n}\n\n\nvar rhtml = /<|&#?\\w+;/;\n\nfunction buildFragment( elems, context, scripts, selection, ignored ) {\n\tvar elem, tmp, tag, wrap, attached, j,\n\t\tfragment = context.createDocumentFragment(),\n\t\tnodes = [],\n\t\ti = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\telem = elems[ i ];\n\n\t\tif ( elem || elem === 0 ) {\n\n\t\t\t// Add nodes directly\n\t\t\tif ( toType( elem ) === \"object\" ) {\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );\n\n\t\t\t// Convert non-html into a text node\n\t\t\t} else if ( !rhtml.test( elem ) ) {\n\t\t\t\tnodes.push( context.createTextNode( elem ) );\n\n\t\t\t// Convert html into DOM nodes\n\t\t\t} else {\n\t\t\t\ttmp = tmp || fragment.appendChild( context.createElement( \"div\" ) );\n\n\t\t\t\t// Deserialize a standard representation\n\t\t\t\ttag = ( rtagName.exec( elem ) || [ \"\", \"\" ] )[ 1 ].toLowerCase();\n\t\t\t\twrap = wrapMap[ tag ] || wrapMap._default;\n\t\t\t\ttmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ];\n\n\t\t\t\t// Descend through wrappers to the right content\n\t\t\t\tj = wrap[ 0 ];\n\t\t\t\twhile ( j-- ) {\n\t\t\t\t\ttmp = tmp.lastChild;\n\t\t\t\t}\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, tmp.childNodes );\n\n\t\t\t\t// Remember the top-level container\n\t\t\t\ttmp = fragment.firstChild;\n\n\t\t\t\t// Ensure the created nodes are orphaned (#12392)\n\t\t\t\ttmp.textContent = \"\";\n\t\t\t}\n\t\t}\n\t}\n\n\t// Remove wrapper from fragment\n\tfragment.textContent = \"\";\n\n\ti = 0;\n\twhile ( ( elem = nodes[ i++ ] ) ) {\n\n\t\t// Skip elements already in the context collection (trac-4087)\n\t\tif ( selection && jQuery.inArray( elem, selection ) > -1 ) {\n\t\t\tif ( ignored ) {\n\t\t\t\tignored.push( elem );\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\n\t\tattached = isAttached( elem );\n\n\t\t// Append to fragment\n\t\ttmp = getAll( fragment.appendChild( elem ), \"script\" );\n\n\t\t// Preserve script evaluation history\n\t\tif ( attached ) {\n\t\t\tsetGlobalEval( tmp );\n\t\t}\n\n\t\t// Capture executables\n\t\tif ( scripts ) {\n\t\t\tj = 0;\n\t\t\twhile ( ( elem = tmp[ j++ ] ) ) {\n\t\t\t\tif ( rscriptType.test( elem.type || \"\" ) ) {\n\t\t\t\t\tscripts.push( elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn fragment;\n}\n\n\nvar rtypenamespace = /^([^.]*)(?:\\.(.+)|)/;\n\nfunction returnTrue() {\n\treturn true;\n}\n\nfunction returnFalse() {\n\treturn false;\n}\n\n// Support: IE <=9 - 11+\n// focus() and blur() are asynchronous, except when they are no-op.\n// So expect focus to be synchronous when the element is already active,\n// and blur to be synchronous when the element is not already active.\n// (focus and blur are always synchronous in other supported browsers,\n// this just defines when we can count on it).\nfunction expectSync( elem, type ) {\n\treturn ( elem === safeActiveElement() ) === ( type === \"focus\" );\n}\n\n// Support: IE <=9 only\n// Accessing document.activeElement can throw unexpectedly\n// https://bugs.jquery.com/ticket/13393\nfunction safeActiveElement() {\n\ttry {\n\t\treturn document.activeElement;\n\t} catch ( err ) { }\n}\n\nfunction on( elem, types, selector, data, fn, one ) {\n\tvar origFn, type;\n\n\t// Types can be a map of types/handlers\n\tif ( typeof types === \"object\" ) {\n\n\t\t// ( types-Object, selector, data )\n\t\tif ( typeof selector !== \"string\" ) {\n\n\t\t\t// ( types-Object, data )\n\t\t\tdata = data || selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tfor ( type in types ) {\n\t\t\ton( elem, type, selector, data, types[ type ], one );\n\t\t}\n\t\treturn elem;\n\t}\n\n\tif ( data == null && fn == null ) {\n\n\t\t// ( types, fn )\n\t\tfn = selector;\n\t\tdata = selector = undefined;\n\t} else if ( fn == null ) {\n\t\tif ( typeof selector === \"string\" ) {\n\n\t\t\t// ( types, selector, fn )\n\t\t\tfn = data;\n\t\t\tdata = undefined;\n\t\t} else {\n\n\t\t\t// ( types, data, fn )\n\t\t\tfn = data;\n\t\t\tdata = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t}\n\tif ( fn === false ) {\n\t\tfn = returnFalse;\n\t} else if ( !fn ) {\n\t\treturn elem;\n\t}\n\n\tif ( one === 1 ) {\n\t\torigFn = fn;\n\t\tfn = function( event ) {\n\n\t\t\t// Can use an empty set, since event contains the info\n\t\t\tjQuery().off( event );\n\t\t\treturn origFn.apply( this, arguments );\n\t\t};\n\n\t\t// Use same guid so caller can remove using origFn\n\t\tfn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );\n\t}\n\treturn elem.each( function() {\n\t\tjQuery.event.add( this, types, fn, data, selector );\n\t} );\n}\n\n/*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\njQuery.event = {\n\n\tglobal: {},\n\n\tadd: function( elem, types, handler, data, selector ) {\n\n\t\tvar handleObjIn, eventHandle, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.get( elem );\n\n\t\t// Only attach events to objects that accept data\n\t\tif ( !acceptData( elem ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Caller can pass in an object of custom data in lieu of the handler\n\t\tif ( handler.handler ) {\n\t\t\thandleObjIn = handler;\n\t\t\thandler = handleObjIn.handler;\n\t\t\tselector = handleObjIn.selector;\n\t\t}\n\n\t\t// Ensure that invalid selectors throw exceptions at attach time\n\t\t// Evaluate against documentElement in case elem is a non-element node (e.g., document)\n\t\tif ( selector ) {\n\t\t\tjQuery.find.matchesSelector( documentElement, selector );\n\t\t}\n\n\t\t// Make sure that the handler has a unique ID, used to find/remove it later\n\t\tif ( !handler.guid ) {\n\t\t\thandler.guid = jQuery.guid++;\n\t\t}\n\n\t\t// Init the element's event structure and main handler, if this is the first\n\t\tif ( !( events = elemData.events ) ) {\n\t\t\tevents = elemData.events = Object.create( null );\n\t\t}\n\t\tif ( !( eventHandle = elemData.handle ) ) {\n\t\t\teventHandle = elemData.handle = function( e ) {\n\n\t\t\t\t// Discard the second event of a jQuery.event.trigger() and\n\t\t\t\t// when an event is called after a page has unloaded\n\t\t\t\treturn typeof jQuery !== \"undefined\" && jQuery.event.triggered !== e.type ?\n\t\t\t\t\tjQuery.event.dispatch.apply( elem, arguments ) : undefined;\n\t\t\t};\n\t\t}\n\n\t\t// Handle multiple events separated by a space\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// There *must* be a type, no attaching namespace-only handlers\n\t\t\tif ( !type ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If event changes its type, use the special event handlers for the changed type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// If selector defined, determine special event api type, otherwise given type\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\n\t\t\t// Update special based on newly reset type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// handleObj is passed to all event handlers\n\t\t\thandleObj = jQuery.extend( {\n\t\t\t\ttype: type,\n\t\t\t\torigType: origType,\n\t\t\t\tdata: data,\n\t\t\t\thandler: handler,\n\t\t\t\tguid: handler.guid,\n\t\t\t\tselector: selector,\n\t\t\t\tneedsContext: selector && jQuery.expr.match.needsContext.test( selector ),\n\t\t\t\tnamespace: namespaces.join( \".\" )\n\t\t\t}, handleObjIn );\n\n\t\t\t// Init the event handler queue if we're the first\n\t\t\tif ( !( handlers = events[ type ] ) ) {\n\t\t\t\thandlers = events[ type ] = [];\n\t\t\t\thandlers.delegateCount = 0;\n\n\t\t\t\t// Only use addEventListener if the special events handler returns false\n\t\t\t\tif ( !special.setup ||\n\t\t\t\t\tspecial.setup.call( elem, data, namespaces, eventHandle ) === false ) {\n\n\t\t\t\t\tif ( elem.addEventListener ) {\n\t\t\t\t\t\telem.addEventListener( type, eventHandle );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( special.add ) {\n\t\t\t\tspecial.add.call( elem, handleObj );\n\n\t\t\t\tif ( !handleObj.handler.guid ) {\n\t\t\t\t\thandleObj.handler.guid = handler.guid;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add to the element's handler list, delegates in front\n\t\t\tif ( selector ) {\n\t\t\t\thandlers.splice( handlers.delegateCount++, 0, handleObj );\n\t\t\t} else {\n\t\t\t\thandlers.push( handleObj );\n\t\t\t}\n\n\t\t\t// Keep track of which events have ever been used, for event optimization\n\t\t\tjQuery.event.global[ type ] = true;\n\t\t}\n\n\t},\n\n\t// Detach an event or set of events from an element\n\tremove: function( elem, types, handler, selector, mappedTypes ) {\n\n\t\tvar j, origCount, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.hasData( elem ) && dataPriv.get( elem );\n\n\t\tif ( !elemData || !( events = elemData.events ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Once for each type.namespace in types; type may be omitted\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// Unbind all events (on this namespace, if provided) for the element\n\t\t\tif ( !type ) {\n\t\t\t\tfor ( type in events ) {\n\t\t\t\t\tjQuery.event.remove( elem, type + types[ t ], handler, selector, true );\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\t\t\thandlers = events[ type ] || [];\n\t\t\ttmp = tmp[ 2 ] &&\n\t\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" );\n\n\t\t\t// Remove matching events\n\t\t\torigCount = j = handlers.length;\n\t\t\twhile ( j-- ) {\n\t\t\t\thandleObj = handlers[ j ];\n\n\t\t\t\tif ( ( mappedTypes || origType === handleObj.origType ) &&\n\t\t\t\t\t( !handler || handler.guid === handleObj.guid ) &&\n\t\t\t\t\t( !tmp || tmp.test( handleObj.namespace ) ) &&\n\t\t\t\t\t( !selector || selector === handleObj.selector ||\n\t\t\t\t\t\tselector === \"**\" && handleObj.selector ) ) {\n\t\t\t\t\thandlers.splice( j, 1 );\n\n\t\t\t\t\tif ( handleObj.selector ) {\n\t\t\t\t\t\thandlers.delegateCount--;\n\t\t\t\t\t}\n\t\t\t\t\tif ( special.remove ) {\n\t\t\t\t\t\tspecial.remove.call( elem, handleObj );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove generic event handler if we removed something and no more handlers exist\n\t\t\t// (avoids potential for endless recursion during removal of special event handlers)\n\t\t\tif ( origCount && !handlers.length ) {\n\t\t\t\tif ( !special.teardown ||\n\t\t\t\t\tspecial.teardown.call( elem, namespaces, elemData.handle ) === false ) {\n\n\t\t\t\t\tjQuery.removeEvent( elem, type, elemData.handle );\n\t\t\t\t}\n\n\t\t\t\tdelete events[ type ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove data and the expando if it's no longer used\n\t\tif ( jQuery.isEmptyObject( events ) ) {\n\t\t\tdataPriv.remove( elem, \"handle events\" );\n\t\t}\n\t},\n\n\tdispatch: function( nativeEvent ) {\n\n\t\tvar i, j, ret, matched, handleObj, handlerQueue,\n\t\t\targs = new Array( arguments.length ),\n\n\t\t\t// Make a writable jQuery.Event from the native event object\n\t\t\tevent = jQuery.event.fix( nativeEvent ),\n\n\t\t\thandlers = (\n\t\t\t\tdataPriv.get( this, \"events\" ) || Object.create( null )\n\t\t\t)[ event.type ] || [],\n\t\t\tspecial = jQuery.event.special[ event.type ] || {};\n\n\t\t// Use the fix-ed jQuery.Event rather than the (read-only) native event\n\t\targs[ 0 ] = event;\n\n\t\tfor ( i = 1; i < arguments.length; i++ ) {\n\t\t\targs[ i ] = arguments[ i ];\n\t\t}\n\n\t\tevent.delegateTarget = this;\n\n\t\t// Call the preDispatch hook for the mapped type, and let it bail if desired\n\t\tif ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine handlers\n\t\thandlerQueue = jQuery.event.handlers.call( this, event, handlers );\n\n\t\t// Run delegates first; they may want to stop propagation beneath us\n\t\ti = 0;\n\t\twhile ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tevent.currentTarget = matched.elem;\n\n\t\t\tj = 0;\n\t\t\twhile ( ( handleObj = matched.handlers[ j++ ] ) &&\n\t\t\t\t!event.isImmediatePropagationStopped() ) {\n\n\t\t\t\t// If the event is namespaced, then each handler is only invoked if it is\n\t\t\t\t// specially universal or its namespaces are a superset of the event's.\n\t\t\t\tif ( !event.rnamespace || handleObj.namespace === false ||\n\t\t\t\t\tevent.rnamespace.test( handleObj.namespace ) ) {\n\n\t\t\t\t\tevent.handleObj = handleObj;\n\t\t\t\t\tevent.data = handleObj.data;\n\n\t\t\t\t\tret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle ||\n\t\t\t\t\t\thandleObj.handler ).apply( matched.elem, args );\n\n\t\t\t\t\tif ( ret !== undefined ) {\n\t\t\t\t\t\tif ( ( event.result = ret ) === false ) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Call the postDispatch hook for the mapped type\n\t\tif ( special.postDispatch ) {\n\t\t\tspecial.postDispatch.call( this, event );\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\thandlers: function( event, handlers ) {\n\t\tvar i, handleObj, sel, matchedHandlers, matchedSelectors,\n\t\t\thandlerQueue = [],\n\t\t\tdelegateCount = handlers.delegateCount,\n\t\t\tcur = event.target;\n\n\t\t// Find delegate handlers\n\t\tif ( delegateCount &&\n\n\t\t\t// Support: IE <=9\n\t\t\t// Black-hole SVG <use> instance trees (trac-13180)\n\t\t\tcur.nodeType &&\n\n\t\t\t// Support: Firefox <=42\n\t\t\t// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)\n\t\t\t// https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click\n\t\t\t// Support: IE 11 only\n\t\t\t// ...but not arrow key \"clicks\" of radio inputs, which can have `button` -1 (gh-2343)\n\t\t\t!( event.type === \"click\" && event.button >= 1 ) ) {\n\n\t\t\tfor ( ; cur !== this; cur = cur.parentNode || this ) {\n\n\t\t\t\t// Don't check non-elements (#13208)\n\t\t\t\t// Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)\n\t\t\t\tif ( cur.nodeType === 1 && !( event.type === \"click\" && cur.disabled === true ) ) {\n\t\t\t\t\tmatchedHandlers = [];\n\t\t\t\t\tmatchedSelectors = {};\n\t\t\t\t\tfor ( i = 0; i < delegateCount; i++ ) {\n\t\t\t\t\t\thandleObj = handlers[ i ];\n\n\t\t\t\t\t\t// Don't conflict with Object.prototype properties (#13203)\n\t\t\t\t\t\tsel = handleObj.selector + \" \";\n\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] === undefined ) {\n\t\t\t\t\t\t\tmatchedSelectors[ sel ] = handleObj.needsContext ?\n\t\t\t\t\t\t\t\tjQuery( sel, this ).index( cur ) > -1 :\n\t\t\t\t\t\t\t\tjQuery.find( sel, this, null, [ cur ] ).length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] ) {\n\t\t\t\t\t\t\tmatchedHandlers.push( handleObj );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( matchedHandlers.length ) {\n\t\t\t\t\t\thandlerQueue.push( { elem: cur, handlers: matchedHandlers } );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Add the remaining (directly-bound) handlers\n\t\tcur = this;\n\t\tif ( delegateCount < handlers.length ) {\n\t\t\thandlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } );\n\t\t}\n\n\t\treturn handlerQueue;\n\t},\n\n\taddProp: function( name, hook ) {\n\t\tObject.defineProperty( jQuery.Event.prototype, name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\n\t\t\tget: isFunction( hook ) ?\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\treturn hook( this.originalEvent );\n\t\t\t\t\t}\n\t\t\t\t} :\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\treturn this.originalEvent[ name ];\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\tset: function( value ) {\n\t\t\t\tObject.defineProperty( this, name, {\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tconfigurable: true,\n\t\t\t\t\twritable: true,\n\t\t\t\t\tvalue: value\n\t\t\t\t} );\n\t\t\t}\n\t\t} );\n\t},\n\n\tfix: function( originalEvent ) {\n\t\treturn originalEvent[ jQuery.expando ] ?\n\t\t\toriginalEvent :\n\t\t\tnew jQuery.Event( originalEvent );\n\t},\n\n\tspecial: {\n\t\tload: {\n\n\t\t\t// Prevent triggered image.load events from bubbling to window.load\n\t\t\tnoBubble: true\n\t\t},\n\t\tclick: {\n\n\t\t\t// Utilize native event to ensure correct state for checkable inputs\n\t\t\tsetup: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Claim the first handler\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\t// dataPriv.set( el, \"click\", ... )\n\t\t\t\t\tleverageNative( el, \"click\", returnTrue );\n\t\t\t\t}\n\n\t\t\t\t// Return false to allow normal processing in the caller\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\ttrigger: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Force setup before triggering a click\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\tleverageNative( el, \"click\" );\n\t\t\t\t}\n\n\t\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\t\treturn true;\n\t\t\t},\n\n\t\t\t// For cross-browser consistency, suppress native .click() on links\n\t\t\t// Also prevent it if we're currently inside a leveraged native-event stack\n\t\t\t_default: function( event ) {\n\t\t\t\tvar target = event.target;\n\t\t\t\treturn rcheckableType.test( target.type ) &&\n\t\t\t\t\ttarget.click && nodeName( target, \"input\" ) &&\n\t\t\t\t\tdataPriv.get( target, \"click\" ) ||\n\t\t\t\t\tnodeName( target, \"a\" );\n\t\t\t}\n\t\t},\n\n\t\tbeforeunload: {\n\t\t\tpostDispatch: function( event ) {\n\n\t\t\t\t// Support: Firefox 20+\n\t\t\t\t// Firefox doesn't alert if the returnValue field is not set.\n\t\t\t\tif ( event.result !== undefined && event.originalEvent ) {\n\t\t\t\t\tevent.originalEvent.returnValue = event.result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Ensure the presence of an event listener that handles manually-triggered\n// synthetic events by interrupting progress until reinvoked in response to\n// *native* events that it fires directly, ensuring that state changes have\n// already occurred before other listeners are invoked.\nfunction leverageNative( el, type, expectSync ) {\n\n\t// Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add\n\tif ( !expectSync ) {\n\t\tif ( dataPriv.get( el, type ) === undefined ) {\n\t\t\tjQuery.event.add( el, type, returnTrue );\n\t\t}\n\t\treturn;\n\t}\n\n\t// Register the controller as a special universal handler for all event namespaces\n\tdataPriv.set( el, type, false );\n\tjQuery.event.add( el, type, {\n\t\tnamespace: false,\n\t\thandler: function( event ) {\n\t\t\tvar notAsync, result,\n\t\t\t\tsaved = dataPriv.get( this, type );\n\n\t\t\tif ( ( event.isTrigger & 1 ) && this[ type ] ) {\n\n\t\t\t\t// Interrupt processing of the outer synthetic .trigger()ed event\n\t\t\t\t// Saved data should be false in such cases, but might be a leftover capture object\n\t\t\t\t// from an async native handler (gh-4350)\n\t\t\t\tif ( !saved.length ) {\n\n\t\t\t\t\t// Store arguments for use when handling the inner native event\n\t\t\t\t\t// There will always be at least one argument (an event object), so this array\n\t\t\t\t\t// will not be confused with a leftover capture object.\n\t\t\t\t\tsaved = slice.call( arguments );\n\t\t\t\t\tdataPriv.set( this, type, saved );\n\n\t\t\t\t\t// Trigger the native event and capture its result\n\t\t\t\t\t// Support: IE <=9 - 11+\n\t\t\t\t\t// focus() and blur() are asynchronous\n\t\t\t\t\tnotAsync = expectSync( this, type );\n\t\t\t\t\tthis[ type ]();\n\t\t\t\t\tresult = dataPriv.get( this, type );\n\t\t\t\t\tif ( saved !== result || notAsync ) {\n\t\t\t\t\t\tdataPriv.set( this, type, false );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tresult = {};\n\t\t\t\t\t}\n\t\t\t\t\tif ( saved !== result ) {\n\n\t\t\t\t\t\t// Cancel the outer synthetic event\n\t\t\t\t\t\tevent.stopImmediatePropagation();\n\t\t\t\t\t\tevent.preventDefault();\n\n\t\t\t\t\t\t// Support: Chrome 86+\n\t\t\t\t\t\t// In Chrome, if an element having a focusout handler is blurred by\n\t\t\t\t\t\t// clicking outside of it, it invokes the handler synchronously. If\n\t\t\t\t\t\t// that handler calls `.remove()` on the element, the data is cleared,\n\t\t\t\t\t\t// leaving `result` undefined. We need to guard against this.\n\t\t\t\t\t\treturn result && result.value;\n\t\t\t\t\t}\n\n\t\t\t\t// If this is an inner synthetic event for an event with a bubbling surrogate\n\t\t\t\t// (focus or blur), assume that the surrogate already propagated from triggering the\n\t\t\t\t// native event and prevent that from happening again here.\n\t\t\t\t// This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the\n\t\t\t\t// bubbling surrogate propagates *after* the non-bubbling base), but that seems\n\t\t\t\t// less bad than duplication.\n\t\t\t\t} else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) {\n\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t}\n\n\t\t\t// If this is a native event triggered above, everything is now in order\n\t\t\t// Fire an inner synthetic event with the original arguments\n\t\t\t} else if ( saved.length ) {\n\n\t\t\t\t// ...and capture the result\n\t\t\t\tdataPriv.set( this, type, {\n\t\t\t\t\tvalue: jQuery.event.trigger(\n\n\t\t\t\t\t\t// Support: IE <=9 - 11+\n\t\t\t\t\t\t// Extend with the prototype to reset the above stopImmediatePropagation()\n\t\t\t\t\t\tjQuery.extend( saved[ 0 ], jQuery.Event.prototype ),\n\t\t\t\t\t\tsaved.slice( 1 ),\n\t\t\t\t\t\tthis\n\t\t\t\t\t)\n\t\t\t\t} );\n\n\t\t\t\t// Abort handling of the native event\n\t\t\t\tevent.stopImmediatePropagation();\n\t\t\t}\n\t\t}\n\t} );\n}\n\njQuery.removeEvent = function( elem, type, handle ) {\n\n\t// This \"if\" is needed for plain objects\n\tif ( elem.removeEventListener ) {\n\t\telem.removeEventListener( type, handle );\n\t}\n};\n\njQuery.Event = function( src, props ) {\n\n\t// Allow instantiation without the 'new' keyword\n\tif ( !( this instanceof jQuery.Event ) ) {\n\t\treturn new jQuery.Event( src, props );\n\t}\n\n\t// Event object\n\tif ( src && src.type ) {\n\t\tthis.originalEvent = src;\n\t\tthis.type = src.type;\n\n\t\t// Events bubbling up the document may have been marked as prevented\n\t\t// by a handler lower down the tree; reflect the correct value.\n\t\tthis.isDefaultPrevented = src.defaultPrevented ||\n\t\t\t\tsrc.defaultPrevented === undefined &&\n\n\t\t\t\t// Support: Android <=2.3 only\n\t\t\t\tsrc.returnValue === false ?\n\t\t\treturnTrue :\n\t\t\treturnFalse;\n\n\t\t// Create target properties\n\t\t// Support: Safari <=6 - 7 only\n\t\t// Target should not be a text node (#504, #13143)\n\t\tthis.target = ( src.target && src.target.nodeType === 3 ) ?\n\t\t\tsrc.target.parentNode :\n\t\t\tsrc.target;\n\n\t\tthis.currentTarget = src.currentTarget;\n\t\tthis.relatedTarget = src.relatedTarget;\n\n\t// Event type\n\t} else {\n\t\tthis.type = src;\n\t}\n\n\t// Put explicitly provided properties onto the event object\n\tif ( props ) {\n\t\tjQuery.extend( this, props );\n\t}\n\n\t// Create a timestamp if incoming event doesn't have one\n\tthis.timeStamp = src && src.timeStamp || Date.now();\n\n\t// Mark it as fixed\n\tthis[ jQuery.expando ] = true;\n};\n\n// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\njQuery.Event.prototype = {\n\tconstructor: jQuery.Event,\n\tisDefaultPrevented: returnFalse,\n\tisPropagationStopped: returnFalse,\n\tisImmediatePropagationStopped: returnFalse,\n\tisSimulated: false,\n\n\tpreventDefault: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isDefaultPrevented = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.preventDefault();\n\t\t}\n\t},\n\tstopPropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isPropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopPropagation();\n\t\t}\n\t},\n\tstopImmediatePropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isImmediatePropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\n\t\tthis.stopPropagation();\n\t}\n};\n\n// Includes all common event props including KeyEvent and MouseEvent specific props\njQuery.each( {\n\taltKey: true,\n\tbubbles: true,\n\tcancelable: true,\n\tchangedTouches: true,\n\tctrlKey: true,\n\tdetail: true,\n\teventPhase: true,\n\tmetaKey: true,\n\tpageX: true,\n\tpageY: true,\n\tshiftKey: true,\n\tview: true,\n\t\"char\": true,\n\tcode: true,\n\tcharCode: true,\n\tkey: true,\n\tkeyCode: true,\n\tbutton: true,\n\tbuttons: true,\n\tclientX: true,\n\tclientY: true,\n\toffsetX: true,\n\toffsetY: true,\n\tpointerId: true,\n\tpointerType: true,\n\tscreenX: true,\n\tscreenY: true,\n\ttargetTouches: true,\n\ttoElement: true,\n\ttouches: true,\n\twhich: true\n}, jQuery.event.addProp );\n\njQuery.each( { focus: \"focusin\", blur: \"focusout\" }, function( type, delegateType ) {\n\tjQuery.event.special[ type ] = {\n\n\t\t// Utilize native event if possible so blur/focus sequence is correct\n\t\tsetup: function() {\n\n\t\t\t// Claim the first handler\n\t\t\t// dataPriv.set( this, \"focus\", ... )\n\t\t\t// dataPriv.set( this, \"blur\", ... )\n\t\t\tleverageNative( this, type, expectSync );\n\n\t\t\t// Return false to allow normal processing in the caller\n\t\t\treturn false;\n\t\t},\n\t\ttrigger: function() {\n\n\t\t\t// Force setup before trigger\n\t\t\tleverageNative( this, type );\n\n\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\treturn true;\n\t\t},\n\n\t\t// Suppress native focus or blur as it's already being fired\n\t\t// in leverageNative.\n\t\t_default: function() {\n\t\t\treturn true;\n\t\t},\n\n\t\tdelegateType: delegateType\n\t};\n} );\n\n// Create mouseenter/leave events using mouseover/out and event-time checks\n// so that event delegation works in jQuery.\n// Do the same for pointerenter/pointerleave and pointerover/pointerout\n//\n// Support: Safari 7 only\n// Safari sends mouseenter too often; see:\n// https://bugs.chromium.org/p/chromium/issues/detail?id=470258\n// for the description of the bug (it existed in older Chrome versions as well).\njQuery.each( {\n\tmouseenter: \"mouseover\",\n\tmouseleave: \"mouseout\",\n\tpointerenter: \"pointerover\",\n\tpointerleave: \"pointerout\"\n}, function( orig, fix ) {\n\tjQuery.event.special[ orig ] = {\n\t\tdelegateType: fix,\n\t\tbindType: fix,\n\n\t\thandle: function( event ) {\n\t\t\tvar ret,\n\t\t\t\ttarget = this,\n\t\t\t\trelated = event.relatedTarget,\n\t\t\t\thandleObj = event.handleObj;\n\n\t\t\t// For mouseenter/leave call the handler if related is outside the target.\n\t\t\t// NB: No relatedTarget if the mouse left/entered the browser window\n\t\t\tif ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {\n\t\t\t\tevent.type = handleObj.origType;\n\t\t\t\tret = handleObj.handler.apply( this, arguments );\n\t\t\t\tevent.type = fix;\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t};\n} );\n\njQuery.fn.extend( {\n\n\ton: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn );\n\t},\n\tone: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn, 1 );\n\t},\n\toff: function( types, selector, fn ) {\n\t\tvar handleObj, type;\n\t\tif ( types && types.preventDefault && types.handleObj ) {\n\n\t\t\t// ( event )  dispatched jQuery.Event\n\t\t\thandleObj = types.handleObj;\n\t\t\tjQuery( types.delegateTarget ).off(\n\t\t\t\thandleObj.namespace ?\n\t\t\t\t\thandleObj.origType + \".\" + handleObj.namespace :\n\t\t\t\t\thandleObj.origType,\n\t\t\t\thandleObj.selector,\n\t\t\t\thandleObj.handler\n\t\t\t);\n\t\t\treturn this;\n\t\t}\n\t\tif ( typeof types === \"object\" ) {\n\n\t\t\t// ( types-object [, selector] )\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.off( type, selector, types[ type ] );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif ( selector === false || typeof selector === \"function\" ) {\n\n\t\t\t// ( types [, fn] )\n\t\t\tfn = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.remove( this, types, fn, selector );\n\t\t} );\n\t}\n} );\n\n\nvar\n\n\t// Support: IE <=10 - 11, Edge 12 - 13 only\n\t// In IE/Edge using regex groups here causes severe slowdowns.\n\t// See https://connect.microsoft.com/IE/feedback/details/1736512/\n\trnoInnerhtml = /<script|<style|<link/i,\n\n\t// checked=\"checked\" or checked\n\trchecked = /checked\\s*(?:[^=]|=\\s*.checked.)/i,\n\trcleanScript = /^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g;\n\n// Prefer a tbody over its parent table for containing new rows\nfunction manipulationTarget( elem, content ) {\n\tif ( nodeName( elem, \"table\" ) &&\n\t\tnodeName( content.nodeType !== 11 ? content : content.firstChild, \"tr\" ) ) {\n\n\t\treturn jQuery( elem ).children( \"tbody\" )[ 0 ] || elem;\n\t}\n\n\treturn elem;\n}\n\n// Replace/restore the type attribute of script elements for safe DOM manipulation\nfunction disableScript( elem ) {\n\telem.type = ( elem.getAttribute( \"type\" ) !== null ) + \"/\" + elem.type;\n\treturn elem;\n}\nfunction restoreScript( elem ) {\n\tif ( ( elem.type || \"\" ).slice( 0, 5 ) === \"true/\" ) {\n\t\telem.type = elem.type.slice( 5 );\n\t} else {\n\t\telem.removeAttribute( \"type\" );\n\t}\n\n\treturn elem;\n}\n\nfunction cloneCopyEvent( src, dest ) {\n\tvar i, l, type, pdataOld, udataOld, udataCur, events;\n\n\tif ( dest.nodeType !== 1 ) {\n\t\treturn;\n\t}\n\n\t// 1. Copy private data: events, handlers, etc.\n\tif ( dataPriv.hasData( src ) ) {\n\t\tpdataOld = dataPriv.get( src );\n\t\tevents = pdataOld.events;\n\n\t\tif ( events ) {\n\t\t\tdataPriv.remove( dest, \"handle events\" );\n\n\t\t\tfor ( type in events ) {\n\t\t\t\tfor ( i = 0, l = events[ type ].length; i < l; i++ ) {\n\t\t\t\t\tjQuery.event.add( dest, type, events[ type ][ i ] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// 2. Copy user data\n\tif ( dataUser.hasData( src ) ) {\n\t\tudataOld = dataUser.access( src );\n\t\tudataCur = jQuery.extend( {}, udataOld );\n\n\t\tdataUser.set( dest, udataCur );\n\t}\n}\n\n// Fix IE bugs, see support tests\nfunction fixInput( src, dest ) {\n\tvar nodeName = dest.nodeName.toLowerCase();\n\n\t// Fails to persist the checked state of a cloned checkbox or radio button.\n\tif ( nodeName === \"input\" && rcheckableType.test( src.type ) ) {\n\t\tdest.checked = src.checked;\n\n\t// Fails to return the selected option to the default selected state when cloning options\n\t} else if ( nodeName === \"input\" || nodeName === \"textarea\" ) {\n\t\tdest.defaultValue = src.defaultValue;\n\t}\n}\n\nfunction domManip( collection, args, callback, ignored ) {\n\n\t// Flatten any nested arrays\n\targs = flat( args );\n\n\tvar fragment, first, scripts, hasScripts, node, doc,\n\t\ti = 0,\n\t\tl = collection.length,\n\t\tiNoClone = l - 1,\n\t\tvalue = args[ 0 ],\n\t\tvalueIsFunction = isFunction( value );\n\n\t// We can't cloneNode fragments that contain checked, in WebKit\n\tif ( valueIsFunction ||\n\t\t\t( l > 1 && typeof value === \"string\" &&\n\t\t\t\t!support.checkClone && rchecked.test( value ) ) ) {\n\t\treturn collection.each( function( index ) {\n\t\t\tvar self = collection.eq( index );\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\targs[ 0 ] = value.call( this, index, self.html() );\n\t\t\t}\n\t\t\tdomManip( self, args, callback, ignored );\n\t\t} );\n\t}\n\n\tif ( l ) {\n\t\tfragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored );\n\t\tfirst = fragment.firstChild;\n\n\t\tif ( fragment.childNodes.length === 1 ) {\n\t\t\tfragment = first;\n\t\t}\n\n\t\t// Require either new content or an interest in ignored elements to invoke the callback\n\t\tif ( first || ignored ) {\n\t\t\tscripts = jQuery.map( getAll( fragment, \"script\" ), disableScript );\n\t\t\thasScripts = scripts.length;\n\n\t\t\t// Use the original fragment for the last item\n\t\t\t// instead of the first because it can end up\n\t\t\t// being emptied incorrectly in certain situations (#8070).\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tnode = fragment;\n\n\t\t\t\tif ( i !== iNoClone ) {\n\t\t\t\t\tnode = jQuery.clone( node, true, true );\n\n\t\t\t\t\t// Keep references to cloned scripts for later restoration\n\t\t\t\t\tif ( hasScripts ) {\n\n\t\t\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\t\t\tjQuery.merge( scripts, getAll( node, \"script\" ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tcallback.call( collection[ i ], node, i );\n\t\t\t}\n\n\t\t\tif ( hasScripts ) {\n\t\t\t\tdoc = scripts[ scripts.length - 1 ].ownerDocument;\n\n\t\t\t\t// Reenable scripts\n\t\t\t\tjQuery.map( scripts, restoreScript );\n\n\t\t\t\t// Evaluate executable scripts on first document insertion\n\t\t\t\tfor ( i = 0; i < hasScripts; i++ ) {\n\t\t\t\t\tnode = scripts[ i ];\n\t\t\t\t\tif ( rscriptType.test( node.type || \"\" ) &&\n\t\t\t\t\t\t!dataPriv.access( node, \"globalEval\" ) &&\n\t\t\t\t\t\tjQuery.contains( doc, node ) ) {\n\n\t\t\t\t\t\tif ( node.src && ( node.type || \"\" ).toLowerCase()  !== \"module\" ) {\n\n\t\t\t\t\t\t\t// Optional AJAX dependency, but won't run scripts if not present\n\t\t\t\t\t\t\tif ( jQuery._evalUrl && !node.noModule ) {\n\t\t\t\t\t\t\t\tjQuery._evalUrl( node.src, {\n\t\t\t\t\t\t\t\t\tnonce: node.nonce || node.getAttribute( \"nonce\" )\n\t\t\t\t\t\t\t\t}, doc );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tDOMEval( node.textContent.replace( rcleanScript, \"\" ), node, doc );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn collection;\n}\n\nfunction remove( elem, selector, keepData ) {\n\tvar node,\n\t\tnodes = selector ? jQuery.filter( selector, elem ) : elem,\n\t\ti = 0;\n\n\tfor ( ; ( node = nodes[ i ] ) != null; i++ ) {\n\t\tif ( !keepData && node.nodeType === 1 ) {\n\t\t\tjQuery.cleanData( getAll( node ) );\n\t\t}\n\n\t\tif ( node.parentNode ) {\n\t\t\tif ( keepData && isAttached( node ) ) {\n\t\t\t\tsetGlobalEval( getAll( node, \"script\" ) );\n\t\t\t}\n\t\t\tnode.parentNode.removeChild( node );\n\t\t}\n\t}\n\n\treturn elem;\n}\n\njQuery.extend( {\n\thtmlPrefilter: function( html ) {\n\t\treturn html;\n\t},\n\n\tclone: function( elem, dataAndEvents, deepDataAndEvents ) {\n\t\tvar i, l, srcElements, destElements,\n\t\t\tclone = elem.cloneNode( true ),\n\t\t\tinPage = isAttached( elem );\n\n\t\t// Fix IE cloning issues\n\t\tif ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&\n\t\t\t\t!jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2\n\t\t\tdestElements = getAll( clone );\n\t\t\tsrcElements = getAll( elem );\n\n\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\tfixInput( srcElements[ i ], destElements[ i ] );\n\t\t\t}\n\t\t}\n\n\t\t// Copy the events from the original to the clone\n\t\tif ( dataAndEvents ) {\n\t\t\tif ( deepDataAndEvents ) {\n\t\t\t\tsrcElements = srcElements || getAll( elem );\n\t\t\t\tdestElements = destElements || getAll( clone );\n\n\t\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\t\tcloneCopyEvent( srcElements[ i ], destElements[ i ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcloneCopyEvent( elem, clone );\n\t\t\t}\n\t\t}\n\n\t\t// Preserve script evaluation history\n\t\tdestElements = getAll( clone, \"script\" );\n\t\tif ( destElements.length > 0 ) {\n\t\t\tsetGlobalEval( destElements, !inPage && getAll( elem, \"script\" ) );\n\t\t}\n\n\t\t// Return the cloned set\n\t\treturn clone;\n\t},\n\n\tcleanData: function( elems ) {\n\t\tvar data, elem, type,\n\t\t\tspecial = jQuery.event.special,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = elems[ i ] ) !== undefined; i++ ) {\n\t\t\tif ( acceptData( elem ) ) {\n\t\t\t\tif ( ( data = elem[ dataPriv.expando ] ) ) {\n\t\t\t\t\tif ( data.events ) {\n\t\t\t\t\t\tfor ( type in data.events ) {\n\t\t\t\t\t\t\tif ( special[ type ] ) {\n\t\t\t\t\t\t\t\tjQuery.event.remove( elem, type );\n\n\t\t\t\t\t\t\t// This is a shortcut to avoid jQuery.event.remove's overhead\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.removeEvent( elem, type, data.handle );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataPriv.expando ] = undefined;\n\t\t\t\t}\n\t\t\t\tif ( elem[ dataUser.expando ] ) {\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataUser.expando ] = undefined;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n} );\n\njQuery.fn.extend( {\n\tdetach: function( selector ) {\n\t\treturn remove( this, selector, true );\n\t},\n\n\tremove: function( selector ) {\n\t\treturn remove( this, selector );\n\t},\n\n\ttext: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\treturn value === undefined ?\n\t\t\t\tjQuery.text( this ) :\n\t\t\t\tthis.empty().each( function() {\n\t\t\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\t\t\tthis.textContent = value;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t}, null, value, arguments.length );\n\t},\n\n\tappend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.appendChild( elem );\n\t\t\t}\n\t\t} );\n\t},\n\n\tprepend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.insertBefore( elem, target.firstChild );\n\t\t\t}\n\t\t} );\n\t},\n\n\tbefore: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this );\n\t\t\t}\n\t\t} );\n\t},\n\n\tafter: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this.nextSibling );\n\t\t\t}\n\t\t} );\n\t},\n\n\tempty: function() {\n\t\tvar elem,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = this[ i ] ) != null; i++ ) {\n\t\t\tif ( elem.nodeType === 1 ) {\n\n\t\t\t\t// Prevent memory leaks\n\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\n\t\t\t\t// Remove any remaining nodes\n\t\t\t\telem.textContent = \"\";\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tclone: function( dataAndEvents, deepDataAndEvents ) {\n\t\tdataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n\t\tdeepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n\n\t\treturn this.map( function() {\n\t\t\treturn jQuery.clone( this, dataAndEvents, deepDataAndEvents );\n\t\t} );\n\t},\n\n\thtml: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\tvar elem = this[ 0 ] || {},\n\t\t\t\ti = 0,\n\t\t\t\tl = this.length;\n\n\t\t\tif ( value === undefined && elem.nodeType === 1 ) {\n\t\t\t\treturn elem.innerHTML;\n\t\t\t}\n\n\t\t\t// See if we can take a shortcut and just use innerHTML\n\t\t\tif ( typeof value === \"string\" && !rnoInnerhtml.test( value ) &&\n\t\t\t\t!wrapMap[ ( rtagName.exec( value ) || [ \"\", \"\" ] )[ 1 ].toLowerCase() ] ) {\n\n\t\t\t\tvalue = jQuery.htmlPrefilter( value );\n\n\t\t\t\ttry {\n\t\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\t\telem = this[ i ] || {};\n\n\t\t\t\t\t\t// Remove element nodes and prevent memory leaks\n\t\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\t\t\t\t\t\t\telem.innerHTML = value;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\telem = 0;\n\n\t\t\t\t// If using innerHTML throws an exception, use the fallback method\n\t\t\t\t} catch ( e ) {}\n\t\t\t}\n\n\t\t\tif ( elem ) {\n\t\t\t\tthis.empty().append( value );\n\t\t\t}\n\t\t}, null, value, arguments.length );\n\t},\n\n\treplaceWith: function() {\n\t\tvar ignored = [];\n\n\t\t// Make the changes, replacing each non-ignored context element with the new content\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tvar parent = this.parentNode;\n\n\t\t\tif ( jQuery.inArray( this, ignored ) < 0 ) {\n\t\t\t\tjQuery.cleanData( getAll( this ) );\n\t\t\t\tif ( parent ) {\n\t\t\t\t\tparent.replaceChild( elem, this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Force callback invocation\n\t\t}, ignored );\n\t}\n} );\n\njQuery.each( {\n\tappendTo: \"append\",\n\tprependTo: \"prepend\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\",\n\treplaceAll: \"replaceWith\"\n}, function( name, original ) {\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar elems,\n\t\t\tret = [],\n\t\t\tinsert = jQuery( selector ),\n\t\t\tlast = insert.length - 1,\n\t\t\ti = 0;\n\n\t\tfor ( ; i <= last; i++ ) {\n\t\t\telems = i === last ? this : this.clone( true );\n\t\t\tjQuery( insert[ i ] )[ original ]( elems );\n\n\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t// .get() because push.apply(_, arraylike) throws on ancient WebKit\n\t\t\tpush.apply( ret, elems.get() );\n\t\t}\n\n\t\treturn this.pushStack( ret );\n\t};\n} );\nvar rnumnonpx = new RegExp( \"^(\" + pnum + \")(?!px)[a-z%]+$\", \"i\" );\n\nvar getStyles = function( elem ) {\n\n\t\t// Support: IE <=11 only, Firefox <=30 (#15098, #14150)\n\t\t// IE throws on elements created in popups\n\t\t// FF meanwhile throws on frame elements through \"defaultView.getComputedStyle\"\n\t\tvar view = elem.ownerDocument.defaultView;\n\n\t\tif ( !view || !view.opener ) {\n\t\t\tview = window;\n\t\t}\n\n\t\treturn view.getComputedStyle( elem );\n\t};\n\nvar swap = function( elem, options, callback ) {\n\tvar ret, name,\n\t\told = {};\n\n\t// Remember the old values, and insert the new ones\n\tfor ( name in options ) {\n\t\told[ name ] = elem.style[ name ];\n\t\telem.style[ name ] = options[ name ];\n\t}\n\n\tret = callback.call( elem );\n\n\t// Revert the old values\n\tfor ( name in options ) {\n\t\telem.style[ name ] = old[ name ];\n\t}\n\n\treturn ret;\n};\n\n\nvar rboxStyle = new RegExp( cssExpand.join( \"|\" ), \"i\" );\n\n\n\n( function() {\n\n\t// Executing both pixelPosition & boxSizingReliable tests require only one layout\n\t// so they're executed at the same time to save the second computation.\n\tfunction computeStyleTests() {\n\n\t\t// This is a singleton, we need to execute it only once\n\t\tif ( !div ) {\n\t\t\treturn;\n\t\t}\n\n\t\tcontainer.style.cssText = \"position:absolute;left:-11111px;width:60px;\" +\n\t\t\t\"margin-top:1px;padding:0;border:0\";\n\t\tdiv.style.cssText =\n\t\t\t\"position:relative;display:block;box-sizing:border-box;overflow:scroll;\" +\n\t\t\t\"margin:auto;border:1px;padding:1px;\" +\n\t\t\t\"width:60%;top:1%\";\n\t\tdocumentElement.appendChild( container ).appendChild( div );\n\n\t\tvar divStyle = window.getComputedStyle( div );\n\t\tpixelPositionVal = divStyle.top !== \"1%\";\n\n\t\t// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44\n\t\treliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12;\n\n\t\t// Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3\n\t\t// Some styles come back with percentage values, even though they shouldn't\n\t\tdiv.style.right = \"60%\";\n\t\tpixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36;\n\n\t\t// Support: IE 9 - 11 only\n\t\t// Detect misreporting of content dimensions for box-sizing:border-box elements\n\t\tboxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36;\n\n\t\t// Support: IE 9 only\n\t\t// Detect overflow:scroll screwiness (gh-3699)\n\t\t// Support: Chrome <=64\n\t\t// Don't get tricked when zoom affects offsetWidth (gh-4029)\n\t\tdiv.style.position = \"absolute\";\n\t\tscrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12;\n\n\t\tdocumentElement.removeChild( container );\n\n\t\t// Nullify the div so it wouldn't be stored in the memory and\n\t\t// it will also be a sign that checks already performed\n\t\tdiv = null;\n\t}\n\n\tfunction roundPixelMeasures( measure ) {\n\t\treturn Math.round( parseFloat( measure ) );\n\t}\n\n\tvar pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal,\n\t\treliableTrDimensionsVal, reliableMarginLeftVal,\n\t\tcontainer = document.createElement( \"div\" ),\n\t\tdiv = document.createElement( \"div\" );\n\n\t// Finish early in limited (non-browser) environments\n\tif ( !div.style ) {\n\t\treturn;\n\t}\n\n\t// Support: IE <=9 - 11 only\n\t// Style of cloned element affects source element cloned (#8908)\n\tdiv.style.backgroundClip = \"content-box\";\n\tdiv.cloneNode( true ).style.backgroundClip = \"\";\n\tsupport.clearCloneStyle = div.style.backgroundClip === \"content-box\";\n\n\tjQuery.extend( support, {\n\t\tboxSizingReliable: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn boxSizingReliableVal;\n\t\t},\n\t\tpixelBoxStyles: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelBoxStylesVal;\n\t\t},\n\t\tpixelPosition: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelPositionVal;\n\t\t},\n\t\treliableMarginLeft: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn reliableMarginLeftVal;\n\t\t},\n\t\tscrollboxSize: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn scrollboxSizeVal;\n\t\t},\n\n\t\t// Support: IE 9 - 11+, Edge 15 - 18+\n\t\t// IE/Edge misreport `getComputedStyle` of table rows with width/height\n\t\t// set in CSS while `offset*` properties report correct values.\n\t\t// Behavior in IE 9 is more subtle than in newer versions & it passes\n\t\t// some versions of this test; make sure not to make it pass there!\n\t\t//\n\t\t// Support: Firefox 70+\n\t\t// Only Firefox includes border widths\n\t\t// in computed dimensions. (gh-4529)\n\t\treliableTrDimensions: function() {\n\t\t\tvar table, tr, trChild, trStyle;\n\t\t\tif ( reliableTrDimensionsVal == null ) {\n\t\t\t\ttable = document.createElement( \"table\" );\n\t\t\t\ttr = document.createElement( \"tr\" );\n\t\t\t\ttrChild = document.createElement( \"div\" );\n\n\t\t\t\ttable.style.cssText = \"position:absolute;left:-11111px;border-collapse:separate\";\n\t\t\t\ttr.style.cssText = \"border:1px solid\";\n\n\t\t\t\t// Support: Chrome 86+\n\t\t\t\t// Height set through cssText does not get applied.\n\t\t\t\t// Computed height then comes back as 0.\n\t\t\t\ttr.style.height = \"1px\";\n\t\t\t\ttrChild.style.height = \"9px\";\n\n\t\t\t\t// Support: Android 8 Chrome 86+\n\t\t\t\t// In our bodyBackground.html iframe,\n\t\t\t\t// display for all div elements is set to \"inline\",\n\t\t\t\t// which causes a problem only in Android 8 Chrome 86.\n\t\t\t\t// Ensuring the div is display: block\n\t\t\t\t// gets around this issue.\n\t\t\t\ttrChild.style.display = \"block\";\n\n\t\t\t\tdocumentElement\n\t\t\t\t\t.appendChild( table )\n\t\t\t\t\t.appendChild( tr )\n\t\t\t\t\t.appendChild( trChild );\n\n\t\t\t\ttrStyle = window.getComputedStyle( tr );\n\t\t\t\treliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) +\n\t\t\t\t\tparseInt( trStyle.borderTopWidth, 10 ) +\n\t\t\t\t\tparseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight;\n\n\t\t\t\tdocumentElement.removeChild( table );\n\t\t\t}\n\t\t\treturn reliableTrDimensionsVal;\n\t\t}\n\t} );\n} )();\n\n\nfunction curCSS( elem, name, computed ) {\n\tvar width, minWidth, maxWidth, ret,\n\n\t\t// Support: Firefox 51+\n\t\t// Retrieving style before computed somehow\n\t\t// fixes an issue with getting wrong values\n\t\t// on detached elements\n\t\tstyle = elem.style;\n\n\tcomputed = computed || getStyles( elem );\n\n\t// getPropertyValue is needed for:\n\t//   .css('filter') (IE 9 only, #12537)\n\t//   .css('--customProperty) (#3144)\n\tif ( computed ) {\n\t\tret = computed.getPropertyValue( name ) || computed[ name ];\n\n\t\tif ( ret === \"\" && !isAttached( elem ) ) {\n\t\t\tret = jQuery.style( elem, name );\n\t\t}\n\n\t\t// A tribute to the \"awesome hack by Dean Edwards\"\n\t\t// Android Browser returns percentage for some values,\n\t\t// but width seems to be reliably pixels.\n\t\t// This is against the CSSOM draft spec:\n\t\t// https://drafts.csswg.org/cssom/#resolved-values\n\t\tif ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) {\n\n\t\t\t// Remember the original values\n\t\t\twidth = style.width;\n\t\t\tminWidth = style.minWidth;\n\t\t\tmaxWidth = style.maxWidth;\n\n\t\t\t// Put in the new values to get a computed value out\n\t\t\tstyle.minWidth = style.maxWidth = style.width = ret;\n\t\t\tret = computed.width;\n\n\t\t\t// Revert the changed values\n\t\t\tstyle.width = width;\n\t\t\tstyle.minWidth = minWidth;\n\t\t\tstyle.maxWidth = maxWidth;\n\t\t}\n\t}\n\n\treturn ret !== undefined ?\n\n\t\t// Support: IE <=9 - 11 only\n\t\t// IE returns zIndex value as an integer.\n\t\tret + \"\" :\n\t\tret;\n}\n\n\nfunction addGetHookIf( conditionFn, hookFn ) {\n\n\t// Define the hook, we'll check on the first run if it's really needed.\n\treturn {\n\t\tget: function() {\n\t\t\tif ( conditionFn() ) {\n\n\t\t\t\t// Hook not needed (or it's not possible to use it due\n\t\t\t\t// to missing dependency), remove it.\n\t\t\t\tdelete this.get;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Hook needed; redefine it so that the support test is not executed again.\n\t\t\treturn ( this.get = hookFn ).apply( this, arguments );\n\t\t}\n\t};\n}\n\n\nvar cssPrefixes = [ \"Webkit\", \"Moz\", \"ms\" ],\n\temptyStyle = document.createElement( \"div\" ).style,\n\tvendorProps = {};\n\n// Return a vendor-prefixed property or undefined\nfunction vendorPropName( name ) {\n\n\t// Check for vendor prefixed names\n\tvar capName = name[ 0 ].toUpperCase() + name.slice( 1 ),\n\t\ti = cssPrefixes.length;\n\n\twhile ( i-- ) {\n\t\tname = cssPrefixes[ i ] + capName;\n\t\tif ( name in emptyStyle ) {\n\t\t\treturn name;\n\t\t}\n\t}\n}\n\n// Return a potentially-mapped jQuery.cssProps or vendor prefixed property\nfunction finalPropName( name ) {\n\tvar final = jQuery.cssProps[ name ] || vendorProps[ name ];\n\n\tif ( final ) {\n\t\treturn final;\n\t}\n\tif ( name in emptyStyle ) {\n\t\treturn name;\n\t}\n\treturn vendorProps[ name ] = vendorPropName( name ) || name;\n}\n\n\nvar\n\n\t// Swappable if display is none or starts with table\n\t// except \"table\", \"table-cell\", or \"table-caption\"\n\t// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n\trdisplayswap = /^(none|table(?!-c[ea]).+)/,\n\trcustomProp = /^--/,\n\tcssShow = { position: \"absolute\", visibility: \"hidden\", display: \"block\" },\n\tcssNormalTransform = {\n\t\tletterSpacing: \"0\",\n\t\tfontWeight: \"400\"\n\t};\n\nfunction setPositiveNumber( _elem, value, subtract ) {\n\n\t// Any relative (+/-) values have already been\n\t// normalized at this point\n\tvar matches = rcssNum.exec( value );\n\treturn matches ?\n\n\t\t// Guard against undefined \"subtract\", e.g., when used as in cssHooks\n\t\tMath.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || \"px\" ) :\n\t\tvalue;\n}\n\nfunction boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) {\n\tvar i = dimension === \"width\" ? 1 : 0,\n\t\textra = 0,\n\t\tdelta = 0;\n\n\t// Adjustment may not be necessary\n\tif ( box === ( isBorderBox ? \"border\" : \"content\" ) ) {\n\t\treturn 0;\n\t}\n\n\tfor ( ; i < 4; i += 2 ) {\n\n\t\t// Both box models exclude margin\n\t\tif ( box === \"margin\" ) {\n\t\t\tdelta += jQuery.css( elem, box + cssExpand[ i ], true, styles );\n\t\t}\n\n\t\t// If we get here with a content-box, we're seeking \"padding\" or \"border\" or \"margin\"\n\t\tif ( !isBorderBox ) {\n\n\t\t\t// Add padding\n\t\t\tdelta += jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\n\t\t\t// For \"border\" or \"margin\", add border\n\t\t\tif ( box !== \"padding\" ) {\n\t\t\t\tdelta += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\n\t\t\t// But still keep track of it otherwise\n\t\t\t} else {\n\t\t\t\textra += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\n\t\t// If we get here with a border-box (content + padding + border), we're seeking \"content\" or\n\t\t// \"padding\" or \"margin\"\n\t\t} else {\n\n\t\t\t// For \"content\", subtract padding\n\t\t\tif ( box === \"content\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\t\t\t}\n\n\t\t\t// For \"content\" or \"padding\", subtract border\n\t\t\tif ( box !== \"margin\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Account for positive content-box scroll gutter when requested by providing computedVal\n\tif ( !isBorderBox && computedVal >= 0 ) {\n\n\t\t// offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border\n\t\t// Assuming integer scroll gutter, subtract the rest and round down\n\t\tdelta += Math.max( 0, Math.ceil(\n\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\tcomputedVal -\n\t\t\tdelta -\n\t\t\textra -\n\t\t\t0.5\n\n\t\t// If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter\n\t\t// Use an explicit zero to avoid NaN (gh-3964)\n\t\t) ) || 0;\n\t}\n\n\treturn delta;\n}\n\nfunction getWidthOrHeight( elem, dimension, extra ) {\n\n\t// Start with computed style\n\tvar styles = getStyles( elem ),\n\n\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322).\n\t\t// Fake content-box until we know it's needed to know the true value.\n\t\tboxSizingNeeded = !support.boxSizingReliable() || extra,\n\t\tisBorderBox = boxSizingNeeded &&\n\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\tvalueIsBorderBox = isBorderBox,\n\n\t\tval = curCSS( elem, dimension, styles ),\n\t\toffsetProp = \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 );\n\n\t// Support: Firefox <=54\n\t// Return a confounding non-pixel value or feign ignorance, as appropriate.\n\tif ( rnumnonpx.test( val ) ) {\n\t\tif ( !extra ) {\n\t\t\treturn val;\n\t\t}\n\t\tval = \"auto\";\n\t}\n\n\n\t// Support: IE 9 - 11 only\n\t// Use offsetWidth/offsetHeight for when box sizing is unreliable.\n\t// In those cases, the computed value can be trusted to be border-box.\n\tif ( ( !support.boxSizingReliable() && isBorderBox ||\n\n\t\t// Support: IE 10 - 11+, Edge 15 - 18+\n\t\t// IE/Edge misreport `getComputedStyle` of table rows with width/height\n\t\t// set in CSS while `offset*` properties report correct values.\n\t\t// Interestingly, in some cases IE 9 doesn't suffer from this issue.\n\t\t!support.reliableTrDimensions() && nodeName( elem, \"tr\" ) ||\n\n\t\t// Fall back to offsetWidth/offsetHeight when value is \"auto\"\n\t\t// This happens for inline elements with no explicit setting (gh-3571)\n\t\tval === \"auto\" ||\n\n\t\t// Support: Android <=4.1 - 4.3 only\n\t\t// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)\n\t\t!parseFloat( val ) && jQuery.css( elem, \"display\", false, styles ) === \"inline\" ) &&\n\n\t\t// Make sure the element is visible & connected\n\t\telem.getClientRects().length ) {\n\n\t\tisBorderBox = jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\";\n\n\t\t// Where available, offsetWidth/offsetHeight approximate border box dimensions.\n\t\t// Where not available (e.g., SVG), assume unreliable box-sizing and interpret the\n\t\t// retrieved value as a content box dimension.\n\t\tvalueIsBorderBox = offsetProp in elem;\n\t\tif ( valueIsBorderBox ) {\n\t\t\tval = elem[ offsetProp ];\n\t\t}\n\t}\n\n\t// Normalize \"\" and auto\n\tval = parseFloat( val ) || 0;\n\n\t// Adjust for the element's box model\n\treturn ( val +\n\t\tboxModelAdjustment(\n\t\t\telem,\n\t\t\tdimension,\n\t\t\textra || ( isBorderBox ? \"border\" : \"content\" ),\n\t\t\tvalueIsBorderBox,\n\t\t\tstyles,\n\n\t\t\t// Provide the current computed size to request scroll gutter calculation (gh-3589)\n\t\t\tval\n\t\t)\n\t) + \"px\";\n}\n\njQuery.extend( {\n\n\t// Add in style property hooks for overriding the default\n\t// behavior of getting and setting a style property\n\tcssHooks: {\n\t\topacity: {\n\t\t\tget: function( elem, computed ) {\n\t\t\t\tif ( computed ) {\n\n\t\t\t\t\t// We should always get a number back from opacity\n\t\t\t\t\tvar ret = curCSS( elem, \"opacity\" );\n\t\t\t\t\treturn ret === \"\" ? \"1\" : ret;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t// Don't automatically add \"px\" to these possibly-unitless properties\n\tcssNumber: {\n\t\t\"animationIterationCount\": true,\n\t\t\"columnCount\": true,\n\t\t\"fillOpacity\": true,\n\t\t\"flexGrow\": true,\n\t\t\"flexShrink\": true,\n\t\t\"fontWeight\": true,\n\t\t\"gridArea\": true,\n\t\t\"gridColumn\": true,\n\t\t\"gridColumnEnd\": true,\n\t\t\"gridColumnStart\": true,\n\t\t\"gridRow\": true,\n\t\t\"gridRowEnd\": true,\n\t\t\"gridRowStart\": true,\n\t\t\"lineHeight\": true,\n\t\t\"opacity\": true,\n\t\t\"order\": true,\n\t\t\"orphans\": true,\n\t\t\"widows\": true,\n\t\t\"zIndex\": true,\n\t\t\"zoom\": true\n\t},\n\n\t// Add in properties whose names you wish to fix before\n\t// setting or getting the value\n\tcssProps: {},\n\n\t// Get and set the style property on a DOM Node\n\tstyle: function( elem, name, value, extra ) {\n\n\t\t// Don't set styles on text and comment nodes\n\t\tif ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make sure that we're working with the right name\n\t\tvar ret, type, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name ),\n\t\t\tstyle = elem.style;\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to query the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Gets hook for the prefixed version, then unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// Check if we're setting a value\n\t\tif ( value !== undefined ) {\n\t\t\ttype = typeof value;\n\n\t\t\t// Convert \"+=\" or \"-=\" to relative numbers (#7345)\n\t\t\tif ( type === \"string\" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) {\n\t\t\t\tvalue = adjustCSS( elem, name, ret );\n\n\t\t\t\t// Fixes bug #9237\n\t\t\t\ttype = \"number\";\n\t\t\t}\n\n\t\t\t// Make sure that null and NaN values aren't set (#7116)\n\t\t\tif ( value == null || value !== value ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// If a number was passed in, add the unit (except for certain CSS properties)\n\t\t\t// The isCustomProp check can be removed in jQuery 4.0 when we only auto-append\n\t\t\t// \"px\" to a few hardcoded values.\n\t\t\tif ( type === \"number\" && !isCustomProp ) {\n\t\t\t\tvalue += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? \"\" : \"px\" );\n\t\t\t}\n\n\t\t\t// background-* props affect original clone's values\n\t\t\tif ( !support.clearCloneStyle && value === \"\" && name.indexOf( \"background\" ) === 0 ) {\n\t\t\t\tstyle[ name ] = \"inherit\";\n\t\t\t}\n\n\t\t\t// If a hook was provided, use that value, otherwise just set the specified value\n\t\t\tif ( !hooks || !( \"set\" in hooks ) ||\n\t\t\t\t( value = hooks.set( elem, value, extra ) ) !== undefined ) {\n\n\t\t\t\tif ( isCustomProp ) {\n\t\t\t\t\tstyle.setProperty( name, value );\n\t\t\t\t} else {\n\t\t\t\t\tstyle[ name ] = value;\n\t\t\t\t}\n\t\t\t}\n\n\t\t} else {\n\n\t\t\t// If a hook was provided get the non-computed value from there\n\t\t\tif ( hooks && \"get\" in hooks &&\n\t\t\t\t( ret = hooks.get( elem, false, extra ) ) !== undefined ) {\n\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\t// Otherwise just get the value from the style object\n\t\t\treturn style[ name ];\n\t\t}\n\t},\n\n\tcss: function( elem, name, extra, styles ) {\n\t\tvar val, num, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name );\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to modify the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Try prefixed name followed by the unprefixed name\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// If a hook was provided get the computed value from there\n\t\tif ( hooks && \"get\" in hooks ) {\n\t\t\tval = hooks.get( elem, true, extra );\n\t\t}\n\n\t\t// Otherwise, if a way to get the computed value exists, use that\n\t\tif ( val === undefined ) {\n\t\t\tval = curCSS( elem, name, styles );\n\t\t}\n\n\t\t// Convert \"normal\" to computed value\n\t\tif ( val === \"normal\" && name in cssNormalTransform ) {\n\t\t\tval = cssNormalTransform[ name ];\n\t\t}\n\n\t\t// Make numeric if forced or a qualifier was provided and val looks numeric\n\t\tif ( extra === \"\" || extra ) {\n\t\t\tnum = parseFloat( val );\n\t\t\treturn extra === true || isFinite( num ) ? num || 0 : val;\n\t\t}\n\n\t\treturn val;\n\t}\n} );\n\njQuery.each( [ \"height\", \"width\" ], function( _i, dimension ) {\n\tjQuery.cssHooks[ dimension ] = {\n\t\tget: function( elem, computed, extra ) {\n\t\t\tif ( computed ) {\n\n\t\t\t\t// Certain elements can have dimension info if we invisibly show them\n\t\t\t\t// but it must have a current display style that would benefit\n\t\t\t\treturn rdisplayswap.test( jQuery.css( elem, \"display\" ) ) &&\n\n\t\t\t\t\t// Support: Safari 8+\n\t\t\t\t\t// Table columns in Safari have non-zero offsetWidth & zero\n\t\t\t\t\t// getBoundingClientRect().width unless display is changed.\n\t\t\t\t\t// Support: IE <=11 only\n\t\t\t\t\t// Running getBoundingClientRect on a disconnected node\n\t\t\t\t\t// in IE throws an error.\n\t\t\t\t\t( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?\n\t\t\t\t\tswap( elem, cssShow, function() {\n\t\t\t\t\t\treturn getWidthOrHeight( elem, dimension, extra );\n\t\t\t\t\t} ) :\n\t\t\t\t\tgetWidthOrHeight( elem, dimension, extra );\n\t\t\t}\n\t\t},\n\n\t\tset: function( elem, value, extra ) {\n\t\t\tvar matches,\n\t\t\t\tstyles = getStyles( elem ),\n\n\t\t\t\t// Only read styles.position if the test has a chance to fail\n\t\t\t\t// to avoid forcing a reflow.\n\t\t\t\tscrollboxSizeBuggy = !support.scrollboxSize() &&\n\t\t\t\t\tstyles.position === \"absolute\",\n\n\t\t\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991)\n\t\t\t\tboxSizingNeeded = scrollboxSizeBuggy || extra,\n\t\t\t\tisBorderBox = boxSizingNeeded &&\n\t\t\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\t\t\tsubtract = extra ?\n\t\t\t\t\tboxModelAdjustment(\n\t\t\t\t\t\telem,\n\t\t\t\t\t\tdimension,\n\t\t\t\t\t\textra,\n\t\t\t\t\t\tisBorderBox,\n\t\t\t\t\t\tstyles\n\t\t\t\t\t) :\n\t\t\t\t\t0;\n\n\t\t\t// Account for unreliable border-box dimensions by comparing offset* to computed and\n\t\t\t// faking a content-box to get border and padding (gh-3699)\n\t\t\tif ( isBorderBox && scrollboxSizeBuggy ) {\n\t\t\t\tsubtract -= Math.ceil(\n\t\t\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\t\t\tparseFloat( styles[ dimension ] ) -\n\t\t\t\t\tboxModelAdjustment( elem, dimension, \"border\", false, styles ) -\n\t\t\t\t\t0.5\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// Convert to pixels if value adjustment is needed\n\t\t\tif ( subtract && ( matches = rcssNum.exec( value ) ) &&\n\t\t\t\t( matches[ 3 ] || \"px\" ) !== \"px\" ) {\n\n\t\t\t\telem.style[ dimension ] = value;\n\t\t\t\tvalue = jQuery.css( elem, dimension );\n\t\t\t}\n\n\t\t\treturn setPositiveNumber( elem, value, subtract );\n\t\t}\n\t};\n} );\n\njQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,\n\tfunction( elem, computed ) {\n\t\tif ( computed ) {\n\t\t\treturn ( parseFloat( curCSS( elem, \"marginLeft\" ) ) ||\n\t\t\t\telem.getBoundingClientRect().left -\n\t\t\t\t\tswap( elem, { marginLeft: 0 }, function() {\n\t\t\t\t\t\treturn elem.getBoundingClientRect().left;\n\t\t\t\t\t} )\n\t\t\t) + \"px\";\n\t\t}\n\t}\n);\n\n// These hooks are used by animate to expand properties\njQuery.each( {\n\tmargin: \"\",\n\tpadding: \"\",\n\tborder: \"Width\"\n}, function( prefix, suffix ) {\n\tjQuery.cssHooks[ prefix + suffix ] = {\n\t\texpand: function( value ) {\n\t\t\tvar i = 0,\n\t\t\t\texpanded = {},\n\n\t\t\t\t// Assumes a single number if not a string\n\t\t\t\tparts = typeof value === \"string\" ? value.split( \" \" ) : [ value ];\n\n\t\t\tfor ( ; i < 4; i++ ) {\n\t\t\t\texpanded[ prefix + cssExpand[ i ] + suffix ] =\n\t\t\t\t\tparts[ i ] || parts[ i - 2 ] || parts[ 0 ];\n\t\t\t}\n\n\t\t\treturn expanded;\n\t\t}\n\t};\n\n\tif ( prefix !== \"margin\" ) {\n\t\tjQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;\n\t}\n} );\n\njQuery.fn.extend( {\n\tcss: function( name, value ) {\n\t\treturn access( this, function( elem, name, value ) {\n\t\t\tvar styles, len,\n\t\t\t\tmap = {},\n\t\t\t\ti = 0;\n\n\t\t\tif ( Array.isArray( name ) ) {\n\t\t\t\tstyles = getStyles( elem );\n\t\t\t\tlen = name.length;\n\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\tmap[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );\n\t\t\t\t}\n\n\t\t\t\treturn map;\n\t\t\t}\n\n\t\t\treturn value !== undefined ?\n\t\t\t\tjQuery.style( elem, name, value ) :\n\t\t\t\tjQuery.css( elem, name );\n\t\t}, name, value, arguments.length > 1 );\n\t}\n} );\n\n\nfunction Tween( elem, options, prop, end, easing ) {\n\treturn new Tween.prototype.init( elem, options, prop, end, easing );\n}\njQuery.Tween = Tween;\n\nTween.prototype = {\n\tconstructor: Tween,\n\tinit: function( elem, options, prop, end, easing, unit ) {\n\t\tthis.elem = elem;\n\t\tthis.prop = prop;\n\t\tthis.easing = easing || jQuery.easing._default;\n\t\tthis.options = options;\n\t\tthis.start = this.now = this.cur();\n\t\tthis.end = end;\n\t\tthis.unit = unit || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" );\n\t},\n\tcur: function() {\n\t\tvar hooks = Tween.propHooks[ this.prop ];\n\n\t\treturn hooks && hooks.get ?\n\t\t\thooks.get( this ) :\n\t\t\tTween.propHooks._default.get( this );\n\t},\n\trun: function( percent ) {\n\t\tvar eased,\n\t\t\thooks = Tween.propHooks[ this.prop ];\n\n\t\tif ( this.options.duration ) {\n\t\t\tthis.pos = eased = jQuery.easing[ this.easing ](\n\t\t\t\tpercent, this.options.duration * percent, 0, 1, this.options.duration\n\t\t\t);\n\t\t} else {\n\t\t\tthis.pos = eased = percent;\n\t\t}\n\t\tthis.now = ( this.end - this.start ) * eased + this.start;\n\n\t\tif ( this.options.step ) {\n\t\t\tthis.options.step.call( this.elem, this.now, this );\n\t\t}\n\n\t\tif ( hooks && hooks.set ) {\n\t\t\thooks.set( this );\n\t\t} else {\n\t\t\tTween.propHooks._default.set( this );\n\t\t}\n\t\treturn this;\n\t}\n};\n\nTween.prototype.init.prototype = Tween.prototype;\n\nTween.propHooks = {\n\t_default: {\n\t\tget: function( tween ) {\n\t\t\tvar result;\n\n\t\t\t// Use a property on the element directly when it is not a DOM element,\n\t\t\t// or when there is no matching style property that exists.\n\t\t\tif ( tween.elem.nodeType !== 1 ||\n\t\t\t\ttween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) {\n\t\t\t\treturn tween.elem[ tween.prop ];\n\t\t\t}\n\n\t\t\t// Passing an empty string as a 3rd parameter to .css will automatically\n\t\t\t// attempt a parseFloat and fallback to a string if the parse fails.\n\t\t\t// Simple values such as \"10px\" are parsed to Float;\n\t\t\t// complex values such as \"rotate(1rad)\" are returned as-is.\n\t\t\tresult = jQuery.css( tween.elem, tween.prop, \"\" );\n\n\t\t\t// Empty strings, null, undefined and \"auto\" are converted to 0.\n\t\t\treturn !result || result === \"auto\" ? 0 : result;\n\t\t},\n\t\tset: function( tween ) {\n\n\t\t\t// Use step hook for back compat.\n\t\t\t// Use cssHook if its there.\n\t\t\t// Use .style if available and use plain properties where available.\n\t\t\tif ( jQuery.fx.step[ tween.prop ] ) {\n\t\t\t\tjQuery.fx.step[ tween.prop ]( tween );\n\t\t\t} else if ( tween.elem.nodeType === 1 && (\n\t\t\t\tjQuery.cssHooks[ tween.prop ] ||\n\t\t\t\t\ttween.elem.style[ finalPropName( tween.prop ) ] != null ) ) {\n\t\t\t\tjQuery.style( tween.elem, tween.prop, tween.now + tween.unit );\n\t\t\t} else {\n\t\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Support: IE <=9 only\n// Panic based approach to setting things on disconnected nodes\nTween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {\n\tset: function( tween ) {\n\t\tif ( tween.elem.nodeType && tween.elem.parentNode ) {\n\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t}\n\t}\n};\n\njQuery.easing = {\n\tlinear: function( p ) {\n\t\treturn p;\n\t},\n\tswing: function( p ) {\n\t\treturn 0.5 - Math.cos( p * Math.PI ) / 2;\n\t},\n\t_default: \"swing\"\n};\n\njQuery.fx = Tween.prototype.init;\n\n// Back compat <1.8 extension point\njQuery.fx.step = {};\n\n\n\n\nvar\n\tfxNow, inProgress,\n\trfxtypes = /^(?:toggle|show|hide)$/,\n\trrun = /queueHooks$/;\n\nfunction schedule() {\n\tif ( inProgress ) {\n\t\tif ( document.hidden === false && window.requestAnimationFrame ) {\n\t\t\twindow.requestAnimationFrame( schedule );\n\t\t} else {\n\t\t\twindow.setTimeout( schedule, jQuery.fx.interval );\n\t\t}\n\n\t\tjQuery.fx.tick();\n\t}\n}\n\n// Animations created synchronously will run synchronously\nfunction createFxNow() {\n\twindow.setTimeout( function() {\n\t\tfxNow = undefined;\n\t} );\n\treturn ( fxNow = Date.now() );\n}\n\n// Generate parameters to create a standard animation\nfunction genFx( type, includeWidth ) {\n\tvar which,\n\t\ti = 0,\n\t\tattrs = { height: type };\n\n\t// If we include width, step value is 1 to do all cssExpand values,\n\t// otherwise step value is 2 to skip over Left and Right\n\tincludeWidth = includeWidth ? 1 : 0;\n\tfor ( ; i < 4; i += 2 - includeWidth ) {\n\t\twhich = cssExpand[ i ];\n\t\tattrs[ \"margin\" + which ] = attrs[ \"padding\" + which ] = type;\n\t}\n\n\tif ( includeWidth ) {\n\t\tattrs.opacity = attrs.width = type;\n\t}\n\n\treturn attrs;\n}\n\nfunction createTween( value, prop, animation ) {\n\tvar tween,\n\t\tcollection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ \"*\" ] ),\n\t\tindex = 0,\n\t\tlength = collection.length;\n\tfor ( ; index < length; index++ ) {\n\t\tif ( ( tween = collection[ index ].call( animation, prop, value ) ) ) {\n\n\t\t\t// We're done with this property\n\t\t\treturn tween;\n\t\t}\n\t}\n}\n\nfunction defaultPrefilter( elem, props, opts ) {\n\tvar prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,\n\t\tisBox = \"width\" in props || \"height\" in props,\n\t\tanim = this,\n\t\torig = {},\n\t\tstyle = elem.style,\n\t\thidden = elem.nodeType && isHiddenWithinTree( elem ),\n\t\tdataShow = dataPriv.get( elem, \"fxshow\" );\n\n\t// Queue-skipping animations hijack the fx hooks\n\tif ( !opts.queue ) {\n\t\thooks = jQuery._queueHooks( elem, \"fx\" );\n\t\tif ( hooks.unqueued == null ) {\n\t\t\thooks.unqueued = 0;\n\t\t\toldfire = hooks.empty.fire;\n\t\t\thooks.empty.fire = function() {\n\t\t\t\tif ( !hooks.unqueued ) {\n\t\t\t\t\toldfire();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\thooks.unqueued++;\n\n\t\tanim.always( function() {\n\n\t\t\t// Ensure the complete handler is called before this completes\n\t\t\tanim.always( function() {\n\t\t\t\thooks.unqueued--;\n\t\t\t\tif ( !jQuery.queue( elem, \"fx\" ).length ) {\n\t\t\t\t\thooks.empty.fire();\n\t\t\t\t}\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// Detect show/hide animations\n\tfor ( prop in props ) {\n\t\tvalue = props[ prop ];\n\t\tif ( rfxtypes.test( value ) ) {\n\t\t\tdelete props[ prop ];\n\t\t\ttoggle = toggle || value === \"toggle\";\n\t\t\tif ( value === ( hidden ? \"hide\" : \"show\" ) ) {\n\n\t\t\t\t// Pretend to be hidden if this is a \"show\" and\n\t\t\t\t// there is still data from a stopped show/hide\n\t\t\t\tif ( value === \"show\" && dataShow && dataShow[ prop ] !== undefined ) {\n\t\t\t\t\thidden = true;\n\n\t\t\t\t// Ignore all other no-op show/hide data\n\t\t\t\t} else {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\torig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );\n\t\t}\n\t}\n\n\t// Bail out if this is a no-op like .hide().hide()\n\tpropTween = !jQuery.isEmptyObject( props );\n\tif ( !propTween && jQuery.isEmptyObject( orig ) ) {\n\t\treturn;\n\t}\n\n\t// Restrict \"overflow\" and \"display\" styles during box animations\n\tif ( isBox && elem.nodeType === 1 ) {\n\n\t\t// Support: IE <=9 - 11, Edge 12 - 15\n\t\t// Record all 3 overflow attributes because IE does not infer the shorthand\n\t\t// from identically-valued overflowX and overflowY and Edge just mirrors\n\t\t// the overflowX value there.\n\t\topts.overflow = [ style.overflow, style.overflowX, style.overflowY ];\n\n\t\t// Identify a display type, preferring old show/hide data over the CSS cascade\n\t\trestoreDisplay = dataShow && dataShow.display;\n\t\tif ( restoreDisplay == null ) {\n\t\t\trestoreDisplay = dataPriv.get( elem, \"display\" );\n\t\t}\n\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\tif ( display === \"none\" ) {\n\t\t\tif ( restoreDisplay ) {\n\t\t\t\tdisplay = restoreDisplay;\n\t\t\t} else {\n\n\t\t\t\t// Get nonempty value(s) by temporarily forcing visibility\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t\trestoreDisplay = elem.style.display || restoreDisplay;\n\t\t\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\t\t\tshowHide( [ elem ] );\n\t\t\t}\n\t\t}\n\n\t\t// Animate inline elements as inline-block\n\t\tif ( display === \"inline\" || display === \"inline-block\" && restoreDisplay != null ) {\n\t\t\tif ( jQuery.css( elem, \"float\" ) === \"none\" ) {\n\n\t\t\t\t// Restore the original display value at the end of pure show/hide animations\n\t\t\t\tif ( !propTween ) {\n\t\t\t\t\tanim.done( function() {\n\t\t\t\t\t\tstyle.display = restoreDisplay;\n\t\t\t\t\t} );\n\t\t\t\t\tif ( restoreDisplay == null ) {\n\t\t\t\t\t\tdisplay = style.display;\n\t\t\t\t\t\trestoreDisplay = display === \"none\" ? \"\" : display;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstyle.display = \"inline-block\";\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( opts.overflow ) {\n\t\tstyle.overflow = \"hidden\";\n\t\tanim.always( function() {\n\t\t\tstyle.overflow = opts.overflow[ 0 ];\n\t\t\tstyle.overflowX = opts.overflow[ 1 ];\n\t\t\tstyle.overflowY = opts.overflow[ 2 ];\n\t\t} );\n\t}\n\n\t// Implement show/hide animations\n\tpropTween = false;\n\tfor ( prop in orig ) {\n\n\t\t// General show/hide setup for this element animation\n\t\tif ( !propTween ) {\n\t\t\tif ( dataShow ) {\n\t\t\t\tif ( \"hidden\" in dataShow ) {\n\t\t\t\t\thidden = dataShow.hidden;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdataShow = dataPriv.access( elem, \"fxshow\", { display: restoreDisplay } );\n\t\t\t}\n\n\t\t\t// Store hidden/visible for toggle so `.stop().toggle()` \"reverses\"\n\t\t\tif ( toggle ) {\n\t\t\t\tdataShow.hidden = !hidden;\n\t\t\t}\n\n\t\t\t// Show elements before animating them\n\t\t\tif ( hidden ) {\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t}\n\n\t\t\t/* eslint-disable no-loop-func */\n\n\t\t\tanim.done( function() {\n\n\t\t\t\t/* eslint-enable no-loop-func */\n\n\t\t\t\t// The final step of a \"hide\" animation is actually hiding the element\n\t\t\t\tif ( !hidden ) {\n\t\t\t\t\tshowHide( [ elem ] );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( elem, \"fxshow\" );\n\t\t\t\tfor ( prop in orig ) {\n\t\t\t\t\tjQuery.style( elem, prop, orig[ prop ] );\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\t// Per-property setup\n\t\tpropTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );\n\t\tif ( !( prop in dataShow ) ) {\n\t\t\tdataShow[ prop ] = propTween.start;\n\t\t\tif ( hidden ) {\n\t\t\t\tpropTween.end = propTween.start;\n\t\t\t\tpropTween.start = 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction propFilter( props, specialEasing ) {\n\tvar index, name, easing, value, hooks;\n\n\t// camelCase, specialEasing and expand cssHook pass\n\tfor ( index in props ) {\n\t\tname = camelCase( index );\n\t\teasing = specialEasing[ name ];\n\t\tvalue = props[ index ];\n\t\tif ( Array.isArray( value ) ) {\n\t\t\teasing = value[ 1 ];\n\t\t\tvalue = props[ index ] = value[ 0 ];\n\t\t}\n\n\t\tif ( index !== name ) {\n\t\t\tprops[ name ] = value;\n\t\t\tdelete props[ index ];\n\t\t}\n\n\t\thooks = jQuery.cssHooks[ name ];\n\t\tif ( hooks && \"expand\" in hooks ) {\n\t\t\tvalue = hooks.expand( value );\n\t\t\tdelete props[ name ];\n\n\t\t\t// Not quite $.extend, this won't overwrite existing keys.\n\t\t\t// Reusing 'index' because we have the correct \"name\"\n\t\t\tfor ( index in value ) {\n\t\t\t\tif ( !( index in props ) ) {\n\t\t\t\t\tprops[ index ] = value[ index ];\n\t\t\t\t\tspecialEasing[ index ] = easing;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tspecialEasing[ name ] = easing;\n\t\t}\n\t}\n}\n\nfunction Animation( elem, properties, options ) {\n\tvar result,\n\t\tstopped,\n\t\tindex = 0,\n\t\tlength = Animation.prefilters.length,\n\t\tdeferred = jQuery.Deferred().always( function() {\n\n\t\t\t// Don't match elem in the :animated selector\n\t\t\tdelete tick.elem;\n\t\t} ),\n\t\ttick = function() {\n\t\t\tif ( stopped ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar currentTime = fxNow || createFxNow(),\n\t\t\t\tremaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),\n\n\t\t\t\t// Support: Android 2.3 only\n\t\t\t\t// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)\n\t\t\t\ttemp = remaining / animation.duration || 0,\n\t\t\t\tpercent = 1 - temp,\n\t\t\t\tindex = 0,\n\t\t\t\tlength = animation.tweens.length;\n\n\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\tanimation.tweens[ index ].run( percent );\n\t\t\t}\n\n\t\t\tdeferred.notifyWith( elem, [ animation, percent, remaining ] );\n\n\t\t\t// If there's more to do, yield\n\t\t\tif ( percent < 1 && length ) {\n\t\t\t\treturn remaining;\n\t\t\t}\n\n\t\t\t// If this was an empty animation, synthesize a final progress notification\n\t\t\tif ( !length ) {\n\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t}\n\n\t\t\t// Resolve the animation and report its conclusion\n\t\t\tdeferred.resolveWith( elem, [ animation ] );\n\t\t\treturn false;\n\t\t},\n\t\tanimation = deferred.promise( {\n\t\t\telem: elem,\n\t\t\tprops: jQuery.extend( {}, properties ),\n\t\t\topts: jQuery.extend( true, {\n\t\t\t\tspecialEasing: {},\n\t\t\t\teasing: jQuery.easing._default\n\t\t\t}, options ),\n\t\t\toriginalProperties: properties,\n\t\t\toriginalOptions: options,\n\t\t\tstartTime: fxNow || createFxNow(),\n\t\t\tduration: options.duration,\n\t\t\ttweens: [],\n\t\t\tcreateTween: function( prop, end ) {\n\t\t\t\tvar tween = jQuery.Tween( elem, animation.opts, prop, end,\n\t\t\t\t\tanimation.opts.specialEasing[ prop ] || animation.opts.easing );\n\t\t\t\tanimation.tweens.push( tween );\n\t\t\t\treturn tween;\n\t\t\t},\n\t\t\tstop: function( gotoEnd ) {\n\t\t\t\tvar index = 0,\n\n\t\t\t\t\t// If we are going to the end, we want to run all the tweens\n\t\t\t\t\t// otherwise we skip this part\n\t\t\t\t\tlength = gotoEnd ? animation.tweens.length : 0;\n\t\t\t\tif ( stopped ) {\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tstopped = true;\n\t\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\t\tanimation.tweens[ index ].run( 1 );\n\t\t\t\t}\n\n\t\t\t\t// Resolve when we played the last frame; otherwise, reject\n\t\t\t\tif ( gotoEnd ) {\n\t\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t\t\tdeferred.resolveWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t} else {\n\t\t\t\t\tdeferred.rejectWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t}\n\t\t} ),\n\t\tprops = animation.props;\n\n\tpropFilter( props, animation.opts.specialEasing );\n\n\tfor ( ; index < length; index++ ) {\n\t\tresult = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );\n\t\tif ( result ) {\n\t\t\tif ( isFunction( result.stop ) ) {\n\t\t\t\tjQuery._queueHooks( animation.elem, animation.opts.queue ).stop =\n\t\t\t\t\tresult.stop.bind( result );\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t}\n\n\tjQuery.map( props, createTween, animation );\n\n\tif ( isFunction( animation.opts.start ) ) {\n\t\tanimation.opts.start.call( elem, animation );\n\t}\n\n\t// Attach callbacks from options\n\tanimation\n\t\t.progress( animation.opts.progress )\n\t\t.done( animation.opts.done, animation.opts.complete )\n\t\t.fail( animation.opts.fail )\n\t\t.always( animation.opts.always );\n\n\tjQuery.fx.timer(\n\t\tjQuery.extend( tick, {\n\t\t\telem: elem,\n\t\t\tanim: animation,\n\t\t\tqueue: animation.opts.queue\n\t\t} )\n\t);\n\n\treturn animation;\n}\n\njQuery.Animation = jQuery.extend( Animation, {\n\n\ttweeners: {\n\t\t\"*\": [ function( prop, value ) {\n\t\t\tvar tween = this.createTween( prop, value );\n\t\t\tadjustCSS( tween.elem, prop, rcssNum.exec( value ), tween );\n\t\t\treturn tween;\n\t\t} ]\n\t},\n\n\ttweener: function( props, callback ) {\n\t\tif ( isFunction( props ) ) {\n\t\t\tcallback = props;\n\t\t\tprops = [ \"*\" ];\n\t\t} else {\n\t\t\tprops = props.match( rnothtmlwhite );\n\t\t}\n\n\t\tvar prop,\n\t\t\tindex = 0,\n\t\t\tlength = props.length;\n\n\t\tfor ( ; index < length; index++ ) {\n\t\t\tprop = props[ index ];\n\t\t\tAnimation.tweeners[ prop ] = Animation.tweeners[ prop ] || [];\n\t\t\tAnimation.tweeners[ prop ].unshift( callback );\n\t\t}\n\t},\n\n\tprefilters: [ defaultPrefilter ],\n\n\tprefilter: function( callback, prepend ) {\n\t\tif ( prepend ) {\n\t\t\tAnimation.prefilters.unshift( callback );\n\t\t} else {\n\t\t\tAnimation.prefilters.push( callback );\n\t\t}\n\t}\n} );\n\njQuery.speed = function( speed, easing, fn ) {\n\tvar opt = speed && typeof speed === \"object\" ? jQuery.extend( {}, speed ) : {\n\t\tcomplete: fn || !fn && easing ||\n\t\t\tisFunction( speed ) && speed,\n\t\tduration: speed,\n\t\teasing: fn && easing || easing && !isFunction( easing ) && easing\n\t};\n\n\t// Go to the end state if fx are off\n\tif ( jQuery.fx.off ) {\n\t\topt.duration = 0;\n\n\t} else {\n\t\tif ( typeof opt.duration !== \"number\" ) {\n\t\t\tif ( opt.duration in jQuery.fx.speeds ) {\n\t\t\t\topt.duration = jQuery.fx.speeds[ opt.duration ];\n\n\t\t\t} else {\n\t\t\t\topt.duration = jQuery.fx.speeds._default;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Normalize opt.queue - true/undefined/null -> \"fx\"\n\tif ( opt.queue == null || opt.queue === true ) {\n\t\topt.queue = \"fx\";\n\t}\n\n\t// Queueing\n\topt.old = opt.complete;\n\n\topt.complete = function() {\n\t\tif ( isFunction( opt.old ) ) {\n\t\t\topt.old.call( this );\n\t\t}\n\n\t\tif ( opt.queue ) {\n\t\t\tjQuery.dequeue( this, opt.queue );\n\t\t}\n\t};\n\n\treturn opt;\n};\n\njQuery.fn.extend( {\n\tfadeTo: function( speed, to, easing, callback ) {\n\n\t\t// Show any hidden elements after setting opacity to 0\n\t\treturn this.filter( isHiddenWithinTree ).css( \"opacity\", 0 ).show()\n\n\t\t\t// Animate to the value specified\n\t\t\t.end().animate( { opacity: to }, speed, easing, callback );\n\t},\n\tanimate: function( prop, speed, easing, callback ) {\n\t\tvar empty = jQuery.isEmptyObject( prop ),\n\t\t\toptall = jQuery.speed( speed, easing, callback ),\n\t\t\tdoAnimation = function() {\n\n\t\t\t\t// Operate on a copy of prop so per-property easing won't be lost\n\t\t\t\tvar anim = Animation( this, jQuery.extend( {}, prop ), optall );\n\n\t\t\t\t// Empty animations, or finishing resolves immediately\n\t\t\t\tif ( empty || dataPriv.get( this, \"finish\" ) ) {\n\t\t\t\t\tanim.stop( true );\n\t\t\t\t}\n\t\t\t};\n\n\t\tdoAnimation.finish = doAnimation;\n\n\t\treturn empty || optall.queue === false ?\n\t\t\tthis.each( doAnimation ) :\n\t\t\tthis.queue( optall.queue, doAnimation );\n\t},\n\tstop: function( type, clearQueue, gotoEnd ) {\n\t\tvar stopQueue = function( hooks ) {\n\t\t\tvar stop = hooks.stop;\n\t\t\tdelete hooks.stop;\n\t\t\tstop( gotoEnd );\n\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tgotoEnd = clearQueue;\n\t\t\tclearQueue = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\tif ( clearQueue ) {\n\t\t\tthis.queue( type || \"fx\", [] );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar dequeue = true,\n\t\t\t\tindex = type != null && type + \"queueHooks\",\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tdata = dataPriv.get( this );\n\n\t\t\tif ( index ) {\n\t\t\t\tif ( data[ index ] && data[ index ].stop ) {\n\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( index in data ) {\n\t\t\t\t\tif ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {\n\t\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this &&\n\t\t\t\t\t( type == null || timers[ index ].queue === type ) ) {\n\n\t\t\t\t\ttimers[ index ].anim.stop( gotoEnd );\n\t\t\t\t\tdequeue = false;\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Start the next in the queue if the last step wasn't forced.\n\t\t\t// Timers currently will call their complete callbacks, which\n\t\t\t// will dequeue but only if they were gotoEnd.\n\t\t\tif ( dequeue || !gotoEnd ) {\n\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t}\n\t\t} );\n\t},\n\tfinish: function( type ) {\n\t\tif ( type !== false ) {\n\t\t\ttype = type || \"fx\";\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tvar index,\n\t\t\t\tdata = dataPriv.get( this ),\n\t\t\t\tqueue = data[ type + \"queue\" ],\n\t\t\t\thooks = data[ type + \"queueHooks\" ],\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tlength = queue ? queue.length : 0;\n\n\t\t\t// Enable finishing flag on private data\n\t\t\tdata.finish = true;\n\n\t\t\t// Empty the queue first\n\t\t\tjQuery.queue( this, type, [] );\n\n\t\t\tif ( hooks && hooks.stop ) {\n\t\t\t\thooks.stop.call( this, true );\n\t\t\t}\n\n\t\t\t// Look for any active animations, and finish them\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && timers[ index ].queue === type ) {\n\t\t\t\t\ttimers[ index ].anim.stop( true );\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Look for any animations in the old queue and finish them\n\t\t\tfor ( index = 0; index < length; index++ ) {\n\t\t\t\tif ( queue[ index ] && queue[ index ].finish ) {\n\t\t\t\t\tqueue[ index ].finish.call( this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Turn off finishing flag\n\t\t\tdelete data.finish;\n\t\t} );\n\t}\n} );\n\njQuery.each( [ \"toggle\", \"show\", \"hide\" ], function( _i, name ) {\n\tvar cssFn = jQuery.fn[ name ];\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn speed == null || typeof speed === \"boolean\" ?\n\t\t\tcssFn.apply( this, arguments ) :\n\t\t\tthis.animate( genFx( name, true ), speed, easing, callback );\n\t};\n} );\n\n// Generate shortcuts for custom animations\njQuery.each( {\n\tslideDown: genFx( \"show\" ),\n\tslideUp: genFx( \"hide\" ),\n\tslideToggle: genFx( \"toggle\" ),\n\tfadeIn: { opacity: \"show\" },\n\tfadeOut: { opacity: \"hide\" },\n\tfadeToggle: { opacity: \"toggle\" }\n}, function( name, props ) {\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn this.animate( props, speed, easing, callback );\n\t};\n} );\n\njQuery.timers = [];\njQuery.fx.tick = function() {\n\tvar timer,\n\t\ti = 0,\n\t\ttimers = jQuery.timers;\n\n\tfxNow = Date.now();\n\n\tfor ( ; i < timers.length; i++ ) {\n\t\ttimer = timers[ i ];\n\n\t\t// Run the timer and safely remove it when done (allowing for external removal)\n\t\tif ( !timer() && timers[ i ] === timer ) {\n\t\t\ttimers.splice( i--, 1 );\n\t\t}\n\t}\n\n\tif ( !timers.length ) {\n\t\tjQuery.fx.stop();\n\t}\n\tfxNow = undefined;\n};\n\njQuery.fx.timer = function( timer ) {\n\tjQuery.timers.push( timer );\n\tjQuery.fx.start();\n};\n\njQuery.fx.interval = 13;\njQuery.fx.start = function() {\n\tif ( inProgress ) {\n\t\treturn;\n\t}\n\n\tinProgress = true;\n\tschedule();\n};\n\njQuery.fx.stop = function() {\n\tinProgress = null;\n};\n\njQuery.fx.speeds = {\n\tslow: 600,\n\tfast: 200,\n\n\t// Default speed\n\t_default: 400\n};\n\n\n// Based off of the plugin by Clint Helfers, with permission.\n// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/\njQuery.fn.delay = function( time, type ) {\n\ttime = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;\n\ttype = type || \"fx\";\n\n\treturn this.queue( type, function( next, hooks ) {\n\t\tvar timeout = window.setTimeout( next, time );\n\t\thooks.stop = function() {\n\t\t\twindow.clearTimeout( timeout );\n\t\t};\n\t} );\n};\n\n\n( function() {\n\tvar input = document.createElement( \"input\" ),\n\t\tselect = document.createElement( \"select\" ),\n\t\topt = select.appendChild( document.createElement( \"option\" ) );\n\n\tinput.type = \"checkbox\";\n\n\t// Support: Android <=4.3 only\n\t// Default value for a checkbox should be \"on\"\n\tsupport.checkOn = input.value !== \"\";\n\n\t// Support: IE <=11 only\n\t// Must access selectedIndex to make default options select\n\tsupport.optSelected = opt.selected;\n\n\t// Support: IE <=11 only\n\t// An input loses its value after becoming a radio\n\tinput = document.createElement( \"input\" );\n\tinput.value = \"t\";\n\tinput.type = \"radio\";\n\tsupport.radioValue = input.value === \"t\";\n} )();\n\n\nvar boolHook,\n\tattrHandle = jQuery.expr.attrHandle;\n\njQuery.fn.extend( {\n\tattr: function( name, value ) {\n\t\treturn access( this, jQuery.attr, name, value, arguments.length > 1 );\n\t},\n\n\tremoveAttr: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.removeAttr( this, name );\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tattr: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set attributes on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Fallback to prop when attributes are not supported\n\t\tif ( typeof elem.getAttribute === \"undefined\" ) {\n\t\t\treturn jQuery.prop( elem, name, value );\n\t\t}\n\n\t\t// Attribute hooks are determined by the lowercase version\n\t\t// Grab necessary hook if one is defined\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\t\t\thooks = jQuery.attrHooks[ name.toLowerCase() ] ||\n\t\t\t\t( jQuery.expr.match.bool.test( name ) ? boolHook : undefined );\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( value === null ) {\n\t\t\t\tjQuery.removeAttr( elem, name );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\telem.setAttribute( name, value + \"\" );\n\t\t\treturn value;\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\tret = jQuery.find.attr( elem, name );\n\n\t\t// Non-existent attributes return null, we normalize to undefined\n\t\treturn ret == null ? undefined : ret;\n\t},\n\n\tattrHooks: {\n\t\ttype: {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tif ( !support.radioValue && value === \"radio\" &&\n\t\t\t\t\tnodeName( elem, \"input\" ) ) {\n\t\t\t\t\tvar val = elem.value;\n\t\t\t\t\telem.setAttribute( \"type\", value );\n\t\t\t\t\tif ( val ) {\n\t\t\t\t\t\telem.value = val;\n\t\t\t\t\t}\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tremoveAttr: function( elem, value ) {\n\t\tvar name,\n\t\t\ti = 0,\n\n\t\t\t// Attribute names can contain non-HTML whitespace characters\n\t\t\t// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n\t\t\tattrNames = value && value.match( rnothtmlwhite );\n\n\t\tif ( attrNames && elem.nodeType === 1 ) {\n\t\t\twhile ( ( name = attrNames[ i++ ] ) ) {\n\t\t\t\telem.removeAttribute( name );\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Hooks for boolean attributes\nboolHook = {\n\tset: function( elem, value, name ) {\n\t\tif ( value === false ) {\n\n\t\t\t// Remove boolean attributes when set to false\n\t\t\tjQuery.removeAttr( elem, name );\n\t\t} else {\n\t\t\telem.setAttribute( name, name );\n\t\t}\n\t\treturn name;\n\t}\n};\n\njQuery.each( jQuery.expr.match.bool.source.match( /\\w+/g ), function( _i, name ) {\n\tvar getter = attrHandle[ name ] || jQuery.find.attr;\n\n\tattrHandle[ name ] = function( elem, name, isXML ) {\n\t\tvar ret, handle,\n\t\t\tlowercaseName = name.toLowerCase();\n\n\t\tif ( !isXML ) {\n\n\t\t\t// Avoid an infinite loop by temporarily removing this function from the getter\n\t\t\thandle = attrHandle[ lowercaseName ];\n\t\t\tattrHandle[ lowercaseName ] = ret;\n\t\t\tret = getter( elem, name, isXML ) != null ?\n\t\t\t\tlowercaseName :\n\t\t\t\tnull;\n\t\t\tattrHandle[ lowercaseName ] = handle;\n\t\t}\n\t\treturn ret;\n\t};\n} );\n\n\n\n\nvar rfocusable = /^(?:input|select|textarea|button)$/i,\n\trclickable = /^(?:a|area)$/i;\n\njQuery.fn.extend( {\n\tprop: function( name, value ) {\n\t\treturn access( this, jQuery.prop, name, value, arguments.length > 1 );\n\t},\n\n\tremoveProp: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tdelete this[ jQuery.propFix[ name ] || name ];\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tprop: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set properties on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// Fix name and attach hooks\n\t\t\tname = jQuery.propFix[ name ] || name;\n\t\t\thooks = jQuery.propHooks[ name ];\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\treturn ( elem[ name ] = value );\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\treturn elem[ name ];\n\t},\n\n\tpropHooks: {\n\t\ttabIndex: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\t// Support: IE <=9 - 11 only\n\t\t\t\t// elem.tabIndex doesn't always return the\n\t\t\t\t// correct value when it hasn't been explicitly set\n\t\t\t\t// https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/\n\t\t\t\t// Use proper attribute retrieval(#12072)\n\t\t\t\tvar tabindex = jQuery.find.attr( elem, \"tabindex\" );\n\n\t\t\t\tif ( tabindex ) {\n\t\t\t\t\treturn parseInt( tabindex, 10 );\n\t\t\t\t}\n\n\t\t\t\tif (\n\t\t\t\t\trfocusable.test( elem.nodeName ) ||\n\t\t\t\t\trclickable.test( elem.nodeName ) &&\n\t\t\t\t\telem.href\n\t\t\t\t) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t},\n\n\tpropFix: {\n\t\t\"for\": \"htmlFor\",\n\t\t\"class\": \"className\"\n\t}\n} );\n\n// Support: IE <=11 only\n// Accessing the selectedIndex property\n// forces the browser to respect setting selected\n// on the option\n// The getter ensures a default option is selected\n// when in an optgroup\n// eslint rule \"no-unused-expressions\" is disabled for this code\n// since it considers such accessions noop\nif ( !support.optSelected ) {\n\tjQuery.propHooks.selected = {\n\t\tget: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent && parent.parentNode ) {\n\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tset: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent ) {\n\t\t\t\tparent.selectedIndex;\n\n\t\t\t\tif ( parent.parentNode ) {\n\t\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\njQuery.each( [\n\t\"tabIndex\",\n\t\"readOnly\",\n\t\"maxLength\",\n\t\"cellSpacing\",\n\t\"cellPadding\",\n\t\"rowSpan\",\n\t\"colSpan\",\n\t\"useMap\",\n\t\"frameBorder\",\n\t\"contentEditable\"\n], function() {\n\tjQuery.propFix[ this.toLowerCase() ] = this;\n} );\n\n\n\n\n\t// Strip and collapse whitespace according to HTML spec\n\t// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace\n\tfunction stripAndCollapse( value ) {\n\t\tvar tokens = value.match( rnothtmlwhite ) || [];\n\t\treturn tokens.join( \" \" );\n\t}\n\n\nfunction getClass( elem ) {\n\treturn elem.getAttribute && elem.getAttribute( \"class\" ) || \"\";\n}\n\nfunction classesToArray( value ) {\n\tif ( Array.isArray( value ) ) {\n\t\treturn value;\n\t}\n\tif ( typeof value === \"string\" ) {\n\t\treturn value.match( rnothtmlwhite ) || [];\n\t}\n\treturn [];\n}\n\njQuery.fn.extend( {\n\taddClass: function( value ) {\n\t\tvar classes, elem, cur, curValue, clazz, j, finalValue,\n\t\t\ti = 0;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).addClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tclasses = classesToArray( value );\n\n\t\tif ( classes.length ) {\n\t\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\t\tcurValue = getClass( elem );\n\t\t\t\tcur = elem.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( ( clazz = classes[ j++ ] ) ) {\n\t\t\t\t\t\tif ( cur.indexOf( \" \" + clazz + \" \" ) < 0 ) {\n\t\t\t\t\t\t\tcur += clazz + \" \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\telem.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tremoveClass: function( value ) {\n\t\tvar classes, elem, cur, curValue, clazz, j, finalValue,\n\t\t\ti = 0;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).removeClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tif ( !arguments.length ) {\n\t\t\treturn this.attr( \"class\", \"\" );\n\t\t}\n\n\t\tclasses = classesToArray( value );\n\n\t\tif ( classes.length ) {\n\t\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\t\tcurValue = getClass( elem );\n\n\t\t\t\t// This expression is here for better compressibility (see addClass)\n\t\t\t\tcur = elem.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( ( clazz = classes[ j++ ] ) ) {\n\n\t\t\t\t\t\t// Remove *all* instances\n\t\t\t\t\t\twhile ( cur.indexOf( \" \" + clazz + \" \" ) > -1 ) {\n\t\t\t\t\t\t\tcur = cur.replace( \" \" + clazz + \" \", \" \" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\telem.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\ttoggleClass: function( value, stateVal ) {\n\t\tvar type = typeof value,\n\t\t\tisValidValue = type === \"string\" || Array.isArray( value );\n\n\t\tif ( typeof stateVal === \"boolean\" && isValidValue ) {\n\t\t\treturn stateVal ? this.addClass( value ) : this.removeClass( value );\n\t\t}\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).toggleClass(\n\t\t\t\t\tvalue.call( this, i, getClass( this ), stateVal ),\n\t\t\t\t\tstateVal\n\t\t\t\t);\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar className, i, self, classNames;\n\n\t\t\tif ( isValidValue ) {\n\n\t\t\t\t// Toggle individual class names\n\t\t\t\ti = 0;\n\t\t\t\tself = jQuery( this );\n\t\t\t\tclassNames = classesToArray( value );\n\n\t\t\t\twhile ( ( className = classNames[ i++ ] ) ) {\n\n\t\t\t\t\t// Check each className given, space separated list\n\t\t\t\t\tif ( self.hasClass( className ) ) {\n\t\t\t\t\t\tself.removeClass( className );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.addClass( className );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Toggle whole class name\n\t\t\t} else if ( value === undefined || type === \"boolean\" ) {\n\t\t\t\tclassName = getClass( this );\n\t\t\t\tif ( className ) {\n\n\t\t\t\t\t// Store className if set\n\t\t\t\t\tdataPriv.set( this, \"__className__\", className );\n\t\t\t\t}\n\n\t\t\t\t// If the element has a class name or if we're passed `false`,\n\t\t\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t\t\t// falling back to the empty string if nothing was stored.\n\t\t\t\tif ( this.setAttribute ) {\n\t\t\t\t\tthis.setAttribute( \"class\",\n\t\t\t\t\t\tclassName || value === false ?\n\t\t\t\t\t\t\t\"\" :\n\t\t\t\t\t\t\tdataPriv.get( this, \"__className__\" ) || \"\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\thasClass: function( selector ) {\n\t\tvar className, elem,\n\t\t\ti = 0;\n\n\t\tclassName = \" \" + selector + \" \";\n\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\tif ( elem.nodeType === 1 &&\n\t\t\t\t( \" \" + stripAndCollapse( getClass( elem ) ) + \" \" ).indexOf( className ) > -1 ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n} );\n\n\n\n\nvar rreturn = /\\r/g;\n\njQuery.fn.extend( {\n\tval: function( value ) {\n\t\tvar hooks, ret, valueIsFunction,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !arguments.length ) {\n\t\t\tif ( elem ) {\n\t\t\t\thooks = jQuery.valHooks[ elem.type ] ||\n\t\t\t\t\tjQuery.valHooks[ elem.nodeName.toLowerCase() ];\n\n\t\t\t\tif ( hooks &&\n\t\t\t\t\t\"get\" in hooks &&\n\t\t\t\t\t( ret = hooks.get( elem, \"value\" ) ) !== undefined\n\t\t\t\t) {\n\t\t\t\t\treturn ret;\n\t\t\t\t}\n\n\t\t\t\tret = elem.value;\n\n\t\t\t\t// Handle most common string cases\n\t\t\t\tif ( typeof ret === \"string\" ) {\n\t\t\t\t\treturn ret.replace( rreturn, \"\" );\n\t\t\t\t}\n\n\t\t\t\t// Handle cases where value is null/undef or number\n\t\t\t\treturn ret == null ? \"\" : ret;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tvalueIsFunction = isFunction( value );\n\n\t\treturn this.each( function( i ) {\n\t\t\tvar val;\n\n\t\t\tif ( this.nodeType !== 1 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\tval = value.call( this, i, jQuery( this ).val() );\n\t\t\t} else {\n\t\t\t\tval = value;\n\t\t\t}\n\n\t\t\t// Treat null/undefined as \"\"; convert numbers to string\n\t\t\tif ( val == null ) {\n\t\t\t\tval = \"\";\n\n\t\t\t} else if ( typeof val === \"number\" ) {\n\t\t\t\tval += \"\";\n\n\t\t\t} else if ( Array.isArray( val ) ) {\n\t\t\t\tval = jQuery.map( val, function( value ) {\n\t\t\t\t\treturn value == null ? \"\" : value + \"\";\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\thooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];\n\n\t\t\t// If set returns undefined, fall back to normal setting\n\t\t\tif ( !hooks || !( \"set\" in hooks ) || hooks.set( this, val, \"value\" ) === undefined ) {\n\t\t\t\tthis.value = val;\n\t\t\t}\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tvalHooks: {\n\t\toption: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\tvar val = jQuery.find.attr( elem, \"value\" );\n\t\t\t\treturn val != null ?\n\t\t\t\t\tval :\n\n\t\t\t\t\t// Support: IE <=10 - 11 only\n\t\t\t\t\t// option.text throws exceptions (#14686, #14858)\n\t\t\t\t\t// Strip and collapse whitespace\n\t\t\t\t\t// https://html.spec.whatwg.org/#strip-and-collapse-whitespace\n\t\t\t\t\tstripAndCollapse( jQuery.text( elem ) );\n\t\t\t}\n\t\t},\n\t\tselect: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar value, option, i,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tindex = elem.selectedIndex,\n\t\t\t\t\tone = elem.type === \"select-one\",\n\t\t\t\t\tvalues = one ? null : [],\n\t\t\t\t\tmax = one ? index + 1 : options.length;\n\n\t\t\t\tif ( index < 0 ) {\n\t\t\t\t\ti = max;\n\n\t\t\t\t} else {\n\t\t\t\t\ti = one ? index : 0;\n\t\t\t\t}\n\n\t\t\t\t// Loop through all the selected options\n\t\t\t\tfor ( ; i < max; i++ ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t// IE8-9 doesn't update selected after form reset (#2551)\n\t\t\t\t\tif ( ( option.selected || i === index ) &&\n\n\t\t\t\t\t\t\t// Don't return options that are disabled or in a disabled optgroup\n\t\t\t\t\t\t\t!option.disabled &&\n\t\t\t\t\t\t\t( !option.parentNode.disabled ||\n\t\t\t\t\t\t\t\t!nodeName( option.parentNode, \"optgroup\" ) ) ) {\n\n\t\t\t\t\t\t// Get the specific value for the option\n\t\t\t\t\t\tvalue = jQuery( option ).val();\n\n\t\t\t\t\t\t// We don't need an array for one selects\n\t\t\t\t\t\tif ( one ) {\n\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Multi-Selects return an array\n\t\t\t\t\t\tvalues.push( value );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t},\n\n\t\t\tset: function( elem, value ) {\n\t\t\t\tvar optionSet, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tvalues = jQuery.makeArray( value ),\n\t\t\t\t\ti = options.length;\n\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t/* eslint-disable no-cond-assign */\n\n\t\t\t\t\tif ( option.selected =\n\t\t\t\t\t\tjQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1\n\t\t\t\t\t) {\n\t\t\t\t\t\toptionSet = true;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* eslint-enable no-cond-assign */\n\t\t\t\t}\n\n\t\t\t\t// Force browsers to behave consistently when non-matching value is set\n\t\t\t\tif ( !optionSet ) {\n\t\t\t\t\telem.selectedIndex = -1;\n\t\t\t\t}\n\t\t\t\treturn values;\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Radios and checkboxes getter/setter\njQuery.each( [ \"radio\", \"checkbox\" ], function() {\n\tjQuery.valHooks[ this ] = {\n\t\tset: function( elem, value ) {\n\t\t\tif ( Array.isArray( value ) ) {\n\t\t\t\treturn ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 );\n\t\t\t}\n\t\t}\n\t};\n\tif ( !support.checkOn ) {\n\t\tjQuery.valHooks[ this ].get = function( elem ) {\n\t\t\treturn elem.getAttribute( \"value\" ) === null ? \"on\" : elem.value;\n\t\t};\n\t}\n} );\n\n\n\n\n// Return jQuery for attributes-only inclusion\n\n\nsupport.focusin = \"onfocusin\" in window;\n\n\nvar rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,\n\tstopPropagationCallback = function( e ) {\n\t\te.stopPropagation();\n\t};\n\njQuery.extend( jQuery.event, {\n\n\ttrigger: function( event, data, elem, onlyHandlers ) {\n\n\t\tvar i, cur, tmp, bubbleType, ontype, handle, special, lastElement,\n\t\t\teventPath = [ elem || document ],\n\t\t\ttype = hasOwn.call( event, \"type\" ) ? event.type : event,\n\t\t\tnamespaces = hasOwn.call( event, \"namespace\" ) ? event.namespace.split( \".\" ) : [];\n\n\t\tcur = lastElement = tmp = elem = elem || document;\n\n\t\t// Don't do events on text and comment nodes\n\t\tif ( elem.nodeType === 3 || elem.nodeType === 8 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// focus/blur morphs to focusin/out; ensure we're not firing them right now\n\t\tif ( rfocusMorph.test( type + jQuery.event.triggered ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( type.indexOf( \".\" ) > -1 ) {\n\n\t\t\t// Namespaced trigger; create a regexp to match event type in handle()\n\t\t\tnamespaces = type.split( \".\" );\n\t\t\ttype = namespaces.shift();\n\t\t\tnamespaces.sort();\n\t\t}\n\t\tontype = type.indexOf( \":\" ) < 0 && \"on\" + type;\n\n\t\t// Caller can pass in a jQuery.Event object, Object, or just an event type string\n\t\tevent = event[ jQuery.expando ] ?\n\t\t\tevent :\n\t\t\tnew jQuery.Event( type, typeof event === \"object\" && event );\n\n\t\t// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)\n\t\tevent.isTrigger = onlyHandlers ? 2 : 3;\n\t\tevent.namespace = namespaces.join( \".\" );\n\t\tevent.rnamespace = event.namespace ?\n\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" ) :\n\t\t\tnull;\n\n\t\t// Clean up the event in case it is being reused\n\t\tevent.result = undefined;\n\t\tif ( !event.target ) {\n\t\t\tevent.target = elem;\n\t\t}\n\n\t\t// Clone any incoming data and prepend the event, creating the handler arg list\n\t\tdata = data == null ?\n\t\t\t[ event ] :\n\t\t\tjQuery.makeArray( data, [ event ] );\n\n\t\t// Allow special events to draw outside the lines\n\t\tspecial = jQuery.event.special[ type ] || {};\n\t\tif ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine event propagation path in advance, per W3C events spec (#9951)\n\t\t// Bubble up to document, then to window; watch for a global ownerDocument var (#9724)\n\t\tif ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) {\n\n\t\t\tbubbleType = special.delegateType || type;\n\t\t\tif ( !rfocusMorph.test( bubbleType + type ) ) {\n\t\t\t\tcur = cur.parentNode;\n\t\t\t}\n\t\t\tfor ( ; cur; cur = cur.parentNode ) {\n\t\t\t\teventPath.push( cur );\n\t\t\t\ttmp = cur;\n\t\t\t}\n\n\t\t\t// Only add window if we got to document (e.g., not plain obj or detached DOM)\n\t\t\tif ( tmp === ( elem.ownerDocument || document ) ) {\n\t\t\t\teventPath.push( tmp.defaultView || tmp.parentWindow || window );\n\t\t\t}\n\t\t}\n\n\t\t// Fire handlers on the event path\n\t\ti = 0;\n\t\twhile ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tlastElement = cur;\n\t\t\tevent.type = i > 1 ?\n\t\t\t\tbubbleType :\n\t\t\t\tspecial.bindType || type;\n\n\t\t\t// jQuery handler\n\t\t\thandle = ( dataPriv.get( cur, \"events\" ) || Object.create( null ) )[ event.type ] &&\n\t\t\t\tdataPriv.get( cur, \"handle\" );\n\t\t\tif ( handle ) {\n\t\t\t\thandle.apply( cur, data );\n\t\t\t}\n\n\t\t\t// Native handler\n\t\t\thandle = ontype && cur[ ontype ];\n\t\t\tif ( handle && handle.apply && acceptData( cur ) ) {\n\t\t\t\tevent.result = handle.apply( cur, data );\n\t\t\t\tif ( event.result === false ) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevent.type = type;\n\n\t\t// If nobody prevented the default action, do it now\n\t\tif ( !onlyHandlers && !event.isDefaultPrevented() ) {\n\n\t\t\tif ( ( !special._default ||\n\t\t\t\tspecial._default.apply( eventPath.pop(), data ) === false ) &&\n\t\t\t\tacceptData( elem ) ) {\n\n\t\t\t\t// Call a native DOM method on the target with the same name as the event.\n\t\t\t\t// Don't do default actions on window, that's where global variables be (#6170)\n\t\t\t\tif ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) {\n\n\t\t\t\t\t// Don't re-trigger an onFOO event when we call its FOO() method\n\t\t\t\t\ttmp = elem[ ontype ];\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = null;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prevent re-triggering of the same event, since we already bubbled it above\n\t\t\t\t\tjQuery.event.triggered = type;\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.addEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\telem[ type ]();\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.removeEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery.event.triggered = undefined;\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = tmp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\t// Piggyback on a donor event to simulate a different one\n\t// Used only for `focus(in | out)` events\n\tsimulate: function( type, elem, event ) {\n\t\tvar e = jQuery.extend(\n\t\t\tnew jQuery.Event(),\n\t\t\tevent,\n\t\t\t{\n\t\t\t\ttype: type,\n\t\t\t\tisSimulated: true\n\t\t\t}\n\t\t);\n\n\t\tjQuery.event.trigger( e, null, elem );\n\t}\n\n} );\n\njQuery.fn.extend( {\n\n\ttrigger: function( type, data ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.trigger( type, data, this );\n\t\t} );\n\t},\n\ttriggerHandler: function( type, data ) {\n\t\tvar elem = this[ 0 ];\n\t\tif ( elem ) {\n\t\t\treturn jQuery.event.trigger( type, data, elem, true );\n\t\t}\n\t}\n} );\n\n\n// Support: Firefox <=44\n// Firefox doesn't have focus(in | out) events\n// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787\n//\n// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1\n// focus(in | out) events fire after focus & blur events,\n// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order\n// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857\nif ( !support.focusin ) {\n\tjQuery.each( { focus: \"focusin\", blur: \"focusout\" }, function( orig, fix ) {\n\n\t\t// Attach a single capturing handler on the document while someone wants focusin/focusout\n\t\tvar handler = function( event ) {\n\t\t\tjQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) );\n\t\t};\n\n\t\tjQuery.event.special[ fix ] = {\n\t\t\tsetup: function() {\n\n\t\t\t\t// Handle: regular nodes (via `this.ownerDocument`), window\n\t\t\t\t// (via `this.document`) & document (via `this`).\n\t\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\t\tattaches = dataPriv.access( doc, fix );\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.addEventListener( orig, handler, true );\n\t\t\t\t}\n\t\t\t\tdataPriv.access( doc, fix, ( attaches || 0 ) + 1 );\n\t\t\t},\n\t\t\tteardown: function() {\n\t\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\t\tattaches = dataPriv.access( doc, fix ) - 1;\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.removeEventListener( orig, handler, true );\n\t\t\t\t\tdataPriv.remove( doc, fix );\n\n\t\t\t\t} else {\n\t\t\t\t\tdataPriv.access( doc, fix, attaches );\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t} );\n}\nvar location = window.location;\n\nvar nonce = { guid: Date.now() };\n\nvar rquery = ( /\\?/ );\n\n\n\n// Cross-browser xml parsing\njQuery.parseXML = function( data ) {\n\tvar xml, parserErrorElem;\n\tif ( !data || typeof data !== \"string\" ) {\n\t\treturn null;\n\t}\n\n\t// Support: IE 9 - 11 only\n\t// IE throws on parseFromString with invalid input.\n\ttry {\n\t\txml = ( new window.DOMParser() ).parseFromString( data, \"text/xml\" );\n\t} catch ( e ) {}\n\n\tparserErrorElem = xml && xml.getElementsByTagName( \"parsererror\" )[ 0 ];\n\tif ( !xml || parserErrorElem ) {\n\t\tjQuery.error( \"Invalid XML: \" + (\n\t\t\tparserErrorElem ?\n\t\t\t\tjQuery.map( parserErrorElem.childNodes, function( el ) {\n\t\t\t\t\treturn el.textContent;\n\t\t\t\t} ).join( \"\\n\" ) :\n\t\t\t\tdata\n\t\t) );\n\t}\n\treturn xml;\n};\n\n\nvar\n\trbracket = /\\[\\]$/,\n\trCRLF = /\\r?\\n/g,\n\trsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,\n\trsubmittable = /^(?:input|select|textarea|keygen)/i;\n\nfunction buildParams( prefix, obj, traditional, add ) {\n\tvar name;\n\n\tif ( Array.isArray( obj ) ) {\n\n\t\t// Serialize array item.\n\t\tjQuery.each( obj, function( i, v ) {\n\t\t\tif ( traditional || rbracket.test( prefix ) ) {\n\n\t\t\t\t// Treat each array item as a scalar.\n\t\t\t\tadd( prefix, v );\n\n\t\t\t} else {\n\n\t\t\t\t// Item is non-scalar (array or object), encode its numeric index.\n\t\t\t\tbuildParams(\n\t\t\t\t\tprefix + \"[\" + ( typeof v === \"object\" && v != null ? i : \"\" ) + \"]\",\n\t\t\t\t\tv,\n\t\t\t\t\ttraditional,\n\t\t\t\t\tadd\n\t\t\t\t);\n\t\t\t}\n\t\t} );\n\n\t} else if ( !traditional && toType( obj ) === \"object\" ) {\n\n\t\t// Serialize object item.\n\t\tfor ( name in obj ) {\n\t\t\tbuildParams( prefix + \"[\" + name + \"]\", obj[ name ], traditional, add );\n\t\t}\n\n\t} else {\n\n\t\t// Serialize scalar item.\n\t\tadd( prefix, obj );\n\t}\n}\n\n// Serialize an array of form elements or a set of\n// key/values into a query string\njQuery.param = function( a, traditional ) {\n\tvar prefix,\n\t\ts = [],\n\t\tadd = function( key, valueOrFunction ) {\n\n\t\t\t// If value is a function, invoke it and use its return value\n\t\t\tvar value = isFunction( valueOrFunction ) ?\n\t\t\t\tvalueOrFunction() :\n\t\t\t\tvalueOrFunction;\n\n\t\t\ts[ s.length ] = encodeURIComponent( key ) + \"=\" +\n\t\t\t\tencodeURIComponent( value == null ? \"\" : value );\n\t\t};\n\n\tif ( a == null ) {\n\t\treturn \"\";\n\t}\n\n\t// If an array was passed in, assume that it is an array of form elements.\n\tif ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {\n\n\t\t// Serialize the form elements\n\t\tjQuery.each( a, function() {\n\t\t\tadd( this.name, this.value );\n\t\t} );\n\n\t} else {\n\n\t\t// If traditional, encode the \"old\" way (the way 1.3.2 or older\n\t\t// did it), otherwise encode params recursively.\n\t\tfor ( prefix in a ) {\n\t\t\tbuildParams( prefix, a[ prefix ], traditional, add );\n\t\t}\n\t}\n\n\t// Return the resulting serialization\n\treturn s.join( \"&\" );\n};\n\njQuery.fn.extend( {\n\tserialize: function() {\n\t\treturn jQuery.param( this.serializeArray() );\n\t},\n\tserializeArray: function() {\n\t\treturn this.map( function() {\n\n\t\t\t// Can add propHook for \"elements\" to filter or add form elements\n\t\t\tvar elements = jQuery.prop( this, \"elements\" );\n\t\t\treturn elements ? jQuery.makeArray( elements ) : this;\n\t\t} ).filter( function() {\n\t\t\tvar type = this.type;\n\n\t\t\t// Use .is( \":disabled\" ) so that fieldset[disabled] works\n\t\t\treturn this.name && !jQuery( this ).is( \":disabled\" ) &&\n\t\t\t\trsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&\n\t\t\t\t( this.checked || !rcheckableType.test( type ) );\n\t\t} ).map( function( _i, elem ) {\n\t\t\tvar val = jQuery( this ).val();\n\n\t\t\tif ( val == null ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tif ( Array.isArray( val ) ) {\n\t\t\t\treturn jQuery.map( val, function( val ) {\n\t\t\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t} ).get();\n\t}\n} );\n\n\nvar\n\tr20 = /%20/g,\n\trhash = /#.*$/,\n\trantiCache = /([?&])_=[^&]*/,\n\trheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg,\n\n\t// #7653, #8125, #8152: local protocol detection\n\trlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n\trnoContent = /^(?:GET|HEAD)$/,\n\trprotocol = /^\\/\\//,\n\n\t/* Prefilters\n\t * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n\t * 2) These are called:\n\t *    - BEFORE asking for a transport\n\t *    - AFTER param serialization (s.data is a string if s.processData is true)\n\t * 3) key is the dataType\n\t * 4) the catchall symbol \"*\" can be used\n\t * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n\t */\n\tprefilters = {},\n\n\t/* Transports bindings\n\t * 1) key is the dataType\n\t * 2) the catchall symbol \"*\" can be used\n\t * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n\t */\n\ttransports = {},\n\n\t// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression\n\tallTypes = \"*/\".concat( \"*\" ),\n\n\t// Anchor tag for parsing the document origin\n\toriginAnchor = document.createElement( \"a\" );\n\noriginAnchor.href = location.href;\n\n// Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\nfunction addToPrefiltersOrTransports( structure ) {\n\n\t// dataTypeExpression is optional and defaults to \"*\"\n\treturn function( dataTypeExpression, func ) {\n\n\t\tif ( typeof dataTypeExpression !== \"string\" ) {\n\t\t\tfunc = dataTypeExpression;\n\t\t\tdataTypeExpression = \"*\";\n\t\t}\n\n\t\tvar dataType,\n\t\t\ti = 0,\n\t\t\tdataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];\n\n\t\tif ( isFunction( func ) ) {\n\n\t\t\t// For each dataType in the dataTypeExpression\n\t\t\twhile ( ( dataType = dataTypes[ i++ ] ) ) {\n\n\t\t\t\t// Prepend if requested\n\t\t\t\tif ( dataType[ 0 ] === \"+\" ) {\n\t\t\t\t\tdataType = dataType.slice( 1 ) || \"*\";\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );\n\n\t\t\t\t// Otherwise append\n\t\t\t\t} else {\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).push( func );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\n// Base inspection function for prefilters and transports\nfunction inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {\n\n\tvar inspected = {},\n\t\tseekingTransport = ( structure === transports );\n\n\tfunction inspect( dataType ) {\n\t\tvar selected;\n\t\tinspected[ dataType ] = true;\n\t\tjQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {\n\t\t\tvar dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );\n\t\t\tif ( typeof dataTypeOrTransport === \"string\" &&\n\t\t\t\t!seekingTransport && !inspected[ dataTypeOrTransport ] ) {\n\n\t\t\t\toptions.dataTypes.unshift( dataTypeOrTransport );\n\t\t\t\tinspect( dataTypeOrTransport );\n\t\t\t\treturn false;\n\t\t\t} else if ( seekingTransport ) {\n\t\t\t\treturn !( selected = dataTypeOrTransport );\n\t\t\t}\n\t\t} );\n\t\treturn selected;\n\t}\n\n\treturn inspect( options.dataTypes[ 0 ] ) || !inspected[ \"*\" ] && inspect( \"*\" );\n}\n\n// A special extend for ajax options\n// that takes \"flat\" options (not to be deep extended)\n// Fixes #9887\nfunction ajaxExtend( target, src ) {\n\tvar key, deep,\n\t\tflatOptions = jQuery.ajaxSettings.flatOptions || {};\n\n\tfor ( key in src ) {\n\t\tif ( src[ key ] !== undefined ) {\n\t\t\t( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];\n\t\t}\n\t}\n\tif ( deep ) {\n\t\tjQuery.extend( true, target, deep );\n\t}\n\n\treturn target;\n}\n\n/* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\nfunction ajaxHandleResponses( s, jqXHR, responses ) {\n\n\tvar ct, type, finalDataType, firstDataType,\n\t\tcontents = s.contents,\n\t\tdataTypes = s.dataTypes;\n\n\t// Remove auto dataType and get content-type in the process\n\twhile ( dataTypes[ 0 ] === \"*\" ) {\n\t\tdataTypes.shift();\n\t\tif ( ct === undefined ) {\n\t\t\tct = s.mimeType || jqXHR.getResponseHeader( \"Content-Type\" );\n\t\t}\n\t}\n\n\t// Check if we're dealing with a known content-type\n\tif ( ct ) {\n\t\tfor ( type in contents ) {\n\t\t\tif ( contents[ type ] && contents[ type ].test( ct ) ) {\n\t\t\t\tdataTypes.unshift( type );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Check to see if we have a response for the expected dataType\n\tif ( dataTypes[ 0 ] in responses ) {\n\t\tfinalDataType = dataTypes[ 0 ];\n\t} else {\n\n\t\t// Try convertible dataTypes\n\t\tfor ( type in responses ) {\n\t\t\tif ( !dataTypes[ 0 ] || s.converters[ type + \" \" + dataTypes[ 0 ] ] ) {\n\t\t\t\tfinalDataType = type;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( !firstDataType ) {\n\t\t\t\tfirstDataType = type;\n\t\t\t}\n\t\t}\n\n\t\t// Or just use first one\n\t\tfinalDataType = finalDataType || firstDataType;\n\t}\n\n\t// If we found a dataType\n\t// We add the dataType to the list if needed\n\t// and return the corresponding response\n\tif ( finalDataType ) {\n\t\tif ( finalDataType !== dataTypes[ 0 ] ) {\n\t\t\tdataTypes.unshift( finalDataType );\n\t\t}\n\t\treturn responses[ finalDataType ];\n\t}\n}\n\n/* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\nfunction ajaxConvert( s, response, jqXHR, isSuccess ) {\n\tvar conv2, current, conv, tmp, prev,\n\t\tconverters = {},\n\n\t\t// Work with a copy of dataTypes in case we need to modify it for conversion\n\t\tdataTypes = s.dataTypes.slice();\n\n\t// Create converters map with lowercased keys\n\tif ( dataTypes[ 1 ] ) {\n\t\tfor ( conv in s.converters ) {\n\t\t\tconverters[ conv.toLowerCase() ] = s.converters[ conv ];\n\t\t}\n\t}\n\n\tcurrent = dataTypes.shift();\n\n\t// Convert to each sequential dataType\n\twhile ( current ) {\n\n\t\tif ( s.responseFields[ current ] ) {\n\t\t\tjqXHR[ s.responseFields[ current ] ] = response;\n\t\t}\n\n\t\t// Apply the dataFilter if provided\n\t\tif ( !prev && isSuccess && s.dataFilter ) {\n\t\t\tresponse = s.dataFilter( response, s.dataType );\n\t\t}\n\n\t\tprev = current;\n\t\tcurrent = dataTypes.shift();\n\n\t\tif ( current ) {\n\n\t\t\t// There's only work to do if current dataType is non-auto\n\t\t\tif ( current === \"*\" ) {\n\n\t\t\t\tcurrent = prev;\n\n\t\t\t// Convert response if prev dataType is non-auto and differs from current\n\t\t\t} else if ( prev !== \"*\" && prev !== current ) {\n\n\t\t\t\t// Seek a direct converter\n\t\t\t\tconv = converters[ prev + \" \" + current ] || converters[ \"* \" + current ];\n\n\t\t\t\t// If none found, seek a pair\n\t\t\t\tif ( !conv ) {\n\t\t\t\t\tfor ( conv2 in converters ) {\n\n\t\t\t\t\t\t// If conv2 outputs current\n\t\t\t\t\t\ttmp = conv2.split( \" \" );\n\t\t\t\t\t\tif ( tmp[ 1 ] === current ) {\n\n\t\t\t\t\t\t\t// If prev can be converted to accepted input\n\t\t\t\t\t\t\tconv = converters[ prev + \" \" + tmp[ 0 ] ] ||\n\t\t\t\t\t\t\t\tconverters[ \"* \" + tmp[ 0 ] ];\n\t\t\t\t\t\t\tif ( conv ) {\n\n\t\t\t\t\t\t\t\t// Condense equivalence converters\n\t\t\t\t\t\t\t\tif ( conv === true ) {\n\t\t\t\t\t\t\t\t\tconv = converters[ conv2 ];\n\n\t\t\t\t\t\t\t\t// Otherwise, insert the intermediate dataType\n\t\t\t\t\t\t\t\t} else if ( converters[ conv2 ] !== true ) {\n\t\t\t\t\t\t\t\t\tcurrent = tmp[ 0 ];\n\t\t\t\t\t\t\t\t\tdataTypes.unshift( tmp[ 1 ] );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Apply converter (if not an equivalence)\n\t\t\t\tif ( conv !== true ) {\n\n\t\t\t\t\t// Unless errors are allowed to bubble, catch and return them\n\t\t\t\t\tif ( conv && s.throws ) {\n\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tstate: \"parsererror\",\n\t\t\t\t\t\t\t\terror: conv ? e : \"No conversion from \" + prev + \" to \" + current\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn { state: \"success\", data: response };\n}\n\njQuery.extend( {\n\n\t// Counter for holding the number of active queries\n\tactive: 0,\n\n\t// Last-Modified header cache for next request\n\tlastModified: {},\n\tetag: {},\n\n\tajaxSettings: {\n\t\turl: location.href,\n\t\ttype: \"GET\",\n\t\tisLocal: rlocalProtocol.test( location.protocol ),\n\t\tglobal: true,\n\t\tprocessData: true,\n\t\tasync: true,\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\n\t\t/*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tdataType: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\tcache: null,\n\t\tthrows: false,\n\t\ttraditional: false,\n\t\theaders: {},\n\t\t*/\n\n\t\taccepts: {\n\t\t\t\"*\": allTypes,\n\t\t\ttext: \"text/plain\",\n\t\t\thtml: \"text/html\",\n\t\t\txml: \"application/xml, text/xml\",\n\t\t\tjson: \"application/json, text/javascript\"\n\t\t},\n\n\t\tcontents: {\n\t\t\txml: /\\bxml\\b/,\n\t\t\thtml: /\\bhtml/,\n\t\t\tjson: /\\bjson\\b/\n\t\t},\n\n\t\tresponseFields: {\n\t\t\txml: \"responseXML\",\n\t\t\ttext: \"responseText\",\n\t\t\tjson: \"responseJSON\"\n\t\t},\n\n\t\t// Data converters\n\t\t// Keys separate source (or catchall \"*\") and destination types with a single space\n\t\tconverters: {\n\n\t\t\t// Convert anything to text\n\t\t\t\"* text\": String,\n\n\t\t\t// Text to html (true = no transformation)\n\t\t\t\"text html\": true,\n\n\t\t\t// Evaluate text as a json expression\n\t\t\t\"text json\": JSON.parse,\n\n\t\t\t// Parse text as xml\n\t\t\t\"text xml\": jQuery.parseXML\n\t\t},\n\n\t\t// For options that shouldn't be deep extended:\n\t\t// you can add your own custom options here if\n\t\t// and when you create one that shouldn't be\n\t\t// deep extended (see ajaxExtend)\n\t\tflatOptions: {\n\t\t\turl: true,\n\t\t\tcontext: true\n\t\t}\n\t},\n\n\t// Creates a full fledged settings object into target\n\t// with both ajaxSettings and settings fields.\n\t// If target is omitted, writes into ajaxSettings.\n\tajaxSetup: function( target, settings ) {\n\t\treturn settings ?\n\n\t\t\t// Building a settings object\n\t\t\tajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :\n\n\t\t\t// Extending ajaxSettings\n\t\t\tajaxExtend( jQuery.ajaxSettings, target );\n\t},\n\n\tajaxPrefilter: addToPrefiltersOrTransports( prefilters ),\n\tajaxTransport: addToPrefiltersOrTransports( transports ),\n\n\t// Main method\n\tajax: function( url, options ) {\n\n\t\t// If url is an object, simulate pre-1.5 signature\n\t\tif ( typeof url === \"object\" ) {\n\t\t\toptions = url;\n\t\t\turl = undefined;\n\t\t}\n\n\t\t// Force options to be an object\n\t\toptions = options || {};\n\n\t\tvar transport,\n\n\t\t\t// URL without anti-cache param\n\t\t\tcacheURL,\n\n\t\t\t// Response headers\n\t\t\tresponseHeadersString,\n\t\t\tresponseHeaders,\n\n\t\t\t// timeout handle\n\t\t\ttimeoutTimer,\n\n\t\t\t// Url cleanup var\n\t\t\turlAnchor,\n\n\t\t\t// Request state (becomes false upon send and true upon completion)\n\t\t\tcompleted,\n\n\t\t\t// To know if global events are to be dispatched\n\t\t\tfireGlobals,\n\n\t\t\t// Loop variable\n\t\t\ti,\n\n\t\t\t// uncached part of the url\n\t\t\tuncached,\n\n\t\t\t// Create the final options object\n\t\t\ts = jQuery.ajaxSetup( {}, options ),\n\n\t\t\t// Callbacks context\n\t\t\tcallbackContext = s.context || s,\n\n\t\t\t// Context for global events is callbackContext if it is a DOM node or jQuery collection\n\t\t\tglobalEventContext = s.context &&\n\t\t\t\t( callbackContext.nodeType || callbackContext.jquery ) ?\n\t\t\t\tjQuery( callbackContext ) :\n\t\t\t\tjQuery.event,\n\n\t\t\t// Deferreds\n\t\t\tdeferred = jQuery.Deferred(),\n\t\t\tcompleteDeferred = jQuery.Callbacks( \"once memory\" ),\n\n\t\t\t// Status-dependent callbacks\n\t\t\tstatusCode = s.statusCode || {},\n\n\t\t\t// Headers (they are sent all at once)\n\t\t\trequestHeaders = {},\n\t\t\trequestHeadersNames = {},\n\n\t\t\t// Default abort message\n\t\t\tstrAbort = \"canceled\",\n\n\t\t\t// Fake xhr\n\t\t\tjqXHR = {\n\t\t\t\treadyState: 0,\n\n\t\t\t\t// Builds headers hashtable if needed\n\t\t\t\tgetResponseHeader: function( key ) {\n\t\t\t\t\tvar match;\n\t\t\t\t\tif ( completed ) {\n\t\t\t\t\t\tif ( !responseHeaders ) {\n\t\t\t\t\t\t\tresponseHeaders = {};\n\t\t\t\t\t\t\twhile ( ( match = rheaders.exec( responseHeadersString ) ) ) {\n\t\t\t\t\t\t\t\tresponseHeaders[ match[ 1 ].toLowerCase() + \" \" ] =\n\t\t\t\t\t\t\t\t\t( responseHeaders[ match[ 1 ].toLowerCase() + \" \" ] || [] )\n\t\t\t\t\t\t\t\t\t\t.concat( match[ 2 ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmatch = responseHeaders[ key.toLowerCase() + \" \" ];\n\t\t\t\t\t}\n\t\t\t\t\treturn match == null ? null : match.join( \", \" );\n\t\t\t\t},\n\n\t\t\t\t// Raw string\n\t\t\t\tgetAllResponseHeaders: function() {\n\t\t\t\t\treturn completed ? responseHeadersString : null;\n\t\t\t\t},\n\n\t\t\t\t// Caches the header\n\t\t\t\tsetRequestHeader: function( name, value ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\tname = requestHeadersNames[ name.toLowerCase() ] =\n\t\t\t\t\t\t\trequestHeadersNames[ name.toLowerCase() ] || name;\n\t\t\t\t\t\trequestHeaders[ name ] = value;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Overrides response content-type header\n\t\t\t\toverrideMimeType: function( type ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\ts.mimeType = type;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Status-dependent callbacks\n\t\t\t\tstatusCode: function( map ) {\n\t\t\t\t\tvar code;\n\t\t\t\t\tif ( map ) {\n\t\t\t\t\t\tif ( completed ) {\n\n\t\t\t\t\t\t\t// Execute the appropriate callbacks\n\t\t\t\t\t\t\tjqXHR.always( map[ jqXHR.status ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Lazy-add the new callbacks in a way that preserves old ones\n\t\t\t\t\t\t\tfor ( code in map ) {\n\t\t\t\t\t\t\t\tstatusCode[ code ] = [ statusCode[ code ], map[ code ] ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Cancel the request\n\t\t\t\tabort: function( statusText ) {\n\t\t\t\t\tvar finalText = statusText || strAbort;\n\t\t\t\t\tif ( transport ) {\n\t\t\t\t\t\ttransport.abort( finalText );\n\t\t\t\t\t}\n\t\t\t\t\tdone( 0, finalText );\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t};\n\n\t\t// Attach deferreds\n\t\tdeferred.promise( jqXHR );\n\n\t\t// Add protocol if not provided (prefilters might expect it)\n\t\t// Handle falsy url in the settings object (#10093: consistency with old signature)\n\t\t// We also use the url parameter if available\n\t\ts.url = ( ( url || s.url || location.href ) + \"\" )\n\t\t\t.replace( rprotocol, location.protocol + \"//\" );\n\n\t\t// Alias method option to type as per ticket #12004\n\t\ts.type = options.method || options.type || s.method || s.type;\n\n\t\t// Extract dataTypes list\n\t\ts.dataTypes = ( s.dataType || \"*\" ).toLowerCase().match( rnothtmlwhite ) || [ \"\" ];\n\n\t\t// A cross-domain request is in order when the origin doesn't match the current origin.\n\t\tif ( s.crossDomain == null ) {\n\t\t\turlAnchor = document.createElement( \"a\" );\n\n\t\t\t// Support: IE <=8 - 11, Edge 12 - 15\n\t\t\t// IE throws exception on accessing the href property if url is malformed,\n\t\t\t// e.g. http://example.com:80x/\n\t\t\ttry {\n\t\t\t\turlAnchor.href = s.url;\n\n\t\t\t\t// Support: IE <=8 - 11 only\n\t\t\t\t// Anchor's host property isn't correctly set when s.url is relative\n\t\t\t\turlAnchor.href = urlAnchor.href;\n\t\t\t\ts.crossDomain = originAnchor.protocol + \"//\" + originAnchor.host !==\n\t\t\t\t\turlAnchor.protocol + \"//\" + urlAnchor.host;\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// If there is an error parsing the URL, assume it is crossDomain,\n\t\t\t\t// it can be rejected by the transport if it is invalid\n\t\t\t\ts.crossDomain = true;\n\t\t\t}\n\t\t}\n\n\t\t// Convert data if not already a string\n\t\tif ( s.data && s.processData && typeof s.data !== \"string\" ) {\n\t\t\ts.data = jQuery.param( s.data, s.traditional );\n\t\t}\n\n\t\t// Apply prefilters\n\t\tinspectPrefiltersOrTransports( prefilters, s, options, jqXHR );\n\n\t\t// If request was aborted inside a prefilter, stop there\n\t\tif ( completed ) {\n\t\t\treturn jqXHR;\n\t\t}\n\n\t\t// We can fire global events as of now if asked to\n\t\t// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)\n\t\tfireGlobals = jQuery.event && s.global;\n\n\t\t// Watch for a new set of requests\n\t\tif ( fireGlobals && jQuery.active++ === 0 ) {\n\t\t\tjQuery.event.trigger( \"ajaxStart\" );\n\t\t}\n\n\t\t// Uppercase the type\n\t\ts.type = s.type.toUpperCase();\n\n\t\t// Determine if request has content\n\t\ts.hasContent = !rnoContent.test( s.type );\n\n\t\t// Save the URL in case we're toying with the If-Modified-Since\n\t\t// and/or If-None-Match header later on\n\t\t// Remove hash to simplify url manipulation\n\t\tcacheURL = s.url.replace( rhash, \"\" );\n\n\t\t// More options handling for requests with no content\n\t\tif ( !s.hasContent ) {\n\n\t\t\t// Remember the hash so we can put it back\n\t\t\tuncached = s.url.slice( cacheURL.length );\n\n\t\t\t// If data is available and should be processed, append data to url\n\t\t\tif ( s.data && ( s.processData || typeof s.data === \"string\" ) ) {\n\t\t\t\tcacheURL += ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + s.data;\n\n\t\t\t\t// #9682: remove data so that it's not used in an eventual retry\n\t\t\t\tdelete s.data;\n\t\t\t}\n\n\t\t\t// Add or update anti-cache param if needed\n\t\t\tif ( s.cache === false ) {\n\t\t\t\tcacheURL = cacheURL.replace( rantiCache, \"$1\" );\n\t\t\t\tuncached = ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + \"_=\" + ( nonce.guid++ ) +\n\t\t\t\t\tuncached;\n\t\t\t}\n\n\t\t\t// Put hash and anti-cache on the URL that will be requested (gh-1732)\n\t\t\ts.url = cacheURL + uncached;\n\n\t\t// Change '%20' to '+' if this is encoded form body content (gh-2658)\n\t\t} else if ( s.data && s.processData &&\n\t\t\t( s.contentType || \"\" ).indexOf( \"application/x-www-form-urlencoded\" ) === 0 ) {\n\t\t\ts.data = s.data.replace( r20, \"+\" );\n\t\t}\n\n\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\tif ( s.ifModified ) {\n\t\t\tif ( jQuery.lastModified[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-Modified-Since\", jQuery.lastModified[ cacheURL ] );\n\t\t\t}\n\t\t\tif ( jQuery.etag[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-None-Match\", jQuery.etag[ cacheURL ] );\n\t\t\t}\n\t\t}\n\n\t\t// Set the correct header, if data is being sent\n\t\tif ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {\n\t\t\tjqXHR.setRequestHeader( \"Content-Type\", s.contentType );\n\t\t}\n\n\t\t// Set the Accepts header for the server, depending on the dataType\n\t\tjqXHR.setRequestHeader(\n\t\t\t\"Accept\",\n\t\t\ts.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?\n\t\t\t\ts.accepts[ s.dataTypes[ 0 ] ] +\n\t\t\t\t\t( s.dataTypes[ 0 ] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\" ) :\n\t\t\t\ts.accepts[ \"*\" ]\n\t\t);\n\n\t\t// Check for headers option\n\t\tfor ( i in s.headers ) {\n\t\t\tjqXHR.setRequestHeader( i, s.headers[ i ] );\n\t\t}\n\n\t\t// Allow custom headers/mimetypes and early abort\n\t\tif ( s.beforeSend &&\n\t\t\t( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) {\n\n\t\t\t// Abort if not done already and return\n\t\t\treturn jqXHR.abort();\n\t\t}\n\n\t\t// Aborting is no longer a cancellation\n\t\tstrAbort = \"abort\";\n\n\t\t// Install callbacks on deferreds\n\t\tcompleteDeferred.add( s.complete );\n\t\tjqXHR.done( s.success );\n\t\tjqXHR.fail( s.error );\n\n\t\t// Get transport\n\t\ttransport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );\n\n\t\t// If no transport, we auto-abort\n\t\tif ( !transport ) {\n\t\t\tdone( -1, \"No Transport\" );\n\t\t} else {\n\t\t\tjqXHR.readyState = 1;\n\n\t\t\t// Send global event\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxSend\", [ jqXHR, s ] );\n\t\t\t}\n\n\t\t\t// If request was aborted inside ajaxSend, stop there\n\t\t\tif ( completed ) {\n\t\t\t\treturn jqXHR;\n\t\t\t}\n\n\t\t\t// Timeout\n\t\t\tif ( s.async && s.timeout > 0 ) {\n\t\t\t\ttimeoutTimer = window.setTimeout( function() {\n\t\t\t\t\tjqXHR.abort( \"timeout\" );\n\t\t\t\t}, s.timeout );\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tcompleted = false;\n\t\t\t\ttransport.send( requestHeaders, done );\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// Rethrow post-completion exceptions\n\t\t\t\tif ( completed ) {\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\n\t\t\t\t// Propagate others as results\n\t\t\t\tdone( -1, e );\n\t\t\t}\n\t\t}\n\n\t\t// Callback for when everything is done\n\t\tfunction done( status, nativeStatusText, responses, headers ) {\n\t\t\tvar isSuccess, success, error, response, modified,\n\t\t\t\tstatusText = nativeStatusText;\n\n\t\t\t// Ignore repeat invocations\n\t\t\tif ( completed ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcompleted = true;\n\n\t\t\t// Clear timeout if it exists\n\t\t\tif ( timeoutTimer ) {\n\t\t\t\twindow.clearTimeout( timeoutTimer );\n\t\t\t}\n\n\t\t\t// Dereference transport for early garbage collection\n\t\t\t// (no matter how long the jqXHR object will be used)\n\t\t\ttransport = undefined;\n\n\t\t\t// Cache response headers\n\t\t\tresponseHeadersString = headers || \"\";\n\n\t\t\t// Set readyState\n\t\t\tjqXHR.readyState = status > 0 ? 4 : 0;\n\n\t\t\t// Determine if successful\n\t\t\tisSuccess = status >= 200 && status < 300 || status === 304;\n\n\t\t\t// Get response data\n\t\t\tif ( responses ) {\n\t\t\t\tresponse = ajaxHandleResponses( s, jqXHR, responses );\n\t\t\t}\n\n\t\t\t// Use a noop converter for missing script but not if jsonp\n\t\t\tif ( !isSuccess &&\n\t\t\t\tjQuery.inArray( \"script\", s.dataTypes ) > -1 &&\n\t\t\t\tjQuery.inArray( \"json\", s.dataTypes ) < 0 ) {\n\t\t\t\ts.converters[ \"text script\" ] = function() {};\n\t\t\t}\n\n\t\t\t// Convert no matter what (that way responseXXX fields are always set)\n\t\t\tresponse = ajaxConvert( s, response, jqXHR, isSuccess );\n\n\t\t\t// If successful, handle type chaining\n\t\t\tif ( isSuccess ) {\n\n\t\t\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\t\t\tif ( s.ifModified ) {\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"Last-Modified\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.lastModified[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"etag\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.etag[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if no content\n\t\t\t\tif ( status === 204 || s.type === \"HEAD\" ) {\n\t\t\t\t\tstatusText = \"nocontent\";\n\n\t\t\t\t// if not modified\n\t\t\t\t} else if ( status === 304 ) {\n\t\t\t\t\tstatusText = \"notmodified\";\n\n\t\t\t\t// If we have data, let's convert it\n\t\t\t\t} else {\n\t\t\t\t\tstatusText = response.state;\n\t\t\t\t\tsuccess = response.data;\n\t\t\t\t\terror = response.error;\n\t\t\t\t\tisSuccess = !error;\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Extract error from statusText and normalize for non-aborts\n\t\t\t\terror = statusText;\n\t\t\t\tif ( status || !statusText ) {\n\t\t\t\t\tstatusText = \"error\";\n\t\t\t\t\tif ( status < 0 ) {\n\t\t\t\t\t\tstatus = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set data for the fake xhr object\n\t\t\tjqXHR.status = status;\n\t\t\tjqXHR.statusText = ( nativeStatusText || statusText ) + \"\";\n\n\t\t\t// Success/Error\n\t\t\tif ( isSuccess ) {\n\t\t\t\tdeferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );\n\t\t\t} else {\n\t\t\t\tdeferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );\n\t\t\t}\n\n\t\t\t// Status-dependent callbacks\n\t\t\tjqXHR.statusCode( statusCode );\n\t\t\tstatusCode = undefined;\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( isSuccess ? \"ajaxSuccess\" : \"ajaxError\",\n\t\t\t\t\t[ jqXHR, s, isSuccess ? success : error ] );\n\t\t\t}\n\n\t\t\t// Complete\n\t\t\tcompleteDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxComplete\", [ jqXHR, s ] );\n\n\t\t\t\t// Handle the global AJAX counter\n\t\t\t\tif ( !( --jQuery.active ) ) {\n\t\t\t\t\tjQuery.event.trigger( \"ajaxStop\" );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn jqXHR;\n\t},\n\n\tgetJSON: function( url, data, callback ) {\n\t\treturn jQuery.get( url, data, callback, \"json\" );\n\t},\n\n\tgetScript: function( url, callback ) {\n\t\treturn jQuery.get( url, undefined, callback, \"script\" );\n\t}\n} );\n\njQuery.each( [ \"get\", \"post\" ], function( _i, method ) {\n\tjQuery[ method ] = function( url, data, callback, type ) {\n\n\t\t// Shift arguments if data argument was omitted\n\t\tif ( isFunction( data ) ) {\n\t\t\ttype = type || callback;\n\t\t\tcallback = data;\n\t\t\tdata = undefined;\n\t\t}\n\n\t\t// The url can be an options object (which then must have .url)\n\t\treturn jQuery.ajax( jQuery.extend( {\n\t\t\turl: url,\n\t\t\ttype: method,\n\t\t\tdataType: type,\n\t\t\tdata: data,\n\t\t\tsuccess: callback\n\t\t}, jQuery.isPlainObject( url ) && url ) );\n\t};\n} );\n\njQuery.ajaxPrefilter( function( s ) {\n\tvar i;\n\tfor ( i in s.headers ) {\n\t\tif ( i.toLowerCase() === \"content-type\" ) {\n\t\t\ts.contentType = s.headers[ i ] || \"\";\n\t\t}\n\t}\n} );\n\n\njQuery._evalUrl = function( url, options, doc ) {\n\treturn jQuery.ajax( {\n\t\turl: url,\n\n\t\t// Make this explicit, since user can override this through ajaxSetup (#11264)\n\t\ttype: \"GET\",\n\t\tdataType: \"script\",\n\t\tcache: true,\n\t\tasync: false,\n\t\tglobal: false,\n\n\t\t// Only evaluate the response if it is successful (gh-4126)\n\t\t// dataFilter is not invoked for failure responses, so using it instead\n\t\t// of the default converter is kludgy but it works.\n\t\tconverters: {\n\t\t\t\"text script\": function() {}\n\t\t},\n\t\tdataFilter: function( response ) {\n\t\t\tjQuery.globalEval( response, options, doc );\n\t\t}\n\t} );\n};\n\n\njQuery.fn.extend( {\n\twrapAll: function( html ) {\n\t\tvar wrap;\n\n\t\tif ( this[ 0 ] ) {\n\t\t\tif ( isFunction( html ) ) {\n\t\t\t\thtml = html.call( this[ 0 ] );\n\t\t\t}\n\n\t\t\t// The elements to wrap the target around\n\t\t\twrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );\n\n\t\t\tif ( this[ 0 ].parentNode ) {\n\t\t\t\twrap.insertBefore( this[ 0 ] );\n\t\t\t}\n\n\t\t\twrap.map( function() {\n\t\t\t\tvar elem = this;\n\n\t\t\t\twhile ( elem.firstElementChild ) {\n\t\t\t\t\telem = elem.firstElementChild;\n\t\t\t\t}\n\n\t\t\t\treturn elem;\n\t\t\t} ).append( this );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\twrapInner: function( html ) {\n\t\tif ( isFunction( html ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).wrapInner( html.call( this, i ) );\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar self = jQuery( this ),\n\t\t\t\tcontents = self.contents();\n\n\t\t\tif ( contents.length ) {\n\t\t\t\tcontents.wrapAll( html );\n\n\t\t\t} else {\n\t\t\t\tself.append( html );\n\t\t\t}\n\t\t} );\n\t},\n\n\twrap: function( html ) {\n\t\tvar htmlIsFunction = isFunction( html );\n\n\t\treturn this.each( function( i ) {\n\t\t\tjQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html );\n\t\t} );\n\t},\n\n\tunwrap: function( selector ) {\n\t\tthis.parent( selector ).not( \"body\" ).each( function() {\n\t\t\tjQuery( this ).replaceWith( this.childNodes );\n\t\t} );\n\t\treturn this;\n\t}\n} );\n\n\njQuery.expr.pseudos.hidden = function( elem ) {\n\treturn !jQuery.expr.pseudos.visible( elem );\n};\njQuery.expr.pseudos.visible = function( elem ) {\n\treturn !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );\n};\n\n\n\n\njQuery.ajaxSettings.xhr = function() {\n\ttry {\n\t\treturn new window.XMLHttpRequest();\n\t} catch ( e ) {}\n};\n\nvar xhrSuccessStatus = {\n\n\t\t// File protocol always yields status code 0, assume 200\n\t\t0: 200,\n\n\t\t// Support: IE <=9 only\n\t\t// #1450: sometimes IE returns 1223 when it should be 204\n\t\t1223: 204\n\t},\n\txhrSupported = jQuery.ajaxSettings.xhr();\n\nsupport.cors = !!xhrSupported && ( \"withCredentials\" in xhrSupported );\nsupport.ajax = xhrSupported = !!xhrSupported;\n\njQuery.ajaxTransport( function( options ) {\n\tvar callback, errorCallback;\n\n\t// Cross domain only allowed if supported through XMLHttpRequest\n\tif ( support.cors || xhrSupported && !options.crossDomain ) {\n\t\treturn {\n\t\t\tsend: function( headers, complete ) {\n\t\t\t\tvar i,\n\t\t\t\t\txhr = options.xhr();\n\n\t\t\t\txhr.open(\n\t\t\t\t\toptions.type,\n\t\t\t\t\toptions.url,\n\t\t\t\t\toptions.async,\n\t\t\t\t\toptions.username,\n\t\t\t\t\toptions.password\n\t\t\t\t);\n\n\t\t\t\t// Apply custom fields if provided\n\t\t\t\tif ( options.xhrFields ) {\n\t\t\t\t\tfor ( i in options.xhrFields ) {\n\t\t\t\t\t\txhr[ i ] = options.xhrFields[ i ];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Override mime type if needed\n\t\t\t\tif ( options.mimeType && xhr.overrideMimeType ) {\n\t\t\t\t\txhr.overrideMimeType( options.mimeType );\n\t\t\t\t}\n\n\t\t\t\t// X-Requested-With header\n\t\t\t\t// For cross-domain requests, seeing as conditions for a preflight are\n\t\t\t\t// akin to a jigsaw puzzle, we simply never set it to be sure.\n\t\t\t\t// (it can always be set on a per-request basis or even using ajaxSetup)\n\t\t\t\t// For same-domain requests, won't change header if already provided.\n\t\t\t\tif ( !options.crossDomain && !headers[ \"X-Requested-With\" ] ) {\n\t\t\t\t\theaders[ \"X-Requested-With\" ] = \"XMLHttpRequest\";\n\t\t\t\t}\n\n\t\t\t\t// Set headers\n\t\t\t\tfor ( i in headers ) {\n\t\t\t\t\txhr.setRequestHeader( i, headers[ i ] );\n\t\t\t\t}\n\n\t\t\t\t// Callback\n\t\t\t\tcallback = function( type ) {\n\t\t\t\t\treturn function() {\n\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\tcallback = errorCallback = xhr.onload =\n\t\t\t\t\t\t\t\txhr.onerror = xhr.onabort = xhr.ontimeout =\n\t\t\t\t\t\t\t\t\txhr.onreadystatechange = null;\n\n\t\t\t\t\t\t\tif ( type === \"abort\" ) {\n\t\t\t\t\t\t\t\txhr.abort();\n\t\t\t\t\t\t\t} else if ( type === \"error\" ) {\n\n\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t// On a manual native abort, IE9 throws\n\t\t\t\t\t\t\t\t// errors on any property access that is not readyState\n\t\t\t\t\t\t\t\tif ( typeof xhr.status !== \"number\" ) {\n\t\t\t\t\t\t\t\t\tcomplete( 0, \"error\" );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcomplete(\n\n\t\t\t\t\t\t\t\t\t\t// File: protocol always yields status 0; see #8605, #14207\n\t\t\t\t\t\t\t\t\t\txhr.status,\n\t\t\t\t\t\t\t\t\t\txhr.statusText\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcomplete(\n\t\t\t\t\t\t\t\t\txhrSuccessStatus[ xhr.status ] || xhr.status,\n\t\t\t\t\t\t\t\t\txhr.statusText,\n\n\t\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t\t// IE9 has no XHR2 but throws on binary (trac-11426)\n\t\t\t\t\t\t\t\t\t// For XHR2 non-text, let the caller handle it (gh-2498)\n\t\t\t\t\t\t\t\t\t( xhr.responseType || \"text\" ) !== \"text\"  ||\n\t\t\t\t\t\t\t\t\ttypeof xhr.responseText !== \"string\" ?\n\t\t\t\t\t\t\t\t\t\t{ binary: xhr.response } :\n\t\t\t\t\t\t\t\t\t\t{ text: xhr.responseText },\n\t\t\t\t\t\t\t\t\txhr.getAllResponseHeaders()\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\t// Listen to events\n\t\t\t\txhr.onload = callback();\n\t\t\t\terrorCallback = xhr.onerror = xhr.ontimeout = callback( \"error\" );\n\n\t\t\t\t// Support: IE 9 only\n\t\t\t\t// Use onreadystatechange to replace onabort\n\t\t\t\t// to handle uncaught aborts\n\t\t\t\tif ( xhr.onabort !== undefined ) {\n\t\t\t\t\txhr.onabort = errorCallback;\n\t\t\t\t} else {\n\t\t\t\t\txhr.onreadystatechange = function() {\n\n\t\t\t\t\t\t// Check readyState before timeout as it changes\n\t\t\t\t\t\tif ( xhr.readyState === 4 ) {\n\n\t\t\t\t\t\t\t// Allow onerror to be called first,\n\t\t\t\t\t\t\t// but that will not handle a native abort\n\t\t\t\t\t\t\t// Also, save errorCallback to a variable\n\t\t\t\t\t\t\t// as xhr.onerror cannot be accessed\n\t\t\t\t\t\t\twindow.setTimeout( function() {\n\t\t\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\t\t\terrorCallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t// Create the abort callback\n\t\t\t\tcallback = callback( \"abort\" );\n\n\t\t\t\ttry {\n\n\t\t\t\t\t// Do send the request (this may raise an exception)\n\t\t\t\t\txhr.send( options.hasContent && options.data || null );\n\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t// #14683: Only rethrow if this hasn't been notified as an error yet\n\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\n// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)\njQuery.ajaxPrefilter( function( s ) {\n\tif ( s.crossDomain ) {\n\t\ts.contents.script = false;\n\t}\n} );\n\n// Install script dataType\njQuery.ajaxSetup( {\n\taccepts: {\n\t\tscript: \"text/javascript, application/javascript, \" +\n\t\t\t\"application/ecmascript, application/x-ecmascript\"\n\t},\n\tcontents: {\n\t\tscript: /\\b(?:java|ecma)script\\b/\n\t},\n\tconverters: {\n\t\t\"text script\": function( text ) {\n\t\t\tjQuery.globalEval( text );\n\t\t\treturn text;\n\t\t}\n\t}\n} );\n\n// Handle cache's special case and crossDomain\njQuery.ajaxPrefilter( \"script\", function( s ) {\n\tif ( s.cache === undefined ) {\n\t\ts.cache = false;\n\t}\n\tif ( s.crossDomain ) {\n\t\ts.type = \"GET\";\n\t}\n} );\n\n// Bind script tag hack transport\njQuery.ajaxTransport( \"script\", function( s ) {\n\n\t// This transport only deals with cross domain or forced-by-attrs requests\n\tif ( s.crossDomain || s.scriptAttrs ) {\n\t\tvar script, callback;\n\t\treturn {\n\t\t\tsend: function( _, complete ) {\n\t\t\t\tscript = jQuery( \"<script>\" )\n\t\t\t\t\t.attr( s.scriptAttrs || {} )\n\t\t\t\t\t.prop( { charset: s.scriptCharset, src: s.url } )\n\t\t\t\t\t.on( \"load error\", callback = function( evt ) {\n\t\t\t\t\t\tscript.remove();\n\t\t\t\t\t\tcallback = null;\n\t\t\t\t\t\tif ( evt ) {\n\t\t\t\t\t\t\tcomplete( evt.type === \"error\" ? 404 : 200, evt.type );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\n\t\t\t\t// Use native DOM manipulation to avoid our domManip AJAX trickery\n\t\t\t\tdocument.head.appendChild( script[ 0 ] );\n\t\t\t},\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\nvar oldCallbacks = [],\n\trjsonp = /(=)\\?(?=&|$)|\\?\\?/;\n\n// Default jsonp settings\njQuery.ajaxSetup( {\n\tjsonp: \"callback\",\n\tjsonpCallback: function() {\n\t\tvar callback = oldCallbacks.pop() || ( jQuery.expando + \"_\" + ( nonce.guid++ ) );\n\t\tthis[ callback ] = true;\n\t\treturn callback;\n\t}\n} );\n\n// Detect, normalize options and install callbacks for jsonp requests\njQuery.ajaxPrefilter( \"json jsonp\", function( s, originalSettings, jqXHR ) {\n\n\tvar callbackName, overwritten, responseContainer,\n\t\tjsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?\n\t\t\t\"url\" :\n\t\t\ttypeof s.data === \"string\" &&\n\t\t\t\t( s.contentType || \"\" )\n\t\t\t\t\t.indexOf( \"application/x-www-form-urlencoded\" ) === 0 &&\n\t\t\t\trjsonp.test( s.data ) && \"data\"\n\t\t);\n\n\t// Handle iff the expected data type is \"jsonp\" or we have a parameter to set\n\tif ( jsonProp || s.dataTypes[ 0 ] === \"jsonp\" ) {\n\n\t\t// Get callback name, remembering preexisting value associated with it\n\t\tcallbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ?\n\t\t\ts.jsonpCallback() :\n\t\t\ts.jsonpCallback;\n\n\t\t// Insert callback into url or form data\n\t\tif ( jsonProp ) {\n\t\t\ts[ jsonProp ] = s[ jsonProp ].replace( rjsonp, \"$1\" + callbackName );\n\t\t} else if ( s.jsonp !== false ) {\n\t\t\ts.url += ( rquery.test( s.url ) ? \"&\" : \"?\" ) + s.jsonp + \"=\" + callbackName;\n\t\t}\n\n\t\t// Use data converter to retrieve json after script execution\n\t\ts.converters[ \"script json\" ] = function() {\n\t\t\tif ( !responseContainer ) {\n\t\t\t\tjQuery.error( callbackName + \" was not called\" );\n\t\t\t}\n\t\t\treturn responseContainer[ 0 ];\n\t\t};\n\n\t\t// Force json dataType\n\t\ts.dataTypes[ 0 ] = \"json\";\n\n\t\t// Install callback\n\t\toverwritten = window[ callbackName ];\n\t\twindow[ callbackName ] = function() {\n\t\t\tresponseContainer = arguments;\n\t\t};\n\n\t\t// Clean-up function (fires after converters)\n\t\tjqXHR.always( function() {\n\n\t\t\t// If previous value didn't exist - remove it\n\t\t\tif ( overwritten === undefined ) {\n\t\t\t\tjQuery( window ).removeProp( callbackName );\n\n\t\t\t// Otherwise restore preexisting value\n\t\t\t} else {\n\t\t\t\twindow[ callbackName ] = overwritten;\n\t\t\t}\n\n\t\t\t// Save back as free\n\t\t\tif ( s[ callbackName ] ) {\n\n\t\t\t\t// Make sure that re-using the options doesn't screw things around\n\t\t\t\ts.jsonpCallback = originalSettings.jsonpCallback;\n\n\t\t\t\t// Save the callback name for future use\n\t\t\t\toldCallbacks.push( callbackName );\n\t\t\t}\n\n\t\t\t// Call if it was a function and we have a response\n\t\t\tif ( responseContainer && isFunction( overwritten ) ) {\n\t\t\t\toverwritten( responseContainer[ 0 ] );\n\t\t\t}\n\n\t\t\tresponseContainer = overwritten = undefined;\n\t\t} );\n\n\t\t// Delegate to script\n\t\treturn \"script\";\n\t}\n} );\n\n\n\n\n// Support: Safari 8 only\n// In Safari 8 documents created via document.implementation.createHTMLDocument\n// collapse sibling forms: the second one becomes a child of the first one.\n// Because of that, this security measure has to be disabled in Safari 8.\n// https://bugs.webkit.org/show_bug.cgi?id=137337\nsupport.createHTMLDocument = ( function() {\n\tvar body = document.implementation.createHTMLDocument( \"\" ).body;\n\tbody.innerHTML = \"<form></form><form></form>\";\n\treturn body.childNodes.length === 2;\n} )();\n\n\n// Argument \"data\" should be string of html\n// context (optional): If specified, the fragment will be created in this context,\n// defaults to document\n// keepScripts (optional): If true, will include scripts passed in the html string\njQuery.parseHTML = function( data, context, keepScripts ) {\n\tif ( typeof data !== \"string\" ) {\n\t\treturn [];\n\t}\n\tif ( typeof context === \"boolean\" ) {\n\t\tkeepScripts = context;\n\t\tcontext = false;\n\t}\n\n\tvar base, parsed, scripts;\n\n\tif ( !context ) {\n\n\t\t// Stop scripts or inline event handlers from being executed immediately\n\t\t// by using document.implementation\n\t\tif ( support.createHTMLDocument ) {\n\t\t\tcontext = document.implementation.createHTMLDocument( \"\" );\n\n\t\t\t// Set the base href for the created document\n\t\t\t// so any parsed elements with URLs\n\t\t\t// are based on the document's URL (gh-2965)\n\t\t\tbase = context.createElement( \"base\" );\n\t\t\tbase.href = document.location.href;\n\t\t\tcontext.head.appendChild( base );\n\t\t} else {\n\t\t\tcontext = document;\n\t\t}\n\t}\n\n\tparsed = rsingleTag.exec( data );\n\tscripts = !keepScripts && [];\n\n\t// Single tag\n\tif ( parsed ) {\n\t\treturn [ context.createElement( parsed[ 1 ] ) ];\n\t}\n\n\tparsed = buildFragment( [ data ], context, scripts );\n\n\tif ( scripts && scripts.length ) {\n\t\tjQuery( scripts ).remove();\n\t}\n\n\treturn jQuery.merge( [], parsed.childNodes );\n};\n\n\n/**\n * Load a url into a page\n */\njQuery.fn.load = function( url, params, callback ) {\n\tvar selector, type, response,\n\t\tself = this,\n\t\toff = url.indexOf( \" \" );\n\n\tif ( off > -1 ) {\n\t\tselector = stripAndCollapse( url.slice( off ) );\n\t\turl = url.slice( 0, off );\n\t}\n\n\t// If it's a function\n\tif ( isFunction( params ) ) {\n\n\t\t// We assume that it's the callback\n\t\tcallback = params;\n\t\tparams = undefined;\n\n\t// Otherwise, build a param string\n\t} else if ( params && typeof params === \"object\" ) {\n\t\ttype = \"POST\";\n\t}\n\n\t// If we have elements to modify, make the request\n\tif ( self.length > 0 ) {\n\t\tjQuery.ajax( {\n\t\t\turl: url,\n\n\t\t\t// If \"type\" variable is undefined, then \"GET\" method will be used.\n\t\t\t// Make value of this field explicit since\n\t\t\t// user can override it through ajaxSetup method\n\t\t\ttype: type || \"GET\",\n\t\t\tdataType: \"html\",\n\t\t\tdata: params\n\t\t} ).done( function( responseText ) {\n\n\t\t\t// Save response for use in complete callback\n\t\t\tresponse = arguments;\n\n\t\t\tself.html( selector ?\n\n\t\t\t\t// If a selector was specified, locate the right elements in a dummy div\n\t\t\t\t// Exclude scripts to avoid IE 'Permission Denied' errors\n\t\t\t\tjQuery( \"<div>\" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :\n\n\t\t\t\t// Otherwise use the full result\n\t\t\t\tresponseText );\n\n\t\t// If the request succeeds, this function gets \"data\", \"status\", \"jqXHR\"\n\t\t// but they are ignored because response was set above.\n\t\t// If it fails, this function gets \"jqXHR\", \"status\", \"error\"\n\t\t} ).always( callback && function( jqXHR, status ) {\n\t\t\tself.each( function() {\n\t\t\t\tcallback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );\n\t\t\t} );\n\t\t} );\n\t}\n\n\treturn this;\n};\n\n\n\n\njQuery.expr.pseudos.animated = function( elem ) {\n\treturn jQuery.grep( jQuery.timers, function( fn ) {\n\t\treturn elem === fn.elem;\n\t} ).length;\n};\n\n\n\n\njQuery.offset = {\n\tsetOffset: function( elem, options, i ) {\n\t\tvar curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,\n\t\t\tposition = jQuery.css( elem, \"position\" ),\n\t\t\tcurElem = jQuery( elem ),\n\t\t\tprops = {};\n\n\t\t// Set position first, in-case top/left are set even on static elem\n\t\tif ( position === \"static\" ) {\n\t\t\telem.style.position = \"relative\";\n\t\t}\n\n\t\tcurOffset = curElem.offset();\n\t\tcurCSSTop = jQuery.css( elem, \"top\" );\n\t\tcurCSSLeft = jQuery.css( elem, \"left\" );\n\t\tcalculatePosition = ( position === \"absolute\" || position === \"fixed\" ) &&\n\t\t\t( curCSSTop + curCSSLeft ).indexOf( \"auto\" ) > -1;\n\n\t\t// Need to be able to calculate position if either\n\t\t// top or left is auto and position is either absolute or fixed\n\t\tif ( calculatePosition ) {\n\t\t\tcurPosition = curElem.position();\n\t\t\tcurTop = curPosition.top;\n\t\t\tcurLeft = curPosition.left;\n\n\t\t} else {\n\t\t\tcurTop = parseFloat( curCSSTop ) || 0;\n\t\t\tcurLeft = parseFloat( curCSSLeft ) || 0;\n\t\t}\n\n\t\tif ( isFunction( options ) ) {\n\n\t\t\t// Use jQuery.extend here to allow modification of coordinates argument (gh-1848)\n\t\t\toptions = options.call( elem, i, jQuery.extend( {}, curOffset ) );\n\t\t}\n\n\t\tif ( options.top != null ) {\n\t\t\tprops.top = ( options.top - curOffset.top ) + curTop;\n\t\t}\n\t\tif ( options.left != null ) {\n\t\t\tprops.left = ( options.left - curOffset.left ) + curLeft;\n\t\t}\n\n\t\tif ( \"using\" in options ) {\n\t\t\toptions.using.call( elem, props );\n\n\t\t} else {\n\t\t\tcurElem.css( props );\n\t\t}\n\t}\n};\n\njQuery.fn.extend( {\n\n\t// offset() relates an element's border box to the document origin\n\toffset: function( options ) {\n\n\t\t// Preserve chaining for setter\n\t\tif ( arguments.length ) {\n\t\t\treturn options === undefined ?\n\t\t\t\tthis :\n\t\t\t\tthis.each( function( i ) {\n\t\t\t\t\tjQuery.offset.setOffset( this, options, i );\n\t\t\t\t} );\n\t\t}\n\n\t\tvar rect, win,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !elem ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Return zeros for disconnected and hidden (display: none) elements (gh-2310)\n\t\t// Support: IE <=11 only\n\t\t// Running getBoundingClientRect on a\n\t\t// disconnected node in IE throws an error\n\t\tif ( !elem.getClientRects().length ) {\n\t\t\treturn { top: 0, left: 0 };\n\t\t}\n\n\t\t// Get document-relative position by adding viewport scroll to viewport-relative gBCR\n\t\trect = elem.getBoundingClientRect();\n\t\twin = elem.ownerDocument.defaultView;\n\t\treturn {\n\t\t\ttop: rect.top + win.pageYOffset,\n\t\t\tleft: rect.left + win.pageXOffset\n\t\t};\n\t},\n\n\t// position() relates an element's margin box to its offset parent's padding box\n\t// This corresponds to the behavior of CSS absolute positioning\n\tposition: function() {\n\t\tif ( !this[ 0 ] ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar offsetParent, offset, doc,\n\t\t\telem = this[ 0 ],\n\t\t\tparentOffset = { top: 0, left: 0 };\n\n\t\t// position:fixed elements are offset from the viewport, which itself always has zero offset\n\t\tif ( jQuery.css( elem, \"position\" ) === \"fixed\" ) {\n\n\t\t\t// Assume position:fixed implies availability of getBoundingClientRect\n\t\t\toffset = elem.getBoundingClientRect();\n\n\t\t} else {\n\t\t\toffset = this.offset();\n\n\t\t\t// Account for the *real* offset parent, which can be the document or its root element\n\t\t\t// when a statically positioned element is identified\n\t\t\tdoc = elem.ownerDocument;\n\t\t\toffsetParent = elem.offsetParent || doc.documentElement;\n\t\t\twhile ( offsetParent &&\n\t\t\t\t( offsetParent === doc.body || offsetParent === doc.documentElement ) &&\n\t\t\t\tjQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\n\t\t\t\toffsetParent = offsetParent.parentNode;\n\t\t\t}\n\t\t\tif ( offsetParent && offsetParent !== elem && offsetParent.nodeType === 1 ) {\n\n\t\t\t\t// Incorporate borders into its offset, since they are outside its content origin\n\t\t\t\tparentOffset = jQuery( offsetParent ).offset();\n\t\t\t\tparentOffset.top += jQuery.css( offsetParent, \"borderTopWidth\", true );\n\t\t\t\tparentOffset.left += jQuery.css( offsetParent, \"borderLeftWidth\", true );\n\t\t\t}\n\t\t}\n\n\t\t// Subtract parent offsets and element margins\n\t\treturn {\n\t\t\ttop: offset.top - parentOffset.top - jQuery.css( elem, \"marginTop\", true ),\n\t\t\tleft: offset.left - parentOffset.left - jQuery.css( elem, \"marginLeft\", true )\n\t\t};\n\t},\n\n\t// This method will return documentElement in the following cases:\n\t// 1) For the element inside the iframe without offsetParent, this method will return\n\t//    documentElement of the parent window\n\t// 2) For the hidden or detached element\n\t// 3) For body or html element, i.e. in case of the html node - it will return itself\n\t//\n\t// but those exceptions were never presented as a real life use-cases\n\t// and might be considered as more preferable results.\n\t//\n\t// This logic, however, is not guaranteed and can change at any point in the future\n\toffsetParent: function() {\n\t\treturn this.map( function() {\n\t\t\tvar offsetParent = this.offsetParent;\n\n\t\t\twhile ( offsetParent && jQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\t\t\t\toffsetParent = offsetParent.offsetParent;\n\t\t\t}\n\n\t\t\treturn offsetParent || documentElement;\n\t\t} );\n\t}\n} );\n\n// Create scrollLeft and scrollTop methods\njQuery.each( { scrollLeft: \"pageXOffset\", scrollTop: \"pageYOffset\" }, function( method, prop ) {\n\tvar top = \"pageYOffset\" === prop;\n\n\tjQuery.fn[ method ] = function( val ) {\n\t\treturn access( this, function( elem, method, val ) {\n\n\t\t\t// Coalesce documents and windows\n\t\t\tvar win;\n\t\t\tif ( isWindow( elem ) ) {\n\t\t\t\twin = elem;\n\t\t\t} else if ( elem.nodeType === 9 ) {\n\t\t\t\twin = elem.defaultView;\n\t\t\t}\n\n\t\t\tif ( val === undefined ) {\n\t\t\t\treturn win ? win[ prop ] : elem[ method ];\n\t\t\t}\n\n\t\t\tif ( win ) {\n\t\t\t\twin.scrollTo(\n\t\t\t\t\t!top ? val : win.pageXOffset,\n\t\t\t\t\ttop ? val : win.pageYOffset\n\t\t\t\t);\n\n\t\t\t} else {\n\t\t\t\telem[ method ] = val;\n\t\t\t}\n\t\t}, method, val, arguments.length );\n\t};\n} );\n\n// Support: Safari <=7 - 9.1, Chrome <=37 - 49\n// Add the top/left cssHooks using jQuery.fn.position\n// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084\n// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347\n// getComputedStyle returns percent when specified for top/left/bottom/right;\n// rather than make the css module depend on the offset module, just check for it here\njQuery.each( [ \"top\", \"left\" ], function( _i, prop ) {\n\tjQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,\n\t\tfunction( elem, computed ) {\n\t\t\tif ( computed ) {\n\t\t\t\tcomputed = curCSS( elem, prop );\n\n\t\t\t\t// If curCSS returns percentage, fallback to offset\n\t\t\t\treturn rnumnonpx.test( computed ) ?\n\t\t\t\t\tjQuery( elem ).position()[ prop ] + \"px\" :\n\t\t\t\t\tcomputed;\n\t\t\t}\n\t\t}\n\t);\n} );\n\n\n// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods\njQuery.each( { Height: \"height\", Width: \"width\" }, function( name, type ) {\n\tjQuery.each( {\n\t\tpadding: \"inner\" + name,\n\t\tcontent: type,\n\t\t\"\": \"outer\" + name\n\t}, function( defaultExtra, funcName ) {\n\n\t\t// Margin is only for outerHeight, outerWidth\n\t\tjQuery.fn[ funcName ] = function( margin, value ) {\n\t\t\tvar chainable = arguments.length && ( defaultExtra || typeof margin !== \"boolean\" ),\n\t\t\t\textra = defaultExtra || ( margin === true || value === true ? \"margin\" : \"border\" );\n\n\t\t\treturn access( this, function( elem, type, value ) {\n\t\t\t\tvar doc;\n\n\t\t\t\tif ( isWindow( elem ) ) {\n\n\t\t\t\t\t// $( window ).outerWidth/Height return w/h including scrollbars (gh-1729)\n\t\t\t\t\treturn funcName.indexOf( \"outer\" ) === 0 ?\n\t\t\t\t\t\telem[ \"inner\" + name ] :\n\t\t\t\t\t\telem.document.documentElement[ \"client\" + name ];\n\t\t\t\t}\n\n\t\t\t\t// Get document width or height\n\t\t\t\tif ( elem.nodeType === 9 ) {\n\t\t\t\t\tdoc = elem.documentElement;\n\n\t\t\t\t\t// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],\n\t\t\t\t\t// whichever is greatest\n\t\t\t\t\treturn Math.max(\n\t\t\t\t\t\telem.body[ \"scroll\" + name ], doc[ \"scroll\" + name ],\n\t\t\t\t\t\telem.body[ \"offset\" + name ], doc[ \"offset\" + name ],\n\t\t\t\t\t\tdoc[ \"client\" + name ]\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn value === undefined ?\n\n\t\t\t\t\t// Get width or height on the element, requesting but not forcing parseFloat\n\t\t\t\t\tjQuery.css( elem, type, extra ) :\n\n\t\t\t\t\t// Set width or height on the element\n\t\t\t\t\tjQuery.style( elem, type, value, extra );\n\t\t\t}, type, chainable ? margin : undefined, chainable );\n\t\t};\n\t} );\n} );\n\n\njQuery.each( [\n\t\"ajaxStart\",\n\t\"ajaxStop\",\n\t\"ajaxComplete\",\n\t\"ajaxError\",\n\t\"ajaxSuccess\",\n\t\"ajaxSend\"\n], function( _i, type ) {\n\tjQuery.fn[ type ] = function( fn ) {\n\t\treturn this.on( type, fn );\n\t};\n} );\n\n\n\n\njQuery.fn.extend( {\n\n\tbind: function( types, data, fn ) {\n\t\treturn this.on( types, null, data, fn );\n\t},\n\tunbind: function( types, fn ) {\n\t\treturn this.off( types, null, fn );\n\t},\n\n\tdelegate: function( selector, types, data, fn ) {\n\t\treturn this.on( types, selector, data, fn );\n\t},\n\tundelegate: function( selector, types, fn ) {\n\n\t\t// ( namespace ) or ( selector, types [, fn] )\n\t\treturn arguments.length === 1 ?\n\t\t\tthis.off( selector, \"**\" ) :\n\t\t\tthis.off( types, selector || \"**\", fn );\n\t},\n\n\thover: function( fnOver, fnOut ) {\n\t\treturn this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );\n\t}\n} );\n\njQuery.each(\n\t( \"blur focus focusin focusout resize scroll click dblclick \" +\n\t\"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave \" +\n\t\"change select submit keydown keypress keyup contextmenu\" ).split( \" \" ),\n\tfunction( _i, name ) {\n\n\t\t// Handle event binding\n\t\tjQuery.fn[ name ] = function( data, fn ) {\n\t\t\treturn arguments.length > 0 ?\n\t\t\t\tthis.on( name, null, data, fn ) :\n\t\t\t\tthis.trigger( name );\n\t\t};\n\t}\n);\n\n\n\n\n// Support: Android <=4.0 only\n// Make sure we trim BOM and NBSP\nvar rtrim = /^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g;\n\n// Bind a function to a context, optionally partially applying any\n// arguments.\n// jQuery.proxy is deprecated to promote standards (specifically Function#bind)\n// However, it is not slated for removal any time soon\njQuery.proxy = function( fn, context ) {\n\tvar tmp, args, proxy;\n\n\tif ( typeof context === \"string\" ) {\n\t\ttmp = fn[ context ];\n\t\tcontext = fn;\n\t\tfn = tmp;\n\t}\n\n\t// Quick check to determine if target is callable, in the spec\n\t// this throws a TypeError, but we will just return undefined.\n\tif ( !isFunction( fn ) ) {\n\t\treturn undefined;\n\t}\n\n\t// Simulated bind\n\targs = slice.call( arguments, 2 );\n\tproxy = function() {\n\t\treturn fn.apply( context || this, args.concat( slice.call( arguments ) ) );\n\t};\n\n\t// Set the guid of unique handler to the same of original handler, so it can be removed\n\tproxy.guid = fn.guid = fn.guid || jQuery.guid++;\n\n\treturn proxy;\n};\n\njQuery.holdReady = function( hold ) {\n\tif ( hold ) {\n\t\tjQuery.readyWait++;\n\t} else {\n\t\tjQuery.ready( true );\n\t}\n};\njQuery.isArray = Array.isArray;\njQuery.parseJSON = JSON.parse;\njQuery.nodeName = nodeName;\njQuery.isFunction = isFunction;\njQuery.isWindow = isWindow;\njQuery.camelCase = camelCase;\njQuery.type = toType;\n\njQuery.now = Date.now;\n\njQuery.isNumeric = function( obj ) {\n\n\t// As of jQuery 3.0, isNumeric is limited to\n\t// strings and numbers (primitives or objects)\n\t// that can be coerced to finite numbers (gh-2662)\n\tvar type = jQuery.type( obj );\n\treturn ( type === \"number\" || type === \"string\" ) &&\n\n\t\t// parseFloat NaNs numeric-cast false positives (\"\")\n\t\t// ...but misinterprets leading-number strings, particularly hex literals (\"0x...\")\n\t\t// subtraction forces infinities to NaN\n\t\t!isNaN( obj - parseFloat( obj ) );\n};\n\njQuery.trim = function( text ) {\n\treturn text == null ?\n\t\t\"\" :\n\t\t( text + \"\" ).replace( rtrim, \"\" );\n};\n\n\n\n// Register as a named AMD module, since jQuery can be concatenated with other\n// files that may use define, but not via a proper concatenation script that\n// understands anonymous AMD modules. A named AMD is safest and most robust\n// way to register. Lowercase jquery is used because AMD module names are\n// derived from file names, and jQuery is normally delivered in a lowercase\n// file name. Do this after creating the global so that if an AMD module wants\n// to call noConflict to hide this version of jQuery, it will work.\n\n// Note that for maximum portability, libraries that are not jQuery should\n// declare themselves as anonymous modules, and avoid setting a global if an\n// AMD loader is present. jQuery is a special case. For more information, see\n// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon\n\nif ( typeof define === \"function\" && define.amd ) {\n\tdefine( \"jquery\", [], function() {\n\t\treturn jQuery;\n\t} );\n}\n\n\n\n\nvar\n\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\n\t// Map over the $ in case of overwrite\n\t_$ = window.$;\n\njQuery.noConflict = function( deep ) {\n\tif ( window.$ === jQuery ) {\n\t\twindow.$ = _$;\n\t}\n\n\tif ( deep && window.jQuery === jQuery ) {\n\t\twindow.jQuery = _jQuery;\n\t}\n\n\treturn jQuery;\n};\n\n// Expose jQuery and $ identifiers, even in AMD\n// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)\n// and CommonJS for browser emulators (#13566)\nif ( typeof noGlobal === \"undefined\" ) {\n\twindow.jQuery = window.$ = jQuery;\n}\n\n\n\n\nreturn jQuery;\n} );"
  },
  {
    "path": "extension/js/oschina/oschinarun0.js",
    "content": "(function (global, factory) {\n    if (typeof define === \"function\" && define.amd) {\n      define([], factory);\n    } else if (typeof exports !== \"undefined\") {\n      factory();\n    } else {\n      var mod = {\n        exports: {}\n      };\n      factory();\n      global.FileSaver = mod.exports;\n    }\n  })(this, function () {\n    \"use strict\";\n\n    /*\n    * FileSaver.js\n    * A saveAs() FileSaver implementation.\n    *\n    * By Eli Grey, http://eligrey.com\n    *\n    * License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT)\n    * source  : http://purl.eligrey.com/github/FileSaver.js\n    */\n    // The one and only way of getting global scope in all environments\n    // https://stackoverflow.com/q/3277182/1008999\n    var _global = typeof window === 'object' && window.window === window ? window : typeof self === 'object' && self.self === self ? self : typeof global === 'object' && global.global === global ? global : void 0;\n\n    function bom(blob, opts) {\n      if (typeof opts === 'undefined') opts = {\n        autoBom: false\n      };else if (typeof opts !== 'object') {\n        console.warn('Deprecated: Expected third argument to be a object');\n        opts = {\n          autoBom: !opts\n        };\n      } // prepend BOM for UTF-8 XML and text/* types (including HTML)\n      // note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF\n\n      if (opts.autoBom && /^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(blob.type)) {\n        return new Blob([String.fromCharCode(0xFEFF), blob], {\n          type: blob.type\n        });\n      }\n\n      return blob;\n    }\n\n    function download(url, name, opts) {\n      var xhr = new XMLHttpRequest();\n      xhr.open('GET', url);\n      xhr.responseType = 'blob';\n\n      xhr.onload = function () {\n        saveAs(xhr.response, name, opts);\n      };\n\n      xhr.onerror = function () {\n        console.error('could not download file');\n      };\n\n      xhr.send();\n    }\n\n    function corsEnabled(url) {\n      var xhr = new XMLHttpRequest(); // use sync to avoid popup blocker\n\n      xhr.open('HEAD', url, false);\n\n      try {\n        xhr.send();\n      } catch (e) {}\n\n      return xhr.status >= 200 && xhr.status <= 299;\n    } // `a.click()` doesn't work for all browsers (#465)\n\n\n    function click(node) {\n      try {\n        node.dispatchEvent(new MouseEvent('click'));\n      } catch (e) {\n        var evt = document.createEvent('MouseEvents');\n        evt.initMouseEvent('click', true, true, window, 0, 0, 0, 80, 20, false, false, false, false, 0, null);\n        node.dispatchEvent(evt);\n      }\n    } // Detect WebView inside a native macOS app by ruling out all browsers\n    // We just need to check for 'Safari' because all other browsers (besides Firefox) include that too\n    // https://www.whatismybrowser.com/guides/the-latest-user-agent/macos\n\n\n    var isMacOSWebView = _global.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent);\n    var saveAs = _global.saveAs || ( // probably in some web worker\n    typeof window !== 'object' || window !== _global ? function saveAs() {}\n    /* noop */\n    // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView\n    : 'download' in HTMLAnchorElement.prototype && !isMacOSWebView ? function saveAs(blob, name, opts) {\n      var URL = _global.URL || _global.webkitURL;\n      var a = document.createElement('a');\n      name = name || blob.name || 'download';\n      a.download = name;\n      a.rel = 'noopener'; // tabnabbing\n      // TODO: detect chrome extensions & packaged apps\n      // a.target = '_blank'\n\n      if (typeof blob === 'string') {\n        // Support regular links\n        a.href = blob;\n\n        if (a.origin !== location.origin) {\n          corsEnabled(a.href) ? download(blob, name, opts) : click(a, a.target = '_blank');\n        } else {\n          click(a);\n        }\n      } else {\n        // Support blobs\n        a.href = URL.createObjectURL(blob);\n        setTimeout(function () {\n          URL.revokeObjectURL(a.href);\n        }, 4E4); // 40s\n\n        setTimeout(function () {\n          click(a);\n        }, 0);\n      }\n    } // Use msSaveOrOpenBlob as a second approach\n    : 'msSaveOrOpenBlob' in navigator ? function saveAs(blob, name, opts) {\n      name = name || blob.name || 'download';\n\n      if (typeof blob === 'string') {\n        if (corsEnabled(blob)) {\n          download(blob, name, opts);\n        } else {\n          var a = document.createElement('a');\n          a.href = blob;\n          a.target = '_blank';\n          setTimeout(function () {\n            click(a);\n          });\n        }\n      } else {\n        navigator.msSaveOrOpenBlob(bom(blob, opts), name);\n      }\n    } // Fallback to using FileReader and a popup\n    : function saveAs(blob, name, opts, popup) {\n      // Open a popup immediately do go around popup blocker\n      // Mostly only available on user interaction and the fileReader is async so...\n      popup = popup || open('', '_blank');\n\n      if (popup) {\n        popup.document.title = popup.document.body.innerText = 'downloading...';\n      }\n\n      if (typeof blob === 'string') return download(blob, name, opts);\n      var force = blob.type === 'application/octet-stream';\n\n      var isSafari = /constructor/i.test(_global.HTMLElement) || _global.safari;\n\n      var isChromeIOS = /CriOS\\/[\\d]+/.test(navigator.userAgent);\n\n      if ((isChromeIOS || force && isSafari || isMacOSWebView) && typeof FileReader !== 'undefined') {\n        // Safari doesn't allow downloading of blob URLs\n        var reader = new FileReader();\n\n        reader.onloadend = function () {\n          var url = reader.result;\n          url = isChromeIOS ? url : url.replace(/^data:[^;]*;/, 'data:attachment/file;');\n          if (popup) popup.location.href = url;else location = url;\n          popup = null; // reverse-tabnabbing #460\n        };\n\n        reader.readAsDataURL(blob);\n      } else {\n        var URL = _global.URL || _global.webkitURL;\n        var url = URL.createObjectURL(blob);\n        if (popup) popup.location = url;else location.href = url;\n        popup = null; // reverse-tabnabbing #460\n\n        setTimeout(function () {\n          URL.revokeObjectURL(url);\n        }, 4E4); // 40s\n      }\n    });\n    _global.saveAs = saveAs.saveAs = saveAs;\n\n    if (typeof module !== 'undefined') {\n      module.exports = saveAs;\n    }\n  });\nwindow.onload = function () {\n    var data =new Array()\n    data.push(\"名字:\"+document.getElementsByTagName('span')[3].innerHTML)\n    console.log(\"名字:\"+document.getElementsByTagName('span')[3].innerHTML)\n    for(var i=4;i<8;i++)\n    {\n        var s=document.getElementsByClassName('statistic')[i].innerHTML;\n        var t=\"\",e=\"\";\n        for(var j=0;j<s.length;j++)\n        {\n            if(s[j]>='0' && s[j]<='9' || s[j]=='.' || s[j]=='K')\n            {\n                t+=s[j];\n            }\n            else\n            {\n                if(s[j-1]>='0' && s[j-1]<='9' || s[j-1]=='.' || s[j-1]=='K') e=t,t=\"\";\n            }\n        }\n        //console.log(s);\n        t=e;\n        if(i==4) t=\"经验值:\"+t;\n        if(i==5) t=\"开源豆:\"+t;\n        if(i==6) t=\"粉丝:\"+t;\n        if(i==7) t=\"关注:\"+t;\n        if(i==8) t=\"收藏夹:\"+t;\n        data.push(t)\n        console.log(t);\n    }\n    // var e=\"\",t=\"\",c=\"\";\n    // while(e=document.getElementsByClassName(\"item blog-item\")[i].innerHTML)\n    // {\n    //     for(var i=0;i<e.length;i++)\n    //     {\n    //         if(e[i]==\"\\\"\")\n    //         {\n    //             c=t;\n    //             t=\"\";\n    //         }\n    //         else t+=e[i];\n    //     }\n    //     console.log(c);\n    //     i++;\n    // }\n    // chrome.storage.sync.get('oschinaname',function(budget){\n    //     //console.log(budget.oschinaname)\n    //     var oschinaurl2=\"https://my.oschina.net/u/\"+budget.oschinaname+\"/following\";\n    //     window.open(oschinaurl2)\n    // })\n    var content=JSON.stringify(data, null, '\\t')\n    var blob = new Blob([content], {type: \"text/plain;charset=utf-8\"});\n    saveAs(blob, \"user.json\");\n}"
  },
  {
    "path": "install_deps.sh",
    "content": "sudo apt-get install build-essential libgtk-3-dev libgstreamer-plugins-base1.0-dev  libwebkitgtk-3.0-dev libxslt-dev freeglut3-dev  \npip3 install -r requirements.txt\n"
  },
  {
    "path": "requirements.txt",
    "content": "matplotlib==3.2.0\npyecharts==1.7.1\nselenium==3.141.0\nXlsxWriter==1.2.9\nopenpyxl==3.0.4\nnltk==3.9\npyquery==1.4.0\nlxml==4.9.1\nrequests==2.32.0\nnumpy==1.22.0\ntqdm==4.66.3\nwxPython==4.0.7\npandas==1.0.1\nwxpy==0.3.9.8\nbeautifulsoup4==4.9.1\nPillow==10.3.0\npython_dateutil==2.8.1"
  },
  {
    "path": "tests/DeepAnalysis/dataprocess.py",
    "content": "### 使用pytorch创建dataset和dataloader\nimport torch\nimport torch.nn as nn\nimport torch.nn.functional as F\nimport torch.optim as optim\nimport numpy as np\nimport pandas as pd\nimport matplotlib.pyplot as plt\nfrom torch.utils.data import Dataset, DataLoader\nfrom sklearn.preprocessing import MinMaxScaler\nfrom sklearn.metrics import mean_squared_error\nimport math\n\n\ndf = pd.read_csv('data.csv')\ndf.head()\n\n\ndata = df.filter(['Close'])\ndataset = data.values\ntraining_data_len = math.ceil(len(dataset) * .8)\ntraining_data_len\nscaler = MinMaxScaler(feature_range=(0, 1))\nscaled_data = scaler.fit_transform(dataset)\nscaled_data\n\n\ntrain_data = scaled_data[0:training_data_len, :]\nx_train = []\ny_train = []\nfor i in range(60, len(train_data)):\n    x_train.append(train_data[i-60:i, 0])\n    y_train.append(train_data[i, 0])\n    if i <= 60:\n        print(x_train)\n        print(y_train)\n        print()\n\nx_train, y_train = np.array(x_train), np.array(y_train)\nx_train = np.reshape(x_train, (x_train.shape[0], x_train.shape[1], 1))\nx_train.shape\ntest_data = scaled_data[training_data_len - 60:, :]\nx_test = []\ny_test = dataset[training_data_len:, :]\nfor i in range(60, len(test_data)):\n    x_test.append(test_data[i-60:i, 0])\nx_test = np.array(x_test)\nx_test = np.reshape(x_test, (x_test.shape[0], x_test.shape[1], 1))\n\n\nclass StockDataset(Dataset):\n    def __init__(self, x, y):\n        self.x = x\n        self.y = y\n    def __getitem__(self, index):\n        return self.x[index], self.y[index]\n    def __len__(self):\n        return len(self.x)\n\n\ntrain_dataset = StockDataset(x_train, y_train)\ntrain_loader = DataLoader(train_dataset, batch_size=1, shuffle=False)\ntest_dataset = StockDataset(x_test, y_test)\ntest_loader = DataLoader(test_dataset, batch_size=1, shuffle=False)"
  },
  {
    "path": "tests/DeepAnalysis/model.py",
    "content": "### 使用pytorch，创建一个LSTM模型\nimport torch\nimport torch.nn as nn\nimport torch.nn.functional as F\nimport torch.optim as optim\nimport numpy as np\nimport pandas as pd\nimport matplotlib.pyplot as plt\n\nclass LSTM(nn.Module):\n    def __init__(self, input_size=1, hidden_size=100, output_size=1):\n        super(LSTM, self).__init__()\n        self.hidden_size = hidden_size\n        self.lstm = nn.LSTM(input_size, hidden_size)\n        self.linear = nn.Linear(hidden_size, output_size)\n        self.hidden = self.init_hidden()\n\n    def init_hidden(self):\n        return (torch.zeros(1, 1, self.hidden_size),\n                torch.zeros(1, 1, self.hidden_size))\n\n    def forward(self, input):\n        lstm_out, self.hidden = self.lstm(input.view(len(input), 1, -1), self.hidden)\n        y_pred = self.linear(lstm_out.view(len(input), -1))\n        return y_pred[-1]"
  },
  {
    "path": "tests/DeepAnalysis/trainer.py",
    "content": "import torch\nimport torch.nn as nn\nimport torch.nn.functional as F\nimport torch.optim as optim\nimport numpy as np\nimport pandas as pd\nimport matplotlib.pyplot as plt\nimport logging.handlers\nimport logging.config\nfrom sklearn.preprocessing import MinMaxScaler\nfrom model import LSTM\n\ndef read_data():\n    data = pd.read_csv('data.csv')\n    data = data.dropna()\n    data = data.reset_index(drop=True)\n    data = data.drop(['date'], axis=1)\n    data = data.astype('float32')\n    return data\n\n\ndef normalize_data(data):\n    scaler = MinMaxScaler(feature_range=(-1, 1))\n    data['close'] = scaler.fit_transform(data['close'].values.reshape(-1, 1))\n    return data, scaler\n\n\ndef create_train_data(data, seq_len):\n    x_train = []\n    y_train = []\n\n    for i in range(seq_len, len(data)):\n        x_train.append(data[i-seq_len:i, 0])\n        y_train.append(data[i, 0])\n\n    x_train, y_train = np.array(x_train), np.array(y_train)\n    x_train = np.reshape(x_train, (x_train.shape[0], x_train.shape[1], 1))\n    return x_train, y_train\n\n\ndef create_test_data(data, seq_len):\n    x_test = []\n    y_test = data[seq_len:, :]\n    for i in range(seq_len, len(data)):\n        x_test.append(data[i-seq_len:i, 0])\n    x_test = np.array(x_test)\n    x_test = np.reshape(x_test, (x_test.shape[0], x_test.shape[1], 1))\n    return x_test, y_test\n\n\ndef train_model(x_train, y_train, x_test, y_test):\n    model = LSTM()\n    criterion = torch.nn.MSELoss()\n    optimizer = torch.optim.Adam(model.parameters(), lr=0.001)\n    epochs = 10\n    for epoch in range(epochs):\n        inputs = torch.from_numpy(x_train).float()\n        labels = torch.from_numpy(y_train).float()\n        optimizer.zero_grad()\n        model.hidden = model.init_hidden()\n        y_pred = model(inputs)\n        loss = criterion(y_pred, labels)\n        loss.backward()\n        optimizer.step()\n        print('Epoch [{}/{}], Loss: {:.4f}'.format(epoch+1, epochs, loss.item()))\n    return model\n\n\ndef predict(model, x_test, y_test, scaler):\n    inputs = torch.from_numpy(x_test).float()\n    y_pred = model(inputs)\n    y_pred = y_pred.detach().numpy()\n    y_test = y_test.reshape(-1, 1)\n    y_pred = scaler.inverse_transform(y_pred)\n    y_test = scaler.inverse_transform(y_test)\n    return y_pred, y_test\n\n\ndef evaluate_model(y_pred, y_test):\n    rmse = np.sqrt(np.mean(((y_pred - y_test) ** 2)))\n    print('RMSE: ', rmse)\n    plt.plot(y_test, color='red', label='Real Stock Price')\n    plt.plot(y_pred, color='blue', label='Predicted Stock Price')\n    plt.title('Stock Price Prediction')\n    plt.xlabel('Time')\n    plt.ylabel('Stock Price')\n    plt.legend()\n    plt.show()\n\nif __name__ == '__main__':\n    data = read_data()\n    data, scaler = normalize_data(data)\n    seq_len = 60\n    x_train, y_train = create_train_data(data, seq_len)\n    x_test, y_test = create_test_data(data, seq_len)\n    model = train_model(x_train, y_train, x_test, y_test)\n    y_pred, y_test = predict(model, x_test, y_test, scaler)\n    evaluate_model(y_pred, y_test)"
  },
  {
    "path": "tests/blog_analyse/cnblog.ipynb",
    "content": "{\n \"metadata\": {\n  \"language_info\": {\n   \"codemirror_mode\": {\n    \"name\": \"ipython\",\n    \"version\": 3\n   },\n   \"file_extension\": \".py\",\n   \"mimetype\": \"text/x-python\",\n   \"name\": \"python\",\n   \"nbconvert_exporter\": \"python\",\n   \"pygments_lexer\": \"ipython3\",\n   \"version\": 3\n  },\n  \"orig_nbformat\": 2,\n  \"kernelspec\": {\n   \"name\": \"python_defaultSpec_1595827092327\",\n   \"display_name\": \"Python 3.7.3 64-bit\"\n  }\n },\n \"nbformat\": 4,\n \"nbformat_minor\": 2,\n \"cells\": [\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n    \"import pandas as pd\\n\",\n    \"import numpy as np\\n\",\n    \"import jieba\\n\",\n    \"import pyecharts\\n\",\n    \"from collections import Counter\\n\",\n    \"from pyecharts.charts import Line\\n\",\n    \"from pyecharts.charts import Bar\\n\",\n    \"from datetime import datetime\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n    \"df = pd.read_json('cnblog_article.json', encoding='utf-8')\\n\",\n    \"# df = df[['postdate', 'views']]\\n\",\n    \"df = df.drop(['title', 'sumary', 'posttime', 'views'], axis=1)\\n\",\n    \"df['count'] = 1\\n\",\n    \"df\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n    \"df['postdate'] = pd.to_datetime(df['postdate'])\\n\",\n    \"df = df.set_index('postdate')\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n    \"result = df.resample('M').sum()\\n\",\n    \"result\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {\n    \"tags\": []\n   },\n   \"outputs\": [],\n   \"source\": [\n    \"x1, y1 = [], []\\n\",\n    \"for i in result.index:\\n\",\n    \"    x1.append(i)\\n\",\n    \"for i in result.values:\\n\",\n    \"    y1.append(i[0])\\n\",\n    \"print(x1, y1)\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": []\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n    \"from pyecharts import options as opts\\n\",\n    \"from pyecharts.charts import Bar\\n\",\n    \"\\n\",\n    \"c = (\\n\",\n    \"    Bar()\\n\",\n    \"    .add_xaxis(x1)\\n\",\n    \"    .add_yaxis(\\\"商家A\\\", y1)\\n\",\n    \"    .set_global_opts(title_opts=opts.TitleOpts(title=\\\"Bar-基本示例\\\", subtitle=\\\"我是副标题\\\"))\\n\",\n    \"    .render_notebook()\\n\",\n    \")\\n\",\n    \"c\"\n   ]\n  },\n  {\n   \"cell_type\": \"markdown\",\n   \"metadata\": {},\n   \"source\": [\n    \"------------\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n    \"week_data = []\\n\",\n    \"for i in df_json['postdate']:\\n\",\n    \"    week_data.append(datetime.strptime(i, \\\"%Y-%m-%d\\\").weekday())\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {\n    \"tags\": []\n   },\n   \"outputs\": [],\n   \"source\": [\n    \"time_data = []\\n\",\n    \"for i in df_json['posttime']:\\n\",\n    \"    time_data.append(i.split(\\\":\\\")[0])\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n    \"tc = Counter(time_data)\\n\",\n    \"# time_count_date = [tc[i] for i in tc]\\n\",\n    \"# time_count_date\\n\",\n    \"tc\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {\n    \"tags\": []\n   },\n   \"outputs\": [],\n   \"source\": [\n    \"from datetime import datetime\\n\",\n    \"map_data = []\\n\",\n    \"for item in df_json.values:\\n\",\n    \"    week = datetime.strptime(item[2], \\\"%Y-%m-%d\\\").weekday()\\n\",\n    \"    print(week)\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n    \"line = Bar()\\n\",\n    \"# x_data = [i for i in date_counter]\\n\",\n    \"# y_data = [date_counter[i] for i in date_counter]\\n\",\n    \"line.add_xaxis(time_data)\\n\",\n    \"line.add_yaxis(\\\"count\\\", time_count_date)\\n\",\n    \"line.render_notebook()\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 214,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": [\n    \"import pandas as pd\\n\",\n    \"import numpy as np\\n\",\n    \"import jieba\\n\",\n    \"import pyecharts\\n\",\n    \"from collections import Counter\\n\",\n    \"from pyecharts.charts import WordCloud\\n\",\n    \"from pyecharts.charts import Line\\n\",\n    \"\\n\",\n    \"# 获取所有字段存为一个字符串\\n\",\n    \"def get_text(json_file, column='title'):\\n\",\n    \"    df_json = pd.read_json(json_file, encoding='utf-8')\\n\",\n    \"    text = ''\\n\",\n    \"    for i in df_json[column]:\\n\",\n    \"        text += i\\n\",\n    \"    return text\\n\",\n    \"\\n\",\n    \"# 去停用词，使用jieba分词\\n\",\n    \"def split_word(text):\\n\",\n    \"    word_list = list(jieba.cut(text))\\n\",\n    \"    # 去掉一些无意义的词和符号，我这里自己整理了停用词库\\n\",\n    \"    with open('stop_word.txt', encoding='utf-8') as f:\\n\",\n    \"        meaningless_word = f.read().splitlines()\\n\",\n    \"        # print(meaningless_word)\\n\",\n    \"    result = []\\n\",\n    \"    # 筛选词语\\n\",\n    \"    for i in word_list:\\n\",\n    \"        if i not in meaningless_word:\\n\",\n    \"            result.append(i.replace(' ', ''))\\n\",\n    \"    return result\\n\",\n    \"\\n\",\n    \"# 词频统计\\n\",\n    \"def word_counter(words):\\n\",\n    \"    # 使用Count计数方法\\n\",\n    \"    words_counter = Counter(words)\\n\",\n    \"    # 将Counter类型转换为列表\\n\",\n    \"    words_list = words_counter.most_common(100)\\n\",\n    \"    return words_list\\n\",\n    \"\\n\",\n    \"# 生成词云\\n\",\n    \"def create_wordcloud(json_file, title='词云', column='title'):\\n\",\n    \"    text = get_text(json_file, column=column)\\n\",\n    \"    clear_word = split_word(text)\\n\",\n    \"    data = word_counter(clear_word)\\n\",\n    \"    wd = WordCloud()\\n\",\n    \"    wd.add(series_name=title, data_pair=data, word_size_range=[40, 150])\\n\",\n    \"    wd.set_global_opts(title_opts=opts.TitleOpts(title=\\\"你的文章词云\\\", subtitle=\\\"基于你的博客数据生成\\\", title_textstyle_opts=opts.TextStyleOpts(font_size=23)), tooltip_opts=opts.TooltipOpts(is_show=True))\\n\",\n    \"    # wd.render_notebook()\\n\",\n    \"    wd.render('topic_wordcloud.html')\\n\",\n    \"\\n\",\n    \"# 生成折线图\\n\",\n    \"def create_postdate_line(json_file, title='折线图', column='postdate'):\\n\",\n    \"    df_json = pd.read_json('cnblog_article.json', encoding='utf-8')\\n\",\n    \"    postdate_month_list = []\\n\",\n    \"    for i in df_json[column]:\\n\",\n    \"        postdate_month_list.append('-'.join(i.split('-')[:-1]))\\n\",\n    \"    date_counter = Counter(postdate_month_list)\\n\",\n    \"    line = Line()\\n\",\n    \"    x_data = [i for i in date_counter]\\n\",\n    \"    y_data = [date_counter[i] for i in date_counter]\\n\",\n    \"    line.add_xaxis(x_data)\\n\",\n    \"    line.add_yaxis(series_name=\\\"发文数量\\\", y_axis=y_data)\\n\",\n    \"    line.set_global_opts(title_opts=opts.TitleOpts(title=\\\"你的发文数量\\\", subtitle=\\\"基于你的博客数据生成\\\"))\\n\",\n    \"    line.render('postdate_line.html')\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": 215,\n   \"metadata\": {\n    \"tags\": []\n   },\n   \"outputs\": [],\n   \"source\": [\n    \"create_wordcloud('cnblog_article.json', title='你的创作领域词云', column='title')\\n\",\n    \"create_postdate_line('cnblog_article.json', title='发文时间线', column='postdate')\"\n   ]\n  },\n  {\n   \"cell_type\": \"code\",\n   \"execution_count\": null,\n   \"metadata\": {},\n   \"outputs\": [],\n   \"source\": []\n  }\n ]\n}"
  },
  {
    "path": "tests/blog_analyse/postdate_line.html",
    "content": "<!DOCTYPE html>\n<html>\n<head>\n    <meta charset=\"UTF-8\">\n    <title>Awesome-pyecharts</title>\n            <script type=\"text/javascript\" src=\"https://assets.pyecharts.org/assets/echarts.min.js\"></script>\n\n</head>\n<body>\n    <div id=\"926d0fdda63749ceb18143090eb62bfb\" class=\"chart-container\" style=\"width:900px; height:500px;\"></div>\n    <script>\n        var chart_926d0fdda63749ceb18143090eb62bfb = echarts.init(\n            document.getElementById('926d0fdda63749ceb18143090eb62bfb'), 'white', {renderer: 'canvas'});\n        var option_926d0fdda63749ceb18143090eb62bfb = {\n    \"animation\": true,\n    \"animationThreshold\": 2000,\n    \"animationDuration\": 1000,\n    \"animationEasing\": \"cubicOut\",\n    \"animationDelay\": 0,\n    \"animationDurationUpdate\": 300,\n    \"animationEasingUpdate\": \"cubicOut\",\n    \"animationDelayUpdate\": 0,\n    \"color\": [\n        \"#c23531\",\n        \"#2f4554\",\n        \"#61a0a8\",\n        \"#d48265\",\n        \"#749f83\",\n        \"#ca8622\",\n        \"#bda29a\",\n        \"#6e7074\",\n        \"#546570\",\n        \"#c4ccd3\",\n        \"#f05b72\",\n        \"#ef5b9c\",\n        \"#f47920\",\n        \"#905a3d\",\n        \"#fab27b\",\n        \"#2a5caa\",\n        \"#444693\",\n        \"#726930\",\n        \"#b2d235\",\n        \"#6d8346\",\n        \"#ac6767\",\n        \"#1d953f\",\n        \"#6950a1\",\n        \"#918597\"\n    ],\n    \"series\": [\n        {\n            \"type\": \"line\",\n            \"name\": \"\\u53d1\\u6587\\u6570\\u91cf\",\n            \"connectNulls\": false,\n            \"symbolSize\": 4,\n            \"showSymbol\": true,\n            \"smooth\": false,\n            \"step\": false,\n            \"data\": [\n                [\n                    \"2020-06\",\n                    1\n                ],\n                [\n                    \"2020-04\",\n                    3\n                ],\n                [\n                    \"2020-03\",\n                    2\n                ],\n                [\n                    \"2020-02\",\n                    2\n                ],\n                [\n                    \"2020-01\",\n                    1\n                ],\n                [\n                    \"2019-11\",\n                    4\n                ],\n                [\n                    \"2019-10\",\n                    4\n                ],\n                [\n                    \"2019-05\",\n                    5\n                ],\n                [\n                    \"2019-04\",\n                    3\n                ],\n                [\n                    \"2019-03\",\n                    3\n                ],\n                [\n                    \"2019-02\",\n                    5\n                ],\n                [\n                    \"2019-01\",\n                    16\n                ],\n                [\n                    \"2018-12\",\n                    15\n                ],\n                [\n                    \"2018-11\",\n                    14\n                ],\n                [\n                    \"2018-10\",\n                    21\n                ],\n                [\n                    \"2018-09\",\n                    21\n                ],\n                [\n                    \"2018-08\",\n                    16\n                ],\n                [\n                    \"2018-07\",\n                    21\n                ],\n                [\n                    \"2018-06\",\n                    13\n                ],\n                [\n                    \"2018-05\",\n                    2\n                ],\n                [\n                    \"2018-04\",\n                    1\n                ]\n            ],\n            \"hoverAnimation\": true,\n            \"label\": {\n                \"show\": true,\n                \"position\": \"top\",\n                \"margin\": 8\n            },\n            \"lineStyle\": {\n                \"show\": true,\n                \"width\": 1,\n                \"opacity\": 1,\n                \"curveness\": 0,\n                \"type\": \"solid\"\n            },\n            \"areaStyle\": {\n                \"opacity\": 0\n            },\n            \"zlevel\": 0,\n            \"z\": 0\n        }\n    ],\n    \"legend\": [\n        {\n            \"data\": [\n                \"\\u53d1\\u6587\\u6570\\u91cf\"\n            ],\n            \"selected\": {\n                \"\\u53d1\\u6587\\u6570\\u91cf\": true\n            },\n            \"show\": true,\n            \"padding\": 5,\n            \"itemGap\": 10,\n            \"itemWidth\": 25,\n            \"itemHeight\": 14\n        }\n    ],\n    \"tooltip\": {\n        \"show\": true,\n        \"trigger\": \"item\",\n        \"triggerOn\": \"mousemove|click\",\n        \"axisPointer\": {\n            \"type\": \"line\"\n        },\n        \"textStyle\": {\n            \"fontSize\": 14\n        },\n        \"borderWidth\": 0\n    },\n    \"xAxis\": [\n        {\n            \"show\": true,\n            \"scale\": false,\n            \"nameLocation\": \"end\",\n            \"nameGap\": 15,\n            \"gridIndex\": 0,\n            \"inverse\": false,\n            \"offset\": 0,\n            \"splitNumber\": 5,\n            \"minInterval\": 0,\n            \"splitLine\": {\n                \"show\": false,\n                \"lineStyle\": {\n                    \"show\": true,\n                    \"width\": 1,\n                    \"opacity\": 1,\n                    \"curveness\": 0,\n                    \"type\": \"solid\"\n                }\n            },\n            \"data\": [\n                \"2020-06\",\n                \"2020-04\",\n                \"2020-03\",\n                \"2020-02\",\n                \"2020-01\",\n                \"2019-11\",\n                \"2019-10\",\n                \"2019-05\",\n                \"2019-04\",\n                \"2019-03\",\n                \"2019-02\",\n                \"2019-01\",\n                \"2018-12\",\n                \"2018-11\",\n                \"2018-10\",\n                \"2018-09\",\n                \"2018-08\",\n                \"2018-07\",\n                \"2018-06\",\n                \"2018-05\",\n                \"2018-04\"\n            ]\n        }\n    ],\n    \"yAxis\": [\n        {\n            \"show\": true,\n            \"scale\": false,\n            \"nameLocation\": \"end\",\n            \"nameGap\": 15,\n            \"gridIndex\": 0,\n            \"inverse\": false,\n            \"offset\": 0,\n            \"splitNumber\": 5,\n            \"minInterval\": 0,\n            \"splitLine\": {\n                \"show\": false,\n                \"lineStyle\": {\n                    \"show\": true,\n                    \"width\": 1,\n                    \"opacity\": 1,\n                    \"curveness\": 0,\n                    \"type\": \"solid\"\n                }\n            }\n        }\n    ],\n    \"title\": [\n        {\n            \"text\": \"\\u4f60\\u7684\\u53d1\\u6587\\u6570\\u91cf\",\n            \"subtext\": \"\\u57fa\\u4e8e\\u4f60\\u7684\\u535a\\u5ba2\\u6570\\u636e\\u751f\\u6210\",\n            \"padding\": 5,\n            \"itemGap\": 10\n        }\n    ]\n};\n        chart_926d0fdda63749ceb18143090eb62bfb.setOption(option_926d0fdda63749ceb18143090eb62bfb);\n    </script>\n</body>\n</html>\n"
  },
  {
    "path": "tests/blog_analyse/stop_word.txt",
    "content": "﻿\n$\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n?\n_\n“\n”\n、\n。\n《\n》\n一\n一些\n一何\n一切\n一则\n一方面\n一旦\n一来\n一样\n一般\n一转眼\n一瞬间\n万一\n上\n上下\n下\n不\n不仅\n不但\n不光\n不单\n不只\n不外乎\n不如\n不妨\n不尽\n不尽然\n不得\n不怕\n不惟\n不成\n不拘\n不料\n不是\n不比\n不然\n不特\n不独\n不管\n不至于\n不若\n不论\n不过\n不问\n与\n与其\n与其说\n与否\n与此同时\n且\n且不说\n且说\n两者\n个\n个别\n临\n为\n为了\n为什么\n为何\n为止\n为此\n为着\n乃\n乃至\n乃至于\n么\n之\n之一\n之所以\n之类\n乌乎\n乎\n乘\n也\n也好\n也罢\n了\n二来\n于\n于是\n于是乎\n云云\n云尔\n些\n亦\n人\n人们\n人家\n什么\n什么样\n今\n介于\n仍\n仍旧\n从\n从此\n从而\n他\n他人\n他们\n以\n以上\n以为\n以便\n以免\n以及\n以故\n以期\n以来\n以至\n以至于\n以致\n们\n任\n任何\n任凭\n似的\n但\n但凡\n但是\n何\n何以\n何况\n何处\n何时\n余外\n作为\n你\n你们\n使\n使得\n例如\n依\n依据\n依照\n便于\n俺\n俺们\n倘\n倘使\n倘或\n倘然\n倘若\n借\n假使\n假如\n假若\n傥然\n像\n儿\n先不先\n光是\n全体\n全部\n兮\n关于\n其\n其一\n其中\n其二\n其他\n其余\n其它\n其次\n具体地说\n具体说来\n兼之\n内\n再\n再其次\n再则\n再有\n再者\n再者说\n再说\n冒\n冲\n况且\n几\n几时\n凡\n凡是\n凭\n凭借\n出于\n出来\n分别\n则\n则甚\n别\n别人\n别处\n别是\n别的\n别管\n别说\n到\n前后\n前此\n前者\n加之\n加以\n即\n即令\n即使\n即便\n即如\n即或\n即若\n却\n去\n又\n又及\n及\n及其\n及至\n反之\n反而\n反过来\n反过来说\n受到\n另\n另一方面\n另外\n另悉\n只\n只当\n只怕\n只是\n只有\n只消\n只要\n只限\n叫\n叮咚\n可\n可以\n可是\n可见\n各\n各个\n各位\n各种\n各自\n同\n同时\n后\n后者\n向\n向使\n向着\n吓\n吗\n否则\n吧\n吧哒\n吱\n呀\n呃\n呕\n呗\n呜\n呜呼\n呢\n呵\n呵呵\n呸\n呼哧\n咋\n和\n咚\n咦\n咧\n咱\n咱们\n咳\n哇\n哈\n哈哈\n哉\n哎\n哎呀\n哎哟\n哗\n哟\n哦\n哩\n哪\n哪个\n哪些\n哪儿\n哪天\n哪年\n哪怕\n哪样\n哪边\n哪里\n哼\n哼唷\n唉\n唯有\n啊\n啐\n啥\n啦\n啪达\n啷当\n喂\n喏\n喔唷\n喽\n嗡\n嗡嗡\n嗬\n嗯\n嗳\n嘎\n嘎登\n嘘\n嘛\n嘻\n嘿\n嘿嘿\n因\n因为\n因了\n因此\n因着\n因而\n固然\n在\n在下\n在于\n地\n基于\n处在\n多\n多么\n多少\n大\n大家\n她\n她们\n好\n如\n如上\n如上所述\n如下\n如何\n如其\n如同\n如是\n如果\n如此\n如若\n始而\n孰料\n孰知\n宁\n宁可\n宁愿\n宁肯\n它\n它们\n对\n对于\n对待\n对方\n对比\n将\n小\n尔\n尔后\n尔尔\n尚且\n就\n就是\n就是了\n就是说\n就算\n就要\n尽\n尽管\n尽管如此\n岂但\n己\n已\n已矣\n巴\n巴巴\n并\n并且\n并非\n庶乎\n庶几\n开外\n开始\n归\n归齐\n当\n当地\n当然\n当着\n彼\n彼时\n彼此\n往\n待\n很\n得\n得了\n怎\n怎么\n怎么办\n怎么样\n怎奈\n怎样\n总之\n总的来看\n总的来说\n总的说来\n总而言之\n恰恰相反\n您\n惟其\n慢说\n我\n我们\n或\n或则\n或是\n或曰\n或者\n截至\n所\n所以\n所在\n所幸\n所有\n才\n才能\n打\n打从\n把\n抑或\n拿\n按\n按照\n换句话说\n换言之\n据\n据此\n接着\n故\n故此\n故而\n旁人\n无\n无宁\n无论\n既\n既往\n既是\n既然\n时候\n是\n是以\n是的\n曾\n替\n替代\n最\n有\n有些\n有关\n有及\n有时\n有的\n望\n朝\n朝着\n本\n本人\n本地\n本着\n本身\n来\n来着\n来自\n来说\n极了\n果然\n果真\n某\n某个\n某些\n某某\n根据\n欤\n正值\n正如\n正巧\n正是\n此\n此地\n此处\n此外\n此时\n此次\n此间\n毋宁\n每\n每当\n比\n比及\n比如\n比方\n没奈何\n沿\n沿着\n漫说\n焉\n然则\n然后\n然而\n照\n照着\n犹且\n犹自\n甚且\n甚么\n甚或\n甚而\n甚至\n甚至于\n用\n用来\n由\n由于\n由是\n由此\n由此可见\n的\n的确\n的话\n直到\n相对而言\n省得\n看\n眨眼\n着\n着呢\n矣\n矣乎\n矣哉\n离\n竟而\n第\n等\n等到\n等等\n简言之\n管\n类如\n紧接着\n纵\n纵令\n纵使\n纵然\n经\n经过\n结果\n给\n继之\n继后\n继而\n综上所述\n罢了\n者\n而\n而且\n而况\n而后\n而外\n而已\n而是\n而言\n能\n能否\n腾\n自\n自个儿\n自从\n自各儿\n自后\n自家\n自己\n自打\n自身\n至\n至于\n至今\n至若\n致\n般的\n若\n若夫\n若是\n若果 \n若非\n莫不然\n莫如\n莫若\n虽\n虽则\n虽然\n虽说\n被\n要\n要不\n要不是\n要不然\n要么\n要是\n譬喻\n譬如\n让\n许多\n论\n设使\n设或\n设若\n诚如\n诚然\n该\n说来\n诸\n诸位\n诸如\n谁\n谁人\n谁料\n谁知\n贼死\n赖以\n赶\n起\n起见\n趁\n趁着\n越是\n距\n跟\n较\n较之\n边\n过\n还\n还是\n还有\n还要\n这\n这一来\n这个\n这么\n这么些\n这么样\n这么点儿\n这些\n这会儿\n这儿\n这就是说\n这时\n这样\n这次\n这般\n这边\n这里\n进而\n连\n连同\n逐步\n通过\n遵循\n遵照\n那\n那个\n那么\n那么些\n那么样\n那些\n那会儿\n那儿\n那时\n那样\n那般\n那边\n那里\n都\n鄙人\n鉴于\n针对\n阿\n除\n除了\n除外\n除开\n除此之外\n除非\n随\n随后\n随时\n随着\n难道说\n难道说\n非但\n非徒\n非特\n非独\n靠\n顺\n顺着\n！\n靠\n顺\n顺着\n首先\n！\n非但\n非徒\n非特\n非独\n靠\n顺\n顺着\n首先\n！\n，\n：\n；\n！\n？\n"
  },
  {
    "path": "tests/blog_analyse/topic_wordcloud.html",
    "content": "<!DOCTYPE html>\n<html>\n<head>\n    <meta charset=\"UTF-8\">\n    <title>Awesome-pyecharts</title>\n            <script type=\"text/javascript\" src=\"https://assets.pyecharts.org/assets/echarts.min.js\"></script>\n        <script type=\"text/javascript\" src=\"https://assets.pyecharts.org/assets/echarts-wordcloud.min.js\"></script>\n\n</head>\n<body>\n    <div id=\"73554dda23104b278647d05961641e2a\" class=\"chart-container\" style=\"width:900px; height:500px;\"></div>\n    <script>\n        var chart_73554dda23104b278647d05961641e2a = echarts.init(\n            document.getElementById('73554dda23104b278647d05961641e2a'), 'white', {renderer: 'canvas'});\n        var option_73554dda23104b278647d05961641e2a = {\n    \"animation\": true,\n    \"animationThreshold\": 2000,\n    \"animationDuration\": 1000,\n    \"animationEasing\": \"cubicOut\",\n    \"animationDelay\": 0,\n    \"animationDurationUpdate\": 300,\n    \"animationEasingUpdate\": \"cubicOut\",\n    \"animationDelayUpdate\": 0,\n    \"color\": [\n        \"#c23531\",\n        \"#2f4554\",\n        \"#61a0a8\",\n        \"#d48265\",\n        \"#749f83\",\n        \"#ca8622\",\n        \"#bda29a\",\n        \"#6e7074\",\n        \"#546570\",\n        \"#c4ccd3\",\n        \"#f05b72\",\n        \"#ef5b9c\",\n        \"#f47920\",\n        \"#905a3d\",\n        \"#fab27b\",\n        \"#2a5caa\",\n        \"#444693\",\n        \"#726930\",\n        \"#b2d235\",\n        \"#6d8346\",\n        \"#ac6767\",\n        \"#1d953f\",\n        \"#6950a1\",\n        \"#918597\"\n    ],\n    \"series\": [\n        {\n            \"type\": \"wordCloud\",\n            \"name\": \"\\u4f60\\u7684\\u521b\\u4f5c\\u9886\\u57df\\u8bcd\\u4e91\",\n            \"shape\": \"circle\",\n            \"rotationRange\": [\n                -90,\n                90\n            ],\n            \"rotationStep\": 45,\n            \"girdSize\": 20,\n            \"sizeRange\": [\n                40,\n                150\n            ],\n            \"data\": [\n                {\n                    \"value\": 132,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(12,132,17)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u2014\",\n                    \"value\": 45,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(77,74,159)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u5165\\u95e8\",\n                    \"value\": 41,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(5,111,56)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"python\",\n                    \"value\": 29,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(129,85,2)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u5b66\\u4e60\",\n                    \"value\": 22,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(18,33,119)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u6a21\\u5757\",\n                    \"value\": 13,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(102,3,51)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"--\",\n                    \"value\": 13,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(67,157,13)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"-\",\n                    \"value\": 11,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(38,147,32)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u5929\",\n                    \"value\": 10,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(77,144,77)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"Django\",\n                    \"value\": 9,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(89,62,13)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u524d\\u7aef\",\n                    \"value\": 9,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(100,58,137)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u4f7f\\u7528\",\n                    \"value\": 8,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(151,86,128)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\uff08\",\n                    \"value\": 8,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(153,88,64)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\uff09\",\n                    \"value\": 8,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(56,71,84)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u6846\\u67b6\",\n                    \"value\": 7,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(59,60,73)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u4e2d\",\n                    \"value\": 7,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(11,156,81)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"__\",\n                    \"value\": 7,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(44,23,95)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u64cd\\u4f5c\",\n                    \"value\": 6,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(72,83,49)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"---\",\n                    \"value\": 6,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(45,137,112)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u57fa\\u7840\",\n                    \"value\": 5,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(129,103,54)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u7ec4\\u4ef6\",\n                    \"value\": 5,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(21,20,66)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"Python\",\n                    \"value\": 5,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(9,31,85)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"java\",\n                    \"value\": 5,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(19,147,16)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"01\",\n                    \"value\": 5,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(65,26,1)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \",\",\n                    \"value\": 5,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(77,24,117)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"vue\",\n                    \"value\": 4,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(48,96,69)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"Linux\",\n                    \"value\": 4,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(137,153,50)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u533a\\u522b\",\n                    \"value\": 4,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(152,75,89)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u5b89\\u88c5\",\n                    \"value\": 4,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(107,64,36)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u63d2\\u4ef6\",\n                    \"value\": 4,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(39,108,127)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u7b2c\\u4e09\\u5929\",\n                    \"value\": 4,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(120,121,29)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u7a0b\\u5e8f\",\n                    \"value\": 4,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(48,83,152)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"----\",\n                    \"value\": 4,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(19,79,92)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"'\",\n                    \"value\": 4,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(78,106,42)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \".\",\n                    \"value\": 4,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(147,67,149)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"mysql\",\n                    \"value\": 4,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(109,44,10)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"(\",\n                    \"value\": 4,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(115,0,74)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \")\",\n                    \"value\": 4,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(95,29,13)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u4f5c\\u4e1a\",\n                    \"value\": 4,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(158,124,49)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u7cfb\\u7edf\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(42,115,112)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u6570\\u636e\\u5e93\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(83,52,45)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u7c7b\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(41,55,132)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u6743\\u9650\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(41,9,13)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u5bf9\\u8c61\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(149,126,27)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"+\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(22,27,73)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u51fd\\u6570\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(159,74,96)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u77e5\\u8bc6\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(93,92,101)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u56de\\u987e\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(59,140,70)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u7528\\u6237\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(118,29,6)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u6570\\u636e\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(104,153,37)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u8868\\u683c\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(57,85,135)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"DOM\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(138,29,87)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u5206\\u6790\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(36,111,65)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"URL\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(31,142,125)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"javascript\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(136,38,5)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u7b2c\\u4e00\\u5929\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(127,92,44)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u4e00\\u4e2a\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(64,7,90)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u6210\\u5458\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(120,9,149)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"*\",\n                    \"value\": 3,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(40,51,5)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u7ed3\\u6784\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(105,130,73)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u4fee\\u6539\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(154,30,108)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"/\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(30,36,72)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"django\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(69,10,131)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u5f00\\u53d1\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(66,31,49)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u547d\\u4ee4\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(94,88,109)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"Docker\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(154,37,46)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u5904\\u7406\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(149,43,43)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u5b9e\\u73b0\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(71,132,36)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u9009\\u62e9\\u5668\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(154,32,49)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u7ba1\\u7406\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(127,27,39)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"01Django\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(53,115,58)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"Rest\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(151,79,15)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u7b14\\u8bb0\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(69,36,8)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u62fe\\u9057\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(134,105,125)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u5143\\u7d20\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(41,43,35)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u751f\\u6210\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(55,95,15)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u7b2c\\u56db\\u5929\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(38,91,43)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u3010\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(47,36,95)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u3011\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(89,30,21)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u65b9\\u6cd5\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(141,103,77)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u8ba4\\u8bc1\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(10,71,6)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u652f\\u6301\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(138,131,122)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u5668\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(44,63,5)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u7f16\\u7a0b\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(66,52,10)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"numpy\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(3,97,40)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"-----\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(45,143,138)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"C\\u8bed\\u8a00\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(53,158,149)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u8bed\\u8a00\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(105,32,60)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u9017\\u53f7\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(76,31,54)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"tkinter\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(66,29,21)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"set\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(13,33,152)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"POST\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(132,39,78)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"the\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(154,118,129)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"t\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(76,90,135)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"slash\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(120,138,69)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"and\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(123,56,136)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"js\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(7,146,157)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u7cfb\\u5217\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(3,32,47)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"\\u95ee\\u9898\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(47,147,131)\"\n                        }\n                    }\n                },\n                {\n                    \"name\": \"MySQL\",\n                    \"value\": 2,\n                    \"textStyle\": {\n                        \"normal\": {\n                            \"color\": \"rgb(59,110,130)\"\n                        }\n                    }\n                }\n            ],\n            \"drawOutOfBound\": false,\n            \"textStyle\": {\n                \"emphasis\": {}\n            }\n        }\n    ],\n    \"legend\": [\n        {\n            \"data\": [],\n            \"selected\": {},\n            \"show\": true,\n            \"padding\": 5,\n            \"itemGap\": 10,\n            \"itemWidth\": 25,\n            \"itemHeight\": 14\n        }\n    ],\n    \"tooltip\": {\n        \"show\": true,\n        \"trigger\": \"item\",\n        \"triggerOn\": \"mousemove|click\",\n        \"axisPointer\": {\n            \"type\": \"line\"\n        },\n        \"textStyle\": {\n            \"fontSize\": 14\n        },\n        \"borderWidth\": 0\n    },\n    \"title\": [\n        {\n            \"text\": \"\\u4f60\\u7684\\u6587\\u7ae0\\u8bcd\\u4e91\",\n            \"subtext\": \"\\u57fa\\u4e8e\\u4f60\\u7684\\u535a\\u5ba2\\u6570\\u636e\\u751f\\u6210\",\n            \"padding\": 5,\n            \"itemGap\": 10,\n            \"textStyle\": {\n                \"fontSize\": 23\n            }\n        }\n    ]\n};\n        chart_73554dda23104b278647d05961641e2a.setOption(option_73554dda23104b278647d05961641e2a);\n    </script>\n</body>\n</html>\n"
  },
  {
    "path": "tests/ctrip/main.py",
    "content": "import json\nimport os\nimport re\nimport threading\n\nimport wx\nimport time\nfrom selenium import webdriver\nfrom selenium.webdriver import ChromeOptions\n\nimport sys\nsys.path.append(\"../../Spiders/\")\nimport shgjj\nfrom ctrip.main import Ctrip\n\n\nclass SpiderHelper:\n    def __init__(self):\n        return\n\n    def Automation(self, url):\n        option = ChromeOptions()\n        option.add_experimental_option('excludeSwitches', ['enable-automation'])\n        self.driver = webdriver.Chrome(options=option)\n        url = str(url)\n        self.driver.get(url)\n\n    def getCookie3(self, login_url, quit):\n        self.Automation(login_url)\n        cookie_str = ''\n        while 1:\n            time.sleep(0.2)\n            if self.driver.current_url != login_url:\n                get_cookies = self.driver.get_cookies()\n                cookie_str = ''\n                for s in get_cookies:\n                    cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                if quit == 1:\n                    self.driver.quit()\n                break\n        return cookie_str\n\n    def getCookie2(self, login_url, curr_url, extra_url, quit):\n        self.Automation(login_url)\n        cookie_str = ''\n        while 1:\n            time.sleep(0.2)\n            if self.driver.current_url == curr_url:\n                if extra_url == '':\n                    self.driver.get(extra_url)\n                get_cookies = self.driver.get_cookies()\n                cookie_str = ''\n                for s in get_cookies:\n                    cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                if quit == 1:\n                    self.driver.quit()\n                break\n        return cookie_str\n\n    def getCookie(self, login):\n        while True:\n            try:\n                if self.driver.get_log('driver')[0]['level'] == \"WARNING\":\n                    return 0\n            except:\n                pass\n\n            time.sleep(1)\n\n            try:\n                # if not login -> exception\n                self.driver.find_element_by_css_selector(login)\n            except Exception as e:\n                #print(e)\n                pass\n            else:\n                cookie_list = self.driver.get_cookies()\n                self.driver.close()\n\n                res = ''\n                for cookie in cookie_list:\n                    res += cookie.get('name') + '=' + cookie.get('value').replace('\\\"', '') + ';'\n                return res\n\n\nif __name__ == '__main__':\n        \n        # Get cookies from ctrip\n        helper = SpiderHelper()\n        login_url = 'https://passport.ctrip.com/user/login'\n        cookie_str = helper.getCookie3(login_url, 1)\n        if cookie_str == '':\n            print(\"Get Cookie Error\")\n            exit()\n\n        # Download the orders from the ctrip and save them in an excel\n        y = Ctrip(cookie_str)\n        y.get_order()\n        print(\"Get orders from ctrip sucessfully\")\n        print(\"Orders have been stored in ctrip_orders.xslx\")\n"
  },
  {
    "path": "tools/main.py",
    "content": "# -*- coding: utf-8 -*-\nimport json\nimport os\nimport re\nimport threading\nimport traceback\nimport wx\nimport time\nfrom selenium import webdriver\nfrom selenium.webdriver import ChromeOptions\n\nimport sys\nimport locale\nlocale.setlocale(locale.LC_ALL, '')\n\nMAIN_FILE_PATH = os.path.dirname(os.path.abspath(__file__))\nprint(MAIN_FILE_PATH)\nBASE_PATH = os.path.dirname(MAIN_FILE_PATH)\nprint(BASE_PATH)\nos.chdir(MAIN_FILE_PATH)\n#sys.path.append(\"../Spiders/\")\nsys.path.append(os.path.join(BASE_PATH, \"./Spiders/\"))\nDATA_DIR = os.path.join(BASE_PATH, \"./data\")\ntry:\n    print(DATA_DIR)\n    os.mkdir(DATA_DIR)\nexcept OSError:\n    pass\n\n# import Scripts.shgjj\n# from Spiders.shgjj.main import GjjSpider\nfrom Spiders.A12306 import main12306\nfrom Spiders.JdSpider.jd_more_info import JSpider\nfrom Spiders.alipay.main import ASpider\nfrom Spiders.ctrip.main import Ctrip\nfrom Spiders.mail.main import YSpider\nfrom Spiders.shgjj.main import GjjSpider\nfrom Spiders.taobao.spider import TaobaoSpider\nfrom Spiders.telephone.main import LianTong, DianXin\nfrom Spiders.yidong.main import YiDong\n\n\nclass Button:\n    frame = None\n    def __init__(self, frame, pnl, item):\n        pic_jd = wx.Image(item.img, wx.BITMAP_TYPE_ANY).ConvertToBitmap()\n        btn_jd = wx.BitmapButton(pnl, -1, pic_jd, pos=(item.x, item.y), size=(100, 100))\n        # wx.StaticText(pnl, -1, item.title, pos=(item.x + 30, item.y + 110))\n        wx.StaticText(pnl, -1, item.title, pos=(item.x, item.y+110), size=(100, 15), style=wx.ALIGN_CENTRE)\n        self.frame = frame\n        self.frame.Bind(wx.EVT_BUTTON, self.OnClick, btn_jd)\n\n    def Automation(self, url):\n        option = ChromeOptions()\n        option.add_experimental_option('excludeSwitches', ['enable-automation'])\n        option.add_experimental_option('useAutomationExtension', False)\n        self.driver = webdriver.Chrome(options=option)\n        self.driver.execute_cdp_cmd('Page.addScriptToEvaluateOnNewDocument', {\n            'source': 'Object.defineProperty(navigator, \"webdriver\", {get:()=>undefined})'\n        })\n        url = str(url)\n        self.driver.get(url)\n        time.sleep(10)\n\n    def getCookie3(self, login_url, quit):\n        self.updateStatus(self.frame,0)\n        self.Automation(login_url)\n        cookie_str = ''\n        while 1:\n            time.sleep(0.2)\n            if self.driver.current_url != login_url:\n                get_cookies = self.driver.get_cookies()\n                cookie_str = ''\n                for s in get_cookies:\n                    cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                if quit == 1:\n                    self.driver.quit()\n                break\n        return cookie_str\n\n    def getCookie2(self, login_url, curr_url, extra_url, quit):\n        self.updateStatus(self.frame,0)\n        self.Automation(login_url)\n        cookie_str = ''\n        while 1:\n            time.sleep(0.2)\n            if self.driver.current_url == curr_url:\n                # if extra_url == '':\n                #     self.driver.get(extra_url)\n                get_cookies = self.driver.get_cookies()\n                print(get_cookies)\n                print()\n                cookie_str = ''\n                for s in get_cookies:\n                    cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                if quit == 1:\n                    self.driver.quit()\n                break\n        return cookie_str\n\n    # 获取知乎 Cookie\n    # https://www.zhihu.com/signin\n    # https://www.zhihu.com\n    # https://www.zhihu.com/hot\n    def getCookie4(self, login_url, curr_url, quit):\n        self.updateStatus(self.frame, 0)\n        self.Automation(login_url)\n        cookie_str = ''\n        while 1:\n            # self.driver.delete_all_cookies()\n            time.sleep(10)\n            # self.driver.implicitly_wait(5)\n            print(self.driver.current_url)\n            # if self.driver.current_url == curr_url:\n                # get_cookies = self.driver.get_cookies()\n            get_cookies = self.driver.get_cookies()\n            cookie_str = ''\n            for s in get_cookies:\n                cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n            # cookie_str = str(get_cookies)\n            if (quit == 1) and (cookie_str != ''):\n                self.driver.quit()\n                break\n        return cookie_str\n\n\n    def getCookie(self, login):\n        cookie_list = self.driver.get_cookies()\n        res = ''\n        for cookie in cookie_list:\n            res += cookie.get('name') + '=' + cookie.get('value').replace('\\\"', '') + ';'\n        return res\n\n    def updateStatus(self, frame, status):\n        if status == 0:\n            frame.SetStatusText(\"爬取中...\", 1)\n        elif status == 1:\n            try:\n                self.driver.quit()\n            except:\n                pass\n            frame.SetStatusText(\"爬取完成！\", 1)\n        else:\n            try:\n                self.driver.quit()\n            except:\n                pass\n            frame.SetStatusText(\"爬取失败！\", 1)\n\nclass JdButton(Button):\n    def OnClick(self, event):\n        self.updateStatus(self.frame,0)\n        url = 'https://passport.jd.com/new/login.aspx?ReturnUrl=https%3A%2F%2Fwww.jd.com%2F'\n        self.Automation(url)\n        login_element = \"[class='user_logout']\"\n        cookie = self.getCookie(login_element)\n        if cookie:\n            try:\n                spider = JSpider(cookie, DATA_DIR)\n                # spider.getAndStoreBoughtItems()\n                \n                spider.get_creditData()\n                spider.get_browseDataNew()\n                spider.get_income()\n                spider.get_user_info()\n                spider.get_addr()\n                \n                #spider.get_YHK()\n                spider.get_xjk_info()\n                spider.get_finance_income()\n                # spider.get_GB_num()\n                spider.get_JY_bill()\n                spider.get_follow_shops()\n                spider.get_follow_products()\n                # spider.get_cart()\n                # spider.get_orders()\n\n                self.updateStatus(self.frame, 1)\n            except Exception as e:\n                traceback.print_exc()\n                self.updateStatus(self.frame, 2)\n        else:\n            self.updateStatus(self.frame, 2)\n\nclass ChisButton(Button):\n    def OnClick(self, event):\n        login_url = 'https://account.chsi.com.cn/passport/login'\n        curr_url = 'https://account.chsi.com.cn/account/account!show.action'\n        extra_url = 'https://my.chsi.com.cn/archive/index.action'\n        cookie_str = self.getCookie2(login_url, curr_url, extra_url, 1)\n        if cookie_str == '':\n            self.updateStatus(self.frame,2)\n            return\n\n        from Spiders.chsi.main import Chis\n        try:\n        \n            chis = Chis(cookie_str)\n            p1, p2, x = chis.get_xueji_info()\n            chis.save_ret(p1, '录取前照片.jpg')\n            chis.save_ret(p2, '学籍照片.jpg')\n            chis.save_ret(x, '学信网信息.jpg')\n            p3 = chis.get_report()\n            chis.save_ret(p3, '学信报告.pdf')\n            self.updateStatus(self.frame,1)\n        except Exception:\n            self.updateStatus(self.frame,2)\n\nclass YidongButton(Button):\n    def OnClick(self, event):\n        try:\n            self.updateStatus(self.frame,0)\n            url = 'https://login.10086.cn/html/login/login.html'\n            self.Automation(url)\n            while 1:\n                time.sleep(0.2)\n                if self.driver.current_url.startswith('https://shop.10086.cn/i/?f=home&welcome'):\n                    get_cookies = self.driver.get_cookies()\n                    cookie_str = ''\n                    for s in get_cookies:\n                        cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                    self.driver.quit()\n                    break\n            try:\n                y = YiDong(cookie_str)\n                y.get_bill_info()\n                self.updateStatus(self.frame,1)\n            except Exception:\n                self.updateStatus(self.frame,2)\n        except Exception:\n            self.updateStatus(self.frame,2)\n\nclass GjjButton(Button):\n    def OnClick(self, event):\n        try:\n            self.updateStatus(self.frame,0)\n            url = 'http://person.shgjj.com/gjjweb/#/login5/A0'\n            self.Automation(url)\n            while 1:\n                try:\n                    time.sleep(0.2)\n                    if self.driver.current_url == 'http://person.shgjj.com/gjjweb/#/app':\n                        # self.driver.minimize_window()\n                        # 保存cookie\n                        get_cookies = self.driver.get_cookies()\n                        cookie_str = ''\n                        for s in get_cookies:\n                            cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                        break\n                except Exception:\n                    pass\n            token = self.driver.execute_script(\"return localStorage.getItem('gjj-authenticationToken')\")\n            token = token.replace('\"', '')\n            self.driver.quit()\n            try:\n                t = GjjSpider(cookie_str, token)\n                t.get_priaccountForWeb()\n                t.get_accountForWeb()\n                self.updateStatus(self.frame,1)\n            except Exception:\n                self.updateStatus(self.frame,2)\n        except Exception as e:\n            #print(e)\n            self.updateStatus(self.frame,2)\n\nclass A12306Button(Button):\n    def OnClick(self, event):\n        try:\n            self.updateStatus(self.frame,0)\n            url = 'https://kyfw.12306.cn/otn/resources/login.html'\n            self.Automation(url)\n            while 1:\n                time.sleep(0.2)\n                if self.driver.current_url == 'https://kyfw.12306.cn/otn/view/index.html':\n                    time.sleep(2)\n                    get_cookies = self.driver.get_cookies()\n                    cookie_str = ''\n                    for s in get_cookies:\n                        cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                    self.driver.quit()\n                    break\n            try:\n                a = main12306.Info(cookie_str)\n                # 个人信息，json格式\n                a.get_user_info()\n                # 未完成订单\n                a.get_OrderNoComplete()\n                # 未出行订单 \n                a.get_Order()\n                # 联系人\n                a.get_passengers()\n                # 车票快递地址\n                a.get_address()\n                # 保险订单\n                # a.get_insurance()\n                # 历史订单\n                a.get_History_Order()\n                # 会员信息\n                # a.get_level()\n                self.updateStatus(self.frame,1)\n            except Exception:\n                self.updateStatus(self.frame,2)\n        except Exception:\n            self.updateStatus(self.frame,2)\n\nclass CtripButton(Button):\n    def OnClick(self, event):\n        login_url = 'https://passport.ctrip.com/user/login'\n        cookie_str = self.getCookie3(login_url, 1)\n        print(cookie_str);\n        if cookie_str == '':\n            self.updateStatus(self.frame,2)\n            return\n        y = Ctrip(cookie_str)\n        y.get_order()\n        self.updateStatus(self.frame,1)\n\nclass LiantongButton(Button):\n    def OnClick(self, event):\n        try:\n            self.updateStatus(self.frame,0)\n            url = 'https://uac.10010.com/portal/mallLogin.jsp?redirectURL=http://iservice.10010.com/e4/query/basic/personal_xx_iframe.html'\n            self.Automation(url)\n            while 1:\n                time.sleep(1)\n                if self.driver.current_url == 'http://iservice.10010.com/e4/query/basic/personal_xx_iframe.html':\n                    self.driver.minimize_window()\n                    time.sleep(5)\n                    self.driver.get('http://iservice.10010.com/e3/query/basic/personal_xx_iframe.html')\n                    get_cookies = self.driver.get_cookies()\n                    cookie_str = ''\n                    for s in get_cookies:\n                        cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                    break\n            try:\n                y = LianTong(cookie_str)\n                # y.get_user_info()\n                y.get_bill_info()\n                self.updateStatus(self.frame,1)\n            except Exception:\n                self.updateStatus(self.frame,2)\n        except Exception:\n            self.updateStatus(self.frame,2)\n\nclass DianxingButton(Button):\n    def OnClick(self, event):\n        try:\n            self.updateStatus(self.frame,0)\n            url = 'https://login.189.cn/web/login'\n            self.Automation(url)\n            while 1:\n                time.sleep(0.2)\n                if self.driver.current_url != url:\n                    self.driver.minimize_window()\n                    self.driver.get('https://service.sh.189.cn/service/account')\n                    time.sleep(0.2)\n                    get_cookies = self.driver.get_cookies()\n                    cookie_str = ''\n                    for s in get_cookies:\n                        cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                    break\n            try:\n                y = DianXin(cookie_str)\n                y.get_user_info()\n                y.get_bill_info()\n                self.updateStatus(self.frame,1)\n            except Exception:\n                self.updateStatus(self.frame,2)\n        except Exception:\n            self.updateStatus(self.frame,2)\nclass WymailButton(Button):\n    def OnClick(self, event):\n        # try:\n        self.updateStatus(self.frame,0)\n        url = 'https://mail.126.com/'\n        self.Automation(url)\n        while 1:\n            time.sleep(0.2)\n            if self.driver.current_url != url:\n                get_cookies = self.driver.get_cookies()\n                cookie_str = ''\n                for s in get_cookies:\n                    cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                self.driver.quit()\n                break\n            # try:\n        y = YSpider()\n        y.get_wangyi(cookie_str)\n        self.updateStatus(self.frame,1)\n        #     except Exception:\n        #         self.updateStatus(self.frame,2)\n        # except Exception:\n        #     self.updateStatus(self.frame,2)\nclass HotmailButton(Button):\n    def OnClick(self, event):\n        try:\n            self.updateStatus(self.frame,0)\n            url = 'https://login.live.com/login.srf?wa=wsignin1.0&rpsnv=13&ct=1556600210&rver=7.0.6737.0&wp=MBI_SSL&wreply=https%3a%2f%2foutlook.live.com%2fmail%2finbox%3fnlp%3d1%26RpsCsrfState%3d99f809e4-d908-a164-e17a-a4739e713c63&id=292841&aadredir=1&CBCXT=out&lw=1&fl=dob%2cflname%2cwld&cobrandid=90015'\n            self.Automation(url)\n            while 1:\n                time.sleep(1)\n                if 'https://outlook.live.com/mail/' in self.driver.current_url:\n                    time.sleep(1)\n                    cookies_list = self.driver.get_cookies()\n                    self.driver.quit()\n                    break\n            # try:\n            y = YSpider()\n            t = threading.Thread(target=y.get_hotmail, args=(cookies_list,))\n            t.start()\n            t.join()\n            self.updateStatus(self.frame,1)\n            # except Exception:\n            #     self.updateStatus(self.frame,2)\n        except Exception:\n            self.updateStatus(self.frame,2)\n\nclass QqmailButton(Button):\n    def OnClick(self, event):\n        try:\n            self.updateStatus(self.frame,0)\n            url = 'https://mail.qq.com/cgi-bin/loginpage'\n            self.Automation(url)\n            while 1:\n                time.sleep(0.2)\n                if self.driver.current_url != url:\n                    get_cookies = self.driver.get_cookies()\n                    cookie_str = ''\n                    for s in get_cookies:\n                        cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                    # sid = re.findall('sid=(\\w+)&?', self.driver.current_url)[0]\n                    from urllib import parse\n                    sid = parse.parse_qs(parse.urlparse(self.driver.current_url).query)['sid'][0]\n                    break\n            try:\n                y = YSpider()\n                t = threading.Thread(target=y.qq_mail, args=(cookie_str, sid))\n                t.start()  # 启动线程，即让线程开始执行\n                t.join()\n                self.updateStatus(self.frame, 1)\n            except Exception:\n                self.updateStatus(self.frame, 2)\n        except Exception:\n            self.updateStatus(self.frame, 2)\n\nclass AlimailButton(Button):\n    def OnClick(self, event):\n        try:\n            self.updateStatus(self.frame,0)\n            url = 'https://mail.aliyun.com/alimail/auth/login?reurl=%2Falimail%2F'\n            self.Automation(url)\n            while 1:\n                time.sleep(0.2)\n                if self.driver.current_url != url:\n                    self.driver.minimize_window()\n                    get_cookies = self.driver.get_cookies()\n                    cookie_str = ''\n                    for s in get_cookies:\n                        cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                    break\n            try:\n                y = YSpider()\n                t = threading.Thread(target=y.get_aliyun_mail, args=(cookie_str,))\n                t.start()\n                t.join()\n                self.updateStatus(self.frame,1)\n            except Exception:\n                self.updateStatus(self.frame,2)\n        except Exception:\n            self.updateStatus(self.frame,2)\n\nclass XlmailButton(Button):\n    def OnClick(self, event):\n        try:\n            self.updateStatus(self.frame,0)\n            url = 'https://mail.sina.com.cn/?from=mail'\n            self.Automation(url)\n            while 1:\n                time.sleep(0.2)\n                if self.driver.current_url != url:\n                    self.driver.minimize_window()\n                    time.sleep(2)\n                    self.driver.delete_cookie('NowDate')\n                    get_cookies = self.driver.get_cookies()\n                    cookie_str = ''\n                    for s in get_cookies:\n                        cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                    break\n            try:\n                y = YSpider()\n                t = threading.Thread(target=y.sinamail, args=(cookie_str,))\n                t.start()  # 启动线程，即让线程开始执行\n                t.join()\n                self.updateStatus(self.frame,1)\n            except Exception:\n                self.updateStatus(self.frame,2)\n        except Exception:\n            self.updateStatus(self.frame,2)\n\nclass TaobaoButton(Button):\n    def OnClick(self, event):\n        try:\n            self.updateStatus(self.frame,0)\n            url = 'https://login.taobao.com/'\n            self.Automation(url)\n            while 1:\n                time.sleep(0.2)\n                if self.driver.current_url != url:\n                    self.driver.minimize_window()\n                    cookies_list = self.driver.get_cookies()\n                    # 保存cookie\n                    file_path = '../Spiders/taobao/taobao_cookies.json'\n                    cookie_str = json.dumps(cookies_list)\n                    self.driver.quit()\n                    with open(file_path, 'w') as f:\n                        f.write(cookie_str)\n                    break\n            try:\n                cookie_list = json.loads(open(file_path, 'r').read())\n                t = TaobaoSpider(cookie_list)\n\n                t.get_addr()\n                t.get_choucang_item()\n                t.get_footmark_item()\n                # t.crawl_good_buy_data()\n                self.updateStatus(self.frame,1)\n            except Exception:\n                traceback.print_exc()\n                self.updateStatus(self.frame,2)\n        except Exception:\n            traceback.print_exc()\n            self.updateStatus(self.frame,2)\n\nclass ZfbButton(Button):\n    def OnClick(self, event):\n        try:\n            self.updateStatus(self.frame,0)\n            url = 'https://auth.alipay.com/login/index.htm'\n            self.Automation(url)\n            while 1:\n                time.sleep(0.2)\n                if self.driver.current_url != url:\n                    get_cookies = self.driver.get_cookies()\n                    cookie_str = ''\n                    for s in get_cookies:\n                        cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                    self.driver.quit()\n                    # print(cookie_str)\n                    break\n            try:\n                spider = ASpider(cookie_str)\n                spider.get_bills()\n                spider.get_user_info()\n                # spider.get_YEB()\n                self.updateStatus(self.frame,1)\n            except Exception:\n                self.updateStatus(self.frame,2)\n        except Exception:\n            self.updateStatus(self.frame,2)\n        \nclass GithubButton(Button):\n    def OnClick(self, event):\n        dlg = wx.TextEntryDialog(None, u\"请输入Github用户名:\", u\"获取Github用户信息\")\n        if dlg.ShowModal() == wx.ID_OK:\n            message = dlg.GetValue()  # 获取文本框中输入的值\n        dlg.Destroy()\n        from github.main import Github\n        github = Github(message)\n        self.updateStatus(self.frame, 0)\n        try:\n            github.get_user_info()\n            github.get_user_repos()\n            github.get_user_following()\n            github.get_user_followers()\n            github.get_user_activity()\n            # github.get_user_repos_detail()\n            self.updateStatus(self.frame, 1)\n        except:\n            self.updateStatus(self.frame, 2)\n            pass\n\n\nclass QqButton(Button):\n    def OnClick(self, event):\n        # 弹窗提示操作步骤\n        messagestr = u'''\n1. 选择导出目录，然后会自动打开QQ充值，请网页登陆\n2. 点击“Q币充值”，打开充值界面\n3. 充值账号处点击“更换”，打开列表\n4. 点击窗口的\"已登陆并打开充值界面且，点开列表(不用选择表项),保存为json\"按钮即可\n        '''\n        dlg = wx.MessageDialog(None, messagestr, u\"操作步骤提示\", wx.YES_NO | wx.ICON_INFORMATION)\n        if dlg.ShowModal() == wx.ID_YES:\n            dlg.Close()\n            # self.Close(True)\n\n        from Spiders.qqfriend.main import Qqfriend\n        try:\n            self.updateStatus(self.frame, 0)\n            qq_friend = Qqfriend()\n            self.updateStatus(self.frame, 1)\n        except:\n            self.updateStatus(self.frame, 2)\n            pass\n\nclass QqqunButton(Button):\n    def OnClick(self, event):\n        # 弹窗提示操作步骤\n        messagestr = u'''\n1. 选择导出目录，然后会自动打开QQ群管理，请网页登陆\n2. 登陆成功会在选择QQ群界面\n3. 点击窗口的\"已登陆并打开界面，保存为json\"按钮即可\n        '''\n        dlg = wx.MessageDialog(None, messagestr, u\"操作步骤提示\", wx.YES_NO | wx.ICON_INFORMATION)\n        if dlg.ShowModal() == wx.ID_YES:\n            dlg.Close()\n            \n        from qqqun.main import Qqqun\n        try:\n            self.updateStatus(self.frame, 0)\n            qq_qun = Qqqun()\n            self.updateStatus(self.frame, 1)\n        except:\n            self.updateStatus(self.frame, 2)\n            pass\n\nclass ZhihuButton(Button):\n    def OnClick(self, event):\n        \n        dlg = wx.TextEntryDialog(None, u\"请输入知乎用户名(必须英文):\", u\"获取知乎用户信息\")\n        if dlg.ShowModal() == wx.ID_OK:\n            message = dlg.GetValue()  # 获取文本框中输入的值\n        dlg.Destroy()\n        ## 测试：message = 'gao-nan-bao'\n        self.updateStatus(self.frame, 0)\n        from zhihu.main import Zhihu\n        try:\n            zhihu = Zhihu(message)\n            # 获取用户基本信息\n            zhihu.get_user_profile()\n            # 获取用户关注的人\n            zhihu.get_user_followees()\n            # 获取用户的粉丝\n            zhihu.get_user_followers()\n            # 获取用户发布的文章\n            zhihu.get_user_articles()\n            # 获取用户的收藏\n            zhihu.get_user_collections()\n            # 获取用户发布的视频\n            zhihu.get_user_zvideos()\n            # 获取用户的动态\n            zhihu.get_user_activities()\n            self.updateStatus(self.frame, 1)\n        except:\n            self.updateStatus(self.frame, 2)\n            pass\n\nclass CloudmusicButton(Button):\n    def OnClick(self, event):\n        dlg1 = wx.TextEntryDialog(None, u\"请输入网易云账号：手机或者邮箱(推荐):\", u\"登录网易云音乐\")\n        if dlg1.ShowModal() == wx.ID_OK:\n            username = dlg1.GetValue()  # 获取文本框中输入的值\n        dlg1.Destroy()\n        dlg2 = wx.TextEntryDialog(None, u\"请输入网易云账号的密码:\", u\"登录网易云音乐\", style=wx.TE_PASSWORD|wx.OK|wx.CANCEL)\n        if dlg2.ShowModal() == wx.ID_OK:\n            password = dlg2.GetValue()  # 获取文本框中输入的值\n        dlg2.Destroy()\n        # print(username, password)\n        self.updateStatus(self.frame, 0)\n        from Spiders.cloudmusic.main import Cloudmusic\n        try:\n            music = Cloudmusic(username, password)\n            music.get_user_detail()\n            music.get_playlist()\n            music.get_user_follows()\n            music.get_user_followeds()\n            music.get_user_event()\n            music.get_user_record_week()\n            music.get_user_record_all()\n            self.updateStatus(self.frame, 1)\n        except:\n            self.updateStatus(self.frame, 2)\n            pass\n\n\nclass BilibiliButton(Button):\n    def OnClick(self, event):\n        self.updateStatus(self.frame,0)\n        url = 'https://passport.bilibili.com/login'\n        self.Automation(url)\n        while 1:\n            time.sleep(0.2)\n            if self.driver.current_url != url:\n                get_cookies = self.driver.get_cookies()\n                cookie_str = ''\n                for s in get_cookies:\n                    cookie_str = cookie_str + s['name'] + '=' + s['value'] + ';'\n                self.driver.quit()\n                break\n        from Spiders.bilibili.main import BilibiliHistory\n        bili = BilibiliHistory(cookie_str)\n        self.updateStatus(self.frame,1)\n\nclass WechatButton(Button):\n    def OnClick(self, event):\n        # 弹窗提示操作步骤\n        messagestr = u'''\n目前该功能仅适用于开发者测试用途.\n\n================注意================\n非专业人员使用该功能可能会导致微信禁用你的网页登录功能\n        '''\n        dlg = wx.MessageDialog(None, messagestr, u\"使用须知\", wx.YES_NO | wx.ICON_INFORMATION)\n        if dlg.ShowModal() == wx.ID_YES:\n            dlg.Close()\n\nclass WechatmomentButton(Button):\n    def OnClick(self, event):\n        pass\n\nclass MomentsalbumButton(Button):\n    def OnClick(self, event):\n        # 弹窗提示操作步骤\n        messagestr = u'''\n--------------------------使用须知：---------------------------------\n首先，关注微信公众号【出书啦】，然后根据公众号指引开始制作微信书。\n该过程中【出书啦】小编添加你为好友，然后你将朋友圈开放给他看，等一会后采集完毕后，小编会发给你一个<专属链接>，这个链接里面的内容就是你的个人朋友圈数据。你必须先获得该链接才能进行本程序的下一步！\n\n--------------------------再次确认---------------------------------\n请确保你已经获得公众号【出书啦】小编发给你的包含你的朋友圈数据的链接！！！\n链接类似：https://chushu.la/book/*********\n\n已获得链接点击“是”按钮，否则点击“否”。\n        '''\n        dlg = wx.MessageDialog(None, messagestr, u\"操作指引\", wx.YES_NO | wx.ICON_INFORMATION)\n        if dlg.ShowModal() == wx.ID_YES:\n            dlg.Close()\n\n            from Spiders.moments_album.main import Momentsablum\n            try:\n                self.updateStatus(self.frame, 0)\n                ma = Momentsablum()\n                ma.make_album()\n                self.updateStatus(self.frame, 1)\n            except:\n                self.updateStatus(self.frame, 2)\n                pass\n        else:\n            dlg.Close()\n\nclass BrowserButton(Button):\n    def OnClick(self, event):\n        from Spiders.browser.main import Browserhistory\n        try:\n            self.updateStatus(self.frame, 0)\n            bh = Browserhistory()\n            self.updateStatus(self.frame, 1)\n        except:\n            self.updateStatus(self.frame, 2)\n            pass\n\nclass CnblogButton(Button):\n    def OnClick(self, event):\n        dlg = wx.TextEntryDialog(None, u\"请输入博客园的用户名:\", u\"获取博客园用户文章信息\")\n        if dlg.ShowModal() == wx.ID_OK:\n            blogname = dlg.GetValue()  # 获取文本框中输入的值\n        dlg.Destroy()\n        from Spiders.cnblog.main import Cnblog\n        try:\n            self.updateStatus(self.frame, 0)\n            cb = Cnblog(blogname)\n            article = cb.get_element_of_article()\n            json_file_name = cb.save_as_json(article)\n            cb.create_wordcloud(json_file_name, title='你的创作领域词云', column='title')\n            cb.create_postdate_line(json_file_name, title='发文时间线', column='postdate')\n            self.updateStatus(self.frame, 1)\n        except:\n            self.updateStatus(self.frame, 2)\n            pass\n\nclass CsdnButton(Button):\n    def OnClick(self, event):\n        dlg = wx.TextEntryDialog(None, u\"请输入CSDN博客的用户名:\", u\"获取CSDN博客用户文章信息\")\n        if dlg.ShowModal() == wx.ID_OK:\n            blogname = dlg.GetValue()  # 获取文本框中输入的值\n        dlg.Destroy()\n        from Spiders.csdn.main import Csdn\n        try:\n            self.updateStatus(self.frame, 0)\n            csdn = Csdn(blogname)\n            article = csdn.get_element_of_article()\n            csdn.save_as_json(article)\n            self.updateStatus(self.frame, 1)\n        except:\n            self.updateStatus(self.frame, 2)\n            pass\n            \nclass OschinaButton(Button):\n    def OnClick(self, event):\n        dlg = wx.TextEntryDialog(None, u\"请输入开源中国个人博客主页链接:\", u\"获取开源中国博客用户文章信息\")\n        if dlg.ShowModal() == wx.ID_OK:\n            blogurl = dlg.GetValue()  # 获取文本框中输入的值\n        dlg.Destroy()\n        from Spiders.oschina.main import Oschina\n        try:\n            self.updateStatus(self.frame, 0)\n            oschina = Oschina(blogurl)\n            article = oschina.get_element_of_article()\n            oschina.save_as_json(article)\n            self.updateStatus(self.frame, 1)\n        except:\n            self.updateStatus(self.frame, 2)\n            pass\n\nclass JianshuButton(Button):\n    def OnClick(self, event):\n        dlg = wx.TextEntryDialog(None, u\"请输入简书个人主页链接:\", u\"获取简书用户文章信息\")\n        if dlg.ShowModal() == wx.ID_OK:\n            blogurl = dlg.GetValue()  # 获取文本框中输入的值\n        dlg.Destroy()\n        from Spiders.jianshu.main import Jianshu\n        try:\n            self.updateStatus(self.frame, 0)\n            jianshu = Jianshu(blogurl)\n            article = jianshu.get_element_of_article()\n            jianshu.save_as_json(article)\n            self.updateStatus(self.frame, 1)\n        except:\n            self.updateStatus(self.frame, 2)\n            pass\n\nclass Item:\n    x = 0\n    y = 0\n    title = ''\n    img = ''\n    def __init__(self, x, y, title, img):\n        self.x = x\n        self.y = y\n        self.title = title\n        self.img = img\n\nclass CreateFrame(wx.Frame):\n\n    def __init__(self, *args, **kw):\n        # ensure the parent's __init__ is called\n        super(CreateFrame, self).__init__(*args, **kw)\n\n        # create a panel in the frame\n        self.pnl = wx.Panel(self)\n\n        # create status bar\n        statusBar = self.CreateStatusBar()\n        statusBar.SetFieldsCount(2)\n        statusBar.SetStatusWidths([-5, -1])\n\n        # create buttons\n        # start_x = 149\n        # start_y = 25\n        # xstep = 200\n        # ystep = 150\n        start_x = 25\n        start_y = 25\n        xstep = 125\n        ystep = 150\n        ## row 1\n        GithubButton(self, self.pnl, Item(start_x, start_y, 'Github', 'resource/icon/github.png'))\n        QqmailButton(self, self.pnl, Item(start_x+xstep, start_y, 'QQ邮箱', 'resource/icon/qmail.png'))\n        WymailButton(self, self.pnl, Item(start_x+xstep*2, start_y, '网易邮箱', 'resource/icon/wangyi.png'))\n        AlimailButton(self, self.pnl, Item(start_x+xstep*3, start_y, '阿里邮箱', 'resource/icon/alimail.png'))\n        XlmailButton(self, self.pnl, Item(start_x+xstep*4, start_y, '新浪邮箱', 'resource/icon/sina.png'))\n        HotmailButton(self, self.pnl, Item(start_x+xstep*5, start_y, 'Hotmail/Outlook', 'resource/icon/hotmail.png'))\n        ## row 2\n        JdButton(self, self.pnl, Item(start_x, start_y+ystep, '京东', 'resource/icon/jd.png'))\n        TaobaoButton(self, self.pnl, Item(start_x+xstep, start_y+ystep, '淘宝', 'resource/icon/taobao.png'))\n        ZfbButton(self, self.pnl, Item(start_x+xstep*2, start_y+ystep, '支付宝', 'resource/icon/alipay-logo.png'))\n        YidongButton(self, self.pnl, Item(start_x +xstep*3, start_y+ystep, '中国移动', 'resource/icon/yidong.png'))\n        LiantongButton(self, self.pnl, Item(start_x +xstep*4, start_y+ystep, '中国联通', 'resource/icon/liantong.png'))\n        DianxingButton(self, self.pnl, Item(start_x +xstep*5, start_y+ystep, '中国电信', 'resource/icon/dianxin.png'))\n        ## row 3\n        ZhihuButton(self, self.pnl, Item(start_x, start_y+ystep*2, '知乎', 'resource/icon/zhihu.png'))\n        BilibiliButton(self, self.pnl, Item(start_x+xstep, start_y+ystep*2, '哔哩哔哩', 'resource/icon/bilibili.png'))\n        CloudmusicButton(self, self.pnl, Item(start_x+xstep*2, start_y+ystep*2, '网易云音乐', 'resource/icon/netease_cloudmusic.png'))\n        QqButton(self, self.pnl, Item(start_x+xstep*3, start_y+ystep*2, 'QQ好友', 'resource/icon/qq.png'))\n        QqqunButton(self, self.pnl, Item(start_x+xstep*4, start_y+ystep*2, 'QQ群', 'resource/icon/qqqun.png'))\n        MomentsalbumButton(self, self.pnl, Item(start_x+xstep*5, start_y+ystep*2, '生成朋友圈相册', 'resource/icon/wechat-moments-album.png'))\n        ## row 4\n        BrowserButton(self, self.pnl, Item(start_x, start_y+ystep*3, 'Chrome历史记录', 'resource/icon/chrome-logo.png'))\n        A12306Button(self, self.pnl, Item(start_x+xstep, start_y+ystep*3, '12306', 'resource/icon/12306.png'))\n        CnblogButton(self, self.pnl, Item(start_x+xstep*2, start_y+ystep*3, '博客园', 'resource/icon/cnblog.png'))\n        CsdnButton(self, self.pnl, Item(start_x+xstep*3, start_y+ystep*3, 'CSDN博客', 'resource/icon/csdn.png'))\n        OschinaButton(self, self.pnl, Item(start_x+xstep*4, start_y+ystep*3, '开源中国博客', 'resource/icon/oschina.png'))\n        JianshuButton(self, self.pnl, Item(start_x+xstep*5, start_y+ystep*3, '简书', 'resource/icon/jianshu.png'))\n        # CtripButton(self, self.pnl, Item(start_x+xstep*2, start_y+ystep*3, '携程', 'resource/icon/ctrip.png'))\n        # ChisButton(self, self.pnl, Item(start_x+xstep*3, start_y+ystep*3, '学信网', 'resource/icon/xuexin.png'))\n        # WechatButton(self, self.pnl, Item(start_x+xstep*4, start_y+ystep*3, '微信好友', 'resource/icon/wechat.png'))\n        # WechatmomentButton(self, self.pnl, Item(start_x+xstep*5, start_y+ystep*3, '微信朋友圈', 'resource/icon/wechat-moments.png'))\n        # GjjButton(self, self.pnl, Item(start_x +xstep*4, start_y+ystep*2, '公积金', 'resource/icon/gjj.png'))\n        \n        \n        \n\nif __name__ == '__main__':\n    \"\"\"When this module is run (not imported) then create the app, the\n    frame, show it, and start the event loop.\"\"\"\n    app = wx.App()\n    frm = CreateFrame(None, title='INFO-SPIDER  ————  拿回你的个人信息', size=(800, 700), pos=(20, 20))\n    frm.SetBackgroundColour('#E1E1E1')\n    frm.Show()\n    app.MainLoop()\n\n"
  },
  {
    "path": "tools/stop_word.txt",
    "content": "$\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n?\n_\n“\n”\n、\n。\n《\n》\n一\n一些\n一何\n一切\n一则\n一方面\n一旦\n一来\n一样\n一般\n一转眼\n万一\n上\n上下\n下\n不\n不仅\n不但\n不光\n不单\n不只\n不外乎\n不如\n不妨\n不尽\n不尽然\n不得\n不怕\n不惟\n不成\n不拘\n不料\n不是\n不比\n不然\n不特\n不独\n不管\n不至于\n不若\n不论\n不过\n不问\n与\n与其\n与其说\n与否\n与此同时\n且\n且不说\n且说\n两者\n个\n个别\n临\n为\n为了\n为什么\n为何\n为止\n为此\n为着\n乃\n乃至\n乃至于\n么\n之\n之一\n之所以\n之类\n乌乎\n乎\n乘\n也\n也好\n也罢\n了\n二来\n于\n于是\n于是乎\n云云\n云尔\n些\n亦\n人\n人们\n人家\n什么\n什么样\n今\n介于\n仍\n仍旧\n从\n从此\n从而\n他\n他人\n他们\n以\n以上\n以为\n以便\n以免\n以及\n以故\n以期\n以来\n以至\n以至于\n以致\n们\n任\n任何\n任凭\n似的\n但\n但凡\n但是\n何\n何以\n何况\n何处\n何时\n余外\n作为\n你\n你们\n使\n使得\n例如\n依\n依据\n依照\n便于\n俺\n俺们\n倘\n倘使\n倘或\n倘然\n倘若\n借\n假使\n假如\n假若\n傥然\n像\n儿\n先不先\n光是\n全体\n全部\n兮\n关于\n其\n其一\n其中\n其二\n其他\n其余\n其它\n其次\n具体地说\n具体说来\n兼之\n内\n再\n再其次\n再则\n再有\n再者\n再者说\n再说\n冒\n冲\n况且\n几\n几时\n凡\n凡是\n凭\n凭借\n出于\n出来\n分别\n则\n则甚\n别\n别人\n别处\n别是\n别的\n别管\n别说\n到\n前后\n前此\n前者\n加之\n加以\n即\n即令\n即使\n即便\n即如\n即或\n即若\n却\n去\n又\n又及\n及\n及其\n及至\n反之\n反而\n反过来\n反过来说\n受到\n另\n另一方面\n另外\n另悉\n只\n只当\n只怕\n只是\n只有\n只消\n只要\n只限\n叫\n叮咚\n可\n可以\n可是\n可见\n各\n各个\n各位\n各种\n各自\n同\n同时\n后\n后者\n向\n向使\n向着\n吓\n吗\n否则\n吧\n吧哒\n吱\n呀\n呃\n呕\n呗\n呜\n呜呼\n呢\n呵\n呵呵\n呸\n呼哧\n咋\n和\n咚\n咦\n咧\n咱\n咱们\n咳\n哇\n哈\n哈哈\n哉\n哎\n哎呀\n哎哟\n哗\n哟\n哦\n哩\n哪\n哪个\n哪些\n哪儿\n哪天\n哪年\n哪怕\n哪样\n哪边\n哪里\n哼\n哼唷\n唉\n唯有\n啊\n啐\n啥\n啦\n啪达\n啷当\n喂\n喏\n喔唷\n喽\n嗡\n嗡嗡\n嗬\n嗯\n嗳\n嘎\n嘎登\n嘘\n嘛\n嘻\n嘿\n嘿嘿\n因\n因为\n因了\n因此\n因着\n因而\n固然\n在\n在下\n在于\n地\n基于\n处在\n多\n多么\n多少\n大\n大家\n她\n她们\n好\n如\n如上\n如上所述\n如下\n如何\n如其\n如同\n如是\n如果\n如此\n如若\n始而\n孰料\n孰知\n宁\n宁可\n宁愿\n宁肯\n它\n它们\n对\n对于\n对待\n对方\n对比\n将\n小\n尔\n尔后\n尔尔\n尚且\n就\n就是\n就是了\n就是说\n就算\n就要\n尽\n尽管\n尽管如此\n岂但\n己\n已\n已矣\n巴\n巴巴\n并\n并且\n并非\n庶乎\n庶几\n开外\n开始\n归\n归齐\n当\n当地\n当然\n当着\n彼\n彼时\n彼此\n往\n待\n很\n得\n得了\n怎\n怎么\n怎么办\n怎么样\n怎奈\n怎样\n总之\n总的来看\n总的来说\n总的说来\n总而言之\n恰恰相反\n您\n惟其\n慢说\n我\n我们\n或\n或则\n或是\n或曰\n或者\n截至\n所\n所以\n所在\n所幸\n所有\n才\n才能\n打\n打从\n把\n抑或\n拿\n按\n按照\n换句话说\n换言之\n据\n据此\n接着\n故\n故此\n故而\n旁人\n无\n无宁\n无论\n既\n既往\n既是\n既然\n时候\n是\n是以\n是的\n曾\n替\n替代\n最\n有\n有些\n有关\n有及\n有时\n有的\n望\n朝\n朝着\n本\n本人\n本地\n本着\n本身\n来\n来着\n来自\n来说\n极了\n果然\n果真\n某\n某个\n某些\n某某\n根据\n欤\n正值\n正如\n正巧\n正是\n此\n此地\n此处\n此外\n此时\n此次\n此间\n毋宁\n每\n每当\n比\n比及\n比如\n比方\n没奈何\n沿\n沿着\n漫说\n焉\n然则\n然后\n然而\n照\n照着\n犹且\n犹自\n甚且\n甚么\n甚或\n甚而\n甚至\n甚至于\n用\n用来\n由\n由于\n由是\n由此\n由此可见\n的\n的确\n的话\n直到\n相对而言\n省得\n看\n眨眼\n着\n着呢\n矣\n矣乎\n矣哉\n离\n竟而\n第\n等\n等到\n等等\n简言之\n管\n类如\n紧接着\n纵\n纵令\n纵使\n纵然\n经\n经过\n结果\n给\n继之\n继后\n继而\n综上所述\n罢了\n者\n而\n而且\n而况\n而后\n而外\n而已\n而是\n而言\n能\n能否\n腾\n自\n自个儿\n自从\n自各儿\n自后\n自家\n自己\n自打\n自身\n至\n至于\n至今\n至若\n致\n般的\n若\n若夫\n若是\n若果 \n若非\n莫不然\n莫如\n莫若\n虽\n虽则\n虽然\n虽说\n被\n要\n要不\n要不是\n要不然\n要么\n要是\n譬喻\n譬如\n让\n许多\n论\n设使\n设或\n设若\n诚如\n诚然\n该\n说来\n诸\n诸位\n诸如\n谁\n谁人\n谁料\n谁知\n贼死\n赖以\n赶\n起\n起见\n趁\n趁着\n越是\n距\n跟\n较\n较之\n边\n过\n还\n还是\n还有\n还要\n这\n这一来\n这个\n这么\n这么些\n这么样\n这么点儿\n这些\n这会儿\n这儿\n这就是说\n这时\n这样\n这次\n这般\n这边\n这里\n进而\n连\n连同\n逐步\n通过\n遵循\n遵照\n那\n那个\n那么\n那么些\n那么样\n那些\n那会儿\n那儿\n那时\n那样\n那般\n那边\n那里\n都\n鄙人\n鉴于\n针对\n阿\n除\n除了\n除外\n除开\n除此之外\n除非\n随\n随后\n随时\n随着\n难道说\n非但\n非徒\n非特\n非独\n靠\n顺\n顺着\n首先\n！\n，\n：\n；\n？"
  },
  {
    "path": "uitest/main.py",
    "content": "#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n\nimport wx\n\n"
  }
]