91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 18.17MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2023-06-26
  • 語言: PHP
  • 標簽: 推券客??

資源簡介

淘寶優惠券源碼,正式授權版(電腦端+手機端) 本程序為淘寶優惠券PHP源碼、包含PC端和移動端

資源截圖

代碼片段和文件信息

/*
?*?YUI?Compressor
?*?http://developer.yahoo.com/yui/compressor/
?*?Author:?Julien?Lecomte?-??http://www.julienlecomte.net/
?*?Author:?Isaac?Schlueter?-?http://foohack.com/
?*?Author:?Stoyan?Stefanov?-?http://phpied.com/
?*?Copyright?(c)?2011?Yahoo!?Inc.??All?rights?reserved.
?*?The?copyrights?embodied?in?the?content?of?this?file?are?licensed
?*?by?Yahoo!?Inc.?under?the?BSD?(revised)?open?source?license.
?*/
package?com.yahoo.platform.yui.compressor;

import?java.io.IOException;
import?java.io.Reader;
import?java.io.Writer;
import?java.util.regex.Pattern;
import?java.util.regex.Matcher;
import?java.util.ArrayList;

public?class?CssCompressor?{

????private?StringBuffer?srcsb?=?new?StringBuffer();

????public?CssCompressor(Reader?in)?throws?IOException?{
????????//?Read?the?stream...
????????int?c;
????????while?((c?=?in.read())?!=?-1)?{
????????????srcsb.append((char)?c);
????????}
????}

????//?Leave?data?urls?alone?to?increase?parse?performance.
????protected?String?extractDataUrls(String?css?ArrayList?preservedTokens)?{

???? int?maxIndex?=?css.length()?-?1;
????????int?appendIndex?=?0;

???? StringBuffer?sb?=?new?StringBuffer();

????????Pattern?p?=?Pattern.compile(“url\\(\\s*([\“‘]?)data\\:“);
????????Matcher?m?=?p.matcher(css);
????????
????????/*?
?????????*?Since?we?need?to?account?for?non-base64?data?urls?we?need?to?handle?
?????????*?‘?and?)?being?part?of?the?data?string.?Hence?switching?to?indexOf
?????????*?to?determine?whether?or?not?we?have?matching?string?terminators?and
?????????*?handling?sb?appends?directly?instead?of?using?matcher.append*?methods.
?????????*/

????????while?(m.find())?{

???????? int?startIndex?=?m.start()?+?4;?? //?“url(“.length()
???? String?terminator?=?m.group(1);?????//?‘?“?or?empty?(not?quoted)
????
???? if?(terminator.length()?==?0)?{
???? ? terminator?=?“)“;
???? }

???? boolean?foundTerminator?=?false;

???? int?endIndex?=?m.end()?-?1;
???? while(foundTerminator?==?false?&&?endIndex+1?<=?maxIndex)?{
???? endIndex?=?css.indexOf(terminator?endIndex+1);

???? if?((endIndex?>?0)?&&?(css.charAt(endIndex-1)?!=?‘\\‘))?{
???? foundTerminator?=?true;
???? if?(!“)“.equals(terminator))?{
???? endIndex?=?css.indexOf(“)“?endIndex);?
???? }
???? }
???? }

???? //?Enough?searching?start?moving?stuff?over?to?the?buffer
sb.append(css.substring(appendIndex?m.start()));

???? if?(foundTerminator)?{
???? String?token?=?css.substring(startIndex?endIndex);
???? token?=?token.replaceAll(“\\s+“?““);
???? preservedTokens.add(token);

???? String?preserver?=?“url(___YUICSSMIN_PRESERVED_TOKEN_“?+?(preservedTokens.size()?-?1)?+?“___)“;
???? sb.append(preserver);

???? appendIndex?=?endIndex?+?1;
???? }?else?{
???? //?No?end?terminator?found?re-add?the?whole?match.?Should?we?throw/warn?here?
???? sb.append(css.substring(m.start()?m.end()));
???? appendIndex?=?m.end();
???? }
????????}

????????sb.append(css.substring(appendIndex));

????????return?sb.toString();

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-01-02?09:27??cmsv2.2\
?????文件??????????72??2018-03-23?13:16??cmsv2.2\admin.php
?????目錄???????????0??2018-05-09?10:16??cmsv2.2\app\
?????文件????????6148??2018-03-25?16:57??cmsv2.2\app\.DS_Store
?????目錄???????????0??2018-06-14?12:32??cmsv2.2\app\Common\
?????文件???????23827??2018-03-23?13:17??cmsv2.2\app\Common\common.php
?????文件????????1371??2018-05-17?12:22??cmsv2.2\app\Common\打開必讀.txt
?????目錄???????????0??2018-05-09?10:16??cmsv2.2\app\Extend\
?????目錄???????????0??2018-05-09?10:16??cmsv2.2\app\Extend\Driver\
?????目錄???????????0??2018-05-09?10:16??cmsv2.2\app\Extend\Driver\TagLib\
?????文件????????3389??2018-03-23?13:16??cmsv2.2\app\Extend\Driver\TagLib\TagLibYh.class.php
?????目錄???????????0??2018-05-09?10:16??cmsv2.2\app\Extend\Model\
?????文件???????15933??2018-03-23?13:16??cmsv2.2\app\Extend\Model\RelationModel.class.php
?????文件?????????635??2018-03-23?13:16??cmsv2.2\app\Extend\README.txt
?????目錄???????????0??2018-05-09?10:16??cmsv2.2\app\Extend\Vendor\
?????目錄???????????0??2018-05-09?10:16??cmsv2.2\app\Extend\Vendor\min\
?????文件?????????292??2018-03-23?13:17??cmsv2.2\app\Extend\Vendor\min\config-test.php
?????文件????????6850??2018-03-23?13:17??cmsv2.2\app\Extend\Vendor\min\config.php
?????文件?????????661??2018-03-23?13:17??cmsv2.2\app\Extend\Vendor\min\groupsConfig.php
?????文件????????1886??2018-03-23?13:17??cmsv2.2\app\Extend\Vendor\min\index.php
?????目錄???????????0??2018-05-09?10:16??cmsv2.2\app\Extend\Vendor\min\lib\
?????文件???????30446??2018-03-23?13:17??cmsv2.2\app\Extend\Vendor\min\lib\CSSmin.php
?????文件????????5089??2018-03-23?13:17??cmsv2.2\app\Extend\Vendor\min\lib\DooDigestAuth.php
?????文件???????43622??2018-03-23?13:17??cmsv2.2\app\Extend\Vendor\min\lib\FirePHP.php
?????目錄???????????0??2018-05-09?10:16??cmsv2.2\app\Extend\Vendor\min\lib\HTTP\
?????文件???????11781??2018-03-23?13:17??cmsv2.2\app\Extend\Vendor\min\lib\HTTP\ConditionalGet.php
?????文件???????10673??2018-03-23?13:17??cmsv2.2\app\Extend\Vendor\min\lib\HTTP\Encoder.php
?????文件???????15537??2018-03-23?13:17??cmsv2.2\app\Extend\Vendor\min\lib\JSMin.php
?????文件???????52368??2018-03-23?13:17??cmsv2.2\app\Extend\Vendor\min\lib\JSMinPlus.php
?????目錄???????????0??2018-05-09?10:16??cmsv2.2\app\Extend\Vendor\min\lib\Minify\
?????文件????????2728??2018-03-23?13:17??cmsv2.2\app\Extend\Vendor\min\lib\Minify\Build.php
............此處省略3282個文件信息

評論

共有 條評論

相關資源